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.

111 lines
2.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1997 **/
  4. /**********************************************************************/
  5. /*
  6. sfmcfg.h
  7. Prototypes for the configuration property page.
  8. FILE HISTORY:
  9. 8/20/97 ericdav Code moved into file managemnet snapin
  10. */
  11. #ifndef _SFMCFG_H
  12. #define _SFMCFG_H
  13. #ifndef _SFMSESS_H
  14. #include "sfmsess.h"
  15. #endif
  16. #ifndef _SFMFASOC_H
  17. #include "sfmfasoc.h"
  18. #endif
  19. #ifndef _SFMUTIL_H
  20. #include "sfmutil.h"
  21. #endif
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif // _MSC_VER >= 1000
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // CMacFilesConfiguration dialog
  28. //
  29. /////////////////////////////////////////////////////////////////////////////
  30. class CMacFilesConfiguration : public CPropertyPage
  31. {
  32. DECLARE_DYNCREATE(CMacFilesConfiguration)
  33. // Construction
  34. public:
  35. CMacFilesConfiguration();
  36. ~CMacFilesConfiguration();
  37. // Dialog Data
  38. //{{AFX_DATA(CMacFilesConfiguration)
  39. enum { IDD = IDP_SFM_CONFIGURATION };
  40. CComboBox m_comboAuthentication;
  41. CButton m_radioSessionLimit;
  42. CEdit m_editLogonMessage;
  43. CButton m_radioSessionUnlimited;
  44. CButton m_checkSavePassword;
  45. CEdit m_editSessionLimit;
  46. CEdit m_editServerName;
  47. CSpinButtonCtrl m_spinSessionLimit;
  48. //}}AFX_DATA
  49. // Overrides
  50. // ClassWizard generate virtual function overrides
  51. //{{AFX_VIRTUAL(CMacFilesConfiguration)
  52. public:
  53. virtual BOOL OnKillActive();
  54. virtual void OnOK();
  55. virtual BOOL OnSetActive();
  56. virtual BOOL OnApply();
  57. protected:
  58. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  59. //}}AFX_VIRTUAL
  60. // Implementation
  61. protected:
  62. // Generated message map functions
  63. //{{AFX_MSG(CMacFilesConfiguration)
  64. virtual BOOL OnInitDialog();
  65. afx_msg void OnRadioSessionUnlimited();
  66. afx_msg void OnRadioSesssionLimit();
  67. afx_msg void OnCheckMsAuth();
  68. afx_msg void OnCheckSavePassword();
  69. afx_msg void OnChangeEditLogonMessage();
  70. afx_msg void OnChangeEditServerName();
  71. afx_msg void OnChangeEditSessionLimit();
  72. afx_msg void OnDeltaposSpinSessionLimit(NMHDR* pNMHDR, LRESULT* pResult);
  73. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  74. afx_msg void OnDestroy();
  75. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  76. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  77. afx_msg void OnSelchangeComboAuthentication();
  78. //}}AFX_MSG
  79. DECLARE_MESSAGE_MAP()
  80. void SetSessionLimit(DWORD dwSessionLimit);
  81. DWORD QuerySessionLimit();
  82. void UpdateRadioButtons(BOOL bUnlimitedClicked);
  83. DWORD m_dwAfpOriginalOptions;
  84. BOOL m_bIsNT5;
  85. public:
  86. CSFMPropertySheet * m_pSheet;
  87. };
  88. //{{AFX_INSERT_LOCATION}}
  89. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  90. #endif _SFMCFG_H