BINDHOST.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- class CTCBindHost :
- public IBindHost
- {
- public:
- CTCBindHost();
- ~CTCBindHost();
- static HRESULT CreateInstance( REFIID iid, void** ppObject );
- public:
- STDMETHOD_( ULONG, AddRef )();
- STDMETHOD_( ULONG, Release )();
- STDMETHOD( QueryInterface )( REFIID iid, void** ppInterface );
- STDMETHOD( CreateMoniker )( LPOLESTR pszName, IBindCtx* pBindCtx,
- IMoniker** ppMoniker, DWORD dwReserved );
- STDMETHOD( MonikerBindToObject )( IMoniker* pMoniker, IBindCtx* pBindCtx,
- IBindStatusCallback* pBSC, REFIID iid, void** ppObject );
- STDMETHOD( MonikerBindToStorage )( IMoniker* pMoniker, IBindCtx* pBindCtx,
- IBindStatusCallback* pBSC, REFIID iid, void** ppObject );
- protected:
- ULONG m_nRefCount;
- };