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.

98 lines
2.5 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. DECLARE_DYNCREATE(CPgAuthentication2kMerge)
  21. // Construction
  22. public:
  23. CPgAuthentication2kMerge(CRASProfileMerge* profile = NULL);
  24. ~CPgAuthentication2kMerge();
  25. // Dialog Data
  26. //{{AFX_DATA(CPgAuthentication2kMerge)
  27. enum { IDD = IDD_AUTHENTICATION2K_MERGE };
  28. BOOL m_bEAP;
  29. BOOL m_bMD5Chap;
  30. BOOL m_bMSChap;
  31. BOOL m_bPAP;
  32. CString m_strEapType;
  33. BOOL m_bMSCHAP2;
  34. BOOL m_bUNAUTH;
  35. //}}AFX_DATA
  36. // orginal value before edit
  37. BOOL m_bOrgEAP;
  38. BOOL m_bOrgMD5Chap;
  39. BOOL m_bOrgMSChap;
  40. BOOL m_bOrgPAP;
  41. BOOL m_bOrgMSCHAP2;
  42. BOOL m_bOrgUNAUTH;
  43. BOOL m_bAppliedEver;
  44. // Overrides
  45. // ClassWizard generate virtual function overrides
  46. //{{AFX_VIRTUAL(CPgAuthentication2kMerge)
  47. public:
  48. virtual BOOL OnApply();
  49. virtual void OnOK();
  50. virtual BOOL OnKillActive();
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. BOOL TransferDataToProfile();
  57. // Generated message map functions
  58. //{{AFX_MSG(CPgAuthentication2kMerge)
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnCheckeap();
  61. afx_msg void OnCheckmd5chap();
  62. afx_msg void OnCheckmschap();
  63. afx_msg void OnCheckpap();
  64. afx_msg void OnSelchangeComboeaptype();
  65. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  66. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  67. afx_msg void OnAuthConfigEap();
  68. afx_msg void OnCheckmschap2();
  69. afx_msg void OnChecknoauthen();
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. CRASProfileMerge* m_pProfile;
  73. bool m_bInited;
  74. CStrArray m_EapTypes;
  75. CDWArray m_EapIds;
  76. CDWArray m_EapTypeKeys;
  77. AuthProviderArray m_EapInfoArray;
  78. CStrBox<CComboBox> *m_pBox;
  79. };
  80. //{{AFX_INSERT_LOCATION}}
  81. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  82. #endif // AFX_PGAUTHEN2K_H