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.

39 lines
1.3 KiB

  1. //-------------------------------------------------------------------------
  2. // File: PolicyTemplateMgrDlg.h
  3. //
  4. // Author : Kishnan Nedungadi
  5. //
  6. // created : 3/27/2000
  7. //-------------------------------------------------------------------------
  8. INT_PTR CALLBACK PolicyTemplateManagerDlgProc(HWND hDLG, UINT iMessage, WPARAM wParam, LPARAM lParam);
  9. class CPolicyTemplateManager;
  10. class CPolicyTemplateManagerDlg
  11. {
  12. public:
  13. CPolicyTemplateManagerDlg(CPolicyTemplateManager * pPolicyTemplateManager);
  14. ~CPolicyTemplateManagerDlg();
  15. INT_PTR CALLBACK PolicyTemplateManagerDlgProc(HWND hDlg, UINT iMessage, WPARAM wParam, LPARAM lParam);
  16. protected:
  17. STDMETHODIMP PopulatePolicyTemplatesList();
  18. STDMETHODIMP AddItemToList(IWbemClassObject * pIWbemClassObject, long lIndex=MAX_LIST_ITEMS);
  19. STDMETHODIMP InitializeDialog();
  20. STDMETHODIMP DestroyDialog();
  21. BOOL OnKillActive();
  22. STDMETHODIMP OnNew();
  23. STDMETHODIMP OnEdit();
  24. STDMETHODIMP OnDelete();
  25. STDMETHODIMP ClearPolicyTemplateList();
  26. STDMETHODIMP PopulatePolicyTypeList();
  27. STDMETHODIMP AddPolicyTypeToList(IWbemClassObject * pIWbemClassObject);
  28. STDMETHODIMP ClearPolicyTypeList();
  29. STDMETHODIMP OnPolicyTypeChange();
  30. HWND m_hWnd;
  31. CPolicyTemplateManager * m_pPolicyTemplateManager;
  32. CComPtr<IWbemClassObject>m_pIPolicyTypeClassObject;
  33. HWND m_hwndListView;
  34. };