Leaked source code of windows server 2003
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.

38 lines
1.0 KiB

  1. // SomFilterManager.h : Declaration of the CSomFilterManager
  2. #ifndef __SOMFILTERMANAGER_H_
  3. #define __SOMFILTERMANAGER_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CSomFilterManager
  7. class ATL_NO_VTABLE CSomFilterManager :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CSomFilterManager, &CLSID_SomFilterManager>,
  10. public IDispatchImpl<ISomFilterManager, &IID_ISomFilterManager, &LIBID_SCHEMAMANAGERLib>
  11. {
  12. public:
  13. CSomFilterManager();
  14. ~CSomFilterManager();
  15. DECLARE_REGISTRY_RESOURCEID(IDR_SOMFILTERMANAGER)
  16. DECLARE_PROTECT_FINAL_CONSTRUCT()
  17. BEGIN_COM_MAP(CSomFilterManager)
  18. COM_INTERFACE_ENTRY(ISomFilterManager)
  19. COM_INTERFACE_ENTRY(IDispatch)
  20. END_COM_MAP()
  21. // ISomFilterManager
  22. public:
  23. STDMETHOD(SetMultiSelection)(VARIANT_BOOL vbValue);
  24. STDMETHOD(RunManager)(HWND hwndParent, VARIANT *vSelection);
  25. STDMETHOD(ConnectToWMI)();
  26. CComPtr<IWbemServices>m_pIWbemServices;
  27. HWND m_hWnd;
  28. };
  29. #endif //__SOMFILTERMANAGER_H_