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.

127 lines
4.9 KiB

  1. /*****************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /*****************************************************************/
  5. /*
  6. * sharedlg.h
  7. * This manifests are used by the share properties dialogs
  8. *
  9. * History:
  10. * Yi-HsinS 8/15/91 Created
  11. * Yi-HsinS 12/5/91 Added IERR_SHARE_DRIVE_NOT_READY
  12. * beng 04-Aug-1992 Move resource IDs into reange
  13. *
  14. */
  15. #ifndef _SHAREDLG_H_
  16. #define _SHAREDLG_H_
  17. #include <errornum.h>
  18. #define IERR_SHARE_REMOTE_ADMIN_NOT_SUPPORTED (IDS_UI_SHELL_SHR_BASE + 1)
  19. #define IERR_SHARE_DRIVE_NOT_READY (IDS_UI_SHELL_SHR_BASE + 2)
  20. #define IERR_SHARE_INVALID_PERMISSIONS (IDS_UI_SHELL_SHR_BASE + 3)
  21. #define IERR_SHARE_INVALID_COMMENT (IDS_UI_SHELL_SHR_BASE + 4)
  22. #define IERR_SHARE_INVALID_SHAREPATH (IDS_UI_SHELL_SHR_BASE + 5)
  23. #define IERR_SHARE_INVALID_LOCAL_PATH (IDS_UI_SHELL_SHR_BASE + 6)
  24. #define IERR_SHARE_INVALID_SHARE (IDS_UI_SHELL_SHR_BASE + 7)
  25. #define IERR_SHARE_INVALID_USERLIMIT (IDS_UI_SHELL_SHR_BASE + 8)
  26. #define IERR_SPECIAL_SHARE_INVALID_PATH (IDS_UI_SHELL_SHR_BASE + 9)
  27. #define IERR_SPECIAL_SHARE_INVALID_COMMENT (IDS_UI_SHELL_SHR_BASE + 10)
  28. #define IERR_SHARE_DIR_NOT_SHARED (IDS_UI_SHELL_SHR_BASE + 11)
  29. #define IERR_NO_SHARES_ON_SERVER (IDS_UI_SHELL_SHR_BASE + 12)
  30. #define IERR_SHARE_NOT_ACCESSIBLE_FROM_DOS (IDS_UI_SHELL_SHR_BASE + 13)
  31. #define IERR_CANNOT_SET_PERM_ON_LMUSER_SERVER (IDS_UI_SHELL_SHR_BASE + 14)
  32. #define IERR_SPECIAL_SHARE_CANNOT_CHANGE_PATH (IDS_UI_SHELL_SHR_BASE + 16)
  33. #define IERR_SHARE_NOT_FOUND (IDS_UI_SHELL_SHR_BASE + 17)
  34. #define IERR_SPECIAL_SHARE_CANNOT_SET_PERMISSIONS (IDS_UI_SHELL_SHR_BASE + 18)
  35. #define IERR_NOT_SUPPORTED_ON_NON_LM_DRIVE (IDS_UI_SHELL_SHR_BASE + 19)
  36. #define IDS_SHARE_LB_TITLE_TEXT (IDS_UI_SHELL_SHR_BASE + 50)
  37. #define IDS_SHARE_CURRENT_USERS_TEXT (IDS_UI_SHELL_SHR_BASE + 51)
  38. #define IDS_SHARE_PROP_CHANGE_PASSWD_WARN_TEXT (IDS_UI_SHELL_SHR_BASE + 52)
  39. #define IDS_ADMIN_INFO_TEXT (IDS_UI_SHELL_SHR_BASE + 53)
  40. #define IDS_CHANGE_PATH_WARNING (IDS_UI_SHELL_SHR_BASE + 54)
  41. #define IDS_SHARE (IDS_UI_SHELL_SHR_BASE + 55)
  42. #define IDS_SHARE_PERM_GEN_READ (IDS_UI_SHELL_SHR_BASE + 56)
  43. #define IDS_SHARE_PERM_GEN_MODIFY (IDS_UI_SHELL_SHR_BASE + 57)
  44. #define IDS_SHARE_PERM_GEN_ALL (IDS_UI_SHELL_SHR_BASE + 58)
  45. #define IDS_SHARE_PERM_GEN_NO_ACCESS (IDS_UI_SHELL_SHR_BASE + 59)
  46. /* The following are the buttons that appear in the Properties dialog.
  47. */
  48. #define IDS_NETWORK_NAME (IDS_UI_SHELL_SHR_BASE + 60)
  49. #define IDS_PROP_BUTTON_SHARE (IDS_UI_SHELL_SHR_BASE + 61)
  50. #define IDS_PROP_BUTTON_FILEOPENS (IDS_UI_SHELL_SHR_BASE + 62)
  51. /*
  52. * Menu IDs for share menus. Used for identifying buttons acyions as well.
  53. */
  54. #define IDM_CREATE_SHARE 1 // have to be between 1-99
  55. #define IDM_STOP_SHARE 2
  56. #define IDM_SHARE_MANAGEMENT 3
  57. #define IDD_SHARECREATEDLG 8101
  58. #define IDD_FILEMGRSHAREPROPDLG 8102
  59. #define IDD_SVRMGRSHAREPROPDLG 8103
  60. #define IDD_SHAREMANAGEMENTDLG 8104
  61. #define IDD_SHAREPERMDLG 8105
  62. #define IDD_SHAREUSERSWARNINGDLG 8106
  63. #define IDD_SHARESTOPDLG 8107
  64. #define SLE_PATH 160
  65. #define SLE_COMMENT 161
  66. #define SLE_PASSWORD 162
  67. #define SLE_SHARE 163
  68. #define CB_SHARE 164
  69. #define SLT_ADMININFO 165
  70. #define SLT_SHARETITLE 166
  71. #define BUTTON_PERMISSIONS 167
  72. #define BUTTON_NEWSHARE 168
  73. // Stop sharing dialog
  74. #define LB_SHARE 170 // NOTE: LB_SHARENAME, LBHEADER_NAME
  75. #define LBHEADER_NAME 171 // and LBHEADER_PATH must be
  76. #define LBHEADER_PATH 172 // consecutive numbers
  77. //
  78. // Share management dialog
  79. //
  80. #define BUTTON_STOPSHARING 175
  81. #define BUTTON_SHAREINFO 176
  82. #define BUTTON_ADDSHARE 177
  83. //
  84. // User Limit Magic Group
  85. //
  86. #define RB_UNLIMITED 180
  87. #define RB_USERS 181
  88. #define SLE_USERS 182
  89. #define SB_USERS_GROUP 183
  90. #define SB_USERS_UP 184
  91. #define SB_USERS_DOWN 185
  92. #define FRAME_USERS 186
  93. //
  94. // Permission Group
  95. //
  96. #define RB_READONLY 190
  97. #define RB_MODIFY 191
  98. #define RB_OTHER 192
  99. #define SLE_OTHER 193
  100. //
  101. // Current users warning dialog
  102. //
  103. #define SLT_SHARE_TEXT 200
  104. #define LB_USERS 201 // The following four must be
  105. #define LBHEADER_USERS 202 // continuous numbers.
  106. #define LBHEADER_FILEOPENS 203
  107. #define LBHEADER_TIME 204
  108. #endif