home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 July
/
VPR0107B.BIN
/
DRIVER
/
CANOPUS
/
MVR32
/
mvr32.exe
/
data1.cab
/
Development_Kit
/
Vc
/
Samples
/
Encode
/
MainFrm.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-02-09
|
3KB
|
93 lines
// MainFrm.h : CMainFrame クラスの宣言およびインターフェイスの定義をします。
//
/////////////////////////////////////////////////////////////////////////////
class CMainFrame : public CFrameWnd
{
protected: // シリアライズ機能のみから作成します。
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// アトリビュート
public:
void AutoDetect();
UINT nHeight;
UINT nWidth;
BOOL CreateOverlayWindow();
HWND hWndOverlay;
// オペレーション
public:
// オーバーライド
// ClassWizard は仮想関数を生成しオーバーライドします。
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// インプリメンテーション
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// 生成されたメッセージ マップ関数
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnMove(int x, int y);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSetTime();
afx_msg void OnSetAudioParam();
afx_msg void OnSetVideoParam();
afx_msg void OnSetVideoEncParam();
afx_msg void OnSetAudioEncParam();
afx_msg void OnEncAudio();
afx_msg void OnEncVideo();
afx_msg void OnEncAv();
afx_msg void OnEncProgram();
afx_msg void OnUpdateEncAudio(CCmdUI* pCmdUI);
afx_msg void OnUpdateEncVideo(CCmdUI* pCmdUI);
afx_msg void OnUpdateEncAv(CCmdUI* pCmdUI);
afx_msg void OnUpdateEncProgram(CCmdUI* pCmdUI);
afx_msg void OnEncStop();
afx_msg void OnUpdateEncStop(CCmdUI* pCmdUI);
afx_msg void OnUpdateAppExit(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetAudioParam(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetAudioEncParam(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetVideoParam(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetVideoEncParam(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetTime(CCmdUI* pCmdUI);
afx_msg void OnSetOverlay();
afx_msg void OnUpdateSetOverlay(CCmdUI* pCmdUI);
afx_msg void OnSetMonitor();
afx_msg void OnUpdateSetMonitor(CCmdUI* pCmdUI);
afx_msg void OnSetVideoCd();
afx_msg void OnUpdateSetVideoCd(CCmdUI* pCmdUI);
afx_msg void OnSetAudioFormatMpeg();
afx_msg void OnSetAudioFormatMono();
afx_msg void OnSetAudioFormatStereo();
afx_msg void OnUpdateSetAudioFormatMpeg(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetAudioFormatMono(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetAudioFormatStereo(CCmdUI* pCmdUI);
afx_msg void OnSetVideoEncParamEx();
afx_msg void OnUpdateSetVideoEncParamEx(CCmdUI* pCmdUI);
afx_msg void OnSetOverlayAdjust();
afx_msg void OnSetGetLastError();
afx_msg void OnSetEncodeFile();
afx_msg void OnSetOverlayRect();
afx_msg void OnUpdateSetOverlayRect(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
friend void CALLBACK TmapProc(UINT enc_id, ENC_VOBU_ENT_INFO *tmap, UINT);
friend void CALLBACK ErrorProc(UINT enc_id, ULONG error);
friend void CALLBACK StatusProc(UINT enc_id, ENC_STATUS_NOTIFY enc_state);
};
/////////////////////////////////////////////////////////////////////////////