Source code of Windows XP (NT5)
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.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: AutoenrollmentPropertyPage.h
  7. //
  8. // Contents: Declaration of CAutoenrollmentPropertyPage
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_AUTOENROLLMENTPROPERTYPAGE_H__DA50335B_4919_4B92_BE66_73B07410EFBD__INCLUDED_)
  12. #define AFX_AUTOENROLLMENTPROPERTYPAGE_H__DA50335B_4919_4B92_BE66_73B07410EFBD__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // AutoenrollmentPropertyPage.h : header file
  17. //
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CAutoenrollmentPropertyPage dialog
  20. class CCertMgrComponentData; // forward declaration
  21. class CAutoenrollmentPropertyPage : public CHelpPropertyPage
  22. {
  23. // Construction
  24. public:
  25. CAutoenrollmentPropertyPage(CCertMgrComponentData* pCompData,
  26. bool fIsComputerTYpe);
  27. ~CAutoenrollmentPropertyPage();
  28. // Dialog Data
  29. //{{AFX_DATA(CAutoenrollmentPropertyPage)
  30. enum { IDD = IDD_PROPPAGE_AUTOENROLL };
  31. // NOTE - ClassWizard will add data members here.
  32. // DO NOT EDIT what you see in these blocks of generated code !
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CAutoenrollmentPropertyPage)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. void EnableControls ();
  43. virtual void OnOK();
  44. virtual void DoContextHelp (HWND hWndControl);
  45. void SetGPEFlags ();
  46. void GPEGetAutoenrollmentFlags ();
  47. void RSOPGetAutoenrollmentFlags (const CCertMgrComponentData* pCompData);
  48. void SaveCheck();
  49. // Generated message map functions
  50. //{{AFX_MSG(CAutoenrollmentPropertyPage)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnAutoenrollDisableAll();
  53. afx_msg void OnAutoenrollEnable();
  54. afx_msg void OnAutoenrollEnablePending();
  55. afx_msg void OnAutoenrollEnableTemplate();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. private:
  59. HKEY m_hAutoenrollmentFlagsKey;
  60. DWORD m_dwAutoenrollmentFlags;
  61. IGPEInformation* m_pGPEInformation;
  62. HKEY m_hGroupPolicyKey;
  63. bool m_fIsComputerType;
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_AUTOENROLLMENTPROPERTYPAGE_H__DA50335B_4919_4B92_BE66_73B07410EFBD__INCLUDED_)