// SomFilterManager.h : Declaration of the CSomFilterManager #ifndef __SOMFILTERMANAGER_H_ #define __SOMFILTERMANAGER_H_ #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CSomFilterManager class ATL_NO_VTABLE CSomFilterManager : public CComObjectRootEx, public CComCoClass, public IDispatchImpl { public: CSomFilterManager(); ~CSomFilterManager(); DECLARE_REGISTRY_RESOURCEID(IDR_SOMFILTERMANAGER) DECLARE_PROTECT_FINAL_CONSTRUCT() BEGIN_COM_MAP(CSomFilterManager) COM_INTERFACE_ENTRY(ISomFilterManager) COM_INTERFACE_ENTRY(IDispatch) END_COM_MAP() // ISomFilterManager public: STDMETHOD(SetMultiSelection)(VARIANT_BOOL vbValue); STDMETHOD(RunManager)(HWND hwndParent, VARIANT *vSelection); STDMETHOD(ConnectToWMI)(); CComPtrm_pIWbemServices; HWND m_hWnd; }; #endif //__SOMFILTERMANAGER_H_