#ifndef _WBEM_MSGBOX_CONSUMER__H_ #define _WBEM_MSGBOX_CONSUMER__H_ #include #include #include class CMsgBoxConsumer : public CUnk { protected: class XSink : public CImpl { public: XSink(CMsgBoxConsumer* pObj) : CImpl(pObj){} HRESULT STDMETHODCALLTYPE IndicateToConsumer( IWbemClassObject* pLogicalConsumer, long lNumObjects, IWbemClassObject** apObjects); } m_XSink; public: CMsgBoxConsumer(CLifeControl* pControl = NULL, IUnknown* pOuter = NULL) : CUnk(pControl, pOuter), m_XSink(this) {} void* GetInterface(REFIID riid); }; #endif