www.pudn.com > GEOPC_modified_2005621145656299.rar > ICpc.H, change:2005-03-28,size:1236b


#include <ocidl.h> 
 
class IXXXCPC : public IConnectionPointContainer 
{ 
 
	public: 
		IXXXCPC(LPUNKNOWN pUnkRef,IMalloc * pmem); 
		~IXXXCPC( void); 
 
		STDMETHODIMP         QueryInterface( REFIID iid, LPVOID* ppInterface); 
		STDMETHODIMP_(ULONG) AddRef( void); 
		STDMETHODIMP_(ULONG) Release( void); 
 
		STDMETHODIMP EnumConnectionPoints(IEnumConnectionPoints **ppEnum); 
		STDMETHODIMP FindConnectionPoint(REFIID riid,IConnectionPoint **ppCP); 
	 private: 
		// Member Variables 
		ULONG           m_cRef; 
		LPUNKNOWN       m_pUnkRef; 
 
//6128324 
 
}; 
 
 
class IXXXCP : public IConnectionPoint 
{ 
	public: 
		IXXXCP(LPUNKNOWN pUnkRef,IMalloc * pmem); 
		~IXXXCP( void); 
 
		STDMETHODIMP         QueryInterface( REFIID iid, LPVOID* ppInterface); 
		STDMETHODIMP_(ULONG) AddRef( void); 
		STDMETHODIMP_(ULONG) Release( void); 
		STDMETHODIMP	GetConnectionInterface(IID *pIID); 
		STDMETHODIMP	GetConnectionPointContainer(IConnectionPointContainer **ppCPC); 
		STDMETHODIMP	Advise(IUnknown *pUnk,DWORD *pdwCookie); 
		STDMETHODIMP	Unadvise(DWORD dwCookie); 
		STDMETHODIMP	EnumConnections(IEnumConnections **ppEnum); 
 
	private: 
		// Member Variables 
		ULONG           m_cRef; 
		LPUNKNOWN       m_pUnkRef; 
 
 
 
 
};