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.

119 lines
3.0 KiB

  1. #if !defined(AFX_WIZCLNT_H__5F8E4B7A_C1ED_11D2_8E4A_0000F87A3388__INCLUDED_)
  2. #define AFX_WIZCLNT_H__5F8E4B7A_C1ED_11D2_8E4A_0000F87A3388__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // WizClnt.h : header file
  7. //
  8. typedef enum _CLIENT_TYPE {
  9. CLIENT_TYPE_SMB=0,
  10. CLIENT_TYPE_SFM
  11. } CLIENT_TYPE;
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CWizClient0 dialog
  14. class CWizClient0 : public CPropertyPageEx
  15. {
  16. DECLARE_DYNCREATE(CWizClient0)
  17. // Construction
  18. public:
  19. CWizClient0();
  20. ~CWizClient0();
  21. // Dialog Data
  22. //{{AFX_DATA(CWizClient0)
  23. enum { IDD = IDD_SHRWIZ_FOLDER0 };
  24. // NOTE - ClassWizard will add data members here.
  25. // DO NOT EDIT what you see in these blocks of generated code !
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generate virtual function overrides
  29. //{{AFX_VIRTUAL(CWizClient0)
  30. public:
  31. virtual LRESULT OnWizardNext();
  32. virtual BOOL OnSetActive();
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CWizClient0)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnCSCChange();
  42. afx_msg void OnChangeSharename();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. void UpdateCSCString();
  46. LRESULT OnSetPageFocus(WPARAM wParam, LPARAM lParam);
  47. void Reset();
  48. BOOL ShareNameExists(IN LPCTSTR lpszShareName);
  49. BOOL m_bCSC;
  50. DWORD m_dwCSCFlag;
  51. };
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CWizClient dialog
  54. class CWizClient : public CPropertyPageEx
  55. {
  56. DECLARE_DYNCREATE(CWizClient)
  57. // Construction
  58. public:
  59. CWizClient();
  60. ~CWizClient();
  61. // Dialog Data
  62. //{{AFX_DATA(CWizClient)
  63. enum { IDD = IDD_SHRWIZ_FOLDER };
  64. // NOTE - ClassWizard will add data members here.
  65. // DO NOT EDIT what you see in these blocks of generated code !
  66. //}}AFX_DATA
  67. // Overrides
  68. // ClassWizard generate virtual function overrides
  69. //{{AFX_VIRTUAL(CWizClient)
  70. public:
  71. virtual LRESULT OnWizardNext();
  72. virtual BOOL OnSetActive();
  73. protected:
  74. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  75. //}}AFX_VIRTUAL
  76. // Implementation
  77. protected:
  78. // Generated message map functions
  79. //{{AFX_MSG(CWizClient)
  80. virtual BOOL OnInitDialog();
  81. afx_msg void OnCSCChange();
  82. afx_msg void OnCheckMac();
  83. afx_msg void OnCheckMs();
  84. afx_msg void OnChangeSharename();
  85. //}}AFX_MSG
  86. DECLARE_MESSAGE_MAP()
  87. void UpdateCSCString();
  88. void OnCheckClient();
  89. LRESULT OnSetPageFocus(WPARAM wParam, LPARAM lParam);
  90. void Reset();
  91. BOOL ShareNameExists(IN LPCTSTR lpszShareName, IN CLIENT_TYPE iType);
  92. BOOL m_bCSC;
  93. DWORD m_dwCSCFlag;
  94. };
  95. //{{AFX_INSERT_LOCATION}}
  96. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  97. #endif // !defined(AFX_WIZCLNT_H__5F8E4B7A_C1ED_11D2_8E4A_0000F87A3388__INCLUDED_)