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.

37 lines
1.5 KiB

  1. //-------------------------------------------------------------------------
  2. // File: PolicyTemplateEditPropertiesDlg.h
  3. //
  4. // Author : Kishnan Nedungadi
  5. //
  6. // created : 3/27/2000
  7. //-------------------------------------------------------------------------
  8. INT_PTR CALLBACK EditPolicyTemplatePropertiesPageDlgProc(HWND hDLG, UINT iMessage, WPARAM wParam, LPARAM lParam);
  9. class CPolicyTemplateManager;
  10. class CEditPolicyTemplatePropertiesPageDlg
  11. {
  12. public:
  13. CEditPolicyTemplatePropertiesPageDlg(IWbemClassObject * pIPolicyTemplateClassObject, IWbemServices * pIWbemServices);
  14. ~CEditPolicyTemplatePropertiesPageDlg();
  15. INT_PTR CALLBACK EditPolicyTemplatePropertiesPageDlgProc(HWND hDlg, UINT iMessage, WPARAM wParam, LPARAM lParam);
  16. protected:
  17. STDMETHODIMP InitializeDialog();
  18. STDMETHODIMP DestroyDialog();
  19. STDMETHODIMP PopulatePolicyTemplatePropertiesList();
  20. STDMETHODIMP AddItemToPropertyList(LPCTSTR pcszName, VARIANT * vValue, CIMTYPE cimType, long lIndex=MAX_LIST_ITEMS);
  21. STDMETHODIMP ClearPolicyTemplatePropertiesList();
  22. STDMETHODIMP OnEdit();
  23. STDMETHODIMP OnOK();
  24. STDMETHODIMP OnImport();
  25. STDMETHODIMP OnExport();
  26. STDMETHODIMP GetInstanceOfClass(BSTR pszNamespace, LPCTSTR pszClass, IWbemClassObject ** ppWbemClassObject);
  27. HWND m_hWnd;
  28. HWND m_hwndPropertiesListView;
  29. CPolicyTemplateManager *m_pPolicyTemplateManager;
  30. CComPtr<IWbemClassObject>m_pIPolicyTemplateClassObject;
  31. CComPtr<IWbemServices>m_pIWbemServices;
  32. };