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.
|
|
// PolicyTemplateManager.h : Declaration of the CPolicyTemplateManager
#ifndef __POLICYTEMPLATEMANAGER_H_
#define __POLICYTEMPLATEMANAGER_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CPolicyTemplateManager
class ATL_NO_VTABLE CPolicyTemplateManager : public CComObjectRootEx<CComSingleThreadModel>, public CComCoClass<CPolicyTemplateManager, &CLSID_PolicyTemplateManager>, public IDispatchImpl<IPolicyTemplateManager, &IID_IPolicyTemplateManager, &LIBID_SCHEMAMANAGERLib> { public: CPolicyTemplateManager(); ~CPolicyTemplateManager();
DECLARE_REGISTRY_RESOURCEID(IDR_POLICYTEMPLATEMANAGER)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CPolicyTemplateManager) COM_INTERFACE_ENTRY(IPolicyTemplateManager) COM_INTERFACE_ENTRY(IDispatch) END_COM_MAP()
// ISomFilterManager
public: STDMETHOD(RunManager)(/*[in]*/HWND hwndParent); STDMETHOD(ConnectToWMI)();
CComPtr<IWbemServices>m_pIWbemServices; HWND m_hWnd; };
#endif //__POLICYTEMPLATEMANAGER_H_
|