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.

68 lines
2.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: PolicyPrecedencePropertyPage.h
  7. //
  8. // Contents: Declaration of CPolicyPrecedencePropertyPage
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_POLICYPRECEDENCEPROPERTYPAGE_H__A28637BD_1A87_4410_9EC4_33CD9165FAD3__INCLUDED_)
  12. #define AFX_POLICYPRECEDENCEPROPERTYPAGE_H__A28637BD_1A87_4410_9EC4_33CD9165FAD3__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // PolicyPrecedencePropertyPage.h : header file
  17. //
  18. #include "RSOPObject.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CPolicyPrecedencePropertyPage dialog
  21. class CCertMgrComponentData; // forward declaration
  22. class CCertStore; // forward declaration
  23. class CPolicyPrecedencePropertyPage : public CHelpPropertyPage
  24. {
  25. // Construction
  26. public:
  27. CPolicyPrecedencePropertyPage(
  28. const CCertMgrComponentData* pCompData,
  29. const CString& szRegPath,
  30. PCWSTR pszValueName,
  31. bool bIsComputer);
  32. ~CPolicyPrecedencePropertyPage();
  33. // Dialog Data
  34. //{{AFX_DATA(CPolicyPrecedencePropertyPage)
  35. enum { IDD = IDD_POLICY_PRECEDENCE };
  36. CListCtrl m_precedenceTable;
  37. //}}AFX_DATA
  38. // Overrides
  39. // ClassWizard generate virtual function overrides
  40. //{{AFX_VIRTUAL(CPolicyPrecedencePropertyPage)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CPolicyPrecedencePropertyPage)
  48. virtual BOOL OnInitDialog();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. void InsertItemInList(const CRSOPObject * pObject);
  52. virtual void DoContextHelp (HWND hWndControl);
  53. private:
  54. CRSOPObjectArray m_rsopObjectArray;
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_POLICYPRECEDENCEPROPERTYPAGE_H__A28637BD_1A87_4410_9EC4_33CD9165FAD3__INCLUDED_)