www.pudn.com > CAPPreview.rar > PreviewDlg.h
// PreviewDlg.h : header file // #if !defined(AFX_PREVIEWDLG_H__7DC110F9_7DEB_49E6_B5EC_415EE4300966__INCLUDED_) #define AFX_PREVIEWDLG_H__7DC110F9_7DEB_49E6_B5EC_415EE4300966__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CPreviewDlg dialog #pragma comment (lib,"Strmiids") #pragma comment (lib,"quartz") #includeclass CPreviewDlg : public CDialog { // Construction public: CPreviewDlg(CWnd* pParent = NULL); // standard constructor IMediaControl *pMediaControl ; //媒体控制 IGraphBuilder *pGraph; //过滤图表 IBaseFilter *pSrc,*pPreview; //过滤器 IMoniker *pMoniker; //监视器 IPin* FindPin(IBaseFilter *pFilter, PIN_DIRECTION dir); // Dialog Data //{{AFX_DATA(CPreviewDlg) enum { IDD = IDD_PREVIEW_DIALOG }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPreviewDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CPreviewDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); virtual void OnCancel(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PREVIEWDLG_H__7DC110F9_7DEB_49E6_B5EC_415EE4300966__INCLUDED_)