Source code of Windows XP (NT5)
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.

1410 lines
50 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. generr.c
  5. Abstract:
  6. This module contains code to generate the NT status code to DOS
  7. error code table that is used by the runtime to translate status
  8. codes.
  9. Author:
  10. David N. Cutler (davec) 2-Dec-1992
  11. Revision History:
  12. --*/
  13. #include <ntos.h>
  14. #include <ntrtl.h>
  15. #include <nturtl.h>
  16. #include <windef.h>
  17. #include <winbase.h>
  18. #include <wtypes.h>
  19. #include <status.h>
  20. #include "stdio.h"
  21. #include "stdarg.h"
  22. #include "stdlib.h"
  23. //
  24. // Ensure that the Registry ERROR_SUCCESS error code and the
  25. // NO_ERROR error code remain equal and zero.
  26. //
  27. #if ERROR_SUCCESS != 0 || NO_ERROR != 0
  28. #error Invalid value for ERROR_SUCCESS.
  29. #endif
  30. //
  31. // The following error code table contains paired entries in a singly
  32. // dimensioned array. The first member of a paired entry is an NT status
  33. // code and the second member is the DOS error code that it translates to.
  34. //
  35. // To add a value to this table simply insert the NT status/DOS error code
  36. // pair anywhere is the table. If multiple NT status codes map to a single
  37. // DOS error code, then insert a paired entry for each of the code pairs.
  38. //
  39. #ifdef i386
  40. #pragma warning (4:4018) // lower to -W4
  41. #endif
  42. LONG CodePairs[] = {
  43. //
  44. // First some marker entries so that generr.exe can locate this table
  45. // in generr.obj. The following line must appear first in the table.
  46. //
  47. 'Begi','n ge','nerr',' tbl',
  48. //
  49. // Exception codes defined in WINNT.H can map to themselves.
  50. //
  51. STATUS_BREAKPOINT, STATUS_BREAKPOINT,
  52. STATUS_SINGLE_STEP, STATUS_SINGLE_STEP,
  53. STATUS_ILLEGAL_INSTRUCTION, STATUS_ILLEGAL_INSTRUCTION,
  54. STATUS_NONCONTINUABLE_EXCEPTION, STATUS_NONCONTINUABLE_EXCEPTION,
  55. STATUS_INVALID_DISPOSITION, STATUS_INVALID_DISPOSITION,
  56. STATUS_PARITY_ERROR, STATUS_PARITY_ERROR,
  57. STATUS_ARRAY_BOUNDS_EXCEEDED, STATUS_ARRAY_BOUNDS_EXCEEDED,
  58. STATUS_FLOAT_DENORMAL_OPERAND, STATUS_FLOAT_DENORMAL_OPERAND,
  59. STATUS_FLOAT_DIVIDE_BY_ZERO, STATUS_FLOAT_DIVIDE_BY_ZERO,
  60. STATUS_FLOAT_INEXACT_RESULT, STATUS_FLOAT_INEXACT_RESULT,
  61. STATUS_FLOAT_INVALID_OPERATION, STATUS_FLOAT_INVALID_OPERATION,
  62. STATUS_FLOAT_OVERFLOW, STATUS_FLOAT_OVERFLOW,
  63. STATUS_FLOAT_STACK_CHECK, STATUS_FLOAT_STACK_CHECK,
  64. STATUS_FLOAT_UNDERFLOW, STATUS_FLOAT_UNDERFLOW,
  65. STATUS_INTEGER_DIVIDE_BY_ZERO, STATUS_INTEGER_DIVIDE_BY_ZERO,
  66. STATUS_PRIVILEGED_INSTRUCTION, STATUS_PRIVILEGED_INSTRUCTION,
  67. STATUS_GUARD_PAGE_VIOLATION, STATUS_GUARD_PAGE_VIOLATION,
  68. //
  69. // These are also defined in WINNT.H, but we are stuck with these
  70. // mappings.
  71. //
  72. STATUS_DATATYPE_MISALIGNMENT, ERROR_NOACCESS,
  73. STATUS_ACCESS_VIOLATION, ERROR_NOACCESS,
  74. STATUS_DATATYPE_MISALIGNMENT_ERROR, ERROR_NOACCESS,
  75. STATUS_CTL_FILE_NOT_SUPPORTED, ERROR_NOT_SUPPORTED,
  76. STATUS_PORT_ALREADY_SET, ERROR_INVALID_PARAMETER,
  77. STATUS_SECTION_NOT_IMAGE, ERROR_INVALID_PARAMETER,
  78. STATUS_BAD_WORKING_SET_LIMIT, ERROR_INVALID_PARAMETER,
  79. STATUS_WORKING_SET_LIMIT_RANGE, ERROR_INVALID_PARAMETER,
  80. STATUS_INCOMPATIBLE_FILE_MAP, ERROR_INVALID_PARAMETER,
  81. STATUS_PORT_DISCONNECTED, ERROR_INVALID_HANDLE,
  82. STATUS_NOT_LOCKED, ERROR_NOT_LOCKED,
  83. STATUS_NOT_MAPPED_VIEW, ERROR_INVALID_ADDRESS,
  84. STATUS_UNABLE_TO_FREE_VM, ERROR_INVALID_PARAMETER,
  85. STATUS_UNABLE_TO_DELETE_SECTION, ERROR_INVALID_PARAMETER,
  86. STATUS_MORE_PROCESSING_REQUIRED, ERROR_MORE_DATA,
  87. STATUS_INVALID_CID, ERROR_INVALID_PARAMETER,
  88. STATUS_STACK_OVERFLOW, ERROR_STACK_OVERFLOW,
  89. STATUS_BAD_INITIAL_STACK, ERROR_STACK_OVERFLOW,
  90. STATUS_INVALID_VOLUME_LABEL, ERROR_LABEL_TOO_LONG,
  91. STATUS_SECTION_NOT_EXTENDED, ERROR_OUTOFMEMORY,
  92. STATUS_NOT_MAPPED_DATA, ERROR_INVALID_ADDRESS,
  93. STATUS_NO_LDT, ERROR_INVALID_THREAD_ID,
  94. STATUS_INFO_LENGTH_MISMATCH, ERROR_BAD_LENGTH,
  95. STATUS_INVALID_INFO_CLASS, ERROR_INVALID_PARAMETER,
  96. STATUS_SUSPEND_COUNT_EXCEEDED, ERROR_SIGNAL_REFUSED,
  97. STATUS_NOTIFY_ENUM_DIR, ERROR_NOTIFY_ENUM_DIR,
  98. STATUS_REGISTRY_RECOVERED, ERROR_REGISTRY_RECOVERED,
  99. STATUS_REGISTRY_IO_FAILED, ERROR_REGISTRY_IO_FAILED,
  100. STATUS_NOT_REGISTRY_FILE, ERROR_NOT_REGISTRY_FILE,
  101. STATUS_KEY_DELETED, ERROR_KEY_DELETED,
  102. STATUS_NO_LOG_SPACE, ERROR_NO_LOG_SPACE,
  103. STATUS_KEY_HAS_CHILDREN, ERROR_KEY_HAS_CHILDREN,
  104. STATUS_CHILD_MUST_BE_VOLATILE, ERROR_CHILD_MUST_BE_VOLATILE,
  105. STATUS_REGISTRY_CORRUPT, ERROR_BADDB,
  106. STATUS_DLL_NOT_FOUND, ERROR_MOD_NOT_FOUND,
  107. STATUS_DLL_INIT_FAILED, ERROR_DLL_INIT_FAILED,
  108. STATUS_INVALID_IMPORT_OF_NON_DLL, ERROR_INVALID_IMPORT_OF_NON_DLL,
  109. STATUS_ORDINAL_NOT_FOUND, ERROR_INVALID_ORDINAL,
  110. STATUS_DRIVER_ORDINAL_NOT_FOUND, ERROR_INVALID_ORDINAL,
  111. STATUS_DRIVER_UNABLE_TO_LOAD, ERROR_BAD_DRIVER,
  112. STATUS_ENTRYPOINT_NOT_FOUND, ERROR_PROC_NOT_FOUND,
  113. STATUS_DRIVER_ENTRYPOINT_NOT_FOUND, ERROR_PROC_NOT_FOUND,
  114. STATUS_PENDING, ERROR_IO_PENDING,
  115. STATUS_MORE_ENTRIES, ERROR_MORE_DATA,
  116. STATUS_INTEGER_OVERFLOW, ERROR_ARITHMETIC_OVERFLOW,
  117. STATUS_BUFFER_OVERFLOW, ERROR_MORE_DATA,
  118. STATUS_NO_MORE_FILES, ERROR_NO_MORE_FILES,
  119. STATUS_NO_INHERITANCE, ERROR_NO_INHERITANCE,
  120. STATUS_NO_MORE_EAS, ERROR_NO_MORE_ITEMS,
  121. STATUS_NO_MORE_ENTRIES, ERROR_NO_MORE_ITEMS,
  122. STATUS_GUIDS_EXHAUSTED, ERROR_NO_MORE_ITEMS,
  123. STATUS_AGENTS_EXHAUSTED, ERROR_NO_MORE_ITEMS,
  124. STATUS_UNSUCCESSFUL, ERROR_GEN_FAILURE,
  125. STATUS_TOO_MANY_LINKS, ERROR_TOO_MANY_LINKS,
  126. STATUS_NOT_IMPLEMENTED, ERROR_INVALID_FUNCTION,
  127. STATUS_ILLEGAL_FUNCTION, ERROR_INVALID_FUNCTION,
  128. STATUS_IN_PAGE_ERROR, ERROR_SWAPERROR,
  129. STATUS_PAGEFILE_QUOTA, ERROR_PAGEFILE_QUOTA,
  130. STATUS_COMMITMENT_LIMIT, ERROR_COMMITMENT_LIMIT,
  131. STATUS_SECTION_TOO_BIG, ERROR_NOT_ENOUGH_MEMORY,
  132. RPC_NT_SS_IN_NULL_CONTEXT, ERROR_INVALID_HANDLE,
  133. RPC_NT_INVALID_BINDING, ERROR_INVALID_HANDLE,
  134. STATUS_INVALID_HANDLE, ERROR_INVALID_HANDLE,
  135. STATUS_OBJECT_TYPE_MISMATCH, ERROR_INVALID_HANDLE,
  136. STATUS_FILE_CLOSED, ERROR_INVALID_HANDLE,
  137. STATUS_INVALID_PORT_HANDLE, ERROR_INVALID_HANDLE,
  138. STATUS_HANDLE_NOT_CLOSABLE, ERROR_INVALID_HANDLE,
  139. STATUS_NOT_COMMITTED, ERROR_INVALID_ADDRESS,
  140. STATUS_PARTIAL_COPY, ERROR_PARTIAL_COPY,
  141. STATUS_LPC_REPLY_LOST, ERROR_INTERNAL_ERROR,
  142. STATUS_INVALID_PARAMETER, ERROR_INVALID_PARAMETER,
  143. STATUS_INVALID_PARAMETER_1, ERROR_INVALID_PARAMETER,
  144. STATUS_INVALID_PARAMETER_2, ERROR_INVALID_PARAMETER,
  145. STATUS_INVALID_PARAMETER_3, ERROR_INVALID_PARAMETER,
  146. STATUS_INVALID_PARAMETER_4, ERROR_INVALID_PARAMETER,
  147. STATUS_INVALID_PARAMETER_5, ERROR_INVALID_PARAMETER,
  148. STATUS_INVALID_PARAMETER_6, ERROR_INVALID_PARAMETER,
  149. STATUS_INVALID_PARAMETER_7, ERROR_INVALID_PARAMETER,
  150. STATUS_INVALID_PARAMETER_8, ERROR_INVALID_PARAMETER,
  151. STATUS_INVALID_PARAMETER_9, ERROR_INVALID_PARAMETER,
  152. STATUS_INVALID_PARAMETER_10, ERROR_INVALID_PARAMETER,
  153. STATUS_INVALID_PARAMETER_11, ERROR_INVALID_PARAMETER,
  154. STATUS_INVALID_PARAMETER_12, ERROR_INVALID_PARAMETER,
  155. STATUS_INVALID_PARAMETER_MIX, ERROR_INVALID_PARAMETER,
  156. STATUS_INVALID_PAGE_PROTECTION, ERROR_INVALID_PARAMETER,
  157. STATUS_SECTION_PROTECTION, ERROR_INVALID_PARAMETER,
  158. STATUS_RESOURCE_DATA_NOT_FOUND, ERROR_RESOURCE_DATA_NOT_FOUND,
  159. STATUS_RESOURCE_TYPE_NOT_FOUND, ERROR_RESOURCE_TYPE_NOT_FOUND,
  160. STATUS_RESOURCE_NAME_NOT_FOUND, ERROR_RESOURCE_NAME_NOT_FOUND,
  161. STATUS_RESOURCE_LANG_NOT_FOUND, ERROR_RESOURCE_LANG_NOT_FOUND,
  162. STATUS_NO_SUCH_DEVICE, ERROR_FILE_NOT_FOUND,
  163. STATUS_NO_SUCH_FILE, ERROR_FILE_NOT_FOUND,
  164. STATUS_INVALID_DEVICE_REQUEST, ERROR_INVALID_FUNCTION,
  165. STATUS_VOLUME_NOT_UPGRADED, ERROR_INVALID_FUNCTION,
  166. STATUS_END_OF_FILE, ERROR_HANDLE_EOF,
  167. STATUS_FILE_FORCED_CLOSED, ERROR_HANDLE_EOF,
  168. STATUS_WRONG_VOLUME, ERROR_WRONG_DISK,
  169. STATUS_NO_MEDIA, ERROR_NO_MEDIA_IN_DRIVE,
  170. STATUS_NO_MEDIA_IN_DEVICE, ERROR_NOT_READY,
  171. STATUS_VOLUME_DISMOUNTED, ERROR_NOT_READY,
  172. STATUS_NONEXISTENT_SECTOR, ERROR_SECTOR_NOT_FOUND,
  173. STATUS_WORKING_SET_QUOTA, ERROR_WORKING_SET_QUOTA,
  174. STATUS_NO_MEMORY, ERROR_NOT_ENOUGH_MEMORY,
  175. STATUS_CONFLICTING_ADDRESSES, ERROR_INVALID_ADDRESS,
  176. STATUS_INVALID_SYSTEM_SERVICE, ERROR_INVALID_FUNCTION,
  177. STATUS_THREAD_IS_TERMINATING, ERROR_ACCESS_DENIED,
  178. STATUS_PROCESS_IS_TERMINATING, ERROR_ACCESS_DENIED,
  179. STATUS_INVALID_LOCK_SEQUENCE, ERROR_ACCESS_DENIED,
  180. STATUS_INVALID_VIEW_SIZE, ERROR_ACCESS_DENIED,
  181. STATUS_ALREADY_COMMITTED, ERROR_ACCESS_DENIED,
  182. STATUS_ACCESS_DENIED, ERROR_ACCESS_DENIED,
  183. STATUS_FILE_IS_A_DIRECTORY, ERROR_ACCESS_DENIED,
  184. STATUS_CANNOT_DELETE, ERROR_ACCESS_DENIED,
  185. STATUS_INVALID_COMPUTER_NAME, ERROR_INVALID_COMPUTERNAME,
  186. STATUS_FILE_DELETED, ERROR_ACCESS_DENIED,
  187. STATUS_FILE_RENAMED, ERROR_ACCESS_DENIED,
  188. STATUS_DELETE_PENDING, ERROR_ACCESS_DENIED,
  189. STATUS_PORT_CONNECTION_REFUSED, ERROR_ACCESS_DENIED,
  190. STATUS_NO_SUCH_PRIVILEGE, ERROR_NO_SUCH_PRIVILEGE,
  191. STATUS_PRIVILEGE_NOT_HELD, ERROR_PRIVILEGE_NOT_HELD,
  192. STATUS_CANNOT_IMPERSONATE, ERROR_CANNOT_IMPERSONATE,
  193. STATUS_LOGON_FAILURE, ERROR_LOGON_FAILURE,
  194. STATUS_MUTUAL_AUTHENTICATION_FAILED, ERROR_MUTUAL_AUTH_FAILED,
  195. STATUS_TIME_DIFFERENCE_AT_DC, ERROR_TIME_SKEW,
  196. STATUS_PKINIT_FAILURE, ERROR_PKINIT_FAILURE,
  197. STATUS_SMARTCARD_SUBSYSTEM_FAILURE, ERROR_SMARTCARD_SUBSYSTEM_FAILURE,
  198. STATUS_DOWNGRADE_DETECTED, ERROR_DOWNGRADE_DETECTED,
  199. STATUS_SMARTCARD_CERT_REVOKED, SEC_E_SMARTCARD_CERT_REVOKED,
  200. STATUS_ISSUING_CA_UNTRUSTED, SEC_E_ISSUING_CA_UNTRUSTED,
  201. STATUS_REVOCATION_OFFLINE_C, SEC_E_REVOCATION_OFFLINE_C,
  202. STATUS_PKINIT_CLIENT_FAILURE, SEC_E_PKINIT_CLIENT_FAILURE,
  203. STATUS_SMARTCARD_CERT_EXPIRED,SEC_E_SMARTCARD_CERT_EXPIRED,
  204. STATUS_NO_KERB_KEY, SEC_E_NO_KERB_KEY,
  205. STATUS_CURRENT_DOMAIN_NOT_ALLOWED, ERROR_CURRENT_DOMAIN_NOT_ALLOWED,
  206. STATUS_SMARTCARD_WRONG_PIN, SCARD_W_WRONG_CHV,
  207. STATUS_SMARTCARD_CARD_BLOCKED, SCARD_W_CHV_BLOCKED,
  208. STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED, SCARD_W_CARD_NOT_AUTHENTICATED,
  209. STATUS_SMARTCARD_NO_CARD, SCARD_E_NO_SMARTCARD,
  210. STATUS_SMARTCARD_NO_KEY_CONTAINER, NTE_NO_KEY,
  211. STATUS_SMARTCARD_NO_CERTIFICATE, SCARD_E_NO_SUCH_CERTIFICATE,
  212. STATUS_SMARTCARD_NO_KEYSET, NTE_BAD_KEYSET,
  213. STATUS_SMARTCARD_IO_ERROR, SCARD_E_COMM_DATA_LOST,
  214. STATUS_ACCOUNT_RESTRICTION, ERROR_ACCOUNT_RESTRICTION,
  215. STATUS_INVALID_LOGON_HOURS, ERROR_INVALID_LOGON_HOURS,
  216. STATUS_INVALID_WORKSTATION, ERROR_INVALID_WORKSTATION,
  217. STATUS_BUFFER_TOO_SMALL, ERROR_INSUFFICIENT_BUFFER,
  218. STATUS_UNABLE_TO_DECOMMIT_VM, ERROR_INVALID_ADDRESS,
  219. STATUS_DISK_CORRUPT_ERROR, ERROR_DISK_CORRUPT,
  220. STATUS_FT_MISSING_MEMBER, ERROR_IO_DEVICE,
  221. STATUS_FT_ORPHANING, ERROR_IO_DEVICE,
  222. STATUS_VARIABLE_NOT_FOUND, ERROR_ENVVAR_NOT_FOUND,
  223. STATUS_OBJECT_NAME_INVALID, ERROR_INVALID_NAME,
  224. STATUS_OBJECT_NAME_NOT_FOUND, ERROR_FILE_NOT_FOUND,
  225. STATUS_OBJECT_NAME_COLLISION, ERROR_ALREADY_EXISTS,
  226. STATUS_OBJECT_PATH_INVALID, ERROR_BAD_PATHNAME,
  227. STATUS_OBJECT_PATH_NOT_FOUND, ERROR_PATH_NOT_FOUND,
  228. STATUS_DFS_EXIT_PATH_FOUND, ERROR_PATH_NOT_FOUND,
  229. STATUS_DFS_UNAVAILABLE, ERROR_CONNECTION_UNAVAIL,
  230. STATUS_OBJECT_PATH_SYNTAX_BAD, ERROR_BAD_PATHNAME,
  231. STATUS_NAME_TOO_LONG, ERROR_FILENAME_EXCED_RANGE,
  232. STATUS_DATA_OVERRUN, ERROR_IO_DEVICE,
  233. STATUS_DATA_LATE_ERROR, ERROR_IO_DEVICE,
  234. STATUS_DATA_ERROR, ERROR_CRC,
  235. STATUS_CRC_ERROR, ERROR_CRC,
  236. STATUS_SHARING_VIOLATION, ERROR_SHARING_VIOLATION,
  237. STATUS_QUOTA_EXCEEDED, ERROR_NOT_ENOUGH_QUOTA,
  238. STATUS_MUTANT_NOT_OWNED, ERROR_NOT_OWNER,
  239. STATUS_SEMAPHORE_LIMIT_EXCEEDED, ERROR_TOO_MANY_POSTS,
  240. STATUS_DISK_FULL, ERROR_DISK_FULL,
  241. STATUS_LOCK_NOT_GRANTED, ERROR_LOCK_VIOLATION,
  242. STATUS_FILE_LOCK_CONFLICT, ERROR_LOCK_VIOLATION, // FIX, FIX - is this right?
  243. STATUS_NOT_A_DIRECTORY, ERROR_DIRECTORY, // FIX, FIX - is this right?
  244. STATUS_CANNOT_MAKE, ERROR_CANNOT_MAKE,
  245. STATUS_UNKNOWN_REVISION, ERROR_UNKNOWN_REVISION,
  246. STATUS_REVISION_MISMATCH, ERROR_REVISION_MISMATCH,
  247. STATUS_INVALID_OWNER, ERROR_INVALID_OWNER,
  248. STATUS_INVALID_PRIMARY_GROUP, ERROR_INVALID_PRIMARY_GROUP,
  249. STATUS_NO_IMPERSONATION_TOKEN, ERROR_NO_IMPERSONATION_TOKEN,
  250. STATUS_CANT_DISABLE_MANDATORY, ERROR_CANT_DISABLE_MANDATORY,
  251. STATUS_NO_LOGON_SERVERS, ERROR_NO_LOGON_SERVERS,
  252. STATUS_DOMAIN_CONTROLLER_NOT_FOUND, ERROR_DOMAIN_CONTROLLER_NOT_FOUND,
  253. STATUS_NO_SUCH_LOGON_SESSION, ERROR_NO_SUCH_LOGON_SESSION,
  254. STATUS_INVALID_ACCOUNT_NAME, ERROR_INVALID_ACCOUNT_NAME,
  255. STATUS_USER_EXISTS, ERROR_USER_EXISTS,
  256. STATUS_NO_SUCH_USER, ERROR_NO_SUCH_USER,
  257. STATUS_GROUP_EXISTS, ERROR_GROUP_EXISTS,
  258. STATUS_NO_SUCH_GROUP, ERROR_NO_SUCH_GROUP,
  259. STATUS_SPECIAL_GROUP, ERROR_SPECIAL_GROUP,
  260. STATUS_MEMBER_IN_GROUP, ERROR_MEMBER_IN_GROUP,
  261. STATUS_MEMBER_NOT_IN_GROUP, ERROR_MEMBER_NOT_IN_GROUP,
  262. STATUS_LAST_ADMIN, ERROR_LAST_ADMIN,
  263. STATUS_WRONG_PASSWORD, ERROR_INVALID_PASSWORD,
  264. STATUS_WRONG_PASSWORD_CORE, ERROR_INVALID_PASSWORD,
  265. STATUS_ILL_FORMED_PASSWORD, ERROR_ILL_FORMED_PASSWORD,
  266. STATUS_PASSWORD_RESTRICTION, ERROR_PASSWORD_RESTRICTION,
  267. STATUS_PASSWORD_EXPIRED, ERROR_PASSWORD_EXPIRED,
  268. STATUS_PASSWORD_MUST_CHANGE, ERROR_PASSWORD_MUST_CHANGE,
  269. STATUS_ACCOUNT_DISABLED, ERROR_ACCOUNT_DISABLED,
  270. STATUS_ACCOUNT_LOCKED_OUT, ERROR_ACCOUNT_LOCKED_OUT,
  271. STATUS_NONE_MAPPED, ERROR_NONE_MAPPED,
  272. STATUS_TOO_MANY_LUIDS_REQUESTED, ERROR_TOO_MANY_LUIDS_REQUESTED,
  273. STATUS_LUIDS_EXHAUSTED, ERROR_LUIDS_EXHAUSTED,
  274. STATUS_INVALID_SUB_AUTHORITY, ERROR_INVALID_SUB_AUTHORITY,
  275. STATUS_INVALID_ACL, ERROR_INVALID_ACL,
  276. STATUS_INVALID_SID, ERROR_INVALID_SID,
  277. STATUS_INVALID_SECURITY_DESCR, ERROR_INVALID_SECURITY_DESCR,
  278. STATUS_PROCEDURE_NOT_FOUND, ERROR_PROC_NOT_FOUND,
  279. STATUS_BAD_INITIAL_PC, ERROR_BAD_EXE_FORMAT,
  280. STATUS_INVALID_FILE_FOR_SECTION, ERROR_BAD_EXE_FORMAT,
  281. STATUS_INVALID_IMAGE_FORMAT, ERROR_BAD_EXE_FORMAT,
  282. STATUS_IMAGE_MP_UP_MISMATCH, ERROR_BAD_EXE_FORMAT,
  283. STATUS_INVALID_IMAGE_NOT_MZ, ERROR_BAD_EXE_FORMAT,
  284. STATUS_IMAGE_CHECKSUM_MISMATCH, ERROR_BAD_EXE_FORMAT,
  285. STATUS_INVALID_IMAGE_PROTECT, ERROR_BAD_EXE_FORMAT,
  286. STATUS_INVALID_IMAGE_LE_FORMAT, ERROR_BAD_EXE_FORMAT,
  287. STATUS_INVALID_IMAGE_NE_FORMAT, ERROR_BAD_EXE_FORMAT,
  288. STATUS_INVALID_IMAGE_WIN_16, ERROR_BAD_EXE_FORMAT,
  289. STATUS_INVALID_IMAGE_WIN_32, ERROR_BAD_EXE_FORMAT,
  290. STATUS_INVALID_IMAGE_WIN_64, ERROR_BAD_EXE_FORMAT,
  291. STATUS_NO_TOKEN, ERROR_NO_TOKEN,
  292. STATUS_RANGE_NOT_LOCKED, ERROR_NOT_LOCKED,
  293. STATUS_SERVER_DISABLED, ERROR_SERVER_DISABLED,
  294. STATUS_SERVER_NOT_DISABLED, ERROR_SERVER_NOT_DISABLED,
  295. STATUS_INVALID_ID_AUTHORITY, ERROR_INVALID_ID_AUTHORITY,
  296. STATUS_ALLOTTED_SPACE_EXCEEDED, ERROR_ALLOTTED_SPACE_EXCEEDED,
  297. STATUS_TOO_MANY_PAGING_FILES, ERROR_NOT_ENOUGH_MEMORY,
  298. STATUS_INSUFFICIENT_RESOURCES, ERROR_NO_SYSTEM_RESOURCES,
  299. STATUS_INSUFF_SERVER_RESOURCES, ERROR_NOT_ENOUGH_SERVER_MEMORY,
  300. STATUS_FILE_INVALID, ERROR_FILE_INVALID,
  301. STATUS_MAPPED_FILE_SIZE_ZERO, ERROR_FILE_INVALID,
  302. STATUS_DEVICE_PAPER_EMPTY, ERROR_OUT_OF_PAPER,
  303. STATUS_DEVICE_POWERED_OFF, ERROR_NOT_READY,
  304. STATUS_DEVICE_OFF_LINE, ERROR_NOT_READY,
  305. STATUS_DEVICE_DATA_ERROR, ERROR_CRC,
  306. STATUS_DEVICE_NOT_READY, ERROR_NOT_READY,
  307. STATUS_DEVICE_NOT_CONNECTED, ERROR_DEVICE_NOT_CONNECTED,
  308. STATUS_DEVICE_POWER_FAILURE, ERROR_NOT_READY,
  309. STATUS_NOT_FOUND, ERROR_NOT_FOUND,
  310. STATUS_NO_MATCH, ERROR_NO_MATCH,
  311. STATUS_PROPSET_NOT_FOUND, ERROR_SET_NOT_FOUND,
  312. STATUS_DEVICE_BUSY, ERROR_BUSY, // FIX, FIX - is there a better choice?
  313. STATUS_FREE_VM_NOT_AT_BASE, ERROR_INVALID_ADDRESS,
  314. STATUS_MEMORY_NOT_ALLOCATED, ERROR_INVALID_ADDRESS,
  315. STATUS_NOT_SAME_DEVICE, ERROR_NOT_SAME_DEVICE,
  316. STATUS_NOT_SUPPORTED, ERROR_NOT_SUPPORTED,
  317. STATUS_REMOTE_NOT_LISTENING, ERROR_REM_NOT_LIST,
  318. STATUS_DUPLICATE_NAME, ERROR_DUP_NAME,
  319. STATUS_BAD_NETWORK_PATH, ERROR_BAD_NETPATH,
  320. STATUS_NETWORK_BUSY, ERROR_NETWORK_BUSY,
  321. STATUS_ONLY_IF_CONNECTED, ERROR_ONLY_IF_CONNECTED,
  322. STATUS_DEVICE_DOES_NOT_EXIST, ERROR_DEV_NOT_EXIST,
  323. STATUS_TOO_MANY_COMMANDS, ERROR_TOO_MANY_CMDS,
  324. STATUS_ADAPTER_HARDWARE_ERROR, ERROR_ADAP_HDW_ERR,
  325. STATUS_REDIRECTOR_NOT_STARTED, ERROR_PATH_NOT_FOUND,
  326. STATUS_INVALID_EA_NAME, ERROR_INVALID_EA_NAME,
  327. STATUS_EA_LIST_INCONSISTENT, ERROR_EA_LIST_INCONSISTENT,
  328. STATUS_EA_TOO_LARGE, ERROR_EA_LIST_INCONSISTENT,
  329. STATUS_INVALID_EA_FLAG, ERROR_EA_LIST_INCONSISTENT,
  330. STATUS_EAS_NOT_SUPPORTED, ERROR_EAS_NOT_SUPPORTED,
  331. STATUS_FILE_CORRUPT_ERROR, ERROR_FILE_CORRUPT,
  332. STATUS_EA_CORRUPT_ERROR, ERROR_FILE_CORRUPT,
  333. STATUS_NONEXISTENT_EA_ENTRY, ERROR_FILE_CORRUPT,
  334. STATUS_NO_EAS_ON_FILE, ERROR_FILE_CORRUPT,
  335. STATUS_NOT_A_REPARSE_POINT, ERROR_NOT_A_REPARSE_POINT,
  336. STATUS_IO_REPARSE_TAG_INVALID, ERROR_REPARSE_TAG_INVALID,
  337. STATUS_IO_REPARSE_TAG_MISMATCH, ERROR_REPARSE_TAG_MISMATCH,
  338. STATUS_IO_REPARSE_TAG_NOT_HANDLED, ERROR_CANT_ACCESS_FILE,
  339. STATUS_REPARSE_POINT_NOT_RESOLVED, ERROR_CANT_RESOLVE_FILENAME,
  340. STATUS_DIRECTORY_IS_A_REPARSE_POINT, ERROR_BAD_PATHNAME,
  341. STATUS_REPARSE_ATTRIBUTE_CONFLICT, ERROR_REPARSE_ATTRIBUTE_CONFLICT,
  342. STATUS_IO_REPARSE_DATA_INVALID, ERROR_INVALID_REPARSE_DATA,
  343. STATUS_FILE_IS_OFFLINE, ERROR_FILE_OFFLINE,
  344. STATUS_REMOTE_STORAGE_NOT_ACTIVE, ERROR_REMOTE_STORAGE_NOT_ACTIVE,
  345. STATUS_REMOTE_STORAGE_MEDIA_ERROR, ERROR_REMOTE_STORAGE_MEDIA_ERROR,
  346. STATUS_NO_TRACKING_SERVICE, ERROR_NO_TRACKING_SERVICE,
  347. STATUS_JOURNAL_DELETE_IN_PROGRESS, ERROR_JOURNAL_DELETE_IN_PROGRESS,
  348. STATUS_JOURNAL_NOT_ACTIVE, ERROR_JOURNAL_NOT_ACTIVE,
  349. STATUS_JOURNAL_ENTRY_DELETED, ERROR_JOURNAL_ENTRY_DELETED,
  350. STATUS_INVALID_NETWORK_RESPONSE, ERROR_BAD_NET_RESP,
  351. STATUS_USER_SESSION_DELETED, ERROR_UNEXP_NET_ERR,
  352. STATUS_UNEXPECTED_NETWORK_ERROR, ERROR_UNEXP_NET_ERR,
  353. STATUS_USER_SESSION_DELETED, ERROR_UNEXP_NET_ERR,
  354. STATUS_BAD_REMOTE_ADAPTER, ERROR_BAD_REM_ADAP,
  355. STATUS_PRINT_QUEUE_FULL, ERROR_PRINTQ_FULL,
  356. STATUS_NO_SPOOL_SPACE, ERROR_NO_SPOOL_SPACE,
  357. STATUS_PRINT_CANCELLED, ERROR_PRINT_CANCELLED,
  358. STATUS_NETWORK_NAME_DELETED, ERROR_NETNAME_DELETED,
  359. STATUS_NETWORK_ACCESS_DENIED, ERROR_NETWORK_ACCESS_DENIED,
  360. STATUS_BAD_DEVICE_TYPE, ERROR_BAD_DEV_TYPE,
  361. STATUS_BAD_NETWORK_NAME, ERROR_BAD_NET_NAME,
  362. STATUS_TOO_MANY_NAMES, ERROR_TOO_MANY_NAMES,
  363. STATUS_TOO_MANY_GUIDS_REQUESTED, ERROR_TOO_MANY_NAMES,
  364. STATUS_TOO_MANY_ADDRESSES, ERROR_TOO_MANY_NAMES,
  365. STATUS_TOO_MANY_NODES, ERROR_TOO_MANY_NAMES,
  366. STATUS_TOO_MANY_SESSIONS, ERROR_TOO_MANY_SESS,
  367. STATUS_SHARING_PAUSED, ERROR_SHARING_PAUSED,
  368. STATUS_REQUEST_NOT_ACCEPTED, ERROR_REQ_NOT_ACCEP,
  369. STATUS_REDIRECTOR_PAUSED, ERROR_REDIR_PAUSED,
  370. STATUS_NET_WRITE_FAULT, ERROR_NET_WRITE_FAULT,
  371. STATUS_VIRTUAL_CIRCUIT_CLOSED, ERROR_VC_DISCONNECTED,
  372. STATUS_INVALID_PIPE_STATE, ERROR_BAD_PIPE,
  373. STATUS_INVALID_READ_MODE, ERROR_BAD_PIPE,
  374. STATUS_PIPE_CLOSING, ERROR_NO_DATA,
  375. STATUS_PIPE_EMPTY, ERROR_NO_DATA,
  376. STATUS_PIPE_CONNECTED, ERROR_PIPE_CONNECTED,
  377. STATUS_PIPE_DISCONNECTED, ERROR_PIPE_NOT_CONNECTED,
  378. STATUS_PIPE_LISTENING, ERROR_PIPE_LISTENING,
  379. STATUS_PIPE_NOT_AVAILABLE, ERROR_PIPE_BUSY,
  380. STATUS_INSTANCE_NOT_AVAILABLE, ERROR_PIPE_BUSY,
  381. STATUS_PIPE_BUSY, ERROR_PIPE_BUSY,
  382. STATUS_PIPE_BROKEN, ERROR_BROKEN_PIPE,
  383. STATUS_DIRECTORY_NOT_EMPTY, ERROR_DIR_NOT_EMPTY,
  384. STATUS_TOO_MANY_OPENED_FILES, ERROR_TOO_MANY_OPEN_FILES,
  385. STATUS_IO_TIMEOUT, ERROR_SEM_TIMEOUT,
  386. STATUS_CANCELLED, ERROR_OPERATION_ABORTED,
  387. STATUS_UNRECOGNIZED_MEDIA, ERROR_UNRECOGNIZED_MEDIA,
  388. STATUS_INVALID_LEVEL, ERROR_INVALID_LEVEL,
  389. STATUS_UNRECOGNIZED_VOLUME, ERROR_UNRECOGNIZED_VOLUME,
  390. STATUS_MEDIA_WRITE_PROTECTED, ERROR_WRITE_PROTECT,
  391. STATUS_TOO_LATE, ERROR_WRITE_PROTECT,
  392. STATUS_SUCCESS, NO_ERROR,
  393. STATUS_FULLSCREEN_MODE, ERROR_FULLSCREEN_MODE,
  394. STATUS_END_OF_MEDIA, ERROR_END_OF_MEDIA,
  395. STATUS_EOM_OVERFLOW, ERROR_EOM_OVERFLOW,
  396. STATUS_BEGINNING_OF_MEDIA, ERROR_BEGINNING_OF_MEDIA,
  397. STATUS_MEDIA_CHANGED, ERROR_MEDIA_CHANGED,
  398. STATUS_BUS_RESET, ERROR_BUS_RESET,
  399. STATUS_FILEMARK_DETECTED, ERROR_FILEMARK_DETECTED,
  400. STATUS_SETMARK_DETECTED, ERROR_SETMARK_DETECTED,
  401. STATUS_NO_DATA_DETECTED, ERROR_NO_DATA_DETECTED,
  402. STATUS_PARTITION_FAILURE, ERROR_PARTITION_FAILURE,
  403. STATUS_INVALID_BLOCK_LENGTH, ERROR_INVALID_BLOCK_LENGTH,
  404. STATUS_DEVICE_NOT_PARTITIONED, ERROR_DEVICE_NOT_PARTITIONED,
  405. STATUS_UNABLE_TO_LOCK_MEDIA, ERROR_UNABLE_TO_LOCK_MEDIA,
  406. STATUS_UNABLE_TO_UNLOAD_MEDIA, ERROR_UNABLE_TO_UNLOAD_MEDIA,
  407. STATUS_UNMAPPABLE_CHARACTER, ERROR_NO_UNICODE_TRANSLATION,
  408. STATUS_NOT_ALL_ASSIGNED, ERROR_NOT_ALL_ASSIGNED,
  409. STATUS_SOME_NOT_MAPPED, ERROR_SOME_NOT_MAPPED,
  410. STATUS_NO_QUOTAS_FOR_ACCOUNT, ERROR_NO_QUOTAS_FOR_ACCOUNT,
  411. STATUS_LOCAL_USER_SESSION_KEY, ERROR_LOCAL_USER_SESSION_KEY,
  412. STATUS_NULL_LM_PASSWORD, ERROR_NULL_LM_PASSWORD,
  413. STATUS_BAD_INHERITANCE_ACL, ERROR_BAD_INHERITANCE_ACL,
  414. STATUS_INVALID_GROUP_ATTRIBUTES, ERROR_INVALID_GROUP_ATTRIBUTES,
  415. STATUS_BAD_IMPERSONATION_LEVEL, ERROR_BAD_IMPERSONATION_LEVEL,
  416. STATUS_CANT_OPEN_ANONYMOUS, ERROR_CANT_OPEN_ANONYMOUS,
  417. STATUS_BAD_VALIDATION_CLASS, ERROR_BAD_VALIDATION_CLASS,
  418. STATUS_BAD_TOKEN_TYPE, ERROR_BAD_TOKEN_TYPE,
  419. STATUS_BAD_MASTER_BOOT_RECORD, ERROR_INVALID_PARAMETER,
  420. STATUS_NO_SECURITY_ON_OBJECT, ERROR_NO_SECURITY_ON_OBJECT,
  421. STATUS_CANT_ACCESS_DOMAIN_INFO, ERROR_CANT_ACCESS_DOMAIN_INFO,
  422. STATUS_INVALID_SERVER_STATE, ERROR_INVALID_SERVER_STATE,
  423. STATUS_INVALID_DOMAIN_STATE, ERROR_INVALID_DOMAIN_STATE,
  424. STATUS_INVALID_DOMAIN_ROLE, ERROR_INVALID_DOMAIN_ROLE,
  425. STATUS_NO_SUCH_DOMAIN, ERROR_NO_SUCH_DOMAIN,
  426. STATUS_DOMAIN_EXISTS, ERROR_DOMAIN_EXISTS,
  427. STATUS_DOMAIN_LIMIT_EXCEEDED, ERROR_DOMAIN_LIMIT_EXCEEDED,
  428. STATUS_OPLOCK_NOT_GRANTED, ERROR_OPLOCK_NOT_GRANTED,
  429. STATUS_INVALID_OPLOCK_PROTOCOL, ERROR_INVALID_OPLOCK_PROTOCOL,
  430. STATUS_INTERNAL_DB_CORRUPTION, ERROR_INTERNAL_DB_CORRUPTION,
  431. STATUS_INTERNAL_ERROR, ERROR_INTERNAL_ERROR,
  432. STATUS_GENERIC_NOT_MAPPED, ERROR_GENERIC_NOT_MAPPED,
  433. STATUS_BAD_DESCRIPTOR_FORMAT, ERROR_BAD_DESCRIPTOR_FORMAT,
  434. STATUS_NOT_LOGON_PROCESS, ERROR_NOT_LOGON_PROCESS,
  435. STATUS_LOGON_SESSION_EXISTS, ERROR_LOGON_SESSION_EXISTS,
  436. STATUS_NO_SUCH_PACKAGE, ERROR_NO_SUCH_PACKAGE,
  437. STATUS_BAD_LOGON_SESSION_STATE, ERROR_BAD_LOGON_SESSION_STATE,
  438. STATUS_LOGON_SESSION_COLLISION, ERROR_LOGON_SESSION_COLLISION,
  439. STATUS_INVALID_LOGON_TYPE, ERROR_INVALID_LOGON_TYPE,
  440. STATUS_RXACT_INVALID_STATE, ERROR_RXACT_INVALID_STATE,
  441. STATUS_RXACT_COMMIT_FAILURE, ERROR_RXACT_COMMIT_FAILURE,
  442. STATUS_SPECIAL_ACCOUNT, ERROR_SPECIAL_ACCOUNT,
  443. STATUS_SPECIAL_USER, ERROR_SPECIAL_USER,
  444. STATUS_MEMBERS_PRIMARY_GROUP, ERROR_MEMBERS_PRIMARY_GROUP,
  445. STATUS_TOKEN_ALREADY_IN_USE, ERROR_TOKEN_ALREADY_IN_USE,
  446. STATUS_NO_SUCH_ALIAS, ERROR_NO_SUCH_ALIAS,
  447. STATUS_MEMBER_NOT_IN_ALIAS, ERROR_MEMBER_NOT_IN_ALIAS,
  448. STATUS_MEMBER_IN_ALIAS, ERROR_MEMBER_IN_ALIAS,
  449. STATUS_ALIAS_EXISTS, ERROR_ALIAS_EXISTS,
  450. STATUS_LOGON_NOT_GRANTED, ERROR_LOGON_NOT_GRANTED,
  451. STATUS_TOO_MANY_SECRETS, ERROR_TOO_MANY_SECRETS,
  452. STATUS_SECRET_TOO_LONG, ERROR_SECRET_TOO_LONG,
  453. STATUS_INTERNAL_DB_ERROR, ERROR_INTERNAL_DB_ERROR,
  454. STATUS_TOO_MANY_CONTEXT_IDS, ERROR_TOO_MANY_CONTEXT_IDS,
  455. STATUS_LOGON_TYPE_NOT_GRANTED, ERROR_LOGON_TYPE_NOT_GRANTED,
  456. STATUS_NT_CROSS_ENCRYPTION_REQUIRED, ERROR_NT_CROSS_ENCRYPTION_REQUIRED,
  457. STATUS_NO_SUCH_MEMBER, ERROR_NO_SUCH_MEMBER,
  458. STATUS_INVALID_MEMBER, ERROR_INVALID_MEMBER,
  459. STATUS_TOO_MANY_SIDS, ERROR_TOO_MANY_SIDS,
  460. STATUS_LM_CROSS_ENCRYPTION_REQUIRED, ERROR_LM_CROSS_ENCRYPTION_REQUIRED,
  461. STATUS_MESSAGE_NOT_FOUND, ERROR_MR_MID_NOT_FOUND,
  462. STATUS_LOCAL_DISCONNECT, ERROR_NETNAME_DELETED,
  463. STATUS_REMOTE_DISCONNECT, ERROR_NETNAME_DELETED,
  464. STATUS_REMOTE_RESOURCES, ERROR_REM_NOT_LIST,
  465. STATUS_LINK_FAILED, ERROR_UNEXP_NET_ERR,
  466. STATUS_LINK_TIMEOUT, ERROR_UNEXP_NET_ERR,
  467. STATUS_INVALID_CONNECTION, ERROR_UNEXP_NET_ERR,
  468. STATUS_INVALID_ADDRESS, ERROR_UNEXP_NET_ERR,
  469. STATUS_IO_DEVICE_ERROR, ERROR_IO_DEVICE,
  470. STATUS_DEVICE_PROTOCOL_ERROR, ERROR_IO_DEVICE,
  471. STATUS_DRIVER_INTERNAL_ERROR, ERROR_IO_DEVICE,
  472. STATUS_INVALID_DEVICE_STATE, ERROR_BAD_COMMAND,
  473. STATUS_DEVICE_CONFIGURATION_ERROR, ERROR_INVALID_PARAMETER,
  474. STATUS_SOURCE_ELEMENT_EMPTY, ERROR_SOURCE_ELEMENT_EMPTY,
  475. STATUS_DESTINATION_ELEMENT_FULL, ERROR_DESTINATION_ELEMENT_FULL,
  476. STATUS_ILLEGAL_ELEMENT_ADDRESS, ERROR_ILLEGAL_ELEMENT_ADDRESS,
  477. STATUS_MAGAZINE_NOT_PRESENT, ERROR_MAGAZINE_NOT_PRESENT,
  478. STATUS_REINITIALIZATION_NEEDED, ERROR_DEVICE_REINITIALIZATION_NEEDED,
  479. STATUS_DEVICE_REQUIRES_CLEANING, ERROR_DEVICE_REQUIRES_CLEANING,
  480. STATUS_DEVICE_DOOR_OPEN, ERROR_DEVICE_DOOR_OPEN,
  481. STATUS_TRANSPORT_FULL, ERROR_TRANSPORT_FULL,
  482. STATUS_CLEANER_CARTRIDGE_INSTALLED, ERROR_CLEANER_CARTRIDGE_INSTALLED,
  483. STATUS_REG_NAT_CONSUMPTION, ERROR_REG_NAT_CONSUMPTION,
  484. STATUS_ENCRYPTION_FAILED, ERROR_ACCESS_DENIED,
  485. STATUS_DECRYPTION_FAILED, ERROR_ACCESS_DENIED,
  486. STATUS_NO_RECOVERY_POLICY, ERROR_ACCESS_DENIED,
  487. STATUS_NO_EFS, ERROR_ACCESS_DENIED,
  488. STATUS_WRONG_EFS, ERROR_ACCESS_DENIED,
  489. STATUS_NO_USER_KEYS, ERROR_ACCESS_DENIED,
  490. STATUS_FILE_NOT_ENCRYPTED, ERROR_FILE_NOT_ENCRYPTED,
  491. STATUS_NOT_EXPORT_FORMAT, ERROR_NOT_EXPORT_FORMAT,
  492. STATUS_FILE_ENCRYPTED, ERROR_FILE_ENCRYPTED,
  493. STATUS_EFS_ALG_BLOB_TOO_BIG, ERROR_EFS_ALG_BLOB_TOO_BIG,
  494. STATUS_INVALID_USER_BUFFER, ERROR_INVALID_USER_BUFFER,
  495. STATUS_SERIAL_NO_DEVICE_INITED, ERROR_SERIAL_NO_DEVICE,
  496. STATUS_SHARED_IRQ_BUSY, ERROR_IRQ_BUSY,
  497. STATUS_SERIAL_MORE_WRITES, ERROR_MORE_WRITES,
  498. STATUS_SERIAL_COUNTER_TIMEOUT, ERROR_COUNTER_TIMEOUT,
  499. STATUS_FLOPPY_ID_MARK_NOT_FOUND, ERROR_FLOPPY_ID_MARK_NOT_FOUND,
  500. STATUS_FLOPPY_WRONG_CYLINDER, ERROR_FLOPPY_WRONG_CYLINDER,
  501. STATUS_FLOPPY_UNKNOWN_ERROR, ERROR_FLOPPY_UNKNOWN_ERROR,
  502. STATUS_FLOPPY_BAD_REGISTERS, ERROR_FLOPPY_BAD_REGISTERS,
  503. STATUS_DISK_RECALIBRATE_FAILED, ERROR_DISK_RECALIBRATE_FAILED,
  504. STATUS_DISK_OPERATION_FAILED, ERROR_DISK_OPERATION_FAILED,
  505. STATUS_DISK_RESET_FAILED, ERROR_DISK_RESET_FAILED,
  506. STATUS_EVENTLOG_FILE_CORRUPT, ERROR_EVENTLOG_FILE_CORRUPT,
  507. STATUS_EVENTLOG_CANT_START, ERROR_EVENTLOG_CANT_START,
  508. STATUS_NETLOGON_NOT_STARTED, ERROR_NETLOGON_NOT_STARTED,
  509. STATUS_ACCOUNT_EXPIRED, ERROR_ACCOUNT_EXPIRED,
  510. STATUS_NETWORK_CREDENTIAL_CONFLICT, ERROR_SESSION_CREDENTIAL_CONFLICT,
  511. STATUS_REMOTE_SESSION_LIMIT, ERROR_REMOTE_SESSION_LIMIT_EXCEEDED,
  512. STATUS_INVALID_BUFFER_SIZE, ERROR_INVALID_USER_BUFFER,
  513. STATUS_INVALID_ADDRESS_COMPONENT, ERROR_INVALID_NETNAME,
  514. STATUS_INVALID_ADDRESS_WILDCARD, ERROR_INVALID_NETNAME,
  515. STATUS_ADDRESS_ALREADY_EXISTS, ERROR_DUP_NAME,
  516. STATUS_ADDRESS_CLOSED, ERROR_NETNAME_DELETED,
  517. STATUS_CONNECTION_DISCONNECTED, ERROR_NETNAME_DELETED,
  518. STATUS_CONNECTION_RESET, ERROR_NETNAME_DELETED,
  519. STATUS_TRANSACTION_ABORTED, ERROR_UNEXP_NET_ERR,
  520. STATUS_TRANSACTION_TIMED_OUT, ERROR_UNEXP_NET_ERR,
  521. STATUS_TRANSACTION_NO_RELEASE, ERROR_UNEXP_NET_ERR,
  522. STATUS_TRANSACTION_NO_MATCH, ERROR_UNEXP_NET_ERR,
  523. STATUS_TRANSACTION_RESPONDED, ERROR_UNEXP_NET_ERR,
  524. STATUS_TRANSACTION_INVALID_ID, ERROR_UNEXP_NET_ERR,
  525. STATUS_TRANSACTION_INVALID_TYPE, ERROR_UNEXP_NET_ERR,
  526. STATUS_NOT_SERVER_SESSION, ERROR_NOT_SUPPORTED,
  527. STATUS_NOT_CLIENT_SESSION, ERROR_NOT_SUPPORTED,
  528. STATUS_USER_MAPPED_FILE, ERROR_USER_MAPPED_FILE,
  529. STATUS_PLUGPLAY_NO_DEVICE, ERROR_SERVICE_DISABLED,
  530. STATUS_WMI_GUID_NOT_FOUND, ERROR_WMI_GUID_NOT_FOUND,
  531. STATUS_WMI_INSTANCE_NOT_FOUND, ERROR_WMI_INSTANCE_NOT_FOUND,
  532. STATUS_WMI_ITEMID_NOT_FOUND, ERROR_WMI_ITEMID_NOT_FOUND,
  533. STATUS_WMI_TRY_AGAIN, ERROR_WMI_TRY_AGAIN,
  534. STATUS_WMI_READ_ONLY, ERROR_WMI_READ_ONLY,
  535. STATUS_WMI_SET_FAILURE, ERROR_WMI_SET_FAILURE,
  536. STATUS_WMI_NOT_SUPPORTED, ERROR_NOT_SUPPORTED,
  537. STATUS_WMI_GUID_DISCONNECTED, ERROR_WMI_GUID_DISCONNECTED,
  538. STATUS_WMI_ALREADY_DISABLED, ERROR_WMI_ALREADY_DISABLED,
  539. STATUS_WMI_ALREADY_ENABLED, ERROR_WMI_ALREADY_ENABLED,
  540. STATUS_COPY_PROTECTION_FAILURE , STG_E_STATUS_COPY_PROTECTION_FAILURE,
  541. STATUS_CSS_AUTHENTICATION_FAILURE , STG_E_CSS_AUTHENTICATION_FAILURE,
  542. STATUS_CSS_KEY_NOT_PRESENT , STG_E_CSS_KEY_NOT_PRESENT,
  543. STATUS_CSS_KEY_NOT_ESTABLISHED , STG_E_CSS_KEY_NOT_ESTABLISHED,
  544. STATUS_CSS_SCRAMBLED_SECTOR , STG_E_CSS_SCRAMBLED_SECTOR,
  545. STATUS_CSS_REGION_MISMATCH , STG_E_CSS_REGION_MISMATCH,
  546. STATUS_CSS_RESETS_EXHAUSTED , STG_E_RESETS_EXHAUSTED,
  547. RPC_NT_SERVER_UNAVAILABLE, RPC_S_SERVER_UNAVAILABLE,
  548. RPC_NT_INVALID_STRING_BINDING, RPC_S_INVALID_STRING_BINDING,
  549. RPC_NT_WRONG_KIND_OF_BINDING, RPC_S_WRONG_KIND_OF_BINDING,
  550. RPC_NT_PROTSEQ_NOT_SUPPORTED, RPC_S_PROTSEQ_NOT_SUPPORTED,
  551. RPC_NT_INVALID_RPC_PROTSEQ, RPC_S_INVALID_RPC_PROTSEQ,
  552. RPC_NT_INVALID_STRING_UUID, RPC_S_INVALID_STRING_UUID,
  553. RPC_NT_INVALID_ENDPOINT_FORMAT, RPC_S_INVALID_ENDPOINT_FORMAT,
  554. RPC_NT_INVALID_NET_ADDR, RPC_S_INVALID_NET_ADDR,
  555. RPC_NT_NO_ENDPOINT_FOUND, RPC_S_NO_ENDPOINT_FOUND,
  556. RPC_NT_INVALID_TIMEOUT, RPC_S_INVALID_TIMEOUT,
  557. RPC_NT_OBJECT_NOT_FOUND, RPC_S_OBJECT_NOT_FOUND,
  558. RPC_NT_ALREADY_REGISTERED, RPC_S_ALREADY_REGISTERED,
  559. RPC_NT_TYPE_ALREADY_REGISTERED, RPC_S_TYPE_ALREADY_REGISTERED,
  560. RPC_NT_ALREADY_LISTENING, RPC_S_ALREADY_LISTENING,
  561. RPC_NT_NO_PROTSEQS_REGISTERED, RPC_S_NO_PROTSEQS_REGISTERED,
  562. RPC_NT_NOT_LISTENING, RPC_S_NOT_LISTENING,
  563. RPC_NT_UNKNOWN_MGR_TYPE, RPC_S_UNKNOWN_MGR_TYPE,
  564. RPC_NT_UNKNOWN_IF, RPC_S_UNKNOWN_IF,
  565. RPC_NT_NO_BINDINGS, RPC_S_NO_BINDINGS,
  566. RPC_NT_NO_MORE_BINDINGS, RPC_S_NO_MORE_BINDINGS,
  567. RPC_NT_NO_PROTSEQS, RPC_S_NO_PROTSEQS,
  568. RPC_NT_CANT_CREATE_ENDPOINT, RPC_S_CANT_CREATE_ENDPOINT,
  569. RPC_NT_OUT_OF_RESOURCES, RPC_S_OUT_OF_RESOURCES,
  570. RPC_NT_SERVER_TOO_BUSY, RPC_S_SERVER_TOO_BUSY,
  571. RPC_NT_INVALID_NETWORK_OPTIONS, RPC_S_INVALID_NETWORK_OPTIONS,
  572. RPC_NT_NO_CALL_ACTIVE, RPC_S_NO_CALL_ACTIVE,
  573. RPC_NT_CALL_FAILED, RPC_S_CALL_FAILED,
  574. RPC_NT_CALL_FAILED_DNE, RPC_S_CALL_FAILED_DNE,
  575. RPC_NT_PROTOCOL_ERROR, RPC_S_PROTOCOL_ERROR,
  576. RPC_NT_UNSUPPORTED_TRANS_SYN, RPC_S_UNSUPPORTED_TRANS_SYN,
  577. RPC_NT_UNSUPPORTED_TYPE, RPC_S_UNSUPPORTED_TYPE,
  578. RPC_NT_INVALID_TAG, RPC_S_INVALID_TAG,
  579. RPC_NT_INVALID_BOUND, RPC_S_INVALID_BOUND,
  580. RPC_NT_NO_ENTRY_NAME, RPC_S_NO_ENTRY_NAME,
  581. RPC_NT_INVALID_NAME_SYNTAX, RPC_S_INVALID_NAME_SYNTAX,
  582. RPC_NT_UNSUPPORTED_NAME_SYNTAX, RPC_S_UNSUPPORTED_NAME_SYNTAX,
  583. RPC_NT_UUID_NO_ADDRESS, RPC_S_UUID_NO_ADDRESS,
  584. RPC_NT_DUPLICATE_ENDPOINT, RPC_S_DUPLICATE_ENDPOINT,
  585. RPC_NT_UNKNOWN_AUTHN_TYPE, RPC_S_UNKNOWN_AUTHN_TYPE,
  586. RPC_NT_MAX_CALLS_TOO_SMALL, RPC_S_MAX_CALLS_TOO_SMALL,
  587. RPC_NT_STRING_TOO_LONG, RPC_S_STRING_TOO_LONG,
  588. RPC_NT_PROTSEQ_NOT_FOUND, RPC_S_PROTSEQ_NOT_FOUND,
  589. RPC_NT_PROCNUM_OUT_OF_RANGE, RPC_S_PROCNUM_OUT_OF_RANGE,
  590. RPC_NT_BINDING_HAS_NO_AUTH, RPC_S_BINDING_HAS_NO_AUTH,
  591. RPC_NT_UNKNOWN_AUTHN_SERVICE, RPC_S_UNKNOWN_AUTHN_SERVICE,
  592. RPC_NT_UNKNOWN_AUTHN_LEVEL, RPC_S_UNKNOWN_AUTHN_LEVEL,
  593. RPC_NT_INVALID_AUTH_IDENTITY, RPC_S_INVALID_AUTH_IDENTITY,
  594. RPC_NT_UNKNOWN_AUTHZ_SERVICE, RPC_S_UNKNOWN_AUTHZ_SERVICE,
  595. EPT_NT_INVALID_ENTRY, EPT_S_INVALID_ENTRY,
  596. EPT_NT_CANT_PERFORM_OP, EPT_S_CANT_PERFORM_OP,
  597. EPT_NT_NOT_REGISTERED, EPT_S_NOT_REGISTERED,
  598. RPC_NT_NOTHING_TO_EXPORT, RPC_S_NOTHING_TO_EXPORT,
  599. RPC_NT_INCOMPLETE_NAME, RPC_S_INCOMPLETE_NAME,
  600. RPC_NT_INVALID_VERS_OPTION, RPC_S_INVALID_VERS_OPTION,
  601. RPC_NT_NO_MORE_MEMBERS, RPC_S_NO_MORE_MEMBERS,
  602. RPC_NT_NOT_ALL_OBJS_UNEXPORTED, RPC_S_NOT_ALL_OBJS_UNEXPORTED,
  603. RPC_NT_INTERFACE_NOT_FOUND, RPC_S_INTERFACE_NOT_FOUND,
  604. RPC_NT_ENTRY_ALREADY_EXISTS, RPC_S_ENTRY_ALREADY_EXISTS,
  605. RPC_NT_ENTRY_NOT_FOUND, RPC_S_ENTRY_NOT_FOUND,
  606. RPC_NT_NAME_SERVICE_UNAVAILABLE, RPC_S_NAME_SERVICE_UNAVAILABLE,
  607. RPC_NT_INVALID_NAF_ID, RPC_S_INVALID_NAF_ID,
  608. RPC_NT_CANNOT_SUPPORT, RPC_S_CANNOT_SUPPORT,
  609. RPC_NT_NO_CONTEXT_AVAILABLE, RPC_S_NO_CONTEXT_AVAILABLE,
  610. RPC_NT_INTERNAL_ERROR, RPC_S_INTERNAL_ERROR,
  611. RPC_NT_ZERO_DIVIDE, RPC_S_ZERO_DIVIDE,
  612. RPC_NT_ADDRESS_ERROR, RPC_S_ADDRESS_ERROR,
  613. RPC_NT_FP_DIV_ZERO, RPC_S_FP_DIV_ZERO,
  614. RPC_NT_FP_UNDERFLOW, RPC_S_FP_UNDERFLOW,
  615. RPC_NT_FP_OVERFLOW, RPC_S_FP_OVERFLOW,
  616. RPC_NT_NO_MORE_ENTRIES, RPC_X_NO_MORE_ENTRIES,
  617. RPC_NT_SS_CHAR_TRANS_OPEN_FAIL, RPC_X_SS_CHAR_TRANS_OPEN_FAIL,
  618. RPC_NT_SS_CHAR_TRANS_SHORT_FILE, RPC_X_SS_CHAR_TRANS_SHORT_FILE,
  619. RPC_NT_SS_CONTEXT_MISMATCH, ERROR_INVALID_HANDLE,
  620. RPC_NT_SS_CONTEXT_DAMAGED, RPC_X_SS_CONTEXT_DAMAGED,
  621. RPC_NT_SS_HANDLES_MISMATCH, RPC_X_SS_HANDLES_MISMATCH,
  622. RPC_NT_SS_CANNOT_GET_CALL_HANDLE, RPC_X_SS_CANNOT_GET_CALL_HANDLE,
  623. RPC_NT_NULL_REF_POINTER, RPC_X_NULL_REF_POINTER,
  624. RPC_NT_ENUM_VALUE_OUT_OF_RANGE, RPC_X_ENUM_VALUE_OUT_OF_RANGE,
  625. RPC_NT_BYTE_COUNT_TOO_SMALL, RPC_X_BYTE_COUNT_TOO_SMALL,
  626. RPC_NT_BAD_STUB_DATA, RPC_X_BAD_STUB_DATA,
  627. RPC_NT_INVALID_OBJECT, RPC_S_INVALID_OBJECT,
  628. STATUS_NO_TRUST_LSA_SECRET, ERROR_NO_TRUST_LSA_SECRET,
  629. STATUS_NO_TRUST_SAM_ACCOUNT, ERROR_NO_TRUST_SAM_ACCOUNT,
  630. STATUS_TRUSTED_DOMAIN_FAILURE, ERROR_TRUSTED_DOMAIN_FAILURE,
  631. STATUS_TRUSTED_RELATIONSHIP_FAILURE, ERROR_TRUSTED_RELATIONSHIP_FAILURE,
  632. STATUS_TRUST_FAILURE, ERROR_TRUST_FAILURE,
  633. RPC_NT_CALL_IN_PROGRESS, RPC_S_CALL_IN_PROGRESS,
  634. STATUS_LOG_FILE_FULL, ERROR_LOG_FILE_FULL,
  635. STATUS_EVENTLOG_FILE_CHANGED, ERROR_EVENTLOG_FILE_CHANGED,
  636. STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT, ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,
  637. STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT, ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT,
  638. STATUS_NOLOGON_SERVER_TRUST_ACCOUNT, ERROR_NOLOGON_SERVER_TRUST_ACCOUNT,
  639. STATUS_DOMAIN_TRUST_INCONSISTENT, ERROR_DOMAIN_TRUST_INCONSISTENT,
  640. STATUS_NO_USER_SESSION_KEY, ERROR_NO_USER_SESSION_KEY,
  641. STATUS_POSSIBLE_DEADLOCK, ERROR_POSSIBLE_DEADLOCK,
  642. STATUS_IMAGE_ALREADY_LOADED, ERROR_SERVICE_ALREADY_RUNNING,
  643. RPC_NT_GROUP_MEMBER_NOT_FOUND, RPC_S_GROUP_MEMBER_NOT_FOUND,
  644. RPC_NT_NO_INTERFACES, RPC_S_NO_INTERFACES,
  645. RPC_NT_CALL_CANCELLED, RPC_S_CALL_CANCELLED,
  646. RPC_NT_BINDING_INCOMPLETE, RPC_S_BINDING_INCOMPLETE,
  647. RPC_NT_COMM_FAILURE, RPC_S_COMM_FAILURE,
  648. RPC_NT_UNSUPPORTED_AUTHN_LEVEL, RPC_S_UNSUPPORTED_AUTHN_LEVEL,
  649. RPC_NT_NO_PRINC_NAME, RPC_S_NO_PRINC_NAME,
  650. RPC_NT_NOT_RPC_ERROR, RPC_S_NOT_RPC_ERROR,
  651. RPC_NT_UUID_LOCAL_ONLY, RPC_S_UUID_LOCAL_ONLY,
  652. RPC_NT_SEC_PKG_ERROR, RPC_S_SEC_PKG_ERROR,
  653. RPC_NT_NOT_CANCELLED, RPC_S_NOT_CANCELLED,
  654. RPC_NT_INVALID_ES_ACTION, RPC_X_INVALID_ES_ACTION,
  655. RPC_NT_WRONG_ES_VERSION, RPC_X_WRONG_ES_VERSION,
  656. RPC_NT_WRONG_STUB_VERSION, RPC_X_WRONG_STUB_VERSION,
  657. RPC_NT_INVALID_PIPE_OBJECT, RPC_X_INVALID_PIPE_OBJECT,
  658. RPC_NT_INVALID_PIPE_OPERATION, RPC_X_INVALID_PIPE_OPERATION,
  659. RPC_NT_WRONG_PIPE_VERSION, RPC_X_WRONG_PIPE_VERSION,
  660. EPT_NT_CANT_CREATE, EPT_S_CANT_CREATE,
  661. RPC_NT_SEND_INCOMPLETE, RPC_S_SEND_INCOMPLETE,
  662. RPC_NT_INVALID_ASYNC_HANDLE, RPC_S_INVALID_ASYNC_HANDLE,
  663. RPC_NT_INVALID_ASYNC_CALL, RPC_S_INVALID_ASYNC_CALL,
  664. RPC_NT_PIPE_CLOSED, RPC_X_PIPE_CLOSED,
  665. RPC_NT_PIPE_EMPTY, RPC_X_PIPE_EMPTY,
  666. RPC_NT_PIPE_DISCIPLINE_ERROR, RPC_X_PIPE_DISCIPLINE_ERROR,
  667. STATUS_NO_BROWSER_SERVERS_FOUND, ERROR_NO_BROWSER_SERVERS_FOUND,
  668. STATUS_MAPPED_ALIGNMENT, ERROR_MAPPED_ALIGNMENT,
  669. STATUS_CONNECTION_IN_USE, ERROR_DEVICE_IN_USE,
  670. STATUS_VERIFY_REQUIRED, ERROR_MEDIA_CHANGED,
  671. STATUS_ALREADY_DISCONNECTED, ERROR_ACTIVE_CONNECTIONS,
  672. STATUS_CONNECTION_REFUSED, ERROR_CONNECTION_REFUSED,
  673. STATUS_GRACEFUL_DISCONNECT, ERROR_GRACEFUL_DISCONNECT,
  674. STATUS_ADDRESS_ALREADY_ASSOCIATED, ERROR_ADDRESS_ALREADY_ASSOCIATED,
  675. STATUS_ADDRESS_NOT_ASSOCIATED, ERROR_ADDRESS_NOT_ASSOCIATED,
  676. STATUS_CONNECTION_INVALID, ERROR_CONNECTION_INVALID,
  677. STATUS_CONNECTION_ACTIVE, ERROR_CONNECTION_ACTIVE,
  678. STATUS_NETWORK_UNREACHABLE, ERROR_NETWORK_UNREACHABLE,
  679. STATUS_HOST_UNREACHABLE, ERROR_HOST_UNREACHABLE,
  680. STATUS_HOST_DOWN, ERROR_HOST_DOWN,
  681. STATUS_PROTOCOL_UNREACHABLE, ERROR_PROTOCOL_UNREACHABLE,
  682. STATUS_PORT_UNREACHABLE, ERROR_PORT_UNREACHABLE,
  683. STATUS_REQUEST_ABORTED, ERROR_REQUEST_ABORTED,
  684. STATUS_CONNECTION_ABORTED, ERROR_CONNECTION_ABORTED,
  685. STATUS_CONNECTION_COUNT_LIMIT, ERROR_CONNECTION_COUNT_LIMIT,
  686. STATUS_PATH_NOT_COVERED, ERROR_HOST_UNREACHABLE,
  687. STATUS_LOGIN_TIME_RESTRICTION, ERROR_LOGIN_TIME_RESTRICTION,
  688. STATUS_LOGIN_WKSTA_RESTRICTION, ERROR_LOGIN_WKSTA_RESTRICTION,
  689. STATUS_LICENSE_QUOTA_EXCEEDED, ERROR_LICENSE_QUOTA_EXCEEDED,
  690. STATUS_RESOURCE_NOT_OWNED, ERROR_NOT_OWNER,
  691. STATUS_DUPLICATE_OBJECTID, STATUS_DUPLICATE_OBJECTID,
  692. STATUS_OBJECTID_EXISTS, STATUS_OBJECTID_EXISTS,
  693. STATUS_OBJECTID_NOT_FOUND, ERROR_FILE_NOT_FOUND,
  694. STATUS_MFT_TOO_FRAGMENTED, ERROR_DISK_TOO_FRAGMENTED,
  695. SEC_E_INSUFFICIENT_MEMORY, ERROR_NO_SYSTEM_RESOURCES,
  696. SEC_E_INVALID_HANDLE, ERROR_INVALID_HANDLE,
  697. SEC_E_UNSUPPORTED_FUNCTION, ERROR_INVALID_FUNCTION,
  698. SEC_E_TARGET_UNKNOWN, ERROR_BAD_NETPATH,
  699. SEC_E_INTERNAL_ERROR, ERROR_INTERNAL_ERROR,
  700. SEC_E_SECPKG_NOT_FOUND, ERROR_NO_SUCH_PACKAGE,
  701. SEC_E_NOT_OWNER, ERROR_NOT_OWNER,
  702. SEC_E_CANNOT_INSTALL, ERROR_NO_SUCH_PACKAGE,
  703. SEC_E_INVALID_TOKEN, ERROR_INVALID_PARAMETER,
  704. SEC_E_CANNOT_PACK, ERROR_INVALID_PARAMETER,
  705. SEC_E_QOP_NOT_SUPPORTED, ERROR_NOT_SUPPORTED,
  706. SEC_E_NO_IMPERSONATION, ERROR_CANNOT_IMPERSONATE,
  707. SEC_E_MULTIPLE_ACCOUNTS, ERROR_CANNOT_IMPERSONATE,
  708. SEC_E_LOGON_DENIED, ERROR_LOGON_FAILURE,
  709. SEC_E_UNKNOWN_CREDENTIALS, ERROR_INVALID_PARAMETER,
  710. SEC_E_INCOMPLETE_CREDENTIALS, ERROR_INVALID_PARAMETER,
  711. SEC_E_NO_CREDENTIALS, ERROR_NO_SUCH_LOGON_SESSION,
  712. SEC_E_MESSAGE_ALTERED, ERROR_ACCESS_DENIED,
  713. SEC_E_OUT_OF_SEQUENCE, ERROR_ACCESS_DENIED,
  714. SEC_E_NO_AUTHENTICATING_AUTHORITY, ERROR_NO_LOGON_SERVERS,
  715. SEC_E_BAD_PKGID, ERROR_NO_SUCH_PACKAGE,
  716. SEC_E_WRONG_PRINCIPAL, ERROR_WRONG_TARGET_NAME,
  717. SEC_E_INCOMPLETE_MESSAGE, ERROR_INVALID_USER_BUFFER,
  718. SEC_E_BUFFER_TOO_SMALL, ERROR_INSUFFICIENT_BUFFER,
  719. SEC_E_UNTRUSTED_ROOT, ERROR_TRUST_FAILURE,
  720. SEC_E_ILLEGAL_MESSAGE, ERROR_INVALID_PARAMETER,
  721. SEC_E_CERT_UNKNOWN, ERROR_INVALID_PARAMETER,
  722. SEC_E_CERT_EXPIRED, ERROR_PASSWORD_EXPIRED,
  723. SEC_E_ENCRYPT_FAILURE, ERROR_ENCRYPTION_FAILED,
  724. SEC_E_DECRYPT_FAILURE, ERROR_DECRYPTION_FAILED,
  725. SEC_E_ALGORITHM_MISMATCH, ERROR_INVALID_FUNCTION,
  726. SEC_E_CONTEXT_EXPIRED, ERROR_CONTEXT_EXPIRED,
  727. STATUS_BAD_BINDINGS, SEC_E_BAD_BINDINGS,
  728. TRUST_E_CERT_SIGNATURE, ERROR_MUTUAL_AUTH_FAILED,
  729. CRYPT_E_REVOKED, ERROR_MUTUAL_AUTH_FAILED,
  730. CRYPT_E_NO_REVOCATION_CHECK, ERROR_MUTUAL_AUTH_FAILED,
  731. CRYPT_E_REVOCATION_OFFLINE, ERROR_MUTUAL_AUTH_FAILED,
  732. STATUS_SHUTDOWN_IN_PROGRESS, ERROR_SHUTDOWN_IN_PROGRESS,
  733. STATUS_SERVER_SHUTDOWN_IN_PROGRESS, ERROR_SERVER_SHUTDOWN_IN_PROGRESS,
  734. STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY,ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY,
  735. STATUS_DS_NO_ATTRIBUTE_OR_VALUE,ERROR_DS_NO_ATTRIBUTE_OR_VALUE,
  736. STATUS_DS_INVALID_ATTRIBUTE_SYNTAX,ERROR_DS_INVALID_ATTRIBUTE_SYNTAX,
  737. STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED,ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED,
  738. STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS,ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS,
  739. STATUS_DS_BUSY,ERROR_DS_BUSY,
  740. STATUS_DS_UNAVAILABLE,ERROR_DS_UNAVAILABLE,
  741. STATUS_DS_NO_RIDS_ALLOCATED,ERROR_DS_NO_RIDS_ALLOCATED,
  742. STATUS_DS_NO_MORE_RIDS,ERROR_DS_NO_MORE_RIDS,
  743. STATUS_DS_INCORRECT_ROLE_OWNER,ERROR_DS_INCORRECT_ROLE_OWNER,
  744. STATUS_DS_RIDMGR_INIT_ERROR,ERROR_DS_RIDMGR_INIT_ERROR,
  745. STATUS_DS_OBJ_CLASS_VIOLATION,ERROR_DS_OBJ_CLASS_VIOLATION,
  746. STATUS_DS_CANT_ON_NON_LEAF,ERROR_DS_CANT_ON_NON_LEAF,
  747. STATUS_DS_CANT_ON_RDN,ERROR_DS_CANT_ON_RDN,
  748. STATUS_DS_CROSS_DOM_MOVE_FAILED,ERROR_DS_CROSS_DOM_MOVE_ERROR,
  749. STATUS_DS_GC_NOT_AVAILABLE,ERROR_DS_GC_NOT_AVAILABLE,
  750. STATUS_DS_CANT_MOD_OBJ_CLASS, ERROR_DS_CANT_MOD_OBJ_CLASS,
  751. STATUS_DS_ADMIN_LIMIT_EXCEEDED, ERROR_DS_ADMIN_LIMIT_EXCEEDED,
  752. STATUS_DIRECTORY_SERVICE_REQUIRED, ERROR_DS_DS_REQUIRED,
  753. STATUS_DS_SAM_INIT_FAILURE, ERROR_DS_SAM_INIT_FAILURE,
  754. STATUS_DS_CANT_START, ERROR_DS_CANT_START,
  755. STATUS_DS_INIT_FAILURE, ERROR_DS_INIT_FAILURE,
  756. STATUS_SAM_INIT_FAILURE, ERROR_SAM_INIT_FAILURE,
  757. STATUS_DS_SENSITIVE_GROUP_VIOLATION, ERROR_DS_SENSITIVE_GROUP_VIOLATION,
  758. STATUS_DS_CANT_MOD_PRIMARYGROUPID, ERROR_DS_CANT_MOD_PRIMARYGROUPID,
  759. STATUS_DS_INVALID_GROUP_TYPE, ERROR_DS_INVALID_GROUP_TYPE,
  760. STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN,
  761. STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN, ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN,
  762. STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER,
  763. STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER,
  764. STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER, ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER,
  765. STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER,
  766. STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER,
  767. STATUS_DS_HAVE_PRIMARY_MEMBERS, ERROR_DS_HAVE_PRIMARY_MEMBERS,
  768. STATUS_DS_GC_REQUIRED, ERROR_DS_GC_REQUIRED,
  769. STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY, ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY,
  770. STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS, ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS,
  771. STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED, ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED,
  772. STATUS_SAM_NEED_BOOTKEY_PASSWORD, ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD,
  773. STATUS_SAM_NEED_BOOTKEY_FLOPPY, ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY,
  774. STATUS_DS_INIT_FAILURE_CONSOLE, ERROR_DS_INIT_FAILURE_CONSOLE,
  775. STATUS_DS_SAM_INIT_FAILURE_CONSOLE, ERROR_DS_SAM_INIT_FAILURE_CONSOLE,
  776. STATUS_UNFINISHED_CONTEXT_DELETED, SEC_E_UNFINISHED_CONTEXT_DELETED,
  777. STATUS_NO_TGT_REPLY, SEC_E_NO_TGT_REPLY,
  778. STATUS_NO_IP_ADDRESSES, SEC_E_NO_IP_ADDRESSES,
  779. STATUS_WRONG_CREDENTIAL_HANDLE, SEC_E_WRONG_CREDENTIAL_HANDLE,
  780. STATUS_CRYPTO_SYSTEM_INVALID, SEC_E_CRYPTO_SYSTEM_INVALID,
  781. STATUS_MAX_REFERRALS_EXCEEDED, SEC_E_MAX_REFERRALS_EXCEEDED,
  782. STATUS_MUST_BE_KDC, SEC_E_MUST_BE_KDC,
  783. STATUS_STRONG_CRYPTO_NOT_SUPPORTED, SEC_E_STRONG_CRYPTO_NOT_SUPPORTED,
  784. STATUS_TOO_MANY_PRINCIPALS, SEC_E_TOO_MANY_PRINCIPALS,
  785. STATUS_NO_PA_DATA, SEC_E_NO_PA_DATA,
  786. STATUS_PKINIT_NAME_MISMATCH, SEC_E_PKINIT_NAME_MISMATCH,
  787. STATUS_SMARTCARD_LOGON_REQUIRED, SEC_E_SMARTCARD_LOGON_REQUIRED,
  788. STATUS_KDC_INVALID_REQUEST, SEC_E_KDC_INVALID_REQUEST,
  789. STATUS_KDC_UNABLE_TO_REFER, SEC_E_KDC_UNABLE_TO_REFER,
  790. STATUS_KDC_UNKNOWN_ETYPE, SEC_E_KDC_UNKNOWN_ETYPE,
  791. STATUS_UNSUPPORTED_PREAUTH, SEC_E_UNSUPPORTED_PREAUTH,
  792. STATUS_SHARED_POLICY,ERROR_SHARED_POLICY,
  793. STATUS_POLICY_OBJECT_NOT_FOUND,ERROR_POLICY_OBJECT_NOT_FOUND,
  794. STATUS_POLICY_ONLY_IN_DS,ERROR_POLICY_ONLY_IN_DS,
  795. STATUS_DEVICE_REMOVED,ERROR_DEVICE_REMOVED,
  796. STATUS_RETRY,ERROR_RETRY,
  797. STATUS_NOT_SUPPORTED_ON_SBS, ERROR_NOT_SUPPORTED_ON_SBS,
  798. STATUS_DRIVER_BLOCKED_CRITICAL, ERROR_DRIVER_BLOCKED,
  799. STATUS_DRIVER_BLOCKED, ERROR_DRIVER_BLOCKED,
  800. STATUS_PRENT4_MACHINE_ACCOUNT, ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4,
  801. STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER, ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER,
  802. STATUS_DS_SHUTTING_DOWN, ERROR_DS_SHUTTING_DOWN,
  803. STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT, ERROR_ACCESS_DISABLED_BY_POLICY,
  804. STATUS_ACCESS_DISABLED_BY_POLICY_PATH, ERROR_ACCESS_DISABLED_BY_POLICY,
  805. STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER, ERROR_ACCESS_DISABLED_BY_POLICY,
  806. STATUS_ACCESS_DISABLED_BY_POLICY_OTHER, ERROR_ACCESS_DISABLED_BY_POLICY,
  807. STATUS_FAIL_CHECK, ERROR_INVALID_PARAMETER,
  808. // Terminal Server Entries
  809. STATUS_CTX_CLOSE_PENDING, ERROR_CTX_CLOSE_PENDING,
  810. STATUS_CTX_NO_OUTBUF, ERROR_CTX_NO_OUTBUF,
  811. STATUS_CTX_MODEM_INF_NOT_FOUND, ERROR_CTX_MODEM_INF_NOT_FOUND,
  812. STATUS_CTX_INVALID_MODEMNAME, ERROR_CTX_INVALID_MODEMNAME,
  813. STATUS_CTX_RESPONSE_ERROR, ERROR_CTX_MODEM_RESPONSE_ERROR,
  814. STATUS_CTX_MODEM_RESPONSE_TIMEOUT, ERROR_CTX_MODEM_RESPONSE_TIMEOUT,
  815. STATUS_CTX_MODEM_RESPONSE_NO_CARRIER, ERROR_CTX_MODEM_RESPONSE_NO_CARRIER,
  816. STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE, ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE,
  817. STATUS_CTX_MODEM_RESPONSE_BUSY, ERROR_CTX_MODEM_RESPONSE_BUSY,
  818. STATUS_CTX_MODEM_RESPONSE_VOICE, ERROR_CTX_MODEM_RESPONSE_VOICE,
  819. STATUS_CTX_TD_ERROR, ERROR_CTX_TD_ERROR,
  820. STATUS_LPC_REPLY_LOST, ERROR_CONNECTION_ABORTED,
  821. STATUS_CTX_WINSTATION_NAME_INVALID, ERROR_CTX_WINSTATION_NAME_INVALID,
  822. STATUS_CTX_WINSTATION_NOT_FOUND, ERROR_CTX_WINSTATION_NOT_FOUND,
  823. STATUS_CTX_WINSTATION_NAME_COLLISION, ERROR_CTX_WINSTATION_ALREADY_EXISTS,
  824. STATUS_CTX_WINSTATION_BUSY, ERROR_CTX_WINSTATION_BUSY,
  825. STATUS_CTX_GRAPHICS_INVALID, ERROR_CTX_GRAPHICS_INVALID,
  826. STATUS_CTX_BAD_VIDEO_MODE, ERROR_CTX_BAD_VIDEO_MODE,
  827. STATUS_CTX_NOT_CONSOLE, ERROR_CTX_NOT_CONSOLE,
  828. STATUS_CTX_CLIENT_QUERY_TIMEOUT, ERROR_CTX_CLIENT_QUERY_TIMEOUT,
  829. STATUS_CTX_CONSOLE_DISCONNECT, ERROR_CTX_CONSOLE_DISCONNECT,
  830. STATUS_CTX_CONSOLE_CONNECT, ERROR_CTX_CONSOLE_CONNECT,
  831. STATUS_CTX_SHADOW_DENIED, ERROR_CTX_SHADOW_DENIED,
  832. STATUS_CTX_SHADOW_INVALID, ERROR_CTX_SHADOW_INVALID,
  833. STATUS_CTX_SHADOW_DISABLED, ERROR_CTX_SHADOW_DISABLED,
  834. STATUS_CTX_WINSTATION_ACCESS_DENIED, ERROR_CTX_WINSTATION_ACCESS_DENIED,
  835. STATUS_CTX_INVALID_PD, ERROR_CTX_INVALID_PD,
  836. STATUS_CTX_PD_NOT_FOUND, ERROR_CTX_PD_NOT_FOUND,
  837. STATUS_CTX_INVALID_WD, ERROR_CTX_INVALID_WD,
  838. STATUS_CTX_WD_NOT_FOUND, ERROR_CTX_WD_NOT_FOUND,
  839. STATUS_CTX_CLIENT_LICENSE_IN_USE, ERROR_CTX_CLIENT_LICENSE_IN_USE,
  840. STATUS_CTX_CLIENT_LICENSE_NOT_SET, ERROR_CTX_CLIENT_LICENSE_NOT_SET,
  841. STATUS_CTX_LICENSE_NOT_AVAILABLE, ERROR_CTX_LICENSE_NOT_AVAILABLE,
  842. STATUS_CTX_LICENSE_CLIENT_INVALID, ERROR_CTX_LICENSE_CLIENT_INVALID,
  843. STATUS_CTX_LICENSE_EXPIRED, ERROR_CTX_LICENSE_EXPIRED,
  844. STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE, ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE,
  845. STATUS_CTX_SHADOW_NOT_RUNNING, ERROR_CTX_SHADOW_NOT_RUNNING,
  846. STATUS_LICENSE_VIOLATION, ERROR_CTX_LICENSE_NOT_AVAILABLE,
  847. // Smb Server Entries
  848. STATUS_ENDPOINT_CLOSED, ERROR_DEV_NOT_EXIST,
  849. STATUS_DISCONNECTED, ERROR_DEV_NOT_EXIST,
  850. STATUS_NONEXISTENT_NET_NAME, ERROR_DEV_NOT_EXIST,
  851. STATUS_NETWORK_SESSION_EXPIRED, ERROR_NO_USER_SESSION_KEY,
  852. STATUS_FILES_OPEN, ERROR_OPEN_FILES,
  853. STATUS_SXS_SECTION_NOT_FOUND, ERROR_SXS_SECTION_NOT_FOUND,
  854. STATUS_SXS_CANT_GEN_ACTCTX, ERROR_SXS_CANT_GEN_ACTCTX,
  855. STATUS_SXS_INVALID_ACTCTXDATA_FORMAT, ERROR_SXS_INVALID_ACTCTXDATA_FORMAT,
  856. STATUS_SXS_ASSEMBLY_NOT_FOUND, ERROR_SXS_ASSEMBLY_NOT_FOUND,
  857. STATUS_SXS_MANIFEST_FORMAT_ERROR, ERROR_SXS_MANIFEST_FORMAT_ERROR,
  858. STATUS_SXS_MANIFEST_PARSE_ERROR, ERROR_SXS_MANIFEST_PARSE_ERROR,
  859. STATUS_SXS_ACTIVATION_CONTEXT_DISABLED, ERROR_SXS_ACTIVATION_CONTEXT_DISABLED,
  860. STATUS_SXS_KEY_NOT_FOUND, ERROR_SXS_KEY_NOT_FOUND,
  861. STATUS_SXS_WRONG_SECTION_TYPE, ERROR_SXS_WRONG_SECTION_TYPE,
  862. STATUS_SXS_THREAD_QUERIES_DISABLED, ERROR_SXS_THREAD_QUERIES_DISABLED,
  863. STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET, ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET,
  864. STATUS_REDIRECTOR_STARTED, ERROR_SERVICE_ALREADY_RUNNING,
  865. STATUS_AUDITING_DISABLED, ERROR_AUDITING_DISABLED,
  866. // Cluster Entries
  867. STATUS_CLUSTER_NODE_ALREADY_UP, ERROR_CLUSTER_NODE_ALREADY_UP,
  868. STATUS_CLUSTER_NODE_ALREADY_DOWN, ERROR_CLUSTER_NODE_ALREADY_DOWN,
  869. STATUS_CLUSTER_NETWORK_ALREADY_ONLINE, ERROR_CLUSTER_NETWORK_ALREADY_ONLINE,
  870. STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE, ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE,
  871. STATUS_CLUSTER_NODE_ALREADY_MEMBER, ERROR_CLUSTER_NODE_ALREADY_MEMBER,
  872. STATUS_CLUSTER_INVALID_NODE, ERROR_CLUSTER_INVALID_NODE,
  873. STATUS_CLUSTER_NODE_EXISTS, ERROR_CLUSTER_NODE_EXISTS,
  874. STATUS_CLUSTER_JOIN_IN_PROGRESS, ERROR_CLUSTER_JOIN_IN_PROGRESS,
  875. STATUS_CLUSTER_NODE_NOT_FOUND, ERROR_CLUSTER_NODE_NOT_FOUND,
  876. STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND, ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND,
  877. STATUS_CLUSTER_NETWORK_EXISTS, ERROR_CLUSTER_NETWORK_EXISTS,
  878. STATUS_CLUSTER_NETWORK_NOT_FOUND, ERROR_CLUSTER_NETWORK_NOT_FOUND,
  879. STATUS_CLUSTER_NETINTERFACE_EXISTS, ERROR_CLUSTER_NETINTERFACE_EXISTS,
  880. STATUS_CLUSTER_NETINTERFACE_NOT_FOUND, ERROR_CLUSTER_NETINTERFACE_NOT_FOUND,
  881. STATUS_CLUSTER_INVALID_REQUEST, ERROR_CLUSTER_INVALID_REQUEST,
  882. STATUS_CLUSTER_INVALID_NETWORK_PROVIDER,ERROR_CLUSTER_INVALID_NETWORK_PROVIDER,
  883. STATUS_CLUSTER_NODE_DOWN, ERROR_CLUSTER_NODE_DOWN,
  884. STATUS_CLUSTER_NODE_UNREACHABLE, ERROR_CLUSTER_NODE_UNREACHABLE,
  885. STATUS_CLUSTER_NODE_NOT_MEMBER, ERROR_CLUSTER_NODE_NOT_MEMBER,
  886. STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS, ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS,
  887. STATUS_CLUSTER_INVALID_NETWORK, ERROR_CLUSTER_INVALID_NETWORK,
  888. STATUS_CLUSTER_NODE_UP, ERROR_CLUSTER_NODE_UP,
  889. STATUS_CLUSTER_NODE_PAUSED, ERROR_CLUSTER_NODE_PAUSED,
  890. STATUS_CLUSTER_NODE_NOT_PAUSED, ERROR_CLUSTER_NODE_NOT_PAUSED,
  891. STATUS_CLUSTER_NO_SECURITY_CONTEXT, ERROR_CLUSTER_NO_SECURITY_CONTEXT,
  892. STATUS_CLUSTER_NETWORK_NOT_INTERNAL, ERROR_CLUSTER_NETWORK_NOT_INTERNAL,
  893. 0xffffffff, 0
  894. };