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.

93 lines
2.9 KiB

  1. #if !defined(AFX_NFAA_H__5A483ED1_41B7_11D1_89DB_00A024CDD4DE__INCLUDED_)
  2. #define AFX_NFAA_H__5A483ED1_41B7_11D1_89DB_00A024CDD4DE__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // NFAa.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CPS8021XPropPage dialog
  10. class CPS8021XPropPage : public CWirelessBasePage
  11. {
  12. DECLARE_DYNCREATE(CPS8021XPropPage)
  13. // Construction
  14. public:
  15. CPS8021XPropPage(UINT nIDTemplate);
  16. CPS8021XPropPage();
  17. ~CPS8021XPropPage();
  18. // Dialog Data
  19. //{{AFX_DATA(CPS8021XPropPage)
  20. enum { IDD = IDD_8021X_PROPERTY_PAGE };
  21. BOOL m_dwEnable8021x;
  22. INT m_dw8021xMode;
  23. CComboBox m_cbCertificateType;
  24. BOOL m_dwValidateServerCertificate;
  25. BOOL m_dwMachineAuthentication;
  26. INT m_dwMachineAuthenticationType;
  27. BOOL m_dwGuestAuthentication;
  28. HWND m_hwnd8021xCheck; // Handle for 8021x checkbox
  29. DWORD m_dwIEEE8021xMaxStart;
  30. DWORD m_dwIEEE8021xStartPeriod;
  31. DWORD m_dwIEEE8021xAuthPeriod;
  32. DWORD m_dwIEEE8021xHeldPeriod;
  33. CComboBox m_cbEapType;
  34. CComboBox m_cb8021xMode;
  35. CComboBox m_cbMachineAuthenticationType;
  36. //}}AFX_DATA
  37. void CPS8021XPropPage::Initialize ( PWIRELESS_PS_DATA , CComponentDataImpl *, BOOL);
  38. // Overrides
  39. // ClassWizard generate virtual function overrides
  40. //{{AFX_VIRTUAL(CPS8021XPropPage)
  41. virtual LRESULT OnWizardNext();
  42. virtual BOOL OnWizardFinish();
  43. virtual BOOL OnApply();
  44. virtual void OnCancel();
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CPS8021XPropPage)
  52. virtual BOOL OnInitDialog();
  53. void DisplayEnable8021x();
  54. void DisplayEapType();
  55. void DisplayMachineAuthentication();
  56. afx_msg void OnSel8021xMode();
  57. afx_msg void OnCheck8021x();
  58. afx_msg void OnSelCertType();
  59. afx_msg void OnCheckValidateServerCert();
  60. afx_msg void OnSelMachineAuthenticationType();
  61. afx_msg void OnCheckMachineAuthentication();
  62. afx_msg void OnCheckGuestAuthentication();
  63. afx_msg void OnIEEE8021xParams();
  64. afx_msg void OnSelEapType();
  65. afx_msg DWORD CPS8021XPropPage::OnProperties();
  66. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  67. //}}AFX_MSG
  68. DECLARE_MESSAGE_MAP()
  69. BOOL ControlDataToWirelessPS();
  70. private:
  71. BOOL m_bReadOnly;
  72. BOOL m_bHasApplied; // So that we apply only once
  73. DTLLIST * pListEapcfgs;
  74. DWORD dwEAPUpdated;
  75. void DisableControls();
  76. };
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  79. #endif // !defined(AFX_NFAA_H__5A483ED1_41B7_11D1_89DB_00A024CDD4DE__INCLUDED_)