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.

81 lines
2.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2002.
  5. //
  6. // File: SaferEnforcementPropertyPage.h
  7. //
  8. // Contents: Declaration of CSaferEnforcementPropertyPage
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_SAFERENFORCEMENTPROPERTYPAGE_H__92727CF5_8AC5_42E7_AAEA_1C91573D4B40__INCLUDED_)
  12. #define AFX_SAFERENFORCEMENTPROPERTYPAGE_H__92727CF5_8AC5_42E7_AAEA_1C91573D4B40__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // SaferEnforcementPropertyPage.h : header file
  17. //
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CSaferEnforcementPropertyPage dialog
  20. class CSaferEnforcementPropertyPage : public CHelpPropertyPage
  21. {
  22. // Construction
  23. public:
  24. CSaferEnforcementPropertyPage(
  25. IGPEInformation* pGPEInformation,
  26. CCertMgrComponentData* pCompData,
  27. bool bReadOnly,
  28. CRSOPObjectArray& rsopObjectArray,
  29. bool bIsComputer);
  30. ~CSaferEnforcementPropertyPage();
  31. // Dialog Data
  32. //{{AFX_DATA(CSaferEnforcementPropertyPage)
  33. enum { IDD = IDD_SAFER_ENFORCEMENT };
  34. // NOTE - ClassWizard will add data members here.
  35. // DO NOT EDIT what you see in these blocks of generated code !
  36. //}}AFX_DATA
  37. // Overrides
  38. // ClassWizard generate virtual function overrides
  39. //{{AFX_VIRTUAL(CSaferEnforcementPropertyPage)
  40. public:
  41. virtual BOOL OnApply();
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. void DoContextHelp (HWND hWndControl);
  48. void RSOPGetEnforcement();
  49. // Generated message map functions
  50. //{{AFX_MSG(CSaferEnforcementPropertyPage)
  51. afx_msg void OnAllExceptLibs();
  52. afx_msg void OnAllSoftwareFiles();
  53. virtual BOOL OnInitDialog();
  54. afx_msg void OnApplyExceptAdmins();
  55. afx_msg void OnApplyToAllUsers();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. private:
  59. IGPEInformation* m_pGPEInformation;
  60. HKEY m_hGroupPolicyKey;
  61. const bool m_fIsComputerType;
  62. const bool m_bReadOnly;
  63. CRSOPObjectArray& m_rsopObjectArray;
  64. DWORD m_dwEnforcement;
  65. bool m_bDirty;
  66. DWORD m_dwScopeFlags;
  67. CCertMgrComponentData* m_pCompData;
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_SAFERENFORCEMENTPROPERTYPAGE_H__92727CF5_8AC5_42E7_AAEA_1C91573D4B40__INCLUDED_)