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.

98 lines
2.6 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001.
  5. //
  6. // File: ssidpage.h
  7. //
  8. // Contents: WiF Policy Snapin
  9. //
  10. //
  11. // History: TaroonM
  12. // 10/30/01
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(AFX_GENPAGE_H__FBD58E78_E2B5_11D0_B859_00A024CDD4DE__INCLUDED_)
  16. #define AFX_GENPAGE_H__FBD58E78_E2B5_11D0_B859_00A024CDD4DE__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. // GenPage.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CSSIDPage dialog
  24. class CSSIDPage : public CWirelessBasePage
  25. {
  26. DECLARE_DYNCREATE(CSSIDPage)
  27. // Construction
  28. public:
  29. CSSIDPage(UINT nIDTemplate = IDD_SSID);
  30. ~CSSIDPage();
  31. // Dialog Data
  32. UINT m_dlgIDD;
  33. //{{AFX_DATA(CSSIDPage)
  34. CEdit m_edSSID;
  35. CEdit m_edPSDescription;
  36. BOOL m_dwWepEnabled;
  37. BOOL m_dwNetworkAuthentication;
  38. BOOL m_dwAutomaticKeyProvision;
  39. BOOL m_dwNetworkType;
  40. CString m_oldSSIDName;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generate virtual function overrides
  44. //{{AFX_VIRTUAL(CSSIDPage)
  45. public:
  46. virtual BOOL OnApply();
  47. void Initialize (
  48. PWIRELESS_PS_DATA pWirelessPSData,
  49. CComponentDataImpl* pComponentDataImpl,
  50. PWIRELESS_POLICY_DATA pWirelessPolicyData
  51. );
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. // Generated message map functions
  58. //{{AFX_MSG(CSSIDPage)
  59. virtual BOOL OnInitDialog();
  60. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  61. afx_msg void OnChangedSSID();
  62. afx_msg void OnChangedPSDescription();
  63. afx_msg void OnChangedOtherParams();
  64. afx_msg void OnChangedNetworkType();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. CString m_strOldName;
  68. BOOL m_bNameChanged; // TRUE if IDC_EDNAME's contents changed
  69. BOOL m_bNetworkTypeChanged;
  70. BOOL m_bPageInitialized;
  71. PWIRELESS_POLICY_DATA m_pWirelessPolicyData;
  72. private:
  73. BOOL m_bReadOnly;
  74. void DisableControls();
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_GENPAGE_H__FBD58E78_E2B5_11D0_B859_00A024CDD4DE__INCLUDED_)