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.

71 lines
1.7 KiB

  1. #if _MSC_VER >= 1000
  2. #pragma once
  3. #endif // _MSC_VER >= 1000
  4. // peap.h : header file
  5. //
  6. #include "chap.h"
  7. typedef struct _PEAP_PROPERTIES {
  8. DWORD dwPEAPAuthType;
  9. DWORD dwValidateServerCert;
  10. DWORD dwPEAPTLSValidateServerCertificate;
  11. DWORD dwPEAPTLSCertificateType;
  12. DWORD dwAutoLogin;
  13. } PEAP_PROPERTIES, *PPEAP_PROPERTIES;
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPEAPSetting dialog
  16. class CPEAPSetting : public CDialog
  17. {
  18. // Construction
  19. public:
  20. CPEAPSetting(CWnd* pParent = NULL); // standard constructor
  21. BOOL Initialize ( PPEAP_PROPERTIES pPEAPProperties, BOOL bReadOnly = FALSE);
  22. // Dialog Data
  23. //{{AFX_DATA(CPEAPSetting)
  24. enum { IDD = IDD_PEAP_SETTINGS};
  25. CComboBox m_cbPEAPAuthType;
  26. BOOL m_dwValidateServerCertificate;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CPEAPSetting)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. DWORD dwAutoWinLogin;
  37. TLS_PROPERTIES TLSProperties;
  38. PPEAP_PROPERTIES pPEAPProperties;
  39. BOOL m_bReadOnly;
  40. // Generated message map functions
  41. //{{AFX_MSG(CPEAPSetting)
  42. virtual BOOL OnInitDialog();
  43. virtual void OnOK();
  44. afx_msg void OnCheckValidateServerCert();
  45. afx_msg void OnSelPEAPAuthType();
  46. afx_msg void OnConfigure();
  47. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. void ControlsValuesToSM (PPEAP_PROPERTIES pPEAPProperties);
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54.