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.

82 lines
2.1 KiB

  1. // shrwiz.h : main header file for the SHRWIZ application
  2. //
  3. #if !defined(AFX_SHRWIZ_H__292A4F37_C1EC_11D2_8E4A_0000F87A3388__INCLUDED_)
  4. #define AFX_SHRWIZ_H__292A4F37_C1EC_11D2_8E4A_0000F87A3388__INCLUDED_
  5. #if _MSC_VER >= 1000
  6. #pragma once
  7. #endif // _MSC_VER >= 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. // this is the user-defined message
  12. #define WM_SETPAGEFOCUS WM_APP+2
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CShrwizApp:
  15. // See shrwiz.cpp for the implementation of this class
  16. //
  17. class CShrwizApp : public CWinApp
  18. {
  19. public:
  20. CShrwizApp();
  21. ~CShrwizApp();
  22. void Reset();
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CShrwizApp)
  26. public:
  27. virtual BOOL InitInstance();
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. BOOL GetTargetComputer();
  31. inline void SetSecurity(IN PSECURITY_DESCRIPTOR pSecurityDescriptor)
  32. {
  33. if (m_pSD)
  34. LocalFree((HLOCAL)m_pSD);
  35. m_pSD = pSecurityDescriptor;
  36. }
  37. CPropertySheet *m_pWizard;
  38. BOOL m_bNextButtonClicked;
  39. // filled in by initialization routine in shrwiz.cpp
  40. CString m_cstrTargetComputer;
  41. BOOL m_bIsLocal;
  42. BOOL m_bServerFPNW;
  43. BOOL m_bServerSFM;
  44. HINSTANCE m_hLibFPNW; // fpnwclnt.dll
  45. HINSTANCE m_hLibSFM; // sfmapi.dll
  46. // filled in by the folder page
  47. CString m_cstrFolder;
  48. CString m_cstrShareName;
  49. CString m_cstrShareDescription;
  50. CString m_cstrMACShareName;
  51. BOOL m_bSMB;
  52. BOOL m_bFPNW;
  53. BOOL m_bSFM;
  54. // filled in by the permission page
  55. PSECURITY_DESCRIPTOR m_pSD;
  56. //{{AFX_MSG(CShrwizApp)
  57. // NOTE - the ClassWizard will add and remove member functions here.
  58. // DO NOT EDIT what you see in these blocks of generated code !
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. /////////////////////////////////////////////////////////////////////////////
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_SHRWIZ_H__292A4F37_C1EC_11D2_8E4A_0000F87A3388__INCLUDED_)