mirror of https://github.com/tongzx/nt5src
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
42 lines
753 B
#ifndef _MD_SINK_
|
|
#define _MD_SINK_
|
|
|
|
#include <iadmw.h>
|
|
|
|
// forward
|
|
class CShellExt;
|
|
|
|
class CImpIMSAdminBaseSink : public IMSAdminBaseSink {
|
|
|
|
// IMSAdminBaseSink
|
|
|
|
public:
|
|
|
|
CImpIMSAdminBaseSink();
|
|
~CImpIMSAdminBaseSink();
|
|
|
|
void SetPage( CShellExt* pPageWeb )
|
|
{m_pPageWeb = pPageWeb;}
|
|
|
|
HRESULT _stdcall
|
|
QueryInterface(REFIID riid, void **ppObject);
|
|
|
|
ULONG _stdcall
|
|
AddRef();
|
|
|
|
ULONG _stdcall
|
|
Release();
|
|
|
|
HRESULT STDMETHODCALLTYPE SinkNotify(
|
|
/* [in] */ DWORD dwMDNumElements,
|
|
/* [size_is][in] */ MD_CHANGE_OBJECT __RPC_FAR pcoChangeList[ ]);
|
|
|
|
HRESULT STDMETHODCALLTYPE ShutdownNotify(void);
|
|
|
|
private:
|
|
ULONG m_dwRefCount;
|
|
CShellExt* m_pPageWeb;
|
|
};
|
|
|
|
#endif //_MD_SINK_
|
|
|