Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
753 B

  1. #ifndef _MD_SINK_
  2. #define _MD_SINK_
  3. #include <iadmw.h>
  4. // forward
  5. class CShellExt;
  6. class CImpIMSAdminBaseSink : public IMSAdminBaseSink {
  7. // IMSAdminBaseSink
  8. public:
  9. CImpIMSAdminBaseSink();
  10. ~CImpIMSAdminBaseSink();
  11. void SetPage( CShellExt* pPageWeb )
  12. {m_pPageWeb = pPageWeb;}
  13. HRESULT _stdcall
  14. QueryInterface(REFIID riid, void **ppObject);
  15. ULONG _stdcall
  16. AddRef();
  17. ULONG _stdcall
  18. Release();
  19. HRESULT STDMETHODCALLTYPE SinkNotify(
  20. /* [in] */ DWORD dwMDNumElements,
  21. /* [size_is][in] */ MD_CHANGE_OBJECT __RPC_FAR pcoChangeList[ ]);
  22. HRESULT STDMETHODCALLTYPE ShutdownNotify(void);
  23. private:
  24. ULONG m_dwRefCount;
  25. CShellExt* m_pPageWeb;
  26. };
  27. #endif //_MD_SINK_