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.

360 lines
9.6 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1992 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //Jameel: please check all these, especially those that have comments to you.
  5. //***
  6. //
  7. // Filename: srvmsg.h
  8. //
  9. // Description: Text and corresponding values of AFP Server events are
  10. // defined here.
  11. //
  12. // History: Nov 23,1992. SueA Created original version.
  13. // Jan 28,1993. SueA Logging now done from user mode
  14. // so %1 is no longer \Device\AfpSrv
  15. //
  16. // Don't change the comments following the manifest constants without
  17. // understanding how mapmsg works.
  18. //
  19. #define AFPSRV_MSG_BASE 12000
  20. #define AFPSRVMSG_DELETE_NWTRASH (AFPSRV_MSG_BASE+1)
  21. /*
  22. * Unable to delete the directory "Network Trash Folder" from volume "%1".
  23. */
  24. #define AFPSRVMSG_CREATE_NWTRASH (AFPSRV_MSG_BASE+2)
  25. /*
  26. * Unable to create the directory "Network Trash Folder" on volume "%1".
  27. */
  28. #define AFPSRVMSG_CANT_READ (AFPSRV_MSG_BASE+3)
  29. /*
  30. * Unable to read internal server information from file "%1".
  31. */
  32. #define AFPSRVMSG_CANT_WRITE (AFPSRV_MSG_BASE+4)
  33. /*
  34. * Unable to write internal server information to file "%1".
  35. */
  36. #define AFPSRVMSG_CANT_LOCK (AFPSRV_MSG_BASE+5)
  37. /*
  38. * Not used.
  39. * Unable to lock a range of bytes for "%1".
  40. */
  41. #define AFPSRVMSG_CANT_UNLOCK (AFPSRV_MSG_BASE+6)
  42. /*
  43. * Unable to unlock a range of bytes for "%1".
  44. */
  45. #define AFPSRVMSG_CANT_GET_FILESIZE (AFPSRV_MSG_BASE+7)
  46. /*
  47. * Unable to query the file size for "%1".
  48. */
  49. #define AFPSRVMSG_CANT_SET_FILESIZE (AFPSRV_MSG_BASE+8)
  50. /*
  51. * Unable to set the file size for "%1".
  52. */
  53. #define AFPSRVMSG_CANT_GET_TIMESNATTR (AFPSRV_MSG_BASE+9)
  54. /*
  55. * Unable to query time/date information for "%1".
  56. */
  57. #define AFPSRVMSG_CANT_SET_TIMESNATTR (AFPSRV_MSG_BASE+10)
  58. /*
  59. * Unable to set time/date information for "%1".
  60. */
  61. #define AFPSRVMSG_CANT_GET_STREAMS (AFPSRV_MSG_BASE+11)
  62. /*
  63. * Unable to query alternate data stream names for "%1".
  64. */
  65. #define AFPSRVMSG_CANT_GET_FILENAME (AFPSRV_MSG_BASE+12)
  66. /*
  67. * Unable to query the short (MS-DOS compatible) filename for "%1".
  68. */
  69. #define AFPSRVMSG_CANT_GET_ACCESS_INFO (AFPSRV_MSG_BASE+13)
  70. /*
  71. * Not used.
  72. * Unable to obtain security information.
  73. */
  74. #define AFPSRVMSG_CANT_GET_FSNAME (AFPSRV_MSG_BASE+16)
  75. /*
  76. * Unable to query the file system type for directory "%1".
  77. */
  78. #define AFPSRVMSG_READ_DESKTOP (AFPSRV_MSG_BASE+17)
  79. /*
  80. * Desktop database for volume "%1" could not be loaded. Reconstructing the database.
  81. */
  82. #define AFPSRVMSG_MSV1_0 (AFPSRV_MSG_BASE+18)
  83. /*
  84. * Not used.
  85. * Unable to load the MSV1_0 authentication package.
  86. */
  87. #define AFPSRVMSG_MAC_CODEPAGE (AFPSRV_MSG_BASE+19)
  88. /*
  89. * Unable to load the Macintosh character set.
  90. */
  91. #define AFPSRVMSG_REGISTER_NAME (AFPSRV_MSG_BASE+20)
  92. /*
  93. * Unable to register the server name with the network. Make sure no other server is using this name.
  94. */
  95. #define AFPSRVMSG_POST_REQUEST (AFPSRV_MSG_BASE+21)
  96. /*
  97. * Not used.
  98. * An error occurred on the network.
  99. */
  100. #define AFPSRVMSG_DFRD_REQUEST (AFPSRV_MSG_BASE+22)
  101. /*
  102. * Unable to process requests due to insufficient resources.
  103. */
  104. #define AFPSRVMSG_SEND_ATTENTION (AFPSRV_MSG_BASE+23)
  105. /*
  106. * Unable to send attention to a connected user.
  107. */
  108. #define AFPSRVMSG_ALLOC_IRP (AFPSRV_MSG_BASE+24)
  109. /*
  110. * Unable to allocate a system resource (IRP).
  111. * System may be low on memory.
  112. */
  113. #define AFPSRVMSG_ALLOC_MDL (AFPSRV_MSG_BASE+25)
  114. /*
  115. * Unable to allocate a system resouces (Memory Descriptor List - MDL).
  116. * System may be low on memory.
  117. */
  118. #define AFPSRVMSG_WAIT4SINGLE (AFPSRV_MSG_BASE+26)
  119. /*
  120. * An internal error occurred.
  121. * Error occured while waiting on single object to change state.
  122. */
  123. #define AFPSRVMSG_CREATE_THREAD (AFPSRV_MSG_BASE+27)
  124. /*
  125. * Unable to create a new thread.
  126. */
  127. #define AFPSRVMSG_CREATE_PROCESS (AFPSRV_MSG_BASE+28)
  128. /*
  129. * Not used.
  130. * Unable to create a process.
  131. */
  132. #define AFPSRVMSG_ENUMERATE (AFPSRV_MSG_BASE+29)
  133. /*
  134. * Unable to query contents of directory "%1".
  135. */
  136. #define AFPSRVMSG_CREATE_ATKADDR (AFPSRV_MSG_BASE+30)
  137. /*
  138. * Error in creating File object for current Appletalk address.
  139. */
  140. #define AFPSRVMSG_CREATE_ATKCONN (AFPSRV_MSG_BASE+31)
  141. /*
  142. * Not used.
  143. * An error occured on the network.
  144. */
  145. #define AFPSRVMSG_ASSOC_ADDR (AFPSRV_MSG_BASE+32)
  146. /*
  147. * Not used.
  148. * An error occurred on the network.
  149. */
  150. #define AFPSRVMSG_SET_STATUS (AFPSRV_MSG_BASE+33)
  151. /*
  152. * An error occured while setting the File Server status block during initialization. The File Server was not started.
  153. */
  154. #define AFPSRVMSG_GET_SESSION (AFPSRV_MSG_BASE+34)
  155. /*
  156. * Not used.
  157. * An error occurred on the network.
  158. */
  159. #define AFPSRVMSG_INIT_IDDB (AFPSRV_MSG_BASE+35)
  160. /*
  161. * Volume %1 is being reindexed.
  162. * The volume will be available for use after indexing is over.
  163. */
  164. #define AFPSRVMSG_PROCESS_TOKEN (AFPSRV_MSG_BASE+36)
  165. /*
  166. * An error occured while creating the system-level process token during
  167. * the File Server driver initialization.
  168. * The File Server could not be started.
  169. */
  170. #define AFPSRVMSG_LSA (AFPSRV_MSG_BASE+37)
  171. /*
  172. * Not used.
  173. * Unable to register with the Local Security Authority.
  174. */
  175. #define AFPSRVMSG_CREATE_DEVICE (AFPSRV_MSG_BASE+38)
  176. /*
  177. * Not used.
  178. * Unable to create a device object.
  179. */
  180. #define AFPSRVMSG_USER_GROUPS (AFPSRV_MSG_BASE+39)
  181. /*
  182. * Unable to query group membership for the user.
  183. */
  184. #define AFPSRVMSG_MACANSI2UNICODE (AFPSRV_MSG_BASE+40)
  185. /*
  186. * Unable to translate Macintosh used ANSI characters into Unicode characters.
  187. * The specfic error is in the data.
  188. */
  189. #define AFPSRVMSG_UNICODE2MACANSI (AFPSRV_MSG_BASE+41)
  190. /*
  191. * Unable to translate Unicode characters into Macintosh used ANSI characters.
  192. * The specfic error is in the data.
  193. */
  194. #define AFPSRVMSG_AFPINFO (AFPSRV_MSG_BASE+42)
  195. /*
  196. * Internal server information for file "%1" was corrupted. Setting default information.
  197. */
  198. #define AFPSRVMSG_WRITE_DESKTOP (AFPSRV_MSG_BASE+43)
  199. /*
  200. * Unable to update the Desktop database for volume "%1". There may not be enough disk space.
  201. */
  202. #define AFPSRVMSG_IMPERSONATE (AFPSRV_MSG_BASE+44)
  203. /*
  204. * Not used.
  205. * Unable to impersonate a client.
  206. */
  207. #define AFPSRVMSG_REVERTBACK (AFPSRV_MSG_BASE+45)
  208. /*
  209. * Not used.
  210. * Unable to revert from impersonating a client.
  211. */
  212. #define AFPSRVMSG_PAGED_POOL (AFPSRV_MSG_BASE+46)
  213. /*
  214. * Unable to allocate paged memory resource.
  215. */
  216. #define AFPSRVMSG_NONPAGED_POOL (AFPSRV_MSG_BASE+47)
  217. /*
  218. * Unable to allocate nonpaged memory resources.
  219. */
  220. #define AFPSRVMSG_LSA_CHALLENGE (AFPSRV_MSG_BASE+48)
  221. /*
  222. * Not used.
  223. * Unable to authenticate user.
  224. */
  225. #define AFPSRVMSG_LOGON (AFPSRV_MSG_BASE+49)
  226. /*
  227. * Unable to logon user "%1".
  228. */
  229. #define AFPSRVMSG_MAX_DIRID (AFPSRV_MSG_BASE+50)
  230. /*
  231. * The maximum directory ID has been reached on volume "%1". No more files or directories can be created on this volume.
  232. */
  233. #define AFPSRVMSG_WRITE_IDDB (AFPSRV_MSG_BASE+51)
  234. /*
  235. * Unable to update the index database for the Macintosh-Accessible volume "%1". There may not be enough disk space.
  236. */
  237. #define AFPSRVMSG_MISSED_NOTIFY (AFPSRV_MSG_BASE+52)
  238. /*
  239. * A directory change notification was missed on volume "%1".
  240. */
  241. #define AFPSRVMSG_DISCONNECT (AFPSRV_MSG_BASE+53)
  242. /*
  243. * Session from user "%2" was timed out and disconnected by the server.
  244. * The AppleTalk address of the Macintosh workstation is in the data.
  245. */
  246. #define AFPSRVMSG_DISCONNECT_GUEST (AFPSRV_MSG_BASE+54)
  247. /*
  248. * Guest session was timed out and disconnected by the server.
  249. * The AppleTalk address of the Macintosh workstation is in the data.
  250. */
  251. #define AFPSRVMSG_UPONMP (AFPSRV_MSG_BASE+55)
  252. /*
  253. * Not used.
  254. * A uniprocessor driver was loaded on a multiprocessor system.
  255. * The driver could not load.
  256. */
  257. #define AFPSRVMSG_UPDATE_DESKTOP_VERSION (AFPSRV_MSG_BASE+56)
  258. /*
  259. * Updating the Desktop database version for volume "%1".
  260. */
  261. #define AFPSRVMSG_TOO_MANY_FOLDERS (AFPSRV_MSG_BASE+57)
  262. /*
  263. * Number of files and folders in volume "%1" is greater than 65535.
  264. * Older Macintosh clients may not function correctly in this situation due
  265. * to Macintosh volume limitation.
  266. */
  267. #define AFPSRVMSG_START_VOLUME (AFPSRV_MSG_BASE+58)
  268. /*
  269. * Unable to activate the volume "%1"
  270. */
  271. #define AFPSRVMSG_VOLUME_INIT_FAILED (AFPSRV_MSG_BASE+59)
  272. /*
  273. * Unable to activate volume "%1". The available non-paged memory in the system * is not adequate to handle the large number of folders within this volume.
  274. * Reducing the number of folders can help.
  275. */
  276. #define AFPSRVMSG_VIRTMEM_ALLOC_FAILED (AFPSRV_MSG_BASE+60)
  277. /*
  278. * Unable to allocate virtual memory.
  279. * Reducing the number of folders can help.
  280. */
  281. #define AFPSRVMSG_DISCONNECT_TCPIP (AFPSRV_MSG_BASE+61)
  282. /*
  283. * Session from user "%2" was timed out and disconnected by the server.
  284. * The IP address of the Macintosh workstation is in the data.
  285. */
  286. #define AFPSRVMSG_DISCONNECT_GUEST_TCPIP (AFPSRV_MSG_BASE+62)
  287. /*
  288. * Guest session was timed out and disconnected by the server.
  289. * The IP address of the Macintosh workstation is in the data.
  290. */
  291. #define AFPSRVMSG_UPDATE_INDEX_VERSION (AFPSRV_MSG_BASE+63)
  292. /*
  293. * Index database for volume %1 is being updated because the server detected an older
  294. * version. The volume will be visible on the network after indexing is complete. For
  295. * very large volumes, this can take several minutes.
  296. */