FilterContent.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:3k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. #if !defined(AFX_FILTERCONTENT_H__ADC84E14_6BC3_4D78_83E1_5A29A4986F23__INCLUDED_)
  2. #define AFX_FILTERCONTENT_H__ADC84E14_6BC3_4D78_83E1_5A29A4986F23__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // FilterContent.h : header file
  7. //
  8. // {7D4A199C-0182-4332-95D0-65CD3C74AB86}
  9. static const GUID CLSID_FilterContent = 
  10. { 0x7d4a199c, 0x182, 0x4332, { 0x95, 0xd0, 0x65, 0xcd, 0x3c, 0x74, 0xab, 0x86 } };
  11. #if (_MSC_VER <= 1200) && !defined(_WIN64)
  12. // IA64 Macros:
  13. #ifndef HANDLE_PTR
  14. #define HANDLE_PTR DWORD
  15. #endif
  16. #endif
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CFilterContent command target
  19. class CFilterContent : public CCmdTarget
  20. {
  21. DECLARE_DYNCREATE(CFilterContent)
  22. CFilterContent();           // protected constructor used by dynamic creation
  23. // Attributes
  24. public:
  25. // Operations
  26. public:
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CFilterContent)
  30. //}}AFX_VIRTUAL
  31. BEGIN_INTERFACE_PART(ClassFactory, IClassFactory)
  32.         STDMETHOD(CreateInstance)( 
  33.             /* [unique][in] */ IUnknown __RPC_FAR *pUnkOuter,
  34.             /* [in] */ REFIID riid,
  35.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  36.         
  37.         STDMETHOD(LockServer)( 
  38.             /* [in] */ BOOL fLock);
  39. END_INTERFACE_PART(ClassFactory)
  40. BEGIN_INTERFACE_PART(InternetProtocol, IInternetProtocol)
  41. STDMETHOD(Start)(
  42. LPCWSTR szUrl,
  43. IInternetProtocolSink *pIProtSink,
  44. IInternetBindInfo *pIBindInfo,
  45. DWORD grfSTI,
  46. HANDLE_PTR dwReserved);
  47. STDMETHOD(Continue)(PROTOCOLDATA *pStateInfo);
  48. STDMETHOD(Abort)(HRESULT hrReason,DWORD dwOptions);
  49. STDMETHOD(Terminate)(DWORD dwOptions);
  50. STDMETHOD(Suspend)();
  51. STDMETHOD(Resume)();
  52. STDMETHOD(Read)(void *pv,ULONG cb,ULONG *pcbRead);
  53. STDMETHOD(Seek)(
  54. LARGE_INTEGER dlibMove,
  55. DWORD dwOrigin,
  56. ULARGE_INTEGER *plibNewPosition);
  57. STDMETHOD(LockRequest)(DWORD dwOptions);
  58. STDMETHOD(UnlockRequest)();
  59. END_INTERFACE_PART(InternetProtocol)
  60. // Implementation
  61. protected:
  62. virtual ~CFilterContent();
  63. // Generated message map functions
  64. //{{AFX_MSG(CFilterContent)
  65. // NOTE - the ClassWizard will add and remove member functions here.
  66. //}}AFX_MSG
  67. DECLARE_INTERFACE_MAP()
  68. };
  69. /////////////////////////////////////////////////////////////////////////////
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_FILTERCONTENT_H__ADC84E14_6BC3_4D78_83E1_5A29A4986F23__INCLUDED_)