home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / os232.exe / INCLUDE / NWERROR.H < prev    next >
Text File  |  1995-05-09  |  37KB  |  552 lines

  1. /******************************************************************************
  2.  
  3.   $Workfile:   nwerror.h  $
  4.   $Revision:   1.14  $
  5.   $Modtime::   09 May 1995 14:23:44                        $
  6.   $Copyright:
  7.  
  8.   Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
  9.  
  10.   THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  11.   TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  12.   COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  13.   EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  14.   WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  15.   OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  16.   CRIMINAL AND CIVIL LIABILITY.$
  17.  
  18.  *****************************************************************************/
  19.  
  20. #if ! defined ( NWERROR_H )
  21. #define NWERROR_H
  22.  
  23. /**** Network errors ****/
  24. /* Decimal values at end of line are 32768 lower than actual */
  25.  
  26. #define SHELL_ERROR                    0x8800
  27. #define VLM_ERROR                      0x8800
  28. #define ALREADY_ATTACHED               0x8800  /* 0  - Attach attempted to server with valid, existing connection */
  29. #define INVALID_CONNECTION             0x8801  /* 1  - Request attempted with invalid or non-attached connection handle */
  30. #define DRIVE_IN_USE                   0x8802  /* 2  - OS/2 only (NOT USED) */
  31. #define CANT_ADD_CDS                   0x8803  /* 3  - Map drive attempted but unable to add new current directory structure */
  32. #define DRIVE_CANNOT_MAP               0x8803
  33. #define BAD_DRIVE_BASE                 0x8804  /* 4  - Map drive attempted with invalid path specification */
  34. #define NET_READ_ERROR                 0x8805  /* 5  - Attempt to receive from the selected transport failed */
  35. #define NET_RECV_ERROR                 0x8805  /* 5  */
  36. #define UNKNOWN_NET_ERROR              0x8806  /* 6  - Network send attempted with an un-specific network error */
  37. #define SERVER_INVALID_SLOT            0x8807  /* 7  - Server request attempted with invalid server connection slot */
  38. #define BAD_SERVER_SLOT                0x8807  /* 7  */
  39. #define NO_SERVER_SLOTS                0x8808  /* 8  - Attach attempted to server with no connection slots available */
  40. #define NET_WRITE_ERROR                0x8809  /* 9  - Attempt to send on the selected transport failed */
  41. #define NET_SEND_ERROR                 0x8809  /* 9  */
  42. #define SERVER_NO_ROUTE                0x880A  /* 10 - Attempted to find route to server where no route exists */
  43. #define BAD_LOCAL_TARGET               0x880B  /* 11 - OS/2 only */
  44. #define TOO_MANY_REQ_FRAGS             0x880C  /* 12 - Attempted request with too many request fragments specified */
  45. #define CONNECT_LIST_OVERFLOW          0x880D  /* 13 */
  46. #define BUFFER_OVERFLOW                0x880E  /* 14 - Attempt to receive more data than the reply buffer had room for */
  47. #define NO_CONN_TO_SERVER              0x880F  /* 15 */
  48. #define NO_CONNECTION_TO_SERVER        0x880F  /* 15 - Attempt to get connection for a server not connected */
  49. #define NO_ROUTER_FOUND                0x8810  /* 16 - OS/2 only */
  50. #define BAD_FUNC_ERROR                 0x8811  /* 17 */
  51. #define INVALID_SHELL_CALL             0x8811  /* 17 - Attempted function call to non- existent or illegal function */
  52. #define SCAN_COMPLETE                  0x8812
  53. #define UNSUPPORTED_NAME_FORMAT_TYPE   0x8813
  54. #define HANDLE_ALREADY_LICENSED        0x8814
  55. #define HANDLE_ALREADY_UNLICENSED      0x8815
  56. #define INVALID_NCP_PACKET_LENGTH      0x8816
  57. #define SETTING_UP_TIMEOUT             0x8817
  58. #define SETTING_SIGNALS                0x8818
  59. #define SERVER_CONNECTION_LOST         0x8819
  60. #define OUT_OF_HEAP_SPACE              0x881A
  61. #define INVALID_SERVICE_REQUEST        0x881B
  62. #define INVALID_TASK_NUMBER            0x881C
  63. #define INVALID_MESSAGE_LENGTH         0x881D
  64. #define EA_SCAN_DONE                   0x881E
  65. #define BAD_CONNECTION_NUMBER          0x881F
  66. #define NOT_SAME_CONNECTION            0x8830  /* 48 - Internal server request attempted accross different server connections */
  67. #define PRIMARY_CONNECTION_NOT_SET     0x8831  /* 49 - Attempt to retrieve default connection with no primary connection set */
  68. #define NO_PRIMARY_SET                 0x8831  /* 49 */
  69. #define NO_CAPTURE_SET                 0x8832  /* 50 */
  70. #define NO_CAPTURE_IN_PROGRESS         0x8832  /* 50 - Capture information requested on port with no capture in progress */
  71. #define BAD_BUFFER_LENGTH              0x8833  /* 51 */
  72. #define INVALID_BUFFER_LENGTH          0x8833  /* 51 - Used to indicate length which caller requested on a GetDNC or SetDNC was too large */
  73. #define NO_USER_NAME                   0x8834  /* 52 */
  74. #define NO_NETWARE_PRINT_SPOOLER       0x8835  /* 53 - Capture requested without having the local print spooler installed */
  75. #define INVALID_PARAMETER              0x8836  /* 54 - Attempted function with an invalid function parameter specified */
  76. #define CONFIG_FILE_OPEN_FAILED        0x8837  /* 55 - OS/2 only */
  77. #define NO_CONFIG_FILE                 0x8838  /* 56 - OS/2 only */
  78. #define CONFIG_FILE_READ_FAILED        0x8839  /* 57 - OS/2 only */
  79. #define CONFIG_LINE_TOO_LONG           0x883A  /* 58 - OS/2 only */
  80. #define CONFIG_LINES_IGNORED           0x883B  /* 59 - OS/2 only */
  81. #define NOT_MY_RESOURCE                0x883C  /* 60 - Attempted request made with a parameter using foriegn resource */
  82. #define DAEMON_INSTALLED               0x883D  /* 61 - OS/2 only */
  83. #define SPOOLER_INSTALLED              0x883E  /* 62 - Attempted load of print spooler with print spooler already installed */
  84. #define CONN_TABLE_FULL                0x883F  /* 63 */
  85. #define CONNECTION_TABLE_FULL          0x883F  /* 63 - Attempted to allocate a connection handle with no more local connection table entries */
  86. #define CONFIG_SECTION_NOT_FOUND       0x8840  /* 64 - OS/2 only */
  87. #define BAD_TRAN_TYPE                  0x8841  /* 65 */
  88. #define INVALID_TRANSPORT_TYPE         0x8841  /* 65 - Attempted function on a connection with an invalid transport selected */
  89. #define TDS_TAG_IN_USE                 0x8842  /* 66 - OS/2 only */
  90. #define TDS_OUT_OF_MEMORY              0x8843  /* 67 - OS/2 only */
  91. #define TDS_INVALID_TAG                0x8844  /* 68 - Attempted TDS function with invalid tag */
  92. #define TDS_WRITE_TRUNCATED            0x8845  /* 69 - Attempted TDS write with buffer that exceeded buffer */
  93. #define NO_DIRECTORY_SERVICE_CONNECTION 0x8846  /* 70 */
  94. #define SERVICE_BUSY                   0x8846  /* 70 - Attempted request made to partially asynchronous function in busy state */
  95. #define NO_SERVER_ERROR                0x8847  /* 71 - Attempted connect failed to find any servers responding */
  96. #define BAD_VLM_ERROR                  0x8848  /* 72 - Attempted function call to non-existant or not-loaded overlay */
  97. #define NETWORK_DRIVE_IN_USE           0x8849  /* 73 - Attempted map to network drive that was already mapped */
  98. #define LOCAL_DRIVE_IN_USE             0x884A  /* 74 - Attempted map to local drive that was in use */
  99. #define NO_DRIVES_AVAILABLE            0x884B  /* 75 - Attempted map to next available drive when none were available */
  100. #define DEVICE_NOT_REDIRECTED          0x884C  /* 76 - The device is not redirected */
  101. #define NO_MORE_SFT_ENTRIES            0x884D  /* 77 - Maximum number of files was reached */
  102. #define UNLOAD_ERROR                   0x884E  /* 78 - Attempted unload failed */
  103. #define IN_USE_ERROR                   0x884F  /* 79 - Attempted re-use of already in use connection entry */
  104. #define TOO_MANY_REP_FRAGS             0x8850  /* 80 - Attempted request with too many reply fragments specified */
  105. #define TABLE_FULL                     0x8851  /* 81 - Attempted to add a name into the name table after it was full */
  106. #define SOCKET_NOT_OPEN                0x8852  /* 82 - Listen was posted on unopened socket */
  107. #define MEM_MGR_ERROR                  0x8853  /* 83 - Attempted enhanced memory operation failed */
  108. #define SFT3_ERROR                     0x8854  /* 84 - An SFT3 switch occured mid-transfer */
  109. #define PREFERRED_NOT_FOUND            0x8855  /* 85 - the preferred directory server was not established but another directory server was returned */
  110. #define DEVICE_NOT_RECOGNIZED          0x8856  /* 86 - used to determine if the device is not used by VISE so pass it on to the next redirector, if any. */
  111. #define BAD_NET_TYPE                   0x8857  /* 87 - the network type (Bind/NDS) does not match the server version */
  112. #define ERROR_OPENING_FILE             0x8858  /* 88 - generic open failure error, invalid path, access denied, etc.. */
  113. #define NO_PREFERRED_SPECIFIED         0x8859  /* 89 - no preferred name specified */
  114. #define ERROR_OPENING_SOCKET           0x885A  /* 90 - error opening a socket */
  115. #define SIGNATURE_LEVEL_CONFLICT       0x8861
  116. #define NO_LOCK_FOUND                  0x8862  /* OS/2 - process lock on conn handle failed, process ID not recognized */
  117. #define LOCK_TABLE_FULL                0x8863  /* OS/2 - process lock on conn handle failed, process lock table full */
  118. #define INVALID_MATCH_DATA             0x8864 
  119. #define MATCH_FAILED                   0x8865
  120. #define NO_MORE_ENTRIES                0x8866
  121. #define INSUFFICIENT_RESOURCES         0x8867
  122. #define STRING_TRANSLATION             0x8868
  123. #define ACCESS_VIOLATION               0x8869
  124. #define NOT_AUTHENTICATED              0x886A
  125. #define INVALID_LEVEL                  0x886B
  126. #define RESOURCE_LOCK_ERROR            0x886C
  127. #define INVALID_NAME_FORMAT            0x886D
  128. #define OBJECT_EXISTS                  0x886E
  129. #define OBJECT_NOT_FOUND               0x886F
  130. #define UNSUPPORTED_TRAN_TYPE          0x8870
  131. #define INVALID_STRING_TYPE            0x8871
  132. #define INVALID_OWNER                  0x8872
  133. #define UNSUPPORTED_AUTHENTICATOR      0x8873
  134. #define IO_PENDING                     0x8874
  135. #define INVALID_DRIVE_NUM              0x8875
  136. #define SHELL_FAILURE                  0x88FF
  137. #define VLM_FAILURE                    0x88FF
  138.  
  139.  
  140. /* Server Errors */
  141.  
  142. #define ERR_INSUFFICIENT_SPACE          0x8901  /* 001 */
  143. #define ERR_BUFFER_TOO_SMALL            0x8977  /* 119 */
  144. #define ERR_VOLUME_FLAG_NOT_SET         0x8978  /* 120 the service requested, not avail. on the selected vol. */
  145. #define ERR_NO_ITEMS_FOUND              0x8979  /* 121 */
  146. #define ERR_CONN_ALREADY_TEMP           0x897a  /* 122 */
  147. #define ERR_CONN_ALREADY_LOGGED_IN      0x897b  /* 123 */
  148. #define ERR_CONN_NOT_AUTHENTICATED      0x897c  /* 124 */
  149. #define ERR_CONN_NOT_LOGGED_IN          0x897d  /* 125 */
  150. #define NCP_BOUNDARY_CHECK_FAILED       0x897e  /* 126 */
  151. #define ERR_LOCK_WAITING                0x897f  /* 127 */
  152. #define ERR_LOCK_FAIL                   0x8980  /* 128 */
  153. #define FILE_IN_USE_ERROR               0x8980  /* 128 */
  154. #define NO_MORE_FILE_HANDLES            0x8981  /* 129 */
  155. #define NO_OPEN_PRIVILEGES              0x8982  /* 130 */
  156. #define IO_ERROR_NETWORK_DISK           0x8983  /* 131 */
  157. #define NO_CREATE_PRIVILEGES            0x8984  /* 132 */
  158. #define NO_CREATE_DELETE_PRIVILEGES     0x8985  /* 133 */
  159. #define CREATE_FILE_EXISTS_READ_ONLY    0x8986  /* 134 */
  160. #define WILD_CARDS_IN_CREATE_FILE_NAME  0x8987  /* 135 */
  161. #define INVALID_FILE_HANDLE             0x8988  /* 136 */
  162. #define NO_SEARCH_PRIVILEGES            0x8989  /* 137 */
  163. #define NO_DELETE_PRIVILEGES            0x898A  /* 138 */
  164. #define NO_RENAME_PRIVILEGES            0x898B  /* 139 */
  165. #define NO_MODIFY_PRIVILEGES            0x898C  /* 140 */
  166. #define SOME_FILES_AFFECTED_IN_USE      0x898D  /* 141 */
  167. #define NO_FILES_AFFECTED_IN_USE        0x898E  /* 142 */
  168. #define SOME_FILES_AFFECTED_READ_ONLY   0x898F  /* 143 */
  169. #define NO_FILES_AFFECTED_READ_ONLY     0x8990  /* 144 */
  170. #define SOME_FILES_RENAMED_NAME_EXISTS  0x8991  /* 145 */
  171. #define NO_FILES_RENAMED_NAME_EXISTS    0x8992  /* 146 */
  172. #define NO_READ_PRIVILEGES              0x8993  /* 147 */
  173. #define NO_WRITE_PRIVILEGES_OR_READONLY 0x8994  /* 148 */
  174. #define FILE_DETACHED                   0x8995  /* 149 */
  175. #define SERVER_OUT_OF_MEMORY            0x8996  /* 150 */
  176. #define ERR_TARGET_NOT_A_SUBDIRECTORY   0x8986  /* 150 can be changed later (note written by server people). */
  177. #define NO_DISK_SPACE_FOR_SPOOL_FILE    0x8997  /* 151 */
  178. #define VOLUME_DOES_NOT_EXIST           0x8998  /* 152 */
  179. #define DIRECTORY_FULL                  0x8999  /* 153 */
  180. #define RENAMING_ACROSS_VOLUMES         0x899A  /* 154 */
  181. #define BAD_DIRECTORY_HANDLE            0x899B  /* 155 */
  182. #define INVALID_PATH                    0x899C  /* 156 */
  183. #define NO_MORE_TRUSTEES                0x899C  /* 156 */
  184. #define NO_MORE_DIRECTORY_HANDLES       0x899D  /* 157 */
  185. #define INVALID_FILENAME                0x899E  /* 158 */
  186. #define DIRECTORY_ACTIVE                0x899F  /* 159 */
  187. #define DIRECTORY_NOT_EMPTY             0x89A0  /* 160 */
  188. #define DIRECTORY_IO_ERROR              0x89A1  /* 161 */
  189. #define READ_FILE_WITH_RECORD_LOCKED    0x89A2  /* 162 */
  190. #define ERR_TRANSACTION_RESTARTED       0x89A3  /* 163 */
  191. #define ERR_RENAME_DIR_INVALID          0x89A4  /* 164 */
  192. #define ERR_INVALID_OPENCREATE_MODE     0x89A5  /* 165 */
  193. #define ERR_ALREADY_IN_USE              0x89A6  /* 166 */
  194. #define ERR_INVALID_RESOURCE_TAG        0x89A7  /* 167 */
  195. #define ERR_ACCESS_DENIED               0x89A8  /* 168 */
  196. #define INVALID_DATA_STREAM             0x89BE  /* 190 */
  197. #define INVALID_NAME_SPACE              0x89BF  /* 191 */
  198. #define NO_ACCOUNTING_PRIVILEGES        0x89C0  /* 192 */
  199. #define LOGIN_DENIED_NO_ACCOUNT_BALANCE 0x89C1  /* 193 */
  200. #define LOGIN_DENIED_NO_CREDIT          0x89C2  /* 194 */
  201. #define ERR_TOO_MANY_HOLDS              0x89C3  /* 195 */
  202. #define ACCOUNTING_DISABLED             0x89C4  /* 196 */
  203. #define INTRUDER_DETECTION_LOCK         0x89C5  /* 197 */
  204. #define NO_CONSOLE_OPERATOR             0x89C6  /* 198 */
  205. #define NO_CONSOLE_PRIVILEGES           0x89C6  /* 198 */
  206. #define ERR_Q_IO_FAILURE                0x89D0  /* 208 */
  207. #define ERR_NO_QUEUE                    0x89D1  /* 209 */
  208. #define ERR_NO_Q_SERVER                 0x89D2  /* 210 */
  209. #define ERR_NO_Q_RIGHTS                 0x89D3  /* 211 */
  210. #define ERR_Q_FULL                      0x89D4  /* 212 */
  211. #define ERR_NO_Q_JOB                    0x89D5  /* 213 */
  212. #define ERR_NO_Q_JOB_RIGHTS             0x89D6  /* 214 */
  213. #define ERR_Q_IN_SERVICE                0x89D7  /* 215 */
  214. #define PASSWORD_NOT_UNIQUE             0x89D7  /* 215 */
  215. #define ERR_Q_NOT_ACTIVE                0x89D8  /* 216 */
  216. #define PASSWORD_TOO_SHORT              0x89D8  /* 216 */
  217. #define ERR_Q_STN_NOT_SERVER            0x89D9  /* 217 */
  218. #define LOGIN_DENIED_NO_CONNECTION      0x89D9  /* 217 */
  219. #define ERR_MAXIMUM_LOGINS_EXCEEDED     0x89D9  /* 217 */
  220. #define ERR_Q_HALTED                    0x89DA  /* 218 */
  221. #define UNAUTHORIZED_LOGIN_TIME         0x89DA  /* 218 */
  222. #define UNAUTHORIZED_LOGIN_STATION      0x89DB  /* 219 */
  223. #define ERR_Q_MAX_SERVERS               0x89DB  /* 219 */
  224. #define ACCOUNT_DISABLED                0x89DC  /* 220 */
  225. #define PASSWORD_HAS_EXPIRED_NO_GRACE   0x89DE  /* 222 */
  226. #define PASSWORD_HAS_EXPIRED            0x89DF  /* 223 */
  227. #define E_NO_MORE_USERS                 0x89E7  /* 231 */
  228. #define NOT_ITEM_PROPERTY               0x89E8  /* 232 */
  229. #define WRITE_PROPERTY_TO_GROUP         0x89E8  /* 232 */
  230. #define MEMBER_ALREADY_EXISTS           0x89E9  /* 233 */
  231. #define NO_SUCH_MEMBER                  0x89EA  /* 234 */
  232. #define NOT_GROUP_PROPERTY              0x89EB  /* 235 */
  233. #define NO_SUCH_SEGMENT                 0x89EC  /* 236 */
  234. #define PROPERTY_ALREADY_EXISTS         0x89ED  /* 237 */
  235. #define OBJECT_ALREADY_EXISTS           0x89EE  /* 238 */
  236. #define INVALID_NAME                    0x89EF  /* 239 */
  237. #define WILD_CARD_NOT_ALLOWED           0x89F0  /* 240 */
  238. #define INVALID_BINDERY_SECURITY        0x89F1  /* 241 */
  239. #define NO_OBJECT_READ_PRIVILEGE        0x89F2  /* 242 */
  240. #define NO_OBJECT_RENAME_PRIVILEGE      0x89F3  /* 243 */
  241. #define NO_OBJECT_DELETE_PRIVILEGE      0x89F4  /* 244 */
  242. #define NO_OBJECT_CREATE_PRIVILEGE      0x89F5  /* 245 */
  243. #define NO_PROPERTY_DELETE_PRIVILEGE    0x89F6  /* 246 */
  244. #define NO_PROPERTY_CREATE_PRIVILEGE    0x89F7  /* 247 */
  245. #define NO_PROPERTY_WRITE_PRIVILEGE     0x89F8  /* 248 */
  246. #define NO_FREE_CONNECTION_SLOTS        0x89F9  /* 249 */
  247. #define NO_PROPERTY_READ_PRIVILEGE      0x89F9  /* 249 */
  248. #define NO_MORE_SERVER_SLOTS            0x89FA  /* 250 */
  249. #define TEMP_REMAP_ERROR                0x89FA  /* 250 */
  250. #define INVALID_PARAMETERS              0x89FB  /* 251 */
  251. #define NO_SUCH_PROPERTY                0x89FB  /* 251 */
  252. #define ERR_NCP_NOT_SUPPORTED           0x89FB  /* 251 */
  253. #define INTERNET_PACKET_REQT_CANCELED   0x89FC  /* 252 */
  254. #define UNKNOWN_FILE_SERVER             0x89FC  /* 252 */
  255. #define MESSAGE_QUEUE_FULL              0x89FC  /* 252 */
  256. #define NO_SUCH_OBJECT                  0x89FC  /* 252 */
  257. #define LOCK_COLLISION                  0x89FD  /* 253 */
  258. #define BAD_STATION_NUMBER              0x89FD  /* 253 */
  259. #define INVALID_PACKET_LENGTH           0x89FD  /* 253 */
  260. #define UNKNOWN_REQUEST                 0x89FD  /* 253 */
  261. #define BINDERY_LOCKED                  0x89FE  /* 254 */
  262. #define TRUSTEE_NOT_FOUND               0x89FE  /* 254 */
  263. #define DIRECTORY_LOCKED                0x89FE  /* 254 */
  264. #define INVALID_SEMAPHORE_NAME_LENGTH   0x89FE  /* 254 */
  265. #define PACKET_NOT_DELIVERABLE          0x89FE  /* 254 */
  266. #define SERVER_BINDERY_LOCKED           0x89FE  /* 254 */
  267. #define SOCKET_TABLE_FULL               0x89FE  /* 254 */
  268. #define SPOOL_DIRECTORY_ERROR           0x89FE  /* 254 */
  269. #define SUPERVISOR_HAS_DISABLED_LOGIN   0x89FE  /* 254 */
  270. #define TIMEOUT_FAILURE                 0x89FE  /* 254 */
  271. #define BAD_PRINTER_ERROR               0x89FF  /* 255 */
  272. #define BAD_RECORD_OFFSET               0x89FF  /* 255 */
  273. #define CLOSE_FCB_ERROR                 0x89FF  /* 255 */
  274. #define FILE_EXTENSION_ERROR            0x89FF  /* 255 */
  275. #define FILE_NAME_ERROR                 0x89FF  /* 255 */
  276. #define HARDWARE_FAILURE                0x89FF  /* 255 */
  277. #define INVALID_DRIVE_NUMBER            0x89FF  /* 255 */
  278. #define DOS_INVALID_DRIVE               0x000F  /* 255 */
  279. #define INVALID_INITIAL_SEMAPHORE_VALUE 0x89FF  /* 255 */
  280. #define INVALID_SEMAPHORE_HANDLE        0x89FF  /* 255 */
  281. #define IO_BOUND_ERROR                  0x89FF  /* 255 */
  282. #define NO_FILES_FOUND_ERROR            0x89FF  /* 255 */
  283. #define NO_RESPONSE_FROM_SERVER         0x89FF  /* 255 */
  284. #define NO_SUCH_OBJECT_OR_BAD_PASSWORD  0x89FF  /* 255 */
  285. #define PATH_NOT_LOCATABLE              0x89FF  /* 255 */
  286. #define QUEUE_FULL_ERROR                0x89FF  /* 255 */
  287. #define REQUEST_NOT_OUTSTANDING         0x89FF  /* 255 */
  288. #define SOCKET_ALREADY_OPEN             0x89FF  /* 255 */
  289. #define LOCK_ERROR                      0x89FF  /* 255 */
  290.  
  291.  
  292. /* #define NOT_SAME_LOCAL_DRIVE         0x89F6 */
  293. /* #define TARGET_DRIVE_NOT_LOCAL       0x89F7 */
  294. /* #define ALREADY_ATTACHED_TO_SERVER   0x89F8 */ /* 248 */
  295. /* #define NOT_ATTACHED_TO_SERVER       0x89F8 */
  296.  
  297. /**** Network errors ****/
  298. /* Decimal values at end of line are 32768 lower than actual */
  299.  
  300. #define NWE_ALREADY_ATTACHED            0x8800  /* 0  - Attach attempted to server with valid, existing connection */
  301. #define NWE_CONN_INVALID                0x8801  /* 1  - Request attempted with invalid or non-attached connection handle */
  302. #define NWE_DRIVE_IN_USE                0x8802  /* 2  - OS/2 only (NOT USED) */
  303. #define NWE_DRIVE_CANNOT_MAP            0x8803  /* 3  - Map drive attempted but unable to add new current directory structure */
  304. #define NWE_DRIVE_BAD_PATH              0x8804  /* 4  - Map drive attempted with invalid path specification */
  305. #define NWE_NET_RECEIVE                 0x8805  /* 5  - Attempt to receive from the selected transport failed */
  306. #define NWE_NET_UNKNOWN                 0x8806  /* 6  - Network send attempted with an un-specific network error */
  307. #define NWE_SERVER_BAD_SLOT             0x8807  /* 7  - Server request attempted with invalid server connection slot */
  308. #define NWE_SERVER_NO_SLOTS             0x8808  /* 8  - Attach attempted to server with no connection slots available */
  309. #define NWE_NET_SEND                    0x8809  /* 9  - Attempt to send on the selected transport failed */
  310. #define NWE_SERVER_NO_ROUTE             0x880A  /* 10 - Attempted to find route to server where no route exists */
  311. #define NWE_BAD_LOCAL_TARGET            0x880B  /* 11 - OS/2 only */
  312. #define NWE_REQ_TOO_MANY_REQ_FRAGS      0x880C  /* 12 - Attempted request with too many request fragments specified */
  313. #define NWE_CONN_LIST_OVERFLOW          0x880D  /* 13 */
  314. #define NWE_BUFFER_OVERFLOW             0x880E  /* 14 - Attempt to receive more data than the reply buffer had room for */
  315. #define NWE_SERVER_NO_CONN              0x880F  /* 15 - Attempt to get connection for a server not connected */
  316. #define NWE_NO_ROUTER_FOUND             0x8810  /* 16 - OS/2 only */
  317. #define NWE_FUNCTION_INVALID            0x8811  /* 17 - Attempted function call to non- existent or illegal function */
  318. #define NWE_SCAN_COMPLETE               0x8812
  319. #define NWE_UNSUPPORTED_NAME_FORMAT_TYP 0x8813
  320. #define NWE_HANDLE_ALREADY_LICENSED     0x8814
  321. #define NWE_HANDLE_ALREADY_UNLICENSED   0x8815
  322. #define NWE_INVALID_NCP_PACKET_LENGTH   0x8816
  323. #define NWE_SETTING_UP_TIMEOUT          0x8817
  324. #define NWE_SETTING_SIGNALS             0x8818
  325. #define NWE_SERVER_CONNECTION_LOST      0x8819
  326. #define NWE_OUT_OF_HEAP_SPACE           0x881A
  327. #define NWE_INVALID_SERVICE_REQUEST     0x881B
  328. #define NWE_INVALID_TASK_NUMBER         0x881C
  329. #define NWE_INVALID_MESSAGE_LENGTH      0x881D
  330. #define NWE_EA_SCAN_DONE                0x881E
  331. #define NWE_BAD_CONNECTION_NUMBER       0x881F
  332. #define NWE_MULT_TREES_NOT_SUPPORTED    0x8820  /* 32 - Attempt to open a connection to a DS tree other than the default tree */
  333. #define NWE_CONN_NOT_SAME               0x8830  /* 48 - Internal server request attempted across different server connections */
  334. #define NWE_CONN_PRIMARY_NOT_SET        0x8831  /* 49 - Attempt to retrieve default connection with no primary connection set */
  335. #define NWE_PRN_CAPTURE_NOT_IN_PROGRESS 0x8832  /* 50 - Capture information requested on port with no capture in progress */
  336. #define NWE_BUFFER_INVALID_LEN          0x8833  /* 51 - Used to indicate length which caller requested on a GetDNC or SetDNC was too large */
  337. #define NWE_USER_NO_NAME                0x8834  /* 52 */
  338. #define NWE_PRN_NO_LOCAL_SPOOLER        0x8835  /* 53 - Capture requested without having the local print spooler installed */
  339. #define NWE_PARAM_INVALID               0x8836  /* 54 - Attempted function with an invalid function parameter specified */
  340. #define NWE_CFG_OPEN_FAILED             0x8837  /* 55 - OS/2 only */
  341. #define NWE_CFG_NO_FILE                 0x8838  /* 56 - OS/2 only */
  342. #define NWE_CFG_READ_FAILED             0x8839  /* 57 - OS/2 only */
  343. #define NWE_CFG_LINE_TOO_LONG           0x883A  /* 58 - OS/2 only */
  344. #define NWE_CFG_LINES_IGNORED           0x883B  /* 59 - OS/2 only */
  345. #define NWE_RESOURCE_NOT_OWNED          0x883C  /* 60 - Attempted request made with a parameter using foriegn resource */
  346. #define NWE_DAEMON_INSTALLED            0x883D  /* 61 - OS/2 only */
  347. #define NWE_PRN_SPOOLER_INSTALLED       0x883E  /* 62 - Attempted load of print spooler with print spooler already installed */
  348. #define NWE_CONN_TABLE_FULL             0x883F  /* 63 - Attempted to allocate a connection handle with no more local connection table entries */
  349. #define NWE_CFG_SECTION_NOT_FOUND       0x8840  /* 64 - OS/2 only */
  350. #define NWE_TRAN_INVALID_TYPE           0x8841  /* 65 - Attempted function on a connection with an invalid transport selected */
  351. #define NWE_TDS_TAG_IN_USE              0x8842  /* 66 - OS/2 only */
  352. #define NWE_TDS_OUT_OF_MEMORY           0x8843  /* 67 - OS/2 only */
  353. #define NWE_TDS_INVALID_TAG             0x8844  /* 68 - Attempted TDS function with invalid tag */
  354. #define NWE_TDS_WRITE_TRUNCATED         0x8845  /* 69 - Attempted TDS write with buffer that exceeded buffer */
  355. #define NWE_DS_NO_CONN                  0x8846  /* 70 */
  356. #define NWE_SERVICE_BUSY                0x8846  /* 70 - Attempted request made to partially asynchronous function in busy state */
  357. #define NWE_SERVER_NOT_FOUND            0x8847  /* 71 - Attempted connect failed to find any servers responding */
  358. #define NWE_VLM_INVALID                 0x8848  /* 72 - Attempted function call to non-existant or not-loaded overlay */
  359. #define NWE_DRIVE_ALREADY_MAPPED        0x8849  /* 73 - Attempted map to network drive that was already mapped */
  360. #define NWE_DRIVE_LOCAL_IN_USE          0x884A  /* 74 - Attempted map to local drive that was in use */
  361. #define NWE_DRIVE_NONE_AVAILABLE        0x884B  /* 75 - Attempted map to next available drive when none were available */
  362. #define NWE_DEVICE_NOT_REDIRECTED       0x884C  /* 76 - The device is not redirected */
  363. #define NWE_FILE_MAX_REACHED            0x884D  /* 77 - Maximum number of files was reached */
  364. #define NWE_UNLOAD_FAILED               0x884E  /* 78 - Attempted unload failed */
  365. #define NWE_CONN_IN_USE                 0x884F  /* 79 - Attempted re-use of already in use connection entry */
  366. #define NWE_REQ_TOO_MANY_REP_FRAGS      0x8850  /* 80 - Attempted request with too many reply fragments specified */
  367. #define NWE_NAME_TABLE_FULL             0x8851  /* 81 - Attempted to add a name into the name table after it was full */
  368. #define NWE_SOCKET_NOT_OPEN             0x8852  /* 82 - Listen was posted on unopened socket */
  369. #define NWE_MEMORY_MGR_ERROR            0x8853  /* 83 - Attempted enhanced memory operation failed */
  370. #define NWE_SFT3_ERROR                  0x8854  /* 84 - An SFT3 switch occured mid-transfer */
  371. #define NWE_DS_PREFERRED_NOT_FOUND      0x8855  /* 85 - the preferred directory server was not established but another directory server was returned */
  372. #define NWE_DEVICE_NOT_RECOGNIZED       0x8856  /* 86 - used to determine if the device is not used by VISE so pass it on to the next redirector, if any. */
  373. #define NWE_NET_INVALID_TYPE            0x8857  /* 87 - the network type (Bind/NDS) does not match the server version */
  374. #define NWE_FILE_OPEN_FAILED            0x8858  /* 88 - generic open failure error, invalid path, access denied, etc.. */
  375. #define NWE_DS_PREFERRED_NOT_SPECIFIED  0x8859  /* 89 - no preferred name specified */
  376. #define NWE_SOCKET_OPEN_FAILED          0x885A  /* 90 - error opening a socket */
  377. #define NWE_SIGNATURE_LEVEL_CONFLICT    0x8861
  378. #define NWE_NO_LOCK_FOUND               0x8862  /* OS/2 - process lock on conn handle failed, process ID not recognized */
  379. #define NWE_LOCK_TABLE_FULL             0x8863  /* OS/2 - process lock on conn handle failed, process lock table full */
  380. #define NWE_INVALID_MATCH_DATA          0x8864 
  381. #define NWE_MATCH_FAILED                0x8865
  382. #define NWE_NO_MORE_ENTRIES             0x8866
  383. #define NWE_INSUFFICIENT_RESOURCES      0x8867
  384. #define NWE_STRING_TRANSLATION          0x8868
  385. #define NWE_ACCESS_VIOLATION            0x8869
  386. #define NWE_NOT_AUTHENTICATED           0x886A
  387. #define NWE_INVALID_LEVEL               0x886B
  388. #define NWE_RESOURCE_LOCK               0x886C
  389. #define NWE_INVALID_NAME_FORMAT         0x886D
  390. #define NWE_OBJECT_EXISTS               0x886E
  391. #define NWE_OBJECT_NOT_FOUND            0x886F
  392. #define NWE_UNSUPPORTED_TRAN_TYPE       0x8870
  393. #define NWE_INVALID_STRING_TYPE         0x8871
  394. #define NWE_INVALID_OWNER               0x8872
  395. #define NWE_UNSUPPORTED_AUTHENTICATOR   0x8873
  396. #define NWE_IO_PENDING                  0x8874
  397. #define NWE_INVALID_DRIVE_NUMBER        0x8875
  398. #define NWE_REQUESTER_FAILURE           0x88FF
  399.  
  400. /* Server Errors */
  401.  
  402. #define NWE_INSUFFICIENT_SPACE          0x8901  /* 001 */
  403. #define NWE_BUFFER_TOO_SMALL            0x8977  /* 119 */
  404. #define NWE_VOL_FLAG_NOT_SET            0x8978  /* 120 the service requested, not avail. on the selected vol. */
  405. #define NWE_NO_ITEMS_FOUND              0x8979  /* 121 */
  406. #define NWE_CONN_ALREADY_TEMP           0x897a  /* 122 */
  407. #define NWE_CONN_ALREADY_LOGGED_IN      0x897b  /* 123 */
  408. #define NWE_CONN_NOT_AUTHENTICATED      0x897c  /* 124 */
  409. #define NWE_CONN_NOT_LOGGED_IN          0x897d  /* 125 */
  410. #define NWE_NCP_BOUNDARY_CHECK_FAILED   0x897e  /* 126 */
  411. #define NWE_LOCK_WAITING                0x897f  /* 127 */
  412. #define NWE_LOCK_FAIL                   0x8980  /* 128 */
  413. #define NWE_FILE_IN_USE                 0x8980  /* 128 */
  414. #define NWE_FILE_NO_HANDLES             0x8981  /* 129 */
  415. #define NWE_FILE_NO_OPEN_PRIV           0x8982  /* 130 */
  416. #define NWE_DISK_IO_ERROR               0x8983  /* 131 */
  417. #define NWE_FILE_NO_CREATE_PRIV         0x8984  /* 132 */
  418. #define NWE_FILE_NO_CREATE_DEL_PRIV     0x8985  /* 133 */
  419. #define NWE_FILE_EXISTS_READ_ONLY       0x8986  /* 134 */
  420. #define NWE_FILE_WILD_CARDS_IN_NAME     0x8987  /* 135 */
  421. #define NWE_FILE_INVALID_HANDLE         0x8988  /* 136 */
  422. #define NWE_FILE_NO_SRCH_PRIV           0x8989  /* 137 */
  423. #define NWE_FILE_NO_DEL_PRIV            0x898A  /* 138 */
  424. #define NWE_FILE_NO_RENAME_PRIV         0x898B  /* 139 */
  425. #define NWE_FILE_NO_MOD_PRIV            0x898C  /* 140 */
  426. #define NWE_FILE_SOME_IN_USE            0x898D  /* 141 */
  427. #define NWE_FILE_NONE_IN_USE            0x898E  /* 142 */
  428. #define NWE_FILE_SOME_READ_ONLY         0x898F  /* 143 */
  429. #define NWE_FILE_NONE_READ_ONLY         0x8990  /* 144 */
  430. #define NWE_FILE_SOME_RENAMED_EXIST     0x8991  /* 145 */
  431. #define NWE_FILE_NONE_RENAMED_EXIST     0x8992  /* 146 */
  432. #define NWE_FILE_NO_READ_PRIV           0x8993  /* 147 */
  433. #define NWE_FILE_NO_WRITE_PRIV          0x8994  /* 148 */
  434. #define NWE_FILE_READ_ONLY              0x8994  /* 148 */
  435. #define NWE_FILE_DETACHED               0x8995  /* 149 */
  436. #define NWE_SERVER_OUT_OF_MEMORY        0x8996  /* 150 */
  437. #define NWE_DIR_TARGET_INVALID          0x8986  /* 150 */
  438. #define NWE_DISK_NO_SPOOL_SPACE         0x8997  /* 151 */
  439. #define NWE_VOL_INVALID                 0x8998  /* 152 */
  440. #define NWE_DIR_FULL                    0x8999  /* 153 */
  441. #define NWE_VOL_RENAMING_ACROSS         0x899A  /* 154 */
  442. #define NWE_DIRHANDLE_INVALID           0x899B  /* 155 */
  443. #define NWE_PATH_INVALID                0x899C  /* 156 */
  444. #define NWE_TRUSTEES_NO_MORE            0x899C  /* 156 */
  445. #define NWE_DIRHANDLE_NO_MORE           0x899D  /* 157 */
  446. #define NWE_FILE_NAME_INVALID           0x899E  /* 158 */
  447. #define NWE_DIR_ACTIVE                  0x899F  /* 159 */
  448. #define NWE_DIR_NOT_EMPTY               0x89A0  /* 160 */
  449. #define NWE_DIR_IO_ERROR                0x89A1  /* 161 */
  450. #define NWE_FILE_IO_LOCKED              0x89A2  /* 162 */
  451. #define NWE_TTS_RANSACTION_RESTARTED    0x89A3  /* 163 */
  452. #define NWE_DIR_RENAME_INVALID          0x89A4  /* 164 */
  453. #define NWE_FILE_OPENCREAT_MODE_INVALID 0x89A5  /* 165 */
  454. #define NWE_ALREADY_IN_USE              0x89A6  /* 166 */
  455. #define NWE_RESOURCE_TAG_INVALID        0x89A7  /* 167 */
  456. #define NWE_ACCESS_DENIED               0x89A8  /* 168 */
  457. #define NWE_DATA_STREAM_INVALID         0x89BE  /* 190 */
  458. #define NWE_NAME_SPACE_INVALID          0x89BF  /* 191 */
  459. #define NWE_ACCTING_NO_PRIV             0x89C0  /* 192 */
  460. #define NWE_ACCTING_NO_BALANCE          0x89C1  /* 193 */
  461. #define NWE_ACCTING_NO_CREDIT           0x89C2  /* 194 */
  462. #define NWE_ACCTING_TOO_MANY_HOLDS      0x89C3  /* 195 */
  463. #define NWE_ACCTING_DISABLED            0x89C4  /* 196 */
  464. #define NWE_LOGIN_LOCKOUT               0x89C5  /* 197 */
  465. #define NWE_CONSOLE_NO_PRIV             0x89C6  /* 198 */
  466. #define NWE_Q_IO_FAILURE                0x89D0  /* 208 */
  467. #define NWE_Q_NONE                      0x89D1  /* 209 */
  468. #define NWE_Q_NO_SERVER                 0x89D2  /* 210 */
  469. #define NWE_Q_NO_RIGHTS                 0x89D3  /* 211 */
  470. #define NWE_Q_FULL                      0x89D4  /* 212 */
  471. #define NWE_Q_NO_JOB                    0x89D5  /* 213 */
  472. #define NWE_Q_NO_JOB_RIGHTS             0x89D6  /* 214 */
  473. #define NWE_PASSWORD_UNENCRYPTED        0x89D6  /* 214 */
  474. #define NWE_Q_IN_SERVICE                0x89D7  /* 215 */
  475. #define NWE_PASSWORD_NOT_UNIQUE         0x89D7  /* 215 */
  476. #define NWE_Q_NOT_ACTIVE                0x89D8  /* 216 */
  477. #define NWE_PASSWORD_TOO_SHORT          0x89D8  /* 216 */
  478. #define NWE_Q_STN_NOT_SERVER            0x89D9  /* 217 */
  479. #define NWE_LOGIN_NO_CONN               0x89D9  /* 217 */
  480. #define NWE_LOGIN_MAX_EXCEEDED          0x89D9  /* 217 */
  481. #define NWE_Q_HALTED                    0x89DA  /* 218 */
  482. #define NWE_LOGIN_UNAUTHORIZED_TIME     0x89DA  /* 218 */
  483. #define NWE_LOGIN_UNAUTHORIZED_STATION  0x89DB  /* 219 */
  484. #define NWE_Q_MAX_SERVERS               0x89DB  /* 219 */
  485. #define NWE_ACCT_DISABLED               0x89DC  /* 220 */
  486. #define NWE_PASSWORD_INVALID            0x89DE  /* 222 */
  487. #define NWE_PASSWORD_EXPIRED            0x89DF  /* 223 */
  488. #define NWE_LOGIN_NO_CONN_AVAIL         0x89E0  /* 224 */
  489. #define NWE_E_NO_MORE_USERS             0x89E7  /* 231 */
  490. #define NWE_BIND_NOT_ITEM_PROP          0x89E8  /* 232 */
  491. #define NWE_BIND_WRITE_TO_GROUP_PROP    0x89E8  /* 232 */
  492. #define NWE_BIND_MEMBER_ALREADY_EXISTS  0x89E9  /* 233 */
  493. #define NWE_BIND_NO_SUCH_MEMBER         0x89EA  /* 234 */
  494. #define NWE_BIND_NOT_GROUP_PROP         0x89EB  /* 235 */
  495. #define NWE_BIND_NO_SUCH_SEGMENT        0x89EC  /* 236 */
  496. #define NWE_BIND_PROP_ALREADY_EXISTS    0x89ED  /* 237 */
  497. #define NWE_BIND_OBJ_ALREADY_EXISTS     0x89EE  /* 238 */
  498. #define NWE_BIND_NAME_INVALID           0x89EF  /* 239 */
  499. #define NWE_BIND_WILDCARD_INVALID       0x89F0  /* 240 */
  500. #define NWE_BIND_SECURITY_INVALID       0x89F1  /* 241 */
  501. #define NWE_BIND_OBJ_NO_READ_PRIV       0x89F2  /* 242 */
  502. #define NWE_BIND_OBJ_NO_RENAME_PRIV     0x89F3  /* 243 */
  503. #define NWE_BIND_OBJ_NO_DELETE_PRIV     0x89F4  /* 244 */
  504. #define NWE_BIND_OBJ_NO_CREATE_PRIV     0x89F5  /* 245 */
  505. #define NWE_BIND_PROP_NO_DELETE_PRIV    0x89F6  /* 246 */
  506. #define NWE_BIND_PROP_NO_CREATE_PRIV    0x89F7  /* 247 */
  507. #define NWE_BIND_PROP_NO_WRITE_PRIV     0x89F8  /* 248 */
  508. #define NWE_BIND_PROP_NO_READ_PRIV      0x89F9  /* 249 */
  509. #define NWE_NO_FREE_CONN_SLOTS          0x89F9  /* 249 */
  510. #define NWE_NO_MORE_SERVER_SLOTS        0x89FA  /* 250 */
  511. #define NWE_TEMP_REMAP_ERROR            0x89FA  /* 250 */
  512. #define NWE_PARAMETERS_INVALID          0x89FB  /* 251 */
  513. #define NWE_BIND_NO_SUCH_PROP           0x89FB  /* 251 */
  514. #define NWE_NCP_NOT_SUPPORTED           0x89FB  /* 251 */
  515. #define NWE_INET_PACKET_REQ_CANCELED    0x89FC  /* 252 */
  516. #define NWE_SERVER_UNKNOWN              0x89FC  /* 252 */
  517. #define NWE_MSG_Q_FULL                  0x89FC  /* 252 */
  518. #define NWE_BIND_NO_SUCH_OBJ            0x89FC  /* 252 */
  519. #define NWE_LOCK_COLLISION              0x89FD  /* 253 */
  520. #define NWE_CONN_NUM_INVALID            0x89FD  /* 253 */
  521. #define NWE_PACKET_LEN_INVALID          0x89FD  /* 253 */
  522. #define NWE_UNKNOWN_REQ                 0x89FD  /* 253 */
  523. #define NWE_BIND_LOCKED                 0x89FE  /* 254 */
  524. #define NWE_TRUSTEE_NOT_FOUND           0x89FE  /* 254 */
  525. #define NWE_DIR_LOCKED                  0x89FE  /* 254 */
  526. #define NWE_SEM_INVALID_NAME_LEN        0x89FE  /* 254 */
  527. #define NWE_PACKET_NOT_DELIVERABLE      0x89FE  /* 254 */
  528. #define NWE_SOCKET_TABLE_FULL           0x89FE  /* 254 */
  529. #define NWE_SPOOL_DIR_ERROR             0x89FE  /* 254 */
  530. #define NWE_LOGIN_DISABLED_BY_SUPER     0x89FE  /* 254 */
  531. #define NWE_TIMEOUT_FAILURE             0x89FE  /* 254 */
  532. #define NWE_FILE_EXT                    0x89FF  /* 255 */
  533. #define NWE_FILE_NAME                   0x89FF  /* 255 */
  534. #define NWE_HARD_FAILURE                0x89FF  /* 255 */
  535. #define NWE_FCB_CLOSE                   0x89FF  /* 255 */
  536. #define NWE_IO_BOUND                    0x89FF  /* 255 */
  537. #define NWE_BAD_SPOOL_PRINTER           0x89FF  /* 255 */
  538. #define NWE_BAD_RECORD_OFFSET           0x89FF  /* 255 */
  539. #define NWE_DRIVE_INVALID_NUM           0x89FF  /* 255 */
  540. #define NWE_SEM_INVALID_INIT_VAL        0x89FF  /* 255 */
  541. #define NWE_SEM_INVALID_HANDLE          0x89FF  /* 255 */
  542. #define NWE_NO_FILES_FOUND_ERROR        0x89FF  /* 255 */
  543. #define NWE_NO_RESPONSE_FROM_SERVER     0x89FF  /* 255 */
  544. #define NWE_NO_OBJ_OR_BAD_PASSWORD      0x89FF  /* 255 */
  545. #define NWE_PATH_NOT_LOCATABLE          0x89FF  /* 255 */
  546. #define NWE_Q_FULL_ERROR                0x89FF  /* 255 */
  547. #define NWE_REQ_NOT_OUTSTANDING         0x89FF  /* 255 */
  548. #define NWE_SOCKET_ALREADY_OPEN         0x89FF  /* 255 */
  549. #define NWE_LOCK_ERROR                  0x89FF  /* 255 */
  550.  
  551. #endif
  552.