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.

96 lines
2.6 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(c) Microsoft Corporation
  4. //
  5. // pgauthen2k.h
  6. // Definition of CPgAuthentication2kMerge -- property page to edit
  7. // profile attributes related to Authenticaion
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #if !defined(AFX_PGAUTHEN2K_H)
  11. #define AFX_PGAUTHEN2K_H
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. #include "rasdial.h"
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CPgAuthentication2kMerge dialog
  18. class CPgAuthentication2kMerge : public CManagedPage
  19. {
  20. // Construction
  21. public:
  22. CPgAuthentication2kMerge(CRASProfileMerge& profile);
  23. ~CPgAuthentication2kMerge();
  24. // Dialog Data
  25. //{{AFX_DATA(CPgAuthentication2kMerge)
  26. enum { IDD = IDD_AUTHENTICATION2K_MERGE };
  27. BOOL m_bEAP;
  28. BOOL m_bMD5Chap;
  29. BOOL m_bMSChap;
  30. BOOL m_bPAP;
  31. CString m_strEapType;
  32. BOOL m_bMSCHAP2;
  33. BOOL m_bUNAUTH;
  34. //}}AFX_DATA
  35. // orginal value before edit
  36. BOOL m_bOrgEAP;
  37. BOOL m_bOrgMD5Chap;
  38. BOOL m_bOrgMSChap;
  39. BOOL m_bOrgPAP;
  40. BOOL m_bOrgMSCHAP2;
  41. BOOL m_bOrgUNAUTH;
  42. BOOL m_bAppliedEver;
  43. // Overrides
  44. // ClassWizard generate virtual function overrides
  45. //{{AFX_VIRTUAL(CPgAuthentication2kMerge)
  46. public:
  47. virtual BOOL OnApply();
  48. virtual void OnOK();
  49. virtual BOOL OnKillActive();
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. BOOL TransferDataToProfile();
  56. // Generated message map functions
  57. //{{AFX_MSG(CPgAuthentication2kMerge)
  58. virtual BOOL OnInitDialog();
  59. afx_msg void OnCheckeap();
  60. afx_msg void OnCheckmd5chap();
  61. afx_msg void OnCheckmschap();
  62. afx_msg void OnCheckpap();
  63. afx_msg void OnSelchangeComboeaptype();
  64. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  65. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  66. afx_msg void OnAuthConfigEap();
  67. afx_msg void OnCheckmschap2();
  68. afx_msg void OnChecknoauthen();
  69. //}}AFX_MSG
  70. DECLARE_MESSAGE_MAP()
  71. CRASProfileMerge& m_Profile;
  72. bool m_bInited;
  73. CStrArray m_EapTypes;
  74. CDWArray m_EapIds;
  75. CDWArray m_EapTypeKeys;
  76. AuthProviderArray m_EapInfoArray;
  77. CStrBox<CComboBox> *m_pBox;
  78. };
  79. //{{AFX_INSERT_LOCATION}}
  80. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  81. #endif // AFX_PGAUTHEN2K_H