home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / BETA / H / OS2WERR.H < prev    next >
C/C++ Source or Header  |  1995-09-23  |  29KB  |  582 lines

  1. /****************************** Module Header ****************************** 
  2.  *
  3.  * Module Name: OS2WERR.H
  4.  *
  5.  * OS/2 Developer API Extensions Error Code File
  6.  *
  7.  * Copyright (c) International Business Machines Corporation 1995
  8.  *
  9.  ***************************************************************************/
  10. #ifndef OS2WERR_H
  11. #define OS2WERR_H
  12.  
  13. #ifdef __IBMC__
  14.    #pragma checkout( suspend )
  15.    #ifndef __CHKHDR__
  16.       #pragma checkout( suspend )
  17.    #endif
  18.    #pragma checkout( resume )
  19. #endif
  20.  
  21.  
  22. #define FACILITY_NULL                         0
  23. #define FACILITY_RPC                          1
  24. #define FACILITY_DISPATCH                     2
  25. #define FACILITY_STORAGE                      3
  26. #define FACILITY_ITF                          4
  27. #define FACILITY_WIN32                        7
  28. #define FACILITY_WINDOWS                      8
  29. #define FACILITY_CONTROL                      10
  30.  
  31. #define NO_ERROR                              0L                         
  32. #define ERROR_SUCCESS                         0L
  33. #define ERROR_INVALID_FUNCTION                1L
  34. #define ERROR_FILE_NOT_FOUND                  2L
  35. #define ERROR_PATH_NOT_FOUND                  3L
  36. #define ERROR_TOO_MANY_OPEN_FILES             4L
  37. #define ERROR_ACCESS_DENIED                   5L
  38. #define ERROR_INVALID_HANDLE                  6L
  39. #define ERROR_ARENA_TRASHED                   7L
  40. #define ERROR_NOT_ENOUGH_MEMORY               8L
  41. #define ERROR_INVALID_BLOCK                   9L
  42. #define ERROR_BAD_ENVIRONMENT                 10L
  43. #define ERROR_BAD_FORMAT                      11L
  44. #define ERROR_INVALID_ACCESS                  12L
  45. #define ERROR_INVALID_DATA                    13L
  46. #define ERROR_OUTOFMEMORY                     14L
  47. #define ERROR_INVALID_DRIVE                   15L
  48. #define ERROR_CURRENT_DIRECTORY               16L
  49. #define ERROR_NOT_SAME_DEVICE                 17L
  50. #define ERROR_NO_MORE_FILES                   18L
  51. #define ERROR_WRITE_PROTECT                   19L
  52. #define ERROR_BAD_UNIT                        20L
  53. #define ERROR_NOT_READY                       21L
  54. #define ERROR_BAD_COMMAND                     22L
  55. #define ERROR_CRC                             23L
  56. #define ERROR_BAD_LENGTH                      24L
  57. #define ERROR_SEEK                            25L
  58. #define ERROR_NOT_DOS_DISK                    26L
  59. #define ERROR_SECTOR_NOT_FOUND                27L
  60. #define ERROR_OUT_OF_PAPER                    28L
  61. #define ERROR_WRITE_FAULT                     29L
  62. #define ERROR_READ_FAULT                      30L
  63. #define ERROR_GEN_FAILURE                     31L
  64. #define ERROR_SHARING_VIOLATION               32L
  65. #define ERROR_LOCK_VIOLATION                  33L
  66. #define ERROR_WRONG_DISK                      34L
  67. #define ERROR_SHARING_BUFFER_EXCEEDED         36L
  68. #define ERROR_HANDLE_EOF                      38L
  69. #define ERROR_HANDLE_DISK_FULL                39L
  70. #define ERROR_NOT_SUPPORTED                   50L
  71. #define ERROR_REM_NOT_LIST                    51L
  72. #define ERROR_DUP_NAME                        52L
  73. #define ERROR_BAD_NETPATH                     53L
  74. #define ERROR_NETWORK_BUSY                    54L
  75. #define ERROR_DEV_NOT_EXIST                   55L
  76. #define ERROR_TOO_MANY_CMDS                   56L
  77. #define ERROR_ADAP_HDW_ERR                    57L
  78. #define ERROR_BAD_NET_RESP                    58L
  79. #define ERROR_UNEXP_NET_ERR                   59L
  80. #define ERROR_BAD_REM_ADAP                    60L
  81. #define ERROR_PRINTQ_FULL                     61L
  82. #define ERROR_NO_SPOOL_SPACE                  62L
  83. #define ERROR_PRINT_CANCELLED                 63L
  84. #define ERROR_NETNAME_DELETED                 64L
  85. #define ERROR_NETWORK_ACCESS_DENIED           65L
  86. #define ERROR_BAD_DEV_TYPE                    66L
  87. #define ERROR_BAD_NET_NAME                    67L
  88. #define ERROR_TOO_MANY_NAMES                  68L
  89. #define ERROR_TOO_MANY_SESS                   69L
  90. #define ERROR_SHARING_PAUSED                  70L
  91. #define ERROR_REQ_NOT_ACCEP                   71L
  92. #define ERROR_REDIR_PAUSED                    72L
  93. #define ERROR_FILE_EXISTS                     80L
  94. #define ERROR_CANNOT_MAKE                     82L
  95. #define ERROR_FAIL_I24                        83L
  96. #define ERROR_OUT_OF_STRUCTURES               84L
  97. #define ERROR_ALREADY_ASSIGNED                85L
  98. #define ERROR_INVALID_PASSWORD                86L
  99. #define ERROR_INVALID_PARAMETER               87L
  100. #define ERROR_NET_WRITE_FAULT                 88L
  101. #define ERROR_NO_PROC_SLOTS                   89L
  102. #define ERROR_TOO_MANY_SEMAPHORES             100L
  103. #define ERROR_EXCL_SEM_ALREADY_OWNED          101L
  104. #define ERROR_SEM_IS_SET                      102L
  105. #define ERROR_TOO_MANY_SEM_REQUESTS           103L
  106. #define ERROR_INVALID_AT_INTERRUPT_TIME       104L
  107. #define ERROR_SEM_OWNER_DIED                  105L
  108. #define ERROR_SEM_USER_LIMIT                  106L
  109. #define ERROR_DISK_CHANGE                     107L
  110. #define ERROR_DRIVE_LOCKED                    108L
  111. #define ERROR_BROKEN_PIPE                     109L
  112. #define ERROR_OPEN_FAILED                     110L
  113. #define ERROR_BUFFER_OVERFLOW                 111L
  114. #define ERROR_DISK_FULL                       112L
  115. #define ERROR_NO_MORE_SEARCH_HANDLES          113L
  116. #define ERROR_INVALID_TARGET_HANDLE           114L
  117. #define ERROR_INVALID_CATEGORY                117L
  118. #define ERROR_INVALID_VERIFY_SWITCH           118L
  119. #define ERROR_BAD_DRIVER_LEVEL                119L
  120. #define ERROR_CALL_NOT_IMPLEMENTED            120L
  121. #define ERROR_SEM_TIMEOUT                     121L
  122. #define ERROR_INSUFFICIENT_BUFFER             122L
  123. #define ERROR_INVALID_NAME                    123L
  124. #define ERROR_INVALID_LEVEL                   124L
  125. #define ERROR_NO_VOLUME_LABEL                 125L
  126. #define ERROR_MOD_NOT_FOUND                   126L
  127. #define ERROR_PROC_NOT_FOUND                  127L
  128. #define ERROR_WAIT_NO_CHILDREN                128L
  129. #define ERROR_CHILD_NOT_COMPLETE              129L
  130. #define ERROR_DIRECT_ACCESS_HANDLE            130L
  131. #define ERROR_NEGATIVE_SEEK                   131L
  132. #define ERROR_SEEK_ON_DEVICE                  132L
  133. #define ERROR_IS_JOIN_TARGET                  133L
  134. #define ERROR_IS_JOINED                       134L
  135. #define ERROR_IS_SUBSTED                      135L
  136. #define ERROR_NOT_JOINED                      136L
  137. #define ERROR_NOT_SUBSTED                     137L
  138. #define ERROR_JOIN_TO_JOIN                    138L
  139. #define ERROR_SUBST_TO_SUBST                  139L
  140. #define ERROR_JOIN_TO_SUBST                   140L
  141. #define ERROR_SUBST_TO_JOIN                   141L
  142. #define ERROR_BUSY_DRIVE                      142L
  143. #define ERROR_SAME_DRIVE                      143L
  144. #define ERROR_DIR_NOT_ROOT                    144L
  145. #define ERROR_DIR_NOT_EMPTY                   145L
  146. #define ERROR_IS_SUBST_PATH                   146L
  147. #define ERROR_IS_JOIN_PATH                    147L
  148. #define ERROR_PATH_BUSY                       148L
  149. #define ERROR_IS_SUBST_TARGET                 149L
  150. #define ERROR_SYSTEM_TRACE                    150L
  151. #define ERROR_INVALID_EVENT_COUNT             151L
  152. #define ERROR_TOO_MANY_MUXWAITERS             152L
  153. #define ERROR_INVALID_LIST_FORMAT             153L
  154. #define ERROR_LABEL_TOO_LONG                  154L
  155. #define ERROR_TOO_MANY_TCBS                   155L
  156. #define ERROR_SIGNAL_REFUSED                  156L
  157. #define ERROR_DISCARDED                       157L
  158. #define ERROR_NOT_LOCKED                      158L
  159. #define ERROR_BAD_THREADID_ADDR               159L
  160. #define ERROR_BAD_ARGUMENTS                   160L
  161. #define ERROR_BAD_PATHNAME                    161L
  162. #define ERROR_SIGNAL_PENDING                  162L
  163. #define ERROR_MAX_THRDS_REACHED               164L
  164. #define ERROR_LOCK_FAILED                     167L
  165. #define ERROR_BUSY                            170L
  166. #define ERROR_CANCEL_VIOLATION                173L
  167. #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED      174L
  168. #define ERROR_INVALID_SEGMENT_NUMBER          180L
  169. #define ERROR_INVALID_ORDINAL                 182L
  170. #define ERROR_ALREADY_EXISTS                  183L
  171. #define ERROR_INVALID_FLAG_NUMBER             186L
  172. #define ERROR_SEM_NOT_FOUND                   187L
  173. #define ERROR_INVALID_STARTING_CODESEG        188L
  174. #define ERROR_INVALID_STACKSEG                189L
  175. #define ERROR_INVALID_MODULETYPE              190L
  176. #define ERROR_INVALID_EXE_SIGNATURE           191L
  177. #define ERROR_EXE_MARKED_INVALID              192L
  178. #define ERROR_BAD_EXE_FORMAT                  193L
  179. #define ERROR_ITERATED_DATA_EXCEEDS_64k       194L
  180. #define ERROR_INVALID_MINALLOCSIZE            195L
  181. #define ERROR_DYNLINK_FROM_INVALID_RING       196L
  182. #define ERROR_IOPL_NOT_ENABLED                197L
  183. #define ERROR_INVALID_SEGDPL                  198L
  184. #define ERROR_AUTODATASEG_EXCEEDS_64k         199L
  185. #define ERROR_RING2SEG_MUST_BE_MOVABLE        200L
  186. #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM        201L
  187. #define ERROR_INFLOOP_IN_RELOC_CHAIN          202L
  188. #define ERROR_ENVVAR_NOT_FOUND                203L
  189. #define ERROR_NO_SIGNAL_SENT                  205L
  190. #define ERROR_FILENAME_EXCED_RANGE            206L
  191. #define ERROR_RING2_STACK_IN_USE              207L
  192. #define ERROR_META_EXPANSION_TOO_LONG         208L
  193. #define ERROR_INVALID_SIGNAL_NUMBER           209L
  194. #define ERROR_THREAD_1_INACTIVE               210L
  195. #define ERROR_LOCKED                          212L
  196. #define ERROR_TOO_MANY_MODULES                214L
  197. #define ERROR_NESTING_NOT_ALLOWED             215L
  198. #define ERROR_BAD_PIPE                        230L
  199. #define ERROR_PIPE_BUSY                       231L
  200. #define ERROR_NO_DATA                         232L
  201. #define ERROR_PIPE_NOT_CONNECTED              233L
  202. #define ERROR_MORE_DATA                       234L
  203. #define ERROR_VC_DISCONNECTED                 240L
  204. #define ERROR_INVALID_EA_NAME                 254L
  205. #define ERROR_EA_LIST_INCONSISTENT            255L
  206. #define ERROR_NO_MORE_ITEMS                   259L
  207. #define ERROR_CANNOT_COPY                     266L
  208. #define ERROR_DIRECTORY                       267L
  209. #define ERROR_EAS_DIDNT_FIT                   275L
  210. #define ERROR_EA_FILE_CORRUPT                 276L
  211. #define ERROR_EA_TABLE_FULL                   277L
  212. #define ERROR_INVALID_EA_HANDLE               278L
  213. #define ERROR_EAS_NOT_SUPPORTED               282L
  214. #define ERROR_NOT_OWNER                       288L
  215. #define ERROR_TOO_MANY_POSTS                  298L
  216. #define ERROR_PARTIAL_COPY                    299L
  217. #define ERROR_MR_MID_NOT_FOUND                317L
  218. #define ERROR_INVALID_ADDRESS                 487L
  219. #define ERROR_ARITHMETIC_OVERFLOW             534L
  220. #define ERROR_PIPE_CONNECTED                  535L
  221. #define ERROR_PIPE_LISTENING                  536L
  222. #define ERROR_EA_ACCESS_DENIED                994L
  223. #define ERROR_OPERATION_ABORTED               995L
  224. #define ERROR_IO_INCOMPLETE                   996L
  225. #define ERROR_IO_PENDING                      997L
  226. #define ERROR_NOACCESS                        998L
  227. #define ERROR_SWAPERROR                       999L
  228. #define ERROR_STACK_OVERFLOW                  1001L
  229. #define ERROR_INVALID_MESSAGE                 1002L
  230. #define ERROR_CAN_NOT_COMPLETE                1003L
  231. #define ERROR_INVALID_FLAGS                   1004L
  232. #define ERROR_UNRECOGNIZED_VOLUME             1005L
  233. #define ERROR_FILE_INVALID                    1006L
  234. #define ERROR_FULLSCREEN_MODE                 1007L
  235. #define ERROR_NO_TOKEN                        1008L
  236. #define ERROR_BADDB                           1009L
  237. #define ERROR_BADKEY                          1010L
  238. #define ERROR_CANTOPEN                        1011L
  239. #define ERROR_CANTREAD                        1012L
  240. #define ERROR_CANTWRITE                       1013L
  241. #define ERROR_REGISTRY_RECOVERED              1014L
  242. #define ERROR_REGISTRY_CORRUPT                1015L
  243. #define ERROR_REGISTRY_IO_FAILED              1016L
  244. #define ERROR_NOT_REGISTRY_FILE               1017L
  245. #define ERROR_KEY_DELETED                     1018L
  246. #define ERROR_NO_LOG_SPACE                    1019L
  247. #define ERROR_KEY_HAS_CHILDREN                1020L
  248. #define ERROR_CHILD_MUST_BE_VOLATILE          1021L
  249. #define ERROR_NOTIFY_ENUM_DIR                 1022L
  250. #define ERROR_DEPENDENT_SERVICES_RUNNING      1051L
  251. #define ERROR_INVALID_SERVICE_CONTROL         1052L
  252. #define ERROR_SERVICE_REQUEST_TIMEOUT         1053L
  253. #define ERROR_SERVICE_NO_THREAD               1054L
  254. #define ERROR_SERVICE_DATABASE_LOCKED         1055L
  255. #define ERROR_SERVICE_ALREADY_RUNNING         1056L
  256. #define ERROR_INVALID_SERVICE_ACCOUNT         1057L
  257. #define ERROR_SERVICE_DISABLED                1058L
  258. #define ERROR_CIRCULAR_DEPENDENCY             1059L
  259. #define ERROR_SERVICE_DOES_NOT_EXIST          1060L
  260. #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL      1061L
  261. #define ERROR_SERVICE_NOT_ACTIVE              1062L
  262. #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L
  263. #define ERROR_EXCEPTION_IN_SERVICE            1064L
  264. #define ERROR_DATABASE_DOES_NOT_EXIST         1065L
  265. #define ERROR_SERVICE_SPECIFIC_ERROR          1066L
  266. #define ERROR_PROCESS_ABORTED                 1067L
  267. #define ERROR_SERVICE_DEPENDENCY_FAIL         1068L
  268. #define ERROR_SERVICE_LOGON_FAILED            1069L
  269. #define ERROR_SERVICE_START_HANG              1070L
  270. #define ERROR_INVALID_SERVICE_LOCK            1071L
  271. #define ERROR_SERVICE_MARKED_FOR_DELETE       1072L
  272. #define ERROR_SERVICE_EXISTS                  1073L
  273. #define ERROR_ALREADY_RUNNING_LKG             1074L
  274. #define ERROR_SERVICE_DEPENDENCY_DELETED      1075L
  275. #define ERROR_BOOT_ALREADY_ACCEPTED           1076L
  276. #define ERROR_SERVICE_NEVER_STARTED           1077L
  277. #define ERROR_DUPLICATE_SERVICE_NAME          1078L
  278. #define ERROR_END_OF_MEDIA                    1100L
  279. #define ERROR_FILEMARK_DETECTED               1101L
  280. #define ERROR_BEGINNING_OF_MEDIA              1102L
  281. #define ERROR_SETMARK_DETECTED                1103L
  282. #define ERROR_NO_DATA_DETECTED                1104L
  283. #define ERROR_PARTITION_FAILURE               1105L
  284. #define ERROR_INVALID_BLOCK_LENGTH            1106L
  285. #define ERROR_DEVICE_NOT_PARTITIONED          1107L
  286. #define ERROR_UNABLE_TO_LOCK_MEDIA            1108L
  287. #define ERROR_UNABLE_TO_UNLOAD_MEDIA          1109L
  288. #define ERROR_MEDIA_CHANGED                   1110L
  289. #define ERROR_BUS_RESET                       1111L
  290. #define ERROR_NO_MEDIA_IN_DRIVE               1112L
  291. #define ERROR_NO_UNICODE_TRANSLATION          1113L
  292. #define ERROR_DLL_INIT_FAILED                 1114L
  293. #define ERROR_SHUTDOWN_IN_PROGRESS            1115L
  294. #define ERROR_NO_SHUTDOWN_IN_PROGRESS         1116L
  295. #define ERROR_IO_DEVICE                       1117L
  296. #define ERROR_SERIAL_NO_DEVICE                1118L
  297. #define ERROR_IRQ_BUSY                        1119L
  298. #define ERROR_MORE_WRITES                     1120L
  299. #define ERROR_COUNTER_TIMEOUT                 1121L
  300. #define ERROR_FLOPPY_ID_MARK_NOT_FOUND        1122L
  301. #define ERROR_FLOPPY_WRONG_CYLINDER           1123L
  302. #define ERROR_FLOPPY_UNKNOWN_ERROR            1124L
  303. #define ERROR_FLOPPY_BAD_REGISTERS            1125L
  304. #define ERROR_DISK_RECALIBRATE_FAILED         1126L
  305. #define ERROR_DISK_OPERATION_FAILED           1127L
  306. #define ERROR_DISK_RESET_FAILED               1128L
  307. #define ERROR_EOM_OVERFLOW                    1129L
  308. #define ERROR_NOT_ENOUGH_SERVER_MEMORY        1130L
  309. #define ERROR_POSSIBLE_DEADLOCK               1131L
  310. #define ERROR_MAPPED_ALIGNMENT                1132L
  311. #define ERROR_BAD_USERNAME                    2202L
  312. #define ERROR_NOT_CONNECTED                   2250L
  313. #define ERROR_OPEN_FILES                      2401L
  314. #define ERROR_ACTIVE_CONNECTIONS              2402L
  315. #define ERROR_DEVICE_IN_USE                   2404L
  316. #define ERROR_BAD_DEVICE                      1200L
  317. #define ERROR_CONNECTION_UNAVAIL              1201L
  318. #define ERROR_DEVICE_ALREADY_REMEMBERED       1202L
  319. #define ERROR_NO_NET_OR_BAD_PATH              1203L
  320. #define ERROR_BAD_PROVIDER                    1204L
  321. #define ERROR_CANNOT_OPEN_PROFILE             1205L
  322. #define ERROR_BAD_PROFILE                     1206L
  323. #define ERROR_NOT_CONTAINER                   1207L
  324. #define ERROR_EXTENDED_ERROR                  1208L
  325. #define ERROR_INVALID_GROUPNAME               1209L
  326. #define ERROR_INVALID_COMPUTERNAME            1210L
  327. #define ERROR_INVALID_EVENTNAME               1211L
  328. #define ERROR_INVALID_DOMAINNAME              1212L
  329. #define ERROR_INVALID_SERVICENAME             1213L
  330. #define ERROR_INVALID_NETNAME                 1214L
  331. #define ERROR_INVALID_SHARENAME               1215L
  332. #define ERROR_INVALID_PASSWORDNAME            1216L
  333. #define ERROR_INVALID_MESSAGENAME             1217L
  334. #define ERROR_INVALID_MESSAGEDEST             1218L
  335. #define ERROR_SESSION_CREDENTIAL_CONFLICT     1219L
  336. #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED   1220L
  337. #define ERROR_DUP_DOMAINNAME                  1221L
  338. #define ERROR_NO_NETWORK                      1222L
  339. #define ERROR_CANCELLED                       1223L
  340. #define ERROR_USER_MAPPED_FILE                1224L
  341. #define ERROR_CONNECTION_REFUSED              1225L
  342. #define ERROR_GRACEFUL_DISCONNECT             1226L
  343. #define ERROR_ADDRESS_ALREADY_ASSOCIATED      1227L
  344. #define ERROR_ADDRESS_NOT_ASSOCIATED          1228L
  345. #define ERROR_CONNECTION_INVALID              1229L
  346. #define ERROR_CONNECTION_ACTIVE               1230L
  347. #define ERROR_NETWORK_UNREACHABLE             1231L
  348. #define ERROR_HOST_UNREACHABLE                1232L
  349. #define ERROR_PROTOCOL_UNREACHABLE            1233L
  350. #define ERROR_PORT_UNREACHABLE                1234L
  351. #define ERROR_REQUEST_ABORTED                 1235L
  352. #define ERROR_CONNECTION_ABORTED              1236L
  353. #define ERROR_RETRY                           1237L
  354. #define ERROR_CONNECTION_COUNT_LIMIT          1238L
  355. #define ERROR_LOGIN_TIME_RESTRICTION          1239L
  356. #define ERROR_LOGIN_WKSTA_RESTRICTION         1240L
  357. #define ERROR_INCORRECT_ADDRESS               1241L
  358. #define ERROR_ALREADY_REGISTERED              1242L
  359. #define ERROR_SERVICE_NOT_FOUND               1243L
  360. #define ERROR_NOT_ALL_ASSIGNED                1300L
  361. #define ERROR_SOME_NOT_MAPPED                 1301L
  362. #define ERROR_NO_QUOTAS_FOR_ACCOUNT           1302L
  363. #define ERROR_LOCAL_USER_SESSION_KEY          1303L
  364. #define ERROR_NULL_LM_PASSWORD                1304L
  365. #define ERROR_UNKNOWN_REVISION                1305L
  366. #define ERROR_REVISION_MISMATCH               1306L
  367. #define ERROR_INVALID_OWNER                   1307L
  368. #define ERROR_INVALID_PRIMARY_GROUP           1308L
  369. #define ERROR_NO_IMPERSONATION_TOKEN          1309L
  370. #define ERROR_CANT_DISABLE_MANDATORY          1310L
  371. #define ERROR_NO_LOGON_SERVERS                1311L
  372. #define ERROR_NO_SUCH_LOGON_SESSION           1312L
  373. #define ERROR_NO_SUCH_PRIVILEGE               1313L
  374. #define ERROR_PRIVILEGE_NOT_HELD              1314L
  375. #define ERROR_INVALID_ACCOUNT_NAME            1315L
  376. #define ERROR_USER_EXISTS                     1316L
  377. #define ERROR_NO_SUCH_USER                    1317L
  378. #define ERROR_GROUP_EXISTS                    1318L
  379. #define ERROR_NO_SUCH_GROUP                   1319L
  380. #define ERROR_MEMBER_IN_GROUP                 1320L
  381. #define ERROR_MEMBER_NOT_IN_GROUP             1321L
  382. #define ERROR_LAST_ADMIN                      1322L
  383. #define ERROR_WRONG_PASSWORD                  1323L
  384. #define ERROR_ILL_FORMED_PASSWORD             1324L
  385. #define ERROR_PASSWORD_RESTRICTION            1325L
  386. #define ERROR_LOGON_FAILURE                   1326L
  387. #define ERROR_ACCOUNT_RESTRICTION             1327L
  388. #define ERROR_INVALID_LOGON_HOURS             1328L
  389. #define ERROR_INVALID_WORKSTATION             1329L
  390. #define ERROR_PASSWORD_EXPIRED                1330L
  391. #define ERROR_ACCOUNT_DISABLED                1331L
  392. #define ERROR_NONE_MAPPED                     1332L
  393. #define ERROR_TOO_MANY_LUIDS_REQUESTED        1333L
  394. #define ERROR_LUIDS_EXHAUSTED                 1334L
  395. #define ERROR_INVALID_SUB_AUTHORITY           1335L
  396. #define ERROR_INVALID_ACL                     1336L
  397. #define ERROR_INVALID_SID                     1337L
  398. #define ERROR_INVALID_SECURITY_DESCR          1338L
  399. #define ERROR_BAD_INHERITANCE_ACL             1340L
  400. #define ERROR_SERVER_DISABLED                 1341L
  401. #define ERROR_SERVER_NOT_DISABLED             1342L
  402. #define ERROR_INVALID_ID_AUTHORITY            1343L
  403. #define ERROR_ALLOTTED_SPACE_EXCEEDED         1344L
  404. #define ERROR_INVALID_GROUP_ATTRIBUTES        1345L
  405. #define ERROR_BAD_IMPERSONATION_LEVEL         1346L
  406. #define ERROR_CANT_OPEN_ANONYMOUS             1347L
  407. #define ERROR_BAD_VALIDATION_CLASS            1348L
  408. #define ERROR_BAD_TOKEN_TYPE                  1349L
  409. #define ERROR_NO_SECURITY_ON_OBJECT           1350L
  410. #define ERROR_CANT_ACCESS_DOMAIN_INFO         1351L
  411. #define ERROR_INVALID_SERVER_STATE            1352L
  412. #define ERROR_INVALID_DOMAIN_STATE            1353L
  413. #define ERROR_INVALID_DOMAIN_ROLE             1354L
  414. #define ERROR_NO_SUCH_DOMAIN                  1355L
  415. #define ERROR_DOMAIN_EXISTS                   1356L
  416. #define ERROR_DOMAIN_LIMIT_EXCEEDED           1357L
  417. #define ERROR_INTERNAL_DB_CORRUPTION          1358L
  418. #define ERROR_INTERNAL_ERROR                  1359L
  419. #define ERROR_GENERIC_NOT_MAPPED              1360L
  420. #define ERROR_BAD_DESCRIPTOR_FORMAT           1361L
  421. #define ERROR_NOT_LOGON_PROCESS               1362L
  422. #define ERROR_LOGON_SESSION_EXISTS            1363L
  423. #define ERROR_NO_SUCH_PACKAGE                 1364L
  424. #define ERROR_BAD_LOGON_SESSION_STATE         1365L
  425. #define ERROR_LOGON_SESSION_COLLISION         1366L
  426. #define ERROR_INVALID_LOGON_TYPE              1367L
  427. #define ERROR_CANNOT_IMPERSONATE              1368L
  428. #define ERROR_RXACT_INVALID_STATE             1369L
  429. #define ERROR_RXACT_COMMIT_FAILURE            1370L
  430. #define ERROR_SPECIAL_ACCOUNT                 1371L
  431. #define ERROR_SPECIAL_GROUP                   1372L
  432. #define ERROR_SPECIAL_USER                    1373L
  433. #define ERROR_MEMBERS_PRIMARY_GROUP           1374L
  434. #define ERROR_TOKEN_ALREADY_IN_USE            1375L
  435. #define ERROR_NO_SUCH_ALIAS                   1376L
  436. #define ERROR_MEMBER_NOT_IN_ALIAS             1377L
  437. #define ERROR_MEMBER_IN_ALIAS                 1378L
  438. #define ERROR_ALIAS_EXISTS                    1379L
  439. #define ERROR_LOGON_NOT_GRANTED               1380L
  440. #define ERROR_TOO_MANY_SECRETS                1381L
  441. #define ERROR_SECRET_TOO_LONG                 1382L
  442. #define ERROR_INTERNAL_DB_ERROR               1383L
  443. #define ERROR_TOO_MANY_CONTEXT_IDS            1384L
  444. #define ERROR_LOGON_TYPE_NOT_GRANTED          1385L
  445. #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED    1386L
  446. #define ERROR_NO_SUCH_MEMBER                  1387L
  447. #define ERROR_INVALID_MEMBER                  1388L
  448. #define ERROR_TOO_MANY_SIDS                   1389L
  449. #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED    1390L
  450. #define ERROR_NO_INHERITANCE                  1391L
  451. #define ERROR_FILE_CORRUPT                    1392L
  452. #define ERROR_DISK_CORRUPT                    1393L
  453. #define ERROR_NO_USER_SESSION_KEY             1394L
  454. #define ERROR_INVALID_WINDOW_HANDLE           1400L
  455. #define ERROR_INVALID_MENU_HANDLE             1401L
  456. #define ERROR_INVALID_CURSOR_HANDLE           1402L
  457. #define ERROR_INVALID_ACCEL_HANDLE            1403L
  458. #define ERROR_INVALID_HOOK_HANDLE             1404L
  459. #define ERROR_INVALID_DWP_HANDLE              1405L
  460. #define ERROR_TLW_WITH_WSCHILD                1406L
  461. #define ERROR_CANNOT_FIND_WND_CLASS           1407L
  462. #define ERROR_WINDOW_OF_OTHER_THREAD          1408L
  463. #define ERROR_HOTKEY_ALREADY_REGISTERED       1409L
  464. #define ERROR_CLASS_ALREADY_EXISTS            1410L
  465. #define ERROR_CLASS_DOES_NOT_EXIST            1411L
  466. #define ERROR_CLASS_HAS_WINDOWS               1412L
  467. #define ERROR_INVALID_INDEX                   1413L
  468. #define ERROR_INVALID_ICON_HANDLE             1414L
  469. #define ERROR_PRIVATE_DIALOG_INDEX            1415L
  470. #define ERROR_LISTBOX_ID_NOT_FOUND            1416L
  471. #define ERROR_NO_WILDCARD_CHARACTERS          1417L
  472. #define ERROR_CLIPBOARD_NOT_OPEN              1418L
  473. #define ERROR_HOTKEY_NOT_REGISTERED           1419L
  474. #define ERROR_WINDOW_NOT_DIALOG               1420L
  475. #define ERROR_CONTROL_ID_NOT_FOUND            1421L
  476. #define ERROR_INVALID_COMBOBOX_MESSAGE        1422L
  477. #define ERROR_WINDOW_NOT_COMBOBOX             1423L
  478. #define ERROR_INVALID_EDIT_HEIGHT             1424L
  479. #define ERROR_DC_NOT_FOUND                    1425L
  480. #define ERROR_INVALID_HOOK_FILTER             1426L
  481. #define ERROR_INVALID_FILTER_PROC             1427L
  482. #define ERROR_HOOK_NEEDS_HMOD                 1428L
  483. #define ERROR_GLOBAL_ONLY_HOOK                1429L
  484. #define ERROR_JOURNAL_HOOK_SET                1430L
  485. #define ERROR_HOOK_NOT_INSTALLED              1431L
  486. #define ERROR_INVALID_LB_MESSAGE              1432L
  487. #define ERROR_SETCOUNT_ON_BAD_LB              1433L
  488. #define ERROR_LB_WITHOUT_TABSTOPS             1434L
  489. #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD  1435L
  490. #define ERROR_CHILD_WINDOW_MENU               1436L
  491. #define ERROR_NO_SYSTEM_MENU                  1437L
  492. #define ERROR_INVALID_MSGBOX_STYLE            1438L
  493. #define ERROR_INVALID_SPI_VALUE               1439L
  494. #define ERROR_SCREEN_ALREADY_LOCKED           1440L
  495. #define ERROR_HWNDS_HAVE_DIFF_PARENT          1441L
  496. #define ERROR_NOT_CHILD_WINDOW                1442L
  497. #define ERROR_INVALID_GW_COMMAND              1443L
  498. #define ERROR_INVALID_THREAD_ID               1444L
  499. #define ERROR_NON_MDICHILD_WINDOW             1445L
  500. #define ERROR_POPUP_ALREADY_ACTIVE            1446L
  501. #define ERROR_NO_SCROLLBARS                   1447L
  502. #define ERROR_INVALID_SCROLLBAR_RANGE         1448L
  503. #define ERROR_INVALID_SHOWWIN_COMMAND         1449L
  504. #define ERROR_EVENTLOG_FILE_CORRUPT           1500L
  505. #define ERROR_EVENTLOG_CANT_START             1501L
  506. #define ERROR_LOG_FILE_FULL                   1502L
  507. #define ERROR_EVENTLOG_FILE_CHANGED           1503L
  508.  
  509. #define ERROR_INVALID_USER_BUFFER             1784L
  510. #define ERROR_UNRECOGNIZED_MEDIA              1785L
  511. #define ERROR_NO_TRUST_LSA_SECRET             1786L
  512. #define ERROR_NO_TRUST_SAM_ACCOUNT            1787L
  513. #define ERROR_TRUSTED_DOMAIN_FAILURE          1788L
  514. #define ERROR_TRUSTED_RELATIONSHIP_FAILURE    1789L
  515. #define ERROR_TRUST_FAILURE                   1790L
  516.  
  517. #define ERROR_NETLOGON_NOT_STARTED            1792L
  518. #define ERROR_ACCOUNT_EXPIRED                 1793L
  519. #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES     1794L
  520. #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
  521. #define ERROR_UNKNOWN_PORT                    1796L
  522. #define ERROR_UNKNOWN_PRINTER_DRIVER          1797L
  523. #define ERROR_UNKNOWN_PRINTPROCESSOR          1798L
  524. #define ERROR_INVALID_SEPARATOR_FILE          1799L
  525. #define ERROR_INVALID_PRIORITY                1800L
  526. #define ERROR_INVALID_PRINTER_NAME            1801L
  527. #define ERROR_PRINTER_ALREADY_EXISTS          1802L
  528. #define ERROR_INVALID_PRINTER_COMMAND         1803L
  529. #define ERROR_INVALID_DATATYPE                1804L
  530. #define ERROR_INVALID_ENVIRONMENT             1805L
  531.  
  532. #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
  533. #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
  534. #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT    1809L
  535. #define ERROR_DOMAIN_TRUST_INCONSISTENT       1810L
  536. #define ERROR_SERVER_HAS_OPEN_HANDLES         1811L
  537. #define ERROR_RESOURCE_DATA_NOT_FOUND         1812L
  538. #define ERROR_RESOURCE_TYPE_NOT_FOUND         1813L
  539. #define ERROR_RESOURCE_NAME_NOT_FOUND         1814L
  540. #define ERROR_RESOURCE_LANG_NOT_FOUND         1815L
  541. #define ERROR_NOT_ENOUGH_QUOTA                1816L
  542.  
  543. #define ERROR_INVALID_TIME                    1901L
  544. #define ERROR_INVALID_FORM_NAME               1902L
  545. #define ERROR_INVALID_FORM_SIZE               1903L
  546. #define ERROR_ALREADY_WAITING                 1904L
  547. #define ERROR_PRINTER_DELETED                 1905L
  548. #define ERROR_INVALID_PRINTER_STATE           1906L
  549. #define ERROR_PASSWORD_MUST_CHANGE            1907L
  550. #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND     1908L
  551. #define ERROR_ACCOUNT_LOCKED_OUT              1909L
  552. #define ERROR_INVALID_PIXEL_FORMAT            2000L
  553. #define ERROR_BAD_DRIVER                      2001L
  554. #define ERROR_INVALID_WINDOW_STYLE            2002L
  555. #define ERROR_METAFILE_NOT_SUPPORTED          2003L
  556. #define ERROR_TRANSFORM_NOT_SUPPORTED         2004L
  557. #define ERROR_CLIPPING_NOT_SUPPORTED          2005L
  558. #define ERROR_UNKNOWN_PRINT_MONITOR           3000L
  559. #define ERROR_PRINTER_DRIVER_IN_USE           3001L
  560. #define ERROR_SPOOL_FILE_NOT_FOUND            3002L
  561. #define ERROR_SPL_NO_STARTDOC                 3003L
  562. #define ERROR_SPL_NO_ADDJOB                   3004L
  563. #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005L
  564. #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006L
  565. #define ERROR_WINS_INTERNAL                   4000L
  566. #define ERROR_CAN_NOT_DEL_LOCAL_WINS          4001L
  567. #define ERROR_STATIC_INIT                     4002L
  568. #define ERROR_INC_BACKUP                      4003L
  569. #define ERROR_FULL_BACKUP                     4004L
  570. #define ERROR_REC_NON_EXISTENT                4005L
  571. #define ERROR_RPL_NOT_ALLOWED                 4006L
  572.  
  573. #ifdef __IBMC__
  574.    #pragma checkout( suspend )
  575.    #ifndef __CHKHDR__
  576.       #pragma checkout( resume )
  577.    #endif
  578.    #pragma checkout( resume )
  579. #endif
  580.  
  581. #endif /* OS2WERR_H */
  582.