home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / os2hdr.exe / NWERROR.H < prev    next >
C/C++ Source or Header  |  1993-06-21  |  17KB  |  254 lines

  1. /*--------------------------------------------------------------------------
  2.      (C) Copyright Novell, Inc. 1991  All Rights Reserved.
  3.  
  4.  No part of this file may be duplicated, revised, translated, localized or
  5.  modified in any manner or compiled, linked, or uploaded or downloaded to or
  6.  from any computer system without the prior written consent of Novell, Inc.
  7. --------------------------------------------------------------------------*/
  8. #ifndef NWERROR_INC
  9. #define NWERROR_INC
  10.  
  11. #ifndef NWCALDEF_INC
  12. #include <nwcaldef.h>
  13. #endif
  14.  
  15. /**** Network errors ****/
  16. /* Decimal values at end of line are 32768 lower than actual */
  17.  
  18. #define SHELL_ERROR                0x8800
  19. #define VLM_ERROR                  0x8800
  20. #define ALREADY_ATTACHED           0x8800  /* 0  - Attach attempted to server with valid, existing connection */
  21. #define INVALID_CONNECTION         0x8801  /* 1  - Request attempted with invalid or non-attached connection handle */
  22. #define DRIVE_IN_USE               0x8802  /* 2  - OS/2 only (NOT USED) */
  23. #define CANT_ADD_CDS               0x8803  /* 3  - Map drive attempted but unable to add new current directory structure */
  24. #define BAD_DRIVE_BASE             0x8804  /* 4  - Map drive attempted with invalid path specification */
  25. #define NET_READ_ERROR             0x8805  /* 5  - Attempt to receive from the selected transport failed */
  26. #define NET_RECV_ERROR             0x8805  /* 5  */
  27. #define UNKNOWN_NET_ERROR          0x8806  /* 6  - Network send attempted with an un-specific network error */
  28. #define SERVER_INVALID_SLOT        0x8807  /* 7  - Server request attempted with invalid server connection slot */
  29. #define BAD_SERVER_SLOT            0x8807  /* 7  */
  30. #define NO_SERVER_SLOTS            0x8808  /* 8  - Attach attempted to server with no connection slots available */
  31. #define NET_WRITE_ERROR            0x8809  /* 9  - Attempt to send on the selected transport failed */
  32. #define NET_SEND_ERROR             0x8809  /* 9  */
  33. #define SERVER_NO_ROUTE            0x880A  /* 10 - Attempted to find route to server where no route exists */
  34. #define BAD_LOCAL_TARGET           0x880B  /* 11 - OS/2 only */
  35. #define TOO_MANY_REQ_FRAGS         0x880C  /* 12 - Attempted request with too many request fragments specified */
  36. #define CONNECT_LIST_OVERFLOW      0x880D  /* 13 */
  37. #define BUFFER_OVERFLOW            0x880E  /* 14 - Attempt to receive more data than the reply buffer had room for */
  38. #define NO_CONN_TO_SERVER          0x880F  /* 15 */
  39. #define NO_CONNECTION_TO_SERVER    0x880F  /* 15 - Attempt to get connection for a server not connected */
  40. #define NO_ROUTER_FOUND            0x8810  /* 16 - OS/2 only */
  41. #define BAD_FUNC_ERROR             0x8811  /* 17 */
  42. #define INVALID_SHELL_CALL         0x8811  /* 17 - Attempted function call to non- existent or illegal function */
  43. #define NOT_SAME_CONNECTION        0x8830  /* 48 - Internal server request attempted accross different server connections */
  44. #define PRIMARY_CONNECTION_NOT_SET 0x8831  /* 49 - Attempt to retrieve default connection with no primary connection set */
  45. #define NO_PRIMARY_SET             0x8831  /* 49 */
  46. #define NO_CAPTURE_SET             0x8832  /* 50 */
  47. #define NO_CAPTURE_IN_PROGRESS     0x8832  /* 50 - Capture information requested on port with no capture in progress */
  48. #define BAD_BUFFER_LENGTH          0x8833  /* 51 */
  49. #define INVALID_BUFFER_LENGTH      0x8833  /* 51 - Used to indicate length which caller requested on a GetDNC or SetDNC was too large */
  50. #define NO_USER_NAME               0x8834  /* 52 */
  51. #define NO_NETWARE_PRINT_SPOOLER   0x8835  /* 53 - Capture requested without having the local print spooler installed */
  52. #define INVALID_PARAMETER          0x8836  /* 54 - Attempted function with an invalid function parameter specified */
  53. #define CONFIG_FILE_OPEN_FAILED    0x8837  /* 55 - OS/2 only */
  54. #define NO_CONFIG_FILE             0x8838  /* 56 - OS/2 only */
  55. #define CONFIG_FILE_READ_FAILED    0x8839  /* 57 - OS/2 only */
  56. #define CONFIG_LINE_TOO_LONG       0x883A  /* 58 - OS/2 only */
  57. #define CONFIG_LINES_IGNORED       0x883B  /* 59 - OS/2 only */
  58. #define NOT_MY_RESOURCE            0x883C  /* 60 - Attempted request made with a parameter using foriegn resource */
  59. #define DAEMON_INSTALLED           0x883D  /* 61 - OS/2 only */
  60. #define SPOOLER_INSTALLED          0x883E  /* 62 - Attempted load of print spooler with print spooler already installed */
  61. #define CONN_TABLE_FULL            0x883F  /* 63 */
  62. #define CONNECTION_TABLE_FULL      0x883F  /* 63 - Attempted to allocate a connection handle with no more local connection table entries */
  63. #define CONFIG_SECTION_NOT_FOUND   0x8840  /* 64 - OS/2 only */
  64. #define BAD_TRAN_TYPE              0x8841  /* 65 */
  65. #define INVALID_TRANSPORT_TYPE     0x8841  /* 65 - Attempted function on a connection with an invalid transport selected */
  66. #define TDS_TAG_IN_USE             0x8842  /* 66 - OS/2 only */
  67. #define TDS_OUT_OF_MEMORY          0x8843  /* 67 - OS/2 only */
  68. #define TDS_INVALID_TAG            0x8844  /* 68 - Attempted TDS function with invalid tag */
  69. #define TDS_WRITE_TRUNCATED        0x8845  /* 69 - Attempted TDS write with buffer that exceeded buffer */
  70. #define NO_DIRECTORY_SERVICE_CONNECTION 0x8846  /* 70 */
  71. #define SERVICE_BUSY               0x8846  /* 70 - Attempted request made to partially asynchronous function in busy state */
  72. #define NO_SERVER_ERROR            0x8847  /* 71 - Attempted connect failed to find any servers responding */
  73. #define BAD_VLM_ERROR              0x8848  /* 72 - Attempted function call to non-existant or not-loaded overlay */
  74. #define NETWORK_DRIVE_IN_USE       0x8849  /* 73 - Attempted map to network drive that was already mapped */
  75. #define LOCAL_DRIVE_IN_USE         0x884A  /* 74 - Attempted map to local drive that was in use */
  76. #define NO_DRIVES_AVAILABLE        0x884B  /* 75 - Attempted map to next available drive when none were available */
  77. #define DEVICE_NOT_REDIRECTED      0x884C  /* 76 - The device is not redirected */
  78. #define NO_MORE_SFT_ENTRIES        0x884D  /* 77 - Maximum number of files was reached */
  79. #define UNLOAD_ERROR               0x884E  /* 78 - Attempted unload failed */
  80. #define IN_USE_ERROR               0x884F  /* 79 - Attempted re-use of already in use connection entry */
  81. #define TOO_MANY_REP_FRAGS         0x8850  /* 80 - Attempted request with too many reply fragments specified */
  82. #define TABLE_FULL                 0x8851  /* 81 - Attempted to add a name into the name table after it was full */
  83. #define SOCKET_NOT_OPEN            0x8852  /* 82 - Listen was posted on unopened socket */
  84. #define MEM_MGR_ERROR              0x8853  /* 83 - Attempted enhanced memory operation failed */
  85. #define SFT3_ERROR                 0x8854  /* 84 - An SFT3 switch occured mid-transfer */
  86. #define PREFERRED_NOT_FOUND        0x8855  /* 85 - the preferred directory server was not established but another directory server was returned */
  87. #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. */
  88. #define BAD_NET_TYPE               0x8857  /* 87 - the network type (Bind/NDS) does not match the server version */
  89. #define ERROR_OPENING_FILE         0x8858  /* 88 - generic open failure error, invalid path, access denied, etc.. */
  90. #define NO_PREFERRED_SPECIFIED     0x8859  /* 89 - no preferred name specified */
  91. #define ERROR_OPENING_SOCKET       0x885A  /* 90 - error opening a socket */
  92. #define SHELL_FAILURE              0x88FF
  93. #define VLM_FAILURE                0x88FF
  94.  
  95.  
  96. /* Server Errors */
  97.  
  98. #define ERR_INSUFFICIENT_SPACE          0x8901  /* 001 */
  99. #define ERR_BUFFER_TOO_SMALL            0x8977  /* 119 */
  100. #define ERR_VOLUME_FLAG_NOT_SET         0x8978  /* 120 the service requested, not avail. on the selected vol. */
  101. #define ERR_NO_ITEMS_FOUND              0x8979  /* 121 */
  102. #define ERR_CONN_ALREADY_TEMP           0x897a  /* 122 */
  103. #define ERR_CONN_ALREADY_LOGGED_IN      0x897b  /* 123 */
  104. #define ERR_CONN_NOT_AUTHENTICATED      0x897c  /* 124 */
  105. #define ERR_CONN_NOT_LOGGED_IN          0x897d  /* 125 */
  106. #define NCP_BOUNDARY_CHECK_FAILED       0x897e  /* 126 */
  107. #define ERR_LOCK_WAITING                0x897e  /* 127 */
  108. #define ERR_LOCK_FAIL                   0x8980  /* 128 */
  109. #define FILE_IN_USE_ERROR               0x8980  /* 128 */
  110. #define NO_MORE_FILE_HANDLES            0x8981  /* 129 */
  111. #define NO_OPEN_PRIVILEGES              0x8982  /* 130 */
  112. #define IO_ERROR_NETWORK_DISK           0x8983  /* 131 */
  113. #define NO_CREATE_PRIVILEGES            0x8984  /* 132 */
  114. #define NO_CREATE_DELETE_PRIVILEGES     0x8985  /* 133 */
  115. #define CREATE_FILE_EXISTS_READ_ONLY    0x8986  /* 134 */
  116. #define WILD_CARDS_IN_CREATE_FILE_NAME  0x8987  /* 135 */
  117. #define INVALID_FILE_HANDLE             0x8988  /* 136 */
  118. #define NO_SEARCH_PRIVILEGES            0x8989  /* 137 */
  119. #define NO_DELETE_PRIVILEGES            0x898A  /* 138 */
  120. #define NO_RENAME_PRIVILEGES            0x898B  /* 139 */
  121. #define NO_MODIFY_PRIVILEGES            0x898C  /* 140 */
  122. #define SOME_FILES_AFFECTED_IN_USE      0x898D  /* 141 */
  123. #define NO_FILES_AFFECTED_IN_USE        0x898E  /* 142 */
  124. #define SOME_FILES_AFFECTED_READ_ONLY   0x898F  /* 143 */
  125. #define NO_FILES_AFFECTED_READ_ONLY     0x8990  /* 144 */
  126. #define SOME_FILES_RENAMED_NAME_EXISTS  0x8991  /* 145 */
  127. #define NO_FILES_RENAMED_NAME_EXISTS    0x8992  /* 146 */
  128. #define NO_READ_PRIVILEGES              0x8993  /* 147 */
  129. #define NO_WRITE_PRIVILEGES_OR_READONLY 0x8994  /* 148 */
  130. #define FILE_DETACHED                   0x8995  /* 149 */
  131. #define SERVER_OUT_OF_MEMORY            0x8996  /* 150 */
  132. #define ERR_TARGET_NOT_A_SUBDIRECTORY   0x8986  /* 150 can be changed later (note written by server people). */
  133. #define NO_DISK_SPACE_FOR_SPOOL_FILE    0x8997  /* 151 */
  134. #define VOLUME_DOES_NOT_EXIST           0x8998  /* 152 */
  135. #define DIRECTORY_FULL                  0x8999  /* 153 */
  136. #define RENAMING_ACROSS_VOLUMES         0x899A  /* 154 */
  137. #define BAD_DIRECTORY_HANDLE            0x899B  /* 155 */
  138. #define INVALID_PATH                    0x899C  /* 156 */
  139. #define NO_MORE_TRUSTEES                0x899C  /* 156 */
  140. #define NO_MORE_DIRECTORY_HANDLES       0x899D  /* 157 */
  141. #define INVALID_FILENAME                0x899E  /* 158 */
  142. #define DIRECTORY_ACTIVE                0x899F  /* 159 */
  143. #define DIRECTORY_NOT_EMPTY             0x89A0  /* 160 */
  144. #define DIRECTORY_IO_ERROR              0x89A1  /* 161 */
  145. #define READ_FILE_WITH_RECORD_LOCKED    0x89A2  /* 162 */
  146. #define ERR_TRANSACTION_RESTARTED       0x89A3  /* 163 */
  147. #define ERR_RENAME_DIR_INVALID          0x89A4  /* 164 */
  148. #define ERR_INVALID_OPENCREATE_MODE     0x89A5  /* 165 */
  149. #define ERR_ALREADY_IN_USE              0x89A6  /* 166 */
  150. #define ERR_INVALID_RESOURCE_TAG        0x89A7  /* 167 */
  151. #define ERR_ACCESS_DENIED               0x89A8  /* 168 */
  152. #define INVALID_DATA_STREAM             0x89BE  /* 190 */
  153. #define INVALID_NAME_SPACE              0x89BF  /* 191 */
  154. #define NO_ACCOUNTING_PRIVILEGES        0x89C0  /* 192 */
  155. #define LOGIN_DENIED_NO_ACCOUNT_BALANCE 0x89C1  /* 193 */
  156. #define LOGIN_DENIED_NO_CREDIT          0x89C2  /* 194 */
  157. #define ERR_TOO_MANY_HOLDS              0x89C3  /* 195 */
  158. #define ACCOUNTING_DISABLED             0x89C4  /* 196 */
  159. #define INTRUDER_DETECTION_LOCK         0x89C5  /* 197 */
  160. #define NO_CONSOLE_OPERATOR             0x89C6  /* 198 */
  161. #define NO_CONSOLE_PRIVILEGES           0x89C6  /* 198 */
  162. #define ERR_Q_IO_FAILURE                0x89D0  /* 208 */
  163. #define ERR_NO_QUEUE                    0x89D1  /* 209 */
  164. #define ERR_NO_Q_SERVER                 0x89D2  /* 210 */
  165. #define ERR_NO_Q_RIGHTS                 0x89D3  /* 211 */
  166. #define ERR_Q_FULL                      0x89D4  /* 212 */
  167. #define ERR_NO_Q_JOB                    0x89D5  /* 213 */
  168. #define ERR_NO_Q_JOB_RIGHTS             0x89D6  /* 214 */
  169. #define ERR_Q_IN_SERVICE                0x89D7  /* 215 */
  170. #define PASSWORD_NOT_UNIQUE             0x89D7  /* 215 */
  171. #define ERR_Q_NOT_ACTIVE                0x89D8  /* 216 */
  172. #define PASSWORD_TOO_SHORT              0x89D8  /* 216 */
  173. #define ERR_Q_STN_NOT_SERVER            0x89D9  /* 217 */
  174. #define LOGIN_DENIED_NO_CONNECTION      0x89D9  /* 217 */
  175. #define ERR_MAXIMUM_LOGINS_EXCEEDED     0x89D9  /* 217 */
  176. #define ERR_Q_HALTED                    0x89DA  /* 218 */
  177. #define UNAUTHORIZED_LOGIN_TIME         0x89DA  /* 218 */
  178. #define UNAUTHORIZED_LOGIN_STATION      0x89DB  /* 219 */
  179. #define ERR_Q_MAX_SERVERS               0x89DB  /* 219 */
  180. #define ACCOUNT_DISABLED                0x89DC  /* 220 */
  181. #define PASSWORD_HAS_EXPIRED_NO_GRACE   0x89DE  /* 222 */
  182. #define PASSWORD_HAS_EXPIRED            0x89DF  /* 223 */
  183. #define E_NO_MORE_USERS                 0x89E7  /* 231 */
  184. #define NOT_ITEM_PROPERTY               0x89E8  /* 232 */
  185. #define WRITE_PROPERTY_TO_GROUP         0x89E8  /* 232 */
  186. #define MEMBER_ALREADY_EXISTS           0x89E9  /* 233 */
  187. #define NO_SUCH_MEMBER                  0x89EA  /* 234 */
  188. #define NOT_GROUP_PROPERTY              0x89EB  /* 235 */
  189. #define NO_SUCH_SEGMENT                 0x89EC  /* 236 */
  190. #define PROPERTY_ALREADY_EXISTS         0x89ED  /* 237 */
  191. #define OBJECT_ALREADY_EXISTS           0x89EE  /* 238 */
  192. #define INVALID_NAME                    0x89EF  /* 239 */
  193. #define WILD_CARD_NOT_ALLOWED           0x89F0  /* 240 */
  194. #define INVALID_BINDERY_SECURITY        0x89F1  /* 241 */
  195. #define NO_OBJECT_READ_PRIVILEGE        0x89F2  /* 242 */
  196. #define NO_OBJECT_RENAME_PRIVILEGE      0x89F3  /* 243 */
  197. #define NO_OBJECT_DELETE_PRIVILEGE      0x89F4  /* 244 */
  198. #define NO_OBJECT_CREATE_PRIVILEGE      0x89F5  /* 245 */
  199. #define NO_PROPERTY_DELETE_PRIVILEGE    0x89F6  /* 246 */
  200. #define NO_PROPERTY_CREATE_PRIVILEGE    0x89F7  /* 247 */
  201. #define NO_PROPERTY_WRITE_PRIVILEGE     0x89F8  /* 248 */
  202. #define NO_FREE_CONNECTION_SLOTS        0x89F9  /* 249 */
  203. #define NO_PROPERTY_READ_PRIVILEGE      0x89F9  /* 249 */
  204. #define NO_MORE_SERVER_SLOTS            0x89FA  /* 250 */
  205. #define TEMP_REMAP_ERROR                0x89FA  /* 250 */
  206. #define INVALID_PARAMETERS              0x89FB  /* 251 */
  207. #define NO_SUCH_PROPERTY                0x89FB  /* 251 */
  208. #define INTERNET_PACKET_REQT_CANCELED   0x89FC  /* 252 */
  209. #define UNKNOWN_FILE_SERVER             0x89FC  /* 252 */
  210. #define MESSAGE_QUEUE_FULL              0x89FC  /* 252 */
  211. #define NO_SUCH_OBJECT                  0x89FC  /* 252 */
  212. #define LOCK_COLLISION                  0x89FD  /* 253 */
  213. #define BAD_STATION_NUMBER              0x89FD  /* 253 */
  214. #define INVALID_PACKET_LENGTH           0x89FD  /* 253 */
  215. #define UNKNOWN_REQUEST                 0x89FD  /* 253 */
  216. #define BINDERY_LOCKED                  0x89FE  /* 254 */
  217. #define TRUSTEE_NOT_FOUND               0x89FE  /* 254 */
  218. #define DIRECTORY_LOCKED                0x89FE  /* 254 */
  219. #define INVALID_SEMAPHORE_NAME_LENGTH   0x89FE  /* 254 */
  220. #define PACKET_NOT_DELIVERABLE          0x89FE  /* 254 */
  221. #define SERVER_BINDERY_LOCKED           0x89FE  /* 254 */
  222. #define SOCKET_TABLE_FULL               0x89FE  /* 254 */
  223. #define SPOOL_DIRECTORY_ERROR           0x89FE  /* 254 */
  224. #define SUPERVISOR_HAS_DISABLED_LOGIN   0x89FE  /* 254 */
  225. #define TIMEOUT_FAILURE                 0x89FE  /* 254 */
  226. #define BAD_PRINTER_ERROR               0x89FF  /* 255 */
  227. #define BAD_RECORD_OFFSET               0x89FF  /* 255 */
  228. #define CLOSE_FCB_ERROR                 0x89FF  /* 255 */
  229. #define FILE_EXTENSION_ERROR            0x89FF  /* 255 */
  230. #define FILE_NAME_ERROR                 0x89FF  /* 255 */
  231. #define HARDWARE_FAILURE                0x89FF  /* 255 */
  232. #define INVALID_DRIVE_NUMBER            0x89FF  /* 255 */
  233. #define DOS_INVALID_DRIVE               0x000F  /* 255 */
  234. #define INVALID_INITIAL_SEMAPHORE_VALUE 0x89FF  /* 255 */
  235. #define INVALID_SEMAPHORE_HANDLE        0x89FF  /* 255 */
  236. #define IO_BOUND_ERROR                  0x89FF  /* 255 */
  237. #define NO_FILES_FOUND_ERROR            0x89FF  /* 255 */
  238. #define NO_RESPONSE_FROM_SERVER         0x89FF  /* 255 */
  239. #define NO_SUCH_OBJECT_OR_BAD_PASSWORD  0x89FF  /* 255 */
  240. #define PATH_NOT_LOCATABLE              0x89FF  /* 255 */
  241. #define QUEUE_FULL_ERROR                0x89FF  /* 255 */
  242. #define REQUEST_NOT_OUTSTANDING         0x89FF  /* 255 */
  243. #define SOCKET_ALREADY_OPEN             0x89FF  /* 255 */
  244. #define LOCK_ERROR                      0x89FF  /* 255 */
  245.  
  246.  
  247. /* #define NOT_SAME_LOCAL_DRIVE         0x89F6 */
  248. /* #define TARGET_DRIVE_NOT_LOCAL       0x89F7 */
  249. /* #define ALREADY_ATTACHED_TO_SERVER   0x89F8 */ /* 248 */
  250. /* #define NOT_ATTACHED_TO_SERVER       0x89F8 */
  251.  
  252.  
  253. #endif
  254.