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.

79 lines
2.4 KiB

  1. #if !defined(AFX_GPEPAGE_H__61B8B05B_7B0C_11D1_85DF_00C04FB94F17__INCLUDED_)
  2. #define AFX_GPEPAGE_H__61B8B05B_7B0C_11D1_85DF_00C04FB94F17__INCLUDED_
  3. //+---------------------------------------------------------------------------
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1997-2001.
  7. //
  8. // File: gpepage.h
  9. //
  10. // Contents:
  11. //
  12. //----------------------------------------------------------------------------
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // GPEPage.h : header file
  17. //
  18. class CCertMgrComponentData; // forward declaration
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CGPERootGeneralPage dialog
  21. class CCertStoreGPE; // forward declaration
  22. class CGPERootGeneralPage : public CHelpPropertyPage
  23. {
  24. // Construction
  25. public:
  26. CGPERootGeneralPage(CCertMgrComponentData* pCompData, bool fIsComputerType);
  27. virtual ~CGPERootGeneralPage();
  28. // Dialog Data
  29. //{{AFX_DATA(CGPERootGeneralPage)
  30. enum { IDD = IDD_GPE_GENERAL };
  31. CButton m_enableUserRootStoreBtn;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generate virtual function overrides
  35. //{{AFX_VIRTUAL(CGPERootGeneralPage)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. virtual void OnOK();
  40. // Implementation
  41. protected:
  42. virtual void DoContextHelp (HWND hWndControl);
  43. bool SetGPEFlags (DWORD dwFlags, BOOL bRemoveFlag);
  44. bool IsCurrentUserRootEnabled () const;
  45. void GPEGetUserRootFlags ();
  46. void RSOPGetUserRootFlags (const CCertMgrComponentData* pCompData);
  47. void SaveCheck();
  48. // Generated message map functions
  49. //{{AFX_MSG(CGPERootGeneralPage)
  50. virtual BOOL OnInitDialog();
  51. afx_msg void OnEnableUserRootStore();
  52. afx_msg void OnSetDisableLmAuthFlag();
  53. afx_msg void OnUnsetDisableLmAuthFlag();
  54. afx_msg void OnUnsetDisableNtAuthRequiredFlag();
  55. afx_msg void OnSetDisableNtAuthRequiredFlag();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. private:
  59. HKEY m_hUserRootFlagsKey;
  60. DWORD m_dwGPERootFlags;
  61. IGPEInformation* m_pGPEInformation;
  62. HKEY m_hGroupPolicyKey;
  63. bool m_fIsComputerType;
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_GPEPAGE_H__61B8B05B_7B0C_11D1_85DF_00C04FB94F17__INCLUDED_)