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.

267 lines
9.7 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. ncberr.h
  5. Abstract:
  6. This file contains the text for ncb error messages.
  7. Author:
  8. Yi-HsinS (Yi-Hsin Sung) 21-Aug-1991
  9. Revision History:
  10. Notes:
  11. This file is used to generate a LAN Manager error message file.
  12. See lmcons.h for range of error codes in use by LAN Manager components.
  13. --*/
  14. #ifndef NCBERR_INCLUDED
  15. #define NCBERR_INCLUDED
  16. #define NRCERR_BASE 5300
  17. #define NRCerr_GOODRET (NRCERR_BASE + 0) /* @E
  18. *
  19. * The network control block (NCB) request completed successfully.
  20. * The NCB is the data.
  21. */
  22. #define NRCerr_BUFLEN (NRCERR_BASE + 1) /* @E
  23. *
  24. * Illegal network control block (NCB) buffer length on SEND DATAGRAM,
  25. * SEND BROADCAST, ADAPTER STATUS, or SESSION STATUS.
  26. * The NCB is the data.
  27. */
  28. #define NRCerr_DESCRIPTOR (NRCERR_BASE + 2) /* @E
  29. *
  30. * The data descriptor array specified in the network control block (NCB) is
  31. * invalid. The NCB is the data.
  32. */
  33. #define NRCerr_ILLCMD (NRCERR_BASE + 3) /* @E
  34. *
  35. * The command specified in the network control block (NCB) is illegal.
  36. * The NCB is the data.
  37. */
  38. #define NRCerr_INVCORR (NRCERR_BASE + 4) /* @E
  39. *
  40. * The message correlator specified in the network control block (NCB) is
  41. * invalid. The NCB is the data.
  42. */
  43. #define NRCerr_CMDTMO (NRCERR_BASE + 5) /* @E
  44. *
  45. * A network control block (NCB) command timed-out. The session may have
  46. * terminated abnormally. The NCB is the data.
  47. */
  48. #define NRCerr_INCOMP (NRCERR_BASE + 6) /* @E
  49. *
  50. * An incomplete network control block (NCB) message was received.
  51. * The NCB is the data.
  52. */
  53. #define NRCerr_BADDR (NRCERR_BASE + 7) /* @E
  54. *
  55. * The buffer address specified in the network control block (NCB) is illegal.
  56. * The NCB is the data.
  57. */
  58. #define NRCerr_SNUMOUT (NRCERR_BASE + 8) /* @E
  59. *
  60. * The session number specified in the network control block (NCB) is not active.
  61. * The NCB is the data.
  62. */
  63. #define NRCerr_NORES (NRCERR_BASE + 9) /* @E
  64. *
  65. * No resource was available in the network adapter.
  66. * The network control block (NCB) request was refused. The NCB is the data.
  67. */
  68. #define NRCerr_SCLOSED (NRCERR_BASE + 10) /* @E
  69. *
  70. * The session specified in the network control block (NCB) was closed.
  71. * The NCB is the data.
  72. */
  73. #define NRCerr_CMDCAN (NRCERR_BASE + 11) /* @E
  74. *
  75. * The network control block (NCB) command was canceled.
  76. * The NCB is the data.
  77. */
  78. #define NRCerr_MESSSEG (NRCERR_BASE + 12) /* @E
  79. *
  80. * The message segment specified in the network control block (NCB) is
  81. * illogical. The NCB is the data.
  82. */
  83. #define NRCerr_DUPNAME (NRCERR_BASE + 13) /* @E
  84. *
  85. * The name already exists in the local adapter name table.
  86. * The network control block (NCB) request was refused. The NCB is the data.
  87. */
  88. #define NRCerr_NAMTFUL (NRCERR_BASE + 14) /* @E
  89. *
  90. * The network adapter name table is full.
  91. * The network control block (NCB) request was refused. The NCB is the data.
  92. */
  93. #define NRCerr_ACTSES (NRCERR_BASE + 15) /* @E
  94. *
  95. * The network name has active sessions and is now de-registered.
  96. * The network control block (NCB) command completed. The NCB is the data.
  97. */
  98. #define NRCerr_RECVLOOKAHD (NRCERR_BASE + 16) /* @E
  99. *
  100. * A previously issued Receive Lookahead command is active
  101. * for this session. The network control block (NCB) command was rejected.
  102. * The NCB is the data.
  103. */
  104. #define NRCerr_LOCTFUL (NRCERR_BASE + 17) /* @E
  105. *
  106. * The local session table is full. The network control block (NCB) request was refused.
  107. * The NCB is the data.
  108. */
  109. #define NRCerr_REMTFUL (NRCERR_BASE + 18) /* @E
  110. *
  111. * A network control block (NCB) session open was rejected. No LISTEN is outstanding
  112. * on the remote computer. The NCB is the data.
  113. */
  114. #define NRCerr_ILLNN (NRCERR_BASE + 19) /* @E
  115. *
  116. * The name number specified in the network control block (NCB) is illegal.
  117. * The NCB is the data.
  118. */
  119. #define NRCerr_NOCALL (NRCERR_BASE + 20) /* @E
  120. *
  121. * The call name specified in the network control block (NCB) cannot be found or
  122. * did not answer. The NCB is the data.
  123. */
  124. #define NRCerr_NOWILD (NRCERR_BASE + 21) /* @E
  125. *
  126. * The name specified in the network control block (NCB) was not found. Cannot put '*' or
  127. * 00h in the NCB name. The NCB is the data.
  128. */
  129. #define NRCerr_INUSE (NRCERR_BASE + 22) /* @E
  130. *
  131. * The name specified in the network control block (NCB) is in use on a remote adapter.
  132. * The NCB is the data.
  133. */
  134. #define NRCerr_NAMERR (NRCERR_BASE + 23) /* @E
  135. *
  136. * The name specified in the network control block (NCB) has been deleted.
  137. * The NCB is the data.
  138. */
  139. #define NRCerr_SABORT (NRCERR_BASE + 24) /* @E
  140. *
  141. * The session specified in the network control block (NCB) ended abnormally.
  142. * The NCB is the data.
  143. */
  144. #define NRCerr_NAMCONF (NRCERR_BASE + 25) /* @E
  145. *
  146. * The network protocol has detected two or more identical
  147. * names on the network. The network control block (NCB) is the data.
  148. */
  149. #define NRCerr_INVRMDEV (NRCERR_BASE + 26) /* @E
  150. *
  151. * An unexpected protocol packet was received. There may be an
  152. * incompatible remote device. The network control block (NCB) is the data.
  153. */
  154. #define NRCerr_IFBUSY (NRCERR_BASE + 33) /* @E
  155. *
  156. * The NetBIOS interface is busy.
  157. * The network control block (NCB) request was refused. The NCB is the data.
  158. */
  159. #define NRCerr_TOOMANY (NRCERR_BASE + 34) /* @E
  160. *
  161. * There are too many network control block (NCB) commands outstanding.
  162. * The NCB request was refused. The NCB is the data.
  163. */
  164. #define NRCerr_BRIDGE (NRCERR_BASE + 35) /* @E
  165. *
  166. * The adapter number specified in the network control block (NCB) is illegal.
  167. * The NCB is the data.
  168. */
  169. #define NRCerr_CANOCCR (NRCERR_BASE + 36) /* @E
  170. *
  171. * The network control block (NCB) command completed while a cancel was occurring.
  172. * The NCB is the data.
  173. */
  174. #define NRCerr_RESNAME (NRCERR_BASE + 37) /* @E
  175. *
  176. * The name specified in the network control block (NCB) is reserved.
  177. * The NCB is the data.
  178. */
  179. #define NRCerr_CANCEL (NRCERR_BASE + 38) /* @E
  180. *
  181. * The network control block (NCB) command is not valid to cancel.
  182. * The NCB is the data.
  183. */
  184. #define NRCerr_MULT (NRCERR_BASE + 51) /* @E
  185. *
  186. * There are multiple network control block (NCB) requests for the same session.
  187. * The NCB request was refused. The NCB is the data.
  188. */
  189. #define NRCerr_MALF (NRCERR_BASE + 52) /* @E
  190. *
  191. * There has been a network adapter error. The only NetBIOS
  192. * command that may be issued is an NCB RESET. The network control block (NCB) is
  193. * the data.
  194. */
  195. #define NRCerr_MAXAPPS (NRCERR_BASE + 54) /* @E
  196. *
  197. * The maximum number of applications was exceeded.
  198. * The network control block (NCB) request was refused. The NCB is the data.
  199. */
  200. #define NRCerr_NORESOURCES (NRCERR_BASE + 56) /* @E
  201. *
  202. * The requested resources are not available.
  203. * The network control block (NCB) request was refused. The NCB is the data.
  204. */
  205. #define NRCerr_SYSTEM (NRCERR_BASE + 64) /* @E
  206. *
  207. * A system error has occurred.
  208. * The network control block (NCB) request was refused. The NCB is the data.
  209. */
  210. #define NRCerr_ROM (NRCERR_BASE + 65) /* @E
  211. *
  212. * A ROM checksum failure has occurred.
  213. * The network control block (NCB) request was refused. The NCB is the data.
  214. */
  215. #define NRCerr_RAM (NRCERR_BASE + 66) /* @E
  216. *
  217. * A RAM test failure has occurred.
  218. * The network control block (NCB) request was refused. The NCB is the data.
  219. */
  220. #define NRCerr_DLF (NRCERR_BASE + 67) /* @E
  221. *
  222. * A digital loopback failure has occurred.
  223. * The network control block (NCB) request was refused. The NCB is the data.
  224. */ */
  225. #define NRCerr_ALF (NRCERR_BASE + 68) /* @E
  226. *
  227. * An analog loopback failure has occurred.
  228. * The network control block (NCB) request was refused. The NCB is the data.
  229. */
  230. #define NRCerr_IFAIL (NRCERR_BASE + 69) /* @E
  231. *
  232. * An interface failure has occurred.
  233. * The network control block (NCB) request was refused. The NCB is the data.
  234. */
  235. #define NRCerr_DEFAULT (NRCERR_BASE + 70) /* @E
  236. *
  237. * An unrecognized network control block (NCB) return code was received.
  238. * The NCB is the data.
  239. */
  240. #define NRCerr_ADPTMALFN (NRCERR_BASE + 80) /* @E
  241. *
  242. * A network adapter malfunction has occurred.
  243. * The network control block (NCB) request was refused. The NCB is the data.
  244. */
  245. #define NRCerr_PENDING (NRCERR_BASE + 81) /* @E
  246. *
  247. * The network control block (NCB) command is still pending.
  248. * The NCB is the data.
  249. */
  250. #endif // NCBERR_INCLUDED