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.

72 lines
2.2 KiB

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