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.

295 lines
10 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. nwshrc.h
  5. Abstract:
  6. All resource ids used in nwprovau.dll
  7. Author:
  8. Yi-Hsin Sung (yihsins) 20-Oct-1995
  9. Revision History:
  10. --*/
  11. #ifndef _NWSHRC_H_
  12. #define _NWSHRC_H_
  13. #include "nwshhelp.h"
  14. #define IDC_STATIC -1
  15. #define IDC_LOGOFRAME 599
  16. //
  17. // Icon Ids
  18. //
  19. #define IDI_TREE_ICON 600
  20. #define IDI_SERVER_ICON 601
  21. #define IDI_FOLDER_ICON 602
  22. #define IDI_PRINTER_ICON 603
  23. #define IDI_NDSCONT_ICON 604
  24. // Bitmap Ids
  25. #define IDB_SERVER_ICON 701
  26. #define IDB_TREE_ICON 702
  27. //
  28. // Dialog Ids
  29. //
  30. #define DLG_NETWARE_LOGIN 1000
  31. #define DLG_NETWORK_CREDENTIAL 1001
  32. #define DLG_CHANGE_PASSWORD 1002
  33. #define DLG_CHANGE_PASSWORD2 1003
  34. #define DLG_PASSWORD_CHANGE 1004
  35. #define DLG_PASSWORD_PROMPT 1005
  36. #define DLG_PREFERRED_SERVER_HELP 1006
  37. #define DLG_ENTER_PASSWORD_HELP 1007
  38. #define DLG_ENTER_OLD_PASSWORD 1009
  39. #define DLG_PW_SELECT_SERVERS 1010
  40. #define DLG_PW_CHANGED 1011
  41. #define DLG_ENTER_OLD_PW_HELP 1012
  42. #define DLG_PW_SELECT_SERVERS_HELP 1013
  43. #define DLG_ENTER_ALT_USERNAME 1014
  44. #define DLG_ENTER_ALT_UN_HELP 1015
  45. #define DLG_CHANGE_PASSWORD3 1016
  46. #define DLG_CHANGE_PASSWORD_HELP 1017
  47. //
  48. // Dialog Ids for Shell Extension
  49. //
  50. #define DLG_NDS_SUMMARYINFO 1100
  51. #define DLG_SERVER_SUMMARYINFO 1101
  52. #define DLG_SHARE_SUMMARYINFO 1102
  53. #define DLG_PRINTER_SUMMARYINFO 1103
  54. #define DLG_GLOBAL_WHOAMI 1104
  55. #define DLG_NDSCONT_SUMMARYINFO 1105
  56. //
  57. // Help File names, IDs, and macro
  58. //
  59. #define NW_HELP_FILE TEXT("nwdoc.hlp")
  60. //
  61. // Control Ids used by all dialogs
  62. //
  63. #ifdef NT1057
  64. #define IDHELP 100
  65. #endif
  66. //
  67. // Control Ids used in both the login dialog and the
  68. // change password dialog
  69. //
  70. #define ID_USERNAME 101
  71. #define ID_SERVER 102
  72. #define ID_LOCATION 103
  73. #define ID_PREFERREDSERVER_RB 104
  74. #define ID_DEFAULTCONTEXT_RB 105
  75. #define ID_DEFAULTTREE 106
  76. #define ID_DEFAULTCONTEXT 107
  77. //
  78. // Control Ids used in the login dialog
  79. //
  80. #define ID_PASSWORD 200
  81. //
  82. // Control Ids used in the change password dialog
  83. //
  84. #define ID_OLD_PASSWORD 300
  85. #define ID_NEW_PASSWORD 301
  86. #define ID_CONFIRM_PASSWORD 302
  87. #define ID_ADD 304
  88. #define ID_REMOVE 305
  89. #define ID_ACTIVE_LIST 306
  90. #define ID_INACTIVE_LIST 307
  91. #define ID_ACTIVE_LIST_TITLE 308
  92. #define ID_INACTIVE_LIST_TITLE 309
  93. //
  94. // Control Ids used in the network credential dialog
  95. //
  96. #define ID_VOLUME_PATH 400
  97. #define ID_CONNECT_AS 401
  98. #define ID_CONNECT_PASSWORD 402
  99. #define ID_CONNECT_TEXT 403
  100. //
  101. // Login script
  102. //
  103. #define ID_LOGONSCRIPT 501
  104. //
  105. // Controls common to summaryinfo dialogs
  106. //
  107. #define IDD_ERROR 200
  108. //
  109. // Controls Ids in DLG_NDS_SUMMARYINFO
  110. //
  111. #define IDD_NDS_NAME_TXT 101
  112. #define IDD_NDS_NAME 102
  113. #define IDD_NDS_CLASS_TXT 103
  114. #define IDD_NDS_CLASS 104
  115. #define IDD_NDS_COMMENT_TXT 105
  116. #define IDD_NDS_COMMENT 106
  117. //
  118. // Controls Ids in DLG_SERVER_SUMMARYINFO
  119. //
  120. #define IDD_SERVER_NAME 101
  121. #define IDD_SERVER_VERSION_TXT 102
  122. #define IDD_SERVER_VERSION 103
  123. #define IDD_SERVER_REVISION_TXT 104
  124. #define IDD_SERVER_REVISION 105
  125. #define IDD_SERVER_COMMENT_TXT 106
  126. #define IDD_SERVER_COMMENT 107
  127. #define IDD_SERVER_CONNECT_TXT 108
  128. #define IDD_SERVER_CONNECT 109
  129. #define IDD_SERVER_MAXCON_TXT 110
  130. #define IDD_SERVER_MAXCON 111
  131. //
  132. // Controls Ids in DLG_SHARE_SUMMARYINFO
  133. //
  134. #define IDD_SHARE_NAME 101
  135. #define IDD_SHARE_SERVER_TXT 102
  136. #define IDD_SHARE_SERVER 103
  137. #define IDD_SHARE_PATH_TXT 104
  138. #define IDD_SHARE_PATH 105
  139. #define IDD_SHARE_USED_SPC_CLR 106
  140. #define IDD_SHARE_USED_SPC_TXT 107
  141. #define IDD_SHARE_USED_SPC 108
  142. #define IDD_SHARE_USED_SPC_MB 109
  143. #define IDD_SHARE_FREE_SPC_CLR 110
  144. #define IDD_SHARE_FREE_SPC_TXT 111
  145. #define IDD_SHARE_FREE_SPC 112
  146. #define IDD_SHARE_FREE_SPC_MB 113
  147. #define IDD_SHARE_MAX_SPC_TXT 114
  148. #define IDD_SHARE_MAX_SPC 115
  149. #define IDD_SHARE_MAX_SPC_MB 116
  150. #define IDD_SHARE_PIE 117
  151. #define IDD_SHARE_LFN_TXT 118
  152. //
  153. // Controls Ids in DLG_PRINTER_SUMMARYINFO
  154. //
  155. #define IDD_PRINTER_NAME 101
  156. #define IDD_PRINTER_QUEUE_TXT 102
  157. #define IDD_PRINTER_QUEUE 103
  158. //
  159. // Controls Ids in DLG_GLOBAL_WHOAMI
  160. //
  161. #define IDD_GLOBAL_SERVERLIST_T 101
  162. #define IDD_GLOBAL_SERVERLIST 102
  163. #define IDD_GLOBAL_SVRLIST_DESC 103
  164. #define IDD_DETACH 104
  165. #define IDD_REFRESH 105
  166. //
  167. // String Ids
  168. //
  169. #define IDS_START 20000
  170. #define IDS_NONE (IDS_START + 0)
  171. #define IDS_NETWARE_PRINT_CAPTION (IDS_START + 1)
  172. #define IDS_NOTHING_TO_CONFIGURE (IDS_START + 2)
  173. #define IDS_NETWARE_TITLE (IDS_START + 3)
  174. #define IDS_AUTH_FAILURE_TITLE (IDS_START + 4)
  175. #define IDS_NO_PREFERRED (IDS_START + 5)
  176. #define IDS_LOGIN_FAILURE_WARNING (IDS_START + 6)
  177. #define IDS_AUTH_FAILURE_WARNING (IDS_START + 7)
  178. #define IDS_CHANGE_PASSWORD_INFO (IDS_START + 8)
  179. #define IDS_INVALID_SERVER (IDS_START + 9)
  180. #define IDS_PASSWORD_HAS_EXPIRED (IDS_START + 10)
  181. #define IDS_AUTH_ACC_RESTRICTION (IDS_START + 11)
  182. #define IDS_LOGIN_ACC_RESTRICTION (IDS_START + 12)
  183. #define IDS_PASSWORD_HAS_EXPIRED1 (IDS_START + 13)
  184. #define IDS_BAD_PASSWORDS (IDS_START + 14)
  185. #define IDS_CHANGE_PASSWORD_TITLE (IDS_START + 15)
  186. #define IDS_START_WORKSTATION_FIRST (IDS_START + 16)
  187. #define IDS_PASSWORD_HAS_EXPIRED0 (IDS_START + 17)
  188. #define IDS_PASSWORD_HAS_EXPIRED2 (IDS_START + 18)
  189. #define IDS_LOGIN_DISABLED (IDS_START + 19)
  190. #define IDS_SERVER (IDS_START + 21)
  191. #define IDS_CONTEXT (IDS_START + 22)
  192. #define IDS_CONNECT_NO_ERROR_TEXT (IDS_START + 23)
  193. #define IDS_TITLE_LOGOUT (IDS_START + 24)
  194. #define IDS_MESSAGE_LOGOUT_QUESTION (IDS_START + 25)
  195. #define IDS_MESSAGE_LOGOUT_FAILED (IDS_START + 26)
  196. #define IDS_MESSAGE_NOT_ATTACHED (IDS_START + 27)
  197. #define IDS_MESSAGE_DETACHED (IDS_START + 28)
  198. #define IDS_MESSAGE_LOGOUT_CONFIRM (IDS_START + 29)
  199. #define IDS_TITLE_WHOAMI (IDS_START + 30)
  200. #define IDS_MESSAGE_ATTACHED (IDS_START + 31)
  201. #define IDS_BYTES (IDS_START + 32)
  202. #define IDS_ORDERKB (IDS_START + 33)
  203. #define IDS_ORDERMB (IDS_START + 34)
  204. #define IDS_ORDERGB (IDS_START + 35)
  205. #define IDS_ORDERTB (IDS_START + 36)
  206. #define IDS_STATE_NOT_LOGGED_IN (IDS_START + 37)
  207. #define IDS_MESSAGE_NOT_ATTACHED_TO_TREE (IDS_START + 38)
  208. #define IDS_MESSAGE_ATTACHED_TO_TREE (IDS_START + 39)
  209. #define IDS_LOGIN_TYPE_NDS (IDS_START + 40)
  210. #define IDS_LOGIN_TYPE_BINDERY (IDS_START + 41)
  211. #define IDS_LOGIN_STATUS_SEPARATOR (IDS_START + 42)
  212. #define IDS_LOGIN_STATUS_AUTHENTICATED (IDS_START + 43)
  213. #define IDS_LOGIN_STATUS_NOT_AUTHENTICATED (IDS_START + 44)
  214. #define IDS_LOGIN_STATUS_LICENSED (IDS_START + 45)
  215. #define IDS_LOGIN_STATUS_NOT_LICENSED (IDS_START + 46)
  216. #define IDS_LOGIN_STATUS_LOGGED_IN (IDS_START + 47)
  217. #define IDS_LOGIN_STATUS_ATTACHED_ONLY (IDS_START + 48)
  218. #define IDS_LOGIN_STATUS_NOT_ATTACHED (IDS_START + 49)
  219. #define IDS_MESSAGE_CONNINFO_ERROR (IDS_START + 50)
  220. #define IDS_MESSAGE_ADDCONN_ERROR (IDS_START + 51)
  221. #define IDS_MESSAGE_CONTEXT_ERROR (IDS_START + 52)
  222. #define IDS_MESSAGE_LOGGED_IN_TREE (IDS_START + 53)
  223. #define IDS_MESSAGE_NOT_LOGGED_IN_TREE (IDS_START + 54)
  224. #define IDS_MESSAGE_LOGGED_IN_SERVER (IDS_START + 55)
  225. #define IDS_MESSAGE_NOT_LOGGED_IN_SERVER (IDS_START + 56)
  226. #define IDS_MESSAGE_PROPERTIES_ERROR (IDS_START + 57)
  227. #define IDS_TREE_NAME_MISSING (IDS_START + 58)
  228. #define IDS_CONTEXT_MISSING (IDS_START + 59)
  229. #define IDS_SERVER_MISSING (IDS_START + 60)
  230. #define IDS_CONTEXT_AUTH_FAILURE_WARNING (IDS_START + 61)
  231. #define IDS_COLUMN_NAME (IDS_START + 62)
  232. #define IDS_COLUMN_CONN_TYPE (IDS_START + 63)
  233. #define IDS_COLUMN_CONN_NUMBER (IDS_START + 64)
  234. #define IDS_COLUMN_USER (IDS_START + 65)
  235. #define IDS_COLUMN_STATUS (IDS_START + 66)
  236. #define IDS_MESSAGE_GETINFO_ERROR (IDS_START + 67)
  237. #define IDS_CP_FAILURE_WARNING (IDS_START + 68)
  238. #define IDS_CHANGE_PASSWORD_CONFLICT (IDS_START + 69)
  239. #define IDS_NO_TREES_DETECTED (IDS_START + 70)
  240. #define IDS_MESSAGE_LOGOUT_FROM_SERVER_FAILED (IDS_START + 71)
  241. //
  242. // String Ids for Shell Extension
  243. //
  244. #define IDS_MESSAGE_CONTEXT_CHANGED (IDS_START + 100)
  245. #define IDS_VERBS_BASE (IDS_START + 150)
  246. #define IDS_VERBS_HELP_BASE (IDS_START + 200)
  247. #define IDO_VERB_WHOAMI 1
  248. #define IDO_VERB_LOGOUT 2
  249. #define IDO_VERB_ATTACHAS 3
  250. #define IDO_VERB_GLOBALWHOAMI 4
  251. #define IDO_VERB_SETDEFAULTCONTEXT 5
  252. #define IDO_VERB_MAPNETWORKDRIVE 6
  253. #define IDO_VERB_TREEWHOAMI 7
  254. #define IDS_END (IDS_START + 1000)
  255. #endif // _NWSHRC_H_