mshtml: Added IHTMLDocument7::getElementsByClassName implementation.
[wine.git] / dlls / ntdll / error.c
blob2d6ce4162e52f4fa909d55649ca8ebdaf6dd187d
1 /*
2 * NTDLL error handling
4 * Copyright 2000 Alexandre Julliard
5 * Copyright 2002 Andriy Palamarchuk
6 * Copyright 2010 André Hentschel
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include "config.h"
24 #include "wine/port.h"
25 #include <stdarg.h>
27 #include "ntstatus.h"
28 #define WIN32_NO_STATUS
29 #include "windef.h"
30 #include "winternl.h"
31 #include "winerror.h"
32 #include "wine/debug.h"
34 WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
36 struct error_table
38 DWORD start;
39 DWORD end;
40 const DWORD *table;
43 static const struct error_table error_table[29];
45 /**************************************************************************
46 * RtlNtStatusToDosErrorNoTeb (NTDLL.@)
48 * Convert an NTSTATUS code to a Win32 error code.
50 * PARAMS
51 * status [I] Nt error code to map.
53 * RETURNS
54 * The mapped Win32 error code, or ERROR_MR_MID_NOT_FOUND if there is no
55 * mapping defined.
57 ULONG WINAPI RtlNtStatusToDosErrorNoTeb( NTSTATUS status )
59 const struct error_table *table = error_table;
61 if (!status || (status & 0x20000000)) return status;
63 /* 0xd... is equivalent to 0xc... */
64 if ((status & 0xf0000000) == 0xd0000000) status &= ~0x10000000;
66 while (table->start)
68 if (status < table->start) break;
69 if (status < table->end)
71 DWORD ret = table->table[status - table->start];
72 /* unknown entries are 0 */
73 if (!ret) goto no_mapping;
74 return ret;
76 table++;
79 /* now some special cases */
80 if (HIWORD(status) == 0xc001) return LOWORD(status);
81 if (HIWORD(status) == 0x8007) return LOWORD(status);
83 no_mapping:
84 FIXME( "no mapping for %08x\n", status );
85 return ERROR_MR_MID_NOT_FOUND;
88 /**************************************************************************
89 * RtlNtStatusToDosError (NTDLL.@)
91 * Convert an NTSTATUS code to a Win32 error code.
93 * PARAMS
94 * status [I] Nt error code to map.
96 * RETURNS
97 * The mapped Win32 error code, or ERROR_MR_MID_NOT_FOUND if there is no
98 * mapping defined.
100 ULONG WINAPI RtlNtStatusToDosError( NTSTATUS status )
102 NtCurrentTeb()->LastStatusValue = status;
103 return RtlNtStatusToDosErrorNoTeb( status );
106 /**********************************************************************
107 * RtlGetLastNtStatus (NTDLL.@)
109 * Get the current per-thread status.
111 NTSTATUS WINAPI RtlGetLastNtStatus(void)
113 return NtCurrentTeb()->LastStatusValue;
116 /**********************************************************************
117 * RtlGetLastWin32Error (NTDLL.@)
119 * Get the current per-thread error value set by a system function or the user.
121 * PARAMS
122 * None.
124 * RETURNS
125 * The current error value for the thread, as set by SetLastWin32Error() or SetLastError().
127 DWORD WINAPI RtlGetLastWin32Error(void)
129 return NtCurrentTeb()->LastErrorValue;
132 /**********************************************************************
133 * NtRaiseHardError (NTDLL.@)
135 NTSTATUS WINAPI NtRaiseHardError( NTSTATUS ErrorStatus, ULONG NumberOfParameters,
136 PUNICODE_STRING UnicodeStringParameterMask, PVOID *Parameters,
137 HARDERROR_RESPONSE_OPTION ResponseOption, PHARDERROR_RESPONSE Response )
139 FIXME(": stub. Errorstatus was %08x\n", ErrorStatus);
140 return STATUS_NOT_IMPLEMENTED;
143 /***********************************************************************
144 * RtlSetLastWin32Error (NTDLL.@)
145 * RtlRestoreLastWin32Error (NTDLL.@)
147 * Set the per-thread error value.
149 * PARAMS
150 * err [I] The new error value to set
152 * RETURNS
153 * Nothing.
155 void WINAPI RtlSetLastWin32Error( DWORD err )
157 NtCurrentTeb()->LastErrorValue = err;
160 /***********************************************************************
161 * RtlSetLastWin32ErrorAndNtStatusFromNtStatus (NTDLL.@)
163 * Set the per-thread status and error values.
165 * PARAMS
166 * err [I] The new status value to set
168 * RETURNS
169 * Nothing.
171 void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus( NTSTATUS status )
173 NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError( status );
176 /* conversion tables */
178 static const DWORD table_00000001[3] =
180 ERROR_WAIT_1, /* 00000001 (STATUS_WAIT_1) */
181 ERROR_WAIT_2, /* 00000002 (STATUS_WAIT_2) */
182 ERROR_WAIT_3 /* 00000003 (STATUS_WAIT_3) */
185 static const DWORD table_0000003f[1] =
187 ERROR_WAIT_63 /* 0000003f (STATUS_WAIT_63) */
190 static const DWORD table_00000080[1] =
192 ERROR_WAIT_NO_CHILDREN /* 00000080 (STATUS_ABANDONED_WAIT_0) */
195 static const DWORD table_000000bf[2] =
197 ERROR_ABANDONED_WAIT_63, /* 000000bf (STATUS_ABANDONED_WAIT_63) */
198 ERROR_USER_APC /* 000000c0 (STATUS_USER_APC) */
201 static const DWORD table_00000100[34] =
203 ERROR_KERNEL_APC, /* 00000100 (STATUS_KERNEL_APC) */
204 ERROR_ALERTED, /* 00000101 (STATUS_ALERTED) */
205 ERROR_TIMEOUT, /* 00000102 (STATUS_TIMEOUT) */
206 ERROR_IO_PENDING, /* 00000103 (STATUS_PENDING) */
207 ERROR_REPARSE, /* 00000104 (STATUS_REPARSE) */
208 ERROR_MORE_DATA, /* 00000105 (STATUS_MORE_ENTRIES) */
209 ERROR_NOT_ALL_ASSIGNED, /* 00000106 (STATUS_NOT_ALL_ASSIGNED) */
210 ERROR_SOME_NOT_MAPPED, /* 00000107 (STATUS_SOME_NOT_MAPPED) */
211 ERROR_OPLOCK_BREAK_IN_PROGRESS, /* 00000108 (STATUS_OPLOCK_BREAK_IN_PROGRESS) */
212 ERROR_VOLUME_MOUNTED, /* 00000109 (STATUS_VOLUME_MOUNTED) */
213 ERROR_RXACT_COMMITTED, /* 0000010a (STATUS_RXACT_COMMITTED) */
214 ERROR_NOTIFY_CLEANUP, /* 0000010b (STATUS_NOTIFY_CLEANUP) */
215 ERROR_NOTIFY_ENUM_DIR, /* 0000010c (STATUS_NOTIFY_ENUM_DIR) */
216 ERROR_NO_QUOTAS_FOR_ACCOUNT, /* 0000010d (STATUS_NO_QUOTAS_FOR_ACCOUNT) */
217 ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED, /* 0000010e (STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED) */
218 0, /* 0000010f */
219 ERROR_PAGE_FAULT_TRANSITION, /* 00000110 (STATUS_PAGE_FAULT_TRANSITION) */
220 ERROR_PAGE_FAULT_DEMAND_ZERO, /* 00000111 (STATUS_PAGE_FAULT_DEMAND_ZERO) */
221 ERROR_PAGE_FAULT_COPY_ON_WRITE, /* 00000112 (STATUS_PAGE_FAULT_COPY_ON_WRITE) */
222 ERROR_PAGE_FAULT_GUARD_PAGE, /* 00000113 (STATUS_PAGE_FAULT_GUARD_PAGE) */
223 ERROR_PAGE_FAULT_PAGING_FILE, /* 00000114 (STATUS_PAGE_FAULT_PAGING_FILE) */
224 ERROR_CACHE_PAGE_LOCKED, /* 00000115 (STATUS_CACHE_PAGE_LOCKED) */
225 ERROR_CRASH_DUMP, /* 00000116 (STATUS_CRASH_DUMP) */
226 ERROR_BUFFER_ALL_ZEROS, /* 00000117 (STATUS_BUFFER_ALL_ZEROS) */
227 ERROR_REPARSE_OBJECT, /* 00000118 (STATUS_REPARSE_OBJECT) */
228 ERROR_RESOURCE_REQUIREMENTS_CHANGED, /* 00000119 (STATUS_RESOURCE_REQUIREMENTS_CHANGED) */
229 0, /* 0000011a */
230 0, /* 0000011b */
231 0, /* 0000011c */
232 0, /* 0000011d */
233 0, /* 0000011e */
234 0, /* 0000011f */
235 ERROR_TRANSLATION_COMPLETE, /* 00000120 (STATUS_TRANSLATION_COMPLETE) */
236 ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY /* 00000121 (STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY) */
239 static const DWORD table_00010001[2] =
241 ERROR_DBG_EXCEPTION_HANDLED, /* 00010001 (DBG_EXCEPTION_HANDLED) */
242 ERROR_DBG_CONTINUE /* 00010002 (DBG_CONTINUE) */
245 static const DWORD table_40000000[45] =
247 ERROR_OBJECT_NAME_EXISTS, /* 40000000 (STATUS_OBJECT_NAME_EXISTS) */
248 ERROR_THREAD_WAS_SUSPENDED, /* 40000001 (STATUS_THREAD_WAS_SUSPENDED) */
249 ERROR_INVALID_PARAMETER, /* 40000002 (STATUS_WORKING_SET_LIMIT_RANGE) */
250 ERROR_IMAGE_NOT_AT_BASE, /* 40000003 (STATUS_IMAGE_NOT_AT_BASE) */
251 ERROR_RXACT_STATE_CREATED, /* 40000004 (STATUS_RXACT_STATE_CREATED) */
252 ERROR_SEGMENT_NOTIFICATION, /* 40000005 (STATUS_SEGMENT_NOTIFICATION) */
253 ERROR_LOCAL_USER_SESSION_KEY, /* 40000006 (STATUS_LOCAL_USER_SESSION_KEY) */
254 ERROR_BAD_CURRENT_DIRECTORY, /* 40000007 (STATUS_BAD_CURRENT_DIRECTORY) */
255 ERROR_MORE_WRITES, /* 40000008 (STATUS_SERIAL_MORE_WRITES) */
256 ERROR_REGISTRY_RECOVERED, /* 40000009 (STATUS_REGISTRY_RECOVERED) */
257 ERROR_FT_READ_RECOVERY_FROM_BACKUP, /* 4000000a (STATUS_FT_READ_RECOVERY_FROM_BACKUP) */
258 ERROR_FT_WRITE_RECOVERY, /* 4000000b (STATUS_FT_WRITE_RECOVERY) */
259 ERROR_COUNTER_TIMEOUT, /* 4000000c (STATUS_SERIAL_COUNTER_TIMEOUT) */
260 ERROR_NULL_LM_PASSWORD, /* 4000000d (STATUS_NULL_LM_PASSWORD) */
261 ERROR_IMAGE_MACHINE_TYPE_MISMATCH, /* 4000000e (STATUS_IMAGE_MACHINE_TYPE_MISMATCH) */
262 ERROR_RECEIVE_PARTIAL, /* 4000000f (STATUS_RECEIVE_PARTIAL) */
263 ERROR_RECEIVE_EXPEDITED, /* 40000010 (STATUS_RECEIVE_EXPEDITED) */
264 ERROR_RECEIVE_PARTIAL_EXPEDITED, /* 40000011 (STATUS_RECEIVE_PARTIAL_EXPEDITED) */
265 ERROR_EVENT_DONE, /* 40000012 (STATUS_EVENT_DONE) */
266 ERROR_EVENT_PENDING, /* 40000013 (STATUS_EVENT_PENDING) */
267 ERROR_CHECKING_FILE_SYSTEM, /* 40000014 (STATUS_CHECKING_FILE_SYSTEM) */
268 ERROR_FATAL_APP_EXIT, /* 40000015 (STATUS_FATAL_APP_EXIT) */
269 ERROR_PREDEFINED_HANDLE, /* 40000016 (STATUS_PREDEFINED_HANDLE) */
270 ERROR_WAS_UNLOCKED, /* 40000017 (STATUS_WAS_UNLOCKED) */
271 ERROR_SERVICE_NOTIFICATION, /* 40000018 (STATUS_SERVICE_NOTIFICATION) */
272 ERROR_WAS_LOCKED, /* 40000019 (STATUS_WAS_LOCKED) */
273 ERROR_LOG_HARD_ERROR, /* 4000001a (STATUS_LOG_HARD_ERROR) */
274 ERROR_ALREADY_WIN32, /* 4000001b (STATUS_ALREADY_WIN32) */
275 0, /* 4000001c (STATUS_WX86_UNSIMULATE) */
276 0, /* 4000001d (STATUS_WX86_CONTINUE) */
277 0, /* 4000001e (STATUS_WX86_SINGLE_STEP) */
278 0, /* 4000001f (STATUS_WX86_BREAKPOINT) */
279 0, /* 40000020 (STATUS_WX86_EXCEPTION_CONTINUE) */
280 0, /* 40000021 (STATUS_WX86_EXCEPTION_LASTCHANCE) */
281 0, /* 40000022 (STATUS_WX86_EXCEPTION_CHAIN) */
282 ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE, /* 40000023 (STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE) */
283 ERROR_NO_YIELD_PERFORMED, /* 40000024 (STATUS_NO_YIELD_PERFORMED) */
284 ERROR_TIMER_RESUME_IGNORED, /* 40000025 (STATUS_TIMER_RESUME_IGNORED) */
285 ERROR_ARBITRATION_UNHANDLED, /* 40000026 (STATUS_ARBITRATION_UNHANDLED) */
286 ERROR_CARDBUS_NOT_SUPPORTED, /* 40000027 (STATUS_CARDBUS_NOT_SUPPORTED) */
287 0, /* 40000028 (STATUS_WX86_CREATEWX86TIB) */
288 ERROR_MP_PROCESSOR_MISMATCH, /* 40000029 (STATUS_MP_PROCESSOR_MISMATCH) */
289 ERROR_HIBERNATED, /* 4000002a (STATUS_HIBERNATED) */
290 ERROR_RESUME_HIBERNATION, /* 4000002b (STATUS_RESUME_HIBERNATION) */
291 ERROR_FIRMWARE_UPDATED /* 4000002c (STATUS_FIRMWARE_UPDATED) */
294 static const DWORD table_40000294[1] =
296 ERROR_WAKE_SYSTEM /* 40000294 (STATUS_WAKE_SYSTEM) */
299 static const DWORD table_40000370[1] =
301 ERROR_DS_SHUTTING_DOWN /* 40000370 (STATUS_DS_SHUTTING_DOWN) */
304 static const DWORD table_40010003[7] =
306 ERROR_DBG_TERMINATE_THREAD, /* 40010003 (DBG_TERMINATE_THREAD) */
307 ERROR_DBG_TERMINATE_PROCESS, /* 40010004 (DBG_TERMINATE_PROCESS) */
308 ERROR_DBG_CONTROL_C, /* 40010005 (DBG_CONTROL_C) */
309 ERROR_DBG_PRINTEXCEPTION_C, /* 40010006 (DBG_PRINTEXCEPTION_C) */
310 ERROR_DBG_RIPEXCEPTION, /* 40010007 (DBG_RIPEXCEPTION) */
311 ERROR_DBG_CONTROL_BREAK, /* 40010008 (DBG_CONTROL_BREAK) */
312 ERROR_DBG_COMMAND_EXCEPTION /* 40010009 (DBG_COMMAND_EXCEPTION) */
315 static const DWORD table_40020056[1] =
317 RPC_S_UUID_LOCAL_ONLY /* 40020056 (RPC_NT_UUID_LOCAL_ONLY) */
320 static const DWORD table_400200af[1] =
322 RPC_S_SEND_INCOMPLETE /* 400200af (RPC_NT_SEND_INCOMPLETE) */
325 static const DWORD table_80000001[44] =
327 STATUS_GUARD_PAGE_VIOLATION, /* 80000001 (STATUS_GUARD_PAGE_VIOLATION) */
328 ERROR_NOACCESS, /* 80000002 (STATUS_DATATYPE_MISALIGNMENT) */
329 STATUS_BREAKPOINT, /* 80000003 (STATUS_BREAKPOINT) */
330 STATUS_SINGLE_STEP, /* 80000004 (STATUS_SINGLE_STEP) */
331 ERROR_MORE_DATA, /* 80000005 (STATUS_BUFFER_OVERFLOW) */
332 ERROR_NO_MORE_FILES, /* 80000006 (STATUS_NO_MORE_FILES) */
333 ERROR_WAKE_SYSTEM_DEBUGGER, /* 80000007 (STATUS_WAKE_SYSTEM_DEBUGGER) */
334 0, /* 80000008 */
335 0, /* 80000009 */
336 ERROR_HANDLES_CLOSED, /* 8000000a (STATUS_HANDLES_CLOSED) */
337 ERROR_NO_INHERITANCE, /* 8000000b (STATUS_NO_INHERITANCE) */
338 ERROR_GUID_SUBSTITUTION_MADE, /* 8000000c (STATUS_GUID_SUBSTITUTION_MADE) */
339 ERROR_PARTIAL_COPY, /* 8000000d (STATUS_PARTIAL_COPY) */
340 ERROR_OUT_OF_PAPER, /* 8000000e (STATUS_DEVICE_PAPER_EMPTY) */
341 ERROR_NOT_READY, /* 8000000f (STATUS_DEVICE_POWERED_OFF) */
342 ERROR_NOT_READY, /* 80000010 (STATUS_DEVICE_OFF_LINE) */
343 ERROR_BUSY, /* 80000011 (STATUS_DEVICE_BUSY) */
344 ERROR_NO_MORE_ITEMS, /* 80000012 (STATUS_NO_MORE_EAS) */
345 ERROR_INVALID_EA_NAME, /* 80000013 (STATUS_INVALID_EA_NAME) */
346 ERROR_EA_LIST_INCONSISTENT, /* 80000014 (STATUS_EA_LIST_INCONSISTENT) */
347 ERROR_EA_LIST_INCONSISTENT, /* 80000015 (STATUS_INVALID_EA_FLAG) */
348 ERROR_MEDIA_CHANGED, /* 80000016 (STATUS_VERIFY_REQUIRED) */
349 ERROR_EXTRANEOUS_INFORMATION, /* 80000017 (STATUS_EXTRANEOUS_INFORMATION) */
350 ERROR_RXACT_COMMIT_NECESSARY, /* 80000018 (STATUS_RXACT_COMMIT_NECESSARY) */
351 0, /* 80000019 */
352 ERROR_NO_MORE_ITEMS, /* 8000001a (STATUS_NO_MORE_ENTRIES) */
353 ERROR_FILEMARK_DETECTED, /* 8000001b (STATUS_FILEMARK_DETECTED) */
354 ERROR_MEDIA_CHANGED, /* 8000001c (STATUS_MEDIA_CHANGED) */
355 ERROR_BUS_RESET, /* 8000001d (STATUS_BUS_RESET) */
356 ERROR_END_OF_MEDIA, /* 8000001e (STATUS_END_OF_MEDIA) */
357 ERROR_BEGINNING_OF_MEDIA, /* 8000001f (STATUS_BEGINNING_OF_MEDIA) */
358 ERROR_MEDIA_CHECK, /* 80000020 (STATUS_MEDIA_CHECK) */
359 ERROR_SETMARK_DETECTED, /* 80000021 (STATUS_SETMARK_DETECTED) */
360 ERROR_NO_DATA_DETECTED, /* 80000022 (STATUS_NO_DATA_DETECTED) */
361 ERROR_REDIRECTOR_HAS_OPEN_HANDLES, /* 80000023 (STATUS_REDIRECTOR_HAS_OPEN_HANDLES) */
362 ERROR_SERVER_HAS_OPEN_HANDLES, /* 80000024 (STATUS_SERVER_HAS_OPEN_HANDLES) */
363 ERROR_ACTIVE_CONNECTIONS, /* 80000025 (STATUS_ALREADY_DISCONNECTED) */
364 ERROR_LONGJUMP, /* 80000026 (STATUS_LONGJUMP) */
365 ERROR_CLEANER_CARTRIDGE_INSTALLED, /* 80000027 (STATUS_CLEANER_CARTRIDGE_INSTALLED) */
366 ERROR_PLUGPLAY_QUERY_VETOED, /* 80000028 (STATUS_PLUGPLAY_QUERY_VETOED) */
367 ERROR_UNWIND_CONSOLIDATE, /* 80000029 (STATUS_UNWIND_CONSOLIDATE) */
368 ERROR_REGISTRY_HIVE_RECOVERED, /* 8000002a (STATUS_REGISTRY_HIVE_RECOVERED) */
369 ERROR_DLL_MIGHT_BE_INSECURE, /* 8000002b (STATUS_DLL_MIGHT_BE_INSECURE) */
370 ERROR_DLL_MIGHT_BE_INCOMPATIBLE /* 8000002c (STATUS_DLL_MIGHT_BE_INCOMPATIBLE) */
373 static const DWORD table_80000288[2] =
375 ERROR_DEVICE_REQUIRES_CLEANING, /* 80000288 (STATUS_DEVICE_REQUIRES_CLEANING) */
376 ERROR_DEVICE_DOOR_OPEN /* 80000289 (STATUS_DEVICE_DOOR_OPEN) */
379 static const DWORD table_80010001[1] =
381 ERROR_DBG_EXCEPTION_NOT_HANDLED /* 80010001 (DBG_EXCEPTION_NOT_HANDLED) */
384 static const DWORD table_80090300[72] =
386 ERROR_NO_SYSTEM_RESOURCES, /* 80090300 (SEC_E_INSUFFICIENT_MEMORY) */
387 ERROR_INVALID_HANDLE, /* 80090301 (SEC_E_INVALID_HANDLE) */
388 ERROR_INVALID_FUNCTION, /* 80090302 (SEC_E_UNSUPPORTED_FUNCTION) */
389 ERROR_BAD_NETPATH, /* 80090303 (SEC_E_TARGET_UNKNOWN) */
390 ERROR_INTERNAL_ERROR, /* 80090304 (SEC_E_INTERNAL_ERROR) */
391 ERROR_NO_SUCH_PACKAGE, /* 80090305 (SEC_E_SECPKG_NOT_FOUND) */
392 ERROR_NOT_OWNER, /* 80090306 (SEC_E_NOT_OWNER) */
393 ERROR_NO_SUCH_PACKAGE, /* 80090307 (SEC_E_CANNOT_INSTALL) */
394 ERROR_INVALID_PARAMETER, /* 80090308 (SEC_E_INVALID_TOKEN) */
395 ERROR_INVALID_PARAMETER, /* 80090309 (SEC_E_CANNOT_PACK) */
396 ERROR_NOT_SUPPORTED, /* 8009030a (SEC_E_QOP_NOT_SUPPORTED) */
397 ERROR_CANNOT_IMPERSONATE, /* 8009030b (SEC_E_NO_IMPERSONATION) */
398 ERROR_LOGON_FAILURE, /* 8009030c (SEC_E_LOGON_DENIED) */
399 ERROR_INVALID_PARAMETER, /* 8009030d (SEC_E_UNKNOWN_CREDENTIALS) */
400 ERROR_NO_SUCH_LOGON_SESSION, /* 8009030e (SEC_E_NO_CREDENTIALS) */
401 ERROR_ACCESS_DENIED, /* 8009030f (SEC_E_MESSAGE_ALTERED) */
402 ERROR_ACCESS_DENIED, /* 80090310 (SEC_E_OUT_OF_SEQUENCE) */
403 ERROR_NO_LOGON_SERVERS, /* 80090311 (SEC_E_NO_AUTHENTICATING_AUTHORITY) */
404 0, /* 80090312 */
405 0, /* 80090313 */
406 0, /* 80090314 */
407 0, /* 80090315 */
408 ERROR_NO_SUCH_PACKAGE, /* 80090316 (SEC_E_BAD_PKGID) */
409 ERROR_CONTEXT_EXPIRED, /* 80090317 (SEC_E_CONTEXT_EXPIRED) */
410 ERROR_INVALID_USER_BUFFER, /* 80090318 (SEC_E_INCOMPLETE_MESSAGE) */
411 0, /* 80090319 */
412 0, /* 8009031a */
413 0, /* 8009031b */
414 0, /* 8009031c */
415 0, /* 8009031d */
416 0, /* 8009031e */
417 0, /* 8009031f */
418 ERROR_INVALID_PARAMETER, /* 80090320 (SEC_E_INCOMPLETE_CREDENTIALS) */
419 ERROR_INSUFFICIENT_BUFFER, /* 80090321 (SEC_E_BUFFER_TOO_SMALL) */
420 ERROR_WRONG_TARGET_NAME, /* 80090322 (SEC_E_WRONG_PRINCIPAL) */
421 0, /* 80090323 */
422 0, /* 80090324 (SEC_E_TIME_SKEW) */
423 ERROR_TRUST_FAILURE, /* 80090325 (SEC_E_UNTRUSTED_ROOT) */
424 ERROR_INVALID_PARAMETER, /* 80090326 (SEC_E_ILLEGAL_MESSAGE) */
425 ERROR_INVALID_PARAMETER, /* 80090327 (SEC_E_CERT_UNKNOWN) */
426 ERROR_PASSWORD_EXPIRED, /* 80090328 (SEC_E_CERT_EXPIRED) */
427 ERROR_ENCRYPTION_FAILED, /* 80090329 (SEC_E_ENCRYPT_FAILURE) */
428 0, /* 8009032a */
429 0, /* 8009032b */
430 0, /* 8009032c */
431 0, /* 8009032d */
432 0, /* 8009032e */
433 0, /* 8009032f */
434 ERROR_DECRYPTION_FAILED, /* 80090330 (SEC_E_DECRYPT_FAILURE) */
435 ERROR_INVALID_FUNCTION, /* 80090331 (SEC_E_ALGORITHM_MISMATCH) */
436 0, /* 80090332 (SEC_E_SECURITY_QOS_FAILED) */
437 0, /* 80090333 (SEC_E_UNFINISHED_CONTEXT_DELETED) */
438 0, /* 80090334 (SEC_E_NO_TGT_REPLY) */
439 0, /* 80090335 (SEC_E_NO_IP_ADDRESSES) */
440 0, /* 80090336 (SEC_E_WRONG_CREDENTIAL_HANDLE) */
441 0, /* 80090337 (SEC_E_CRYPTO_SYSTEM_INVALID) */
442 0, /* 80090338 (SEC_E_MAX_REFERRALS_EXCEEDED) */
443 0, /* 80090339 (SEC_E_MUST_BE_KDC) */
444 0, /* 8009033a (SEC_E_STRONG_CRYPTO_NOT_SUPPORTED) */
445 0, /* 8009033b (SEC_E_TOO_MANY_PRINCIPALS) */
446 0, /* 8009033c (SEC_E_NO_PA_DATA) */
447 0, /* 8009033d (SEC_E_PKINIT_NAME_MISMATCH) */
448 0, /* 8009033e (SEC_E_SMARTCARD_LOGON_REQUIRED) */
449 0, /* 8009033f (SEC_E_SHUTDOWN_IN_PROGRESS) */
450 0, /* 80090340 (SEC_E_KDC_INVALID_REQUEST) */
451 0, /* 80090341 (SEC_E_KDC_UNABLE_TO_REFER) */
452 0, /* 80090342 (SEC_E_KDC_UNKNOWN_ETYPE) */
453 0, /* 80090343 (SEC_E_UNSUPPORTED_PREAUTH) */
454 0, /* 80090344 */
455 0, /* 80090345 (SEC_E_DELEGATION_REQUIRED) */
456 0, /* 80090346 (SEC_E_BAD_BINDINGS) */
457 ERROR_CANNOT_IMPERSONATE /* 80090347 (SEC_E_MULTIPLE_ACCOUNTS) */
460 static const DWORD table_80092010[4] =
462 ERROR_MUTUAL_AUTH_FAILED, /* 80092010 (CRYPT_E_REVOKED) */
463 0, /* 80092011 (CRYPT_E_NO_REVOCATION_DLL) */
464 ERROR_MUTUAL_AUTH_FAILED, /* 80092012 (CRYPT_E_NO_REVOCATION_CHECK) */
465 ERROR_MUTUAL_AUTH_FAILED /* 80092013 (CRYPT_E_REVOCATION_OFFLINE) */
468 static const DWORD table_80096004[1] =
470 ERROR_MUTUAL_AUTH_FAILED /* 80096004 (TRUST_E_CERT_SIGNATURE) */
473 static const DWORD table_80130001[5] =
475 ERROR_CLUSTER_NODE_ALREADY_UP, /* 80130001 (STATUS_CLUSTER_NODE_ALREADY_UP) */
476 ERROR_CLUSTER_NODE_ALREADY_DOWN, /* 80130002 (STATUS_CLUSTER_NODE_ALREADY_DOWN) */
477 ERROR_CLUSTER_NETWORK_ALREADY_ONLINE, /* 80130003 (STATUS_CLUSTER_NETWORK_ALREADY_ONLINE) */
478 ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE, /* 80130004 (STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE) */
479 ERROR_CLUSTER_NODE_ALREADY_MEMBER /* 80130005 (STATUS_CLUSTER_NODE_ALREADY_MEMBER) */
482 static const DWORD table_c0000001[412] =
484 ERROR_GEN_FAILURE, /* c0000001 (STATUS_UNSUCCESSFUL) */
485 ERROR_INVALID_FUNCTION, /* c0000002 (STATUS_NOT_IMPLEMENTED) */
486 ERROR_INVALID_PARAMETER, /* c0000003 (STATUS_INVALID_INFO_CLASS) */
487 ERROR_BAD_LENGTH, /* c0000004 (STATUS_INFO_LENGTH_MISMATCH) */
488 ERROR_NOACCESS, /* c0000005 (STATUS_ACCESS_VIOLATION) */
489 ERROR_SWAPERROR, /* c0000006 (STATUS_IN_PAGE_ERROR) */
490 ERROR_PAGEFILE_QUOTA, /* c0000007 (STATUS_PAGEFILE_QUOTA) */
491 ERROR_INVALID_HANDLE, /* c0000008 (STATUS_INVALID_HANDLE) */
492 ERROR_STACK_OVERFLOW, /* c0000009 (STATUS_BAD_INITIAL_STACK) */
493 ERROR_BAD_EXE_FORMAT, /* c000000a (STATUS_BAD_INITIAL_PC) */
494 ERROR_INVALID_PARAMETER, /* c000000b (STATUS_INVALID_CID) */
495 0, /* c000000c (STATUS_TIMER_NOT_CANCELED) */
496 ERROR_INVALID_PARAMETER, /* c000000d (STATUS_INVALID_PARAMETER) */
497 ERROR_FILE_NOT_FOUND, /* c000000e (STATUS_NO_SUCH_DEVICE) */
498 ERROR_FILE_NOT_FOUND, /* c000000f (STATUS_NO_SUCH_FILE) */
499 ERROR_INVALID_FUNCTION, /* c0000010 (STATUS_INVALID_DEVICE_REQUEST) */
500 ERROR_HANDLE_EOF, /* c0000011 (STATUS_END_OF_FILE) */
501 ERROR_WRONG_DISK, /* c0000012 (STATUS_WRONG_VOLUME) */
502 ERROR_NOT_READY, /* c0000013 (STATUS_NO_MEDIA_IN_DEVICE) */
503 ERROR_UNRECOGNIZED_MEDIA, /* c0000014 (STATUS_UNRECOGNIZED_MEDIA) */
504 ERROR_SECTOR_NOT_FOUND, /* c0000015 (STATUS_NONEXISTENT_SECTOR) */
505 ERROR_MORE_DATA, /* c0000016 (STATUS_MORE_PROCESSING_REQUIRED) */
506 ERROR_NOT_ENOUGH_MEMORY, /* c0000017 (STATUS_NO_MEMORY) */
507 ERROR_INVALID_ADDRESS, /* c0000018 (STATUS_CONFLICTING_ADDRESSES) */
508 ERROR_INVALID_ADDRESS, /* c0000019 (STATUS_NOT_MAPPED_VIEW) */
509 ERROR_INVALID_PARAMETER, /* c000001a (STATUS_UNABLE_TO_FREE_VM) */
510 ERROR_INVALID_PARAMETER, /* c000001b (STATUS_UNABLE_TO_DELETE_SECTION) */
511 ERROR_INVALID_FUNCTION, /* c000001c (STATUS_INVALID_SYSTEM_SERVICE) */
512 ERROR_INVALID_FUNCTION, /* c000001d (STATUS_ILLEGAL_INSTRUCTION) */
513 ERROR_ACCESS_DENIED, /* c000001e (STATUS_INVALID_LOCK_SEQUENCE) */
514 ERROR_ACCESS_DENIED, /* c000001f (STATUS_INVALID_VIEW_SIZE) */
515 ERROR_BAD_EXE_FORMAT, /* c0000020 (STATUS_INVALID_FILE_FOR_SECTION) */
516 ERROR_ACCESS_DENIED, /* c0000021 (STATUS_ALREADY_COMMITTED) */
517 ERROR_ACCESS_DENIED, /* c0000022 (STATUS_ACCESS_DENIED) */
518 ERROR_INSUFFICIENT_BUFFER, /* c0000023 (STATUS_BUFFER_TOO_SMALL) */
519 ERROR_INVALID_HANDLE, /* c0000024 (STATUS_OBJECT_TYPE_MISMATCH) */
520 STATUS_NONCONTINUABLE_EXCEPTION, /* c0000025 (STATUS_NONCONTINUABLE_EXCEPTION) */
521 STATUS_INVALID_DISPOSITION, /* c0000026 (STATUS_INVALID_DISPOSITION) */
522 0, /* c0000027 (STATUS_UNWIND) */
523 0, /* c0000028 (STATUS_BAD_STACK) */
524 0, /* c0000029 (STATUS_INVALID_UNWIND_TARGET) */
525 ERROR_NOT_LOCKED, /* c000002a (STATUS_NOT_LOCKED) */
526 STATUS_PARITY_ERROR, /* c000002b (STATUS_PARITY_ERROR) */
527 ERROR_INVALID_ADDRESS, /* c000002c (STATUS_UNABLE_TO_DECOMMIT_VM) */
528 ERROR_INVALID_ADDRESS, /* c000002d (STATUS_NOT_COMMITTED) */
529 0, /* c000002e (STATUS_INVALID_PORT_ATTRIBUTES) */
530 0, /* c000002f (STATUS_PORT_MESSAGE_TOO_LONG) */
531 ERROR_INVALID_PARAMETER, /* c0000030 (STATUS_INVALID_PARAMETER_MIX) */
532 0, /* c0000031 (STATUS_INVALID_QUOTA_LOWER) */
533 ERROR_DISK_CORRUPT, /* c0000032 (STATUS_DISK_CORRUPT_ERROR) */
534 ERROR_INVALID_NAME, /* c0000033 (STATUS_OBJECT_NAME_INVALID) */
535 ERROR_FILE_NOT_FOUND, /* c0000034 (STATUS_OBJECT_NAME_NOT_FOUND) */
536 ERROR_ALREADY_EXISTS, /* c0000035 (STATUS_OBJECT_NAME_COLLISION) */
537 0, /* c0000036 */
538 ERROR_INVALID_HANDLE, /* c0000037 (STATUS_PORT_DISCONNECTED) */
539 0, /* c0000038 (STATUS_DEVICE_ALREADY_ATTACHED) */
540 ERROR_BAD_PATHNAME, /* c0000039 (STATUS_OBJECT_PATH_INVALID) */
541 ERROR_PATH_NOT_FOUND, /* c000003a (STATUS_OBJECT_PATH_NOT_FOUND) */
542 ERROR_BAD_PATHNAME, /* c000003b (STATUS_OBJECT_PATH_SYNTAX_BAD) */
543 ERROR_IO_DEVICE, /* c000003c (STATUS_DATA_OVERRUN) */
544 ERROR_IO_DEVICE, /* c000003d (STATUS_DATA_LATE_ERROR) */
545 ERROR_CRC, /* c000003e (STATUS_DATA_ERROR) */
546 ERROR_CRC, /* c000003f (STATUS_CRC_ERROR) */
547 ERROR_NOT_ENOUGH_MEMORY, /* c0000040 (STATUS_SECTION_TOO_BIG) */
548 ERROR_ACCESS_DENIED, /* c0000041 (STATUS_PORT_CONNECTION_REFUSED) */
549 ERROR_INVALID_HANDLE, /* c0000042 (STATUS_INVALID_PORT_HANDLE) */
550 ERROR_SHARING_VIOLATION, /* c0000043 (STATUS_SHARING_VIOLATION) */
551 ERROR_NOT_ENOUGH_QUOTA, /* c0000044 (STATUS_QUOTA_EXCEEDED) */
552 ERROR_INVALID_PARAMETER, /* c0000045 (STATUS_INVALID_PAGE_PROTECTION) */
553 ERROR_NOT_OWNER, /* c0000046 (STATUS_MUTANT_NOT_OWNED) */
554 ERROR_TOO_MANY_POSTS, /* c0000047 (STATUS_SEMAPHORE_LIMIT_EXCEEDED) */
555 ERROR_INVALID_PARAMETER, /* c0000048 (STATUS_PORT_ALREADY_SET) */
556 ERROR_INVALID_PARAMETER, /* c0000049 (STATUS_SECTION_NOT_IMAGE) */
557 ERROR_SIGNAL_REFUSED, /* c000004a (STATUS_SUSPEND_COUNT_EXCEEDED) */
558 ERROR_ACCESS_DENIED, /* c000004b (STATUS_THREAD_IS_TERMINATING) */
559 ERROR_INVALID_PARAMETER, /* c000004c (STATUS_BAD_WORKING_SET_LIMIT) */
560 ERROR_INVALID_PARAMETER, /* c000004d (STATUS_INCOMPATIBLE_FILE_MAP) */
561 ERROR_INVALID_PARAMETER, /* c000004e (STATUS_SECTION_PROTECTION) */
562 ERROR_EAS_NOT_SUPPORTED, /* c000004f (STATUS_EAS_NOT_SUPPORTED) */
563 ERROR_EA_LIST_INCONSISTENT, /* c0000050 (STATUS_EA_TOO_LARGE) */
564 ERROR_FILE_CORRUPT, /* c0000051 (STATUS_NONEXISTENT_EA_ENTRY) */
565 ERROR_FILE_CORRUPT, /* c0000052 (STATUS_NO_EAS_ON_FILE) */
566 ERROR_FILE_CORRUPT, /* c0000053 (STATUS_EA_CORRUPT_ERROR) */
567 ERROR_LOCK_VIOLATION, /* c0000054 (STATUS_FILE_LOCK_CONFLICT) */
568 ERROR_LOCK_VIOLATION, /* c0000055 (STATUS_LOCK_NOT_GRANTED) */
569 ERROR_ACCESS_DENIED, /* c0000056 (STATUS_DELETE_PENDING) */
570 ERROR_NOT_SUPPORTED, /* c0000057 (STATUS_CTL_FILE_NOT_SUPPORTED) */
571 ERROR_UNKNOWN_REVISION, /* c0000058 (STATUS_UNKNOWN_REVISION) */
572 ERROR_REVISION_MISMATCH, /* c0000059 (STATUS_REVISION_MISMATCH) */
573 ERROR_INVALID_OWNER, /* c000005a (STATUS_INVALID_OWNER) */
574 ERROR_INVALID_PRIMARY_GROUP, /* c000005b (STATUS_INVALID_PRIMARY_GROUP) */
575 ERROR_NO_IMPERSONATION_TOKEN, /* c000005c (STATUS_NO_IMPERSONATION_TOKEN) */
576 ERROR_CANT_DISABLE_MANDATORY, /* c000005d (STATUS_CANT_DISABLE_MANDATORY) */
577 ERROR_NO_LOGON_SERVERS, /* c000005e (STATUS_NO_LOGON_SERVERS) */
578 ERROR_NO_SUCH_LOGON_SESSION, /* c000005f (STATUS_NO_SUCH_LOGON_SESSION) */
579 ERROR_NO_SUCH_PRIVILEGE, /* c0000060 (STATUS_NO_SUCH_PRIVILEGE) */
580 ERROR_PRIVILEGE_NOT_HELD, /* c0000061 (STATUS_PRIVILEGE_NOT_HELD) */
581 ERROR_INVALID_ACCOUNT_NAME, /* c0000062 (STATUS_INVALID_ACCOUNT_NAME) */
582 ERROR_USER_EXISTS, /* c0000063 (STATUS_USER_EXISTS) */
583 ERROR_NO_SUCH_USER, /* c0000064 (STATUS_NO_SUCH_USER) */
584 ERROR_GROUP_EXISTS, /* c0000065 (STATUS_GROUP_EXISTS) */
585 ERROR_NO_SUCH_GROUP, /* c0000066 (STATUS_NO_SUCH_GROUP) */
586 ERROR_MEMBER_IN_GROUP, /* c0000067 (STATUS_MEMBER_IN_GROUP) */
587 ERROR_MEMBER_NOT_IN_GROUP, /* c0000068 (STATUS_MEMBER_NOT_IN_GROUP) */
588 ERROR_LAST_ADMIN, /* c0000069 (STATUS_LAST_ADMIN) */
589 ERROR_INVALID_PASSWORD, /* c000006a (STATUS_WRONG_PASSWORD) */
590 ERROR_ILL_FORMED_PASSWORD, /* c000006b (STATUS_ILL_FORMED_PASSWORD) */
591 ERROR_PASSWORD_RESTRICTION, /* c000006c (STATUS_PASSWORD_RESTRICTION) */
592 ERROR_LOGON_FAILURE, /* c000006d (STATUS_LOGON_FAILURE) */
593 ERROR_ACCOUNT_RESTRICTION, /* c000006e (STATUS_ACCOUNT_RESTRICTION) */
594 ERROR_INVALID_LOGON_HOURS, /* c000006f (STATUS_INVALID_LOGON_HOURS) */
595 ERROR_INVALID_WORKSTATION, /* c0000070 (STATUS_INVALID_WORKSTATION) */
596 ERROR_PASSWORD_EXPIRED, /* c0000071 (STATUS_PASSWORD_EXPIRED) */
597 ERROR_ACCOUNT_DISABLED, /* c0000072 (STATUS_ACCOUNT_DISABLED) */
598 ERROR_NONE_MAPPED, /* c0000073 (STATUS_NONE_MAPPED) */
599 ERROR_TOO_MANY_LUIDS_REQUESTED, /* c0000074 (STATUS_TOO_MANY_LUIDS_REQUESTED) */
600 ERROR_LUIDS_EXHAUSTED, /* c0000075 (STATUS_LUIDS_EXHAUSTED) */
601 ERROR_INVALID_SUB_AUTHORITY, /* c0000076 (STATUS_INVALID_SUB_AUTHORITY) */
602 ERROR_INVALID_ACL, /* c0000077 (STATUS_INVALID_ACL) */
603 ERROR_INVALID_SID, /* c0000078 (STATUS_INVALID_SID) */
604 ERROR_INVALID_SECURITY_DESCR, /* c0000079 (STATUS_INVALID_SECURITY_DESCR) */
605 ERROR_PROC_NOT_FOUND, /* c000007a (STATUS_PROCEDURE_NOT_FOUND) */
606 ERROR_BAD_EXE_FORMAT, /* c000007b (STATUS_INVALID_IMAGE_FORMAT) */
607 ERROR_NO_TOKEN, /* c000007c (STATUS_NO_TOKEN) */
608 ERROR_BAD_INHERITANCE_ACL, /* c000007d (STATUS_BAD_INHERITANCE_ACL) */
609 ERROR_NOT_LOCKED, /* c000007e (STATUS_RANGE_NOT_LOCKED) */
610 ERROR_DISK_FULL, /* c000007f (STATUS_DISK_FULL) */
611 ERROR_SERVER_DISABLED, /* c0000080 (STATUS_SERVER_DISABLED) */
612 ERROR_SERVER_NOT_DISABLED, /* c0000081 (STATUS_SERVER_NOT_DISABLED) */
613 ERROR_TOO_MANY_NAMES, /* c0000082 (STATUS_TOO_MANY_GUIDS_REQUESTED) */
614 ERROR_NO_MORE_ITEMS, /* c0000083 (STATUS_GUIDS_EXHAUSTED) */
615 ERROR_INVALID_ID_AUTHORITY, /* c0000084 (STATUS_INVALID_ID_AUTHORITY) */
616 ERROR_NO_MORE_ITEMS, /* c0000085 (STATUS_AGENTS_EXHAUSTED) */
617 ERROR_LABEL_TOO_LONG, /* c0000086 (STATUS_INVALID_VOLUME_LABEL) */
618 ERROR_OUTOFMEMORY, /* c0000087 (STATUS_SECTION_NOT_EXTENDED) */
619 ERROR_INVALID_ADDRESS, /* c0000088 (STATUS_NOT_MAPPED_DATA) */
620 ERROR_RESOURCE_DATA_NOT_FOUND, /* c0000089 (STATUS_RESOURCE_DATA_NOT_FOUND) */
621 ERROR_RESOURCE_TYPE_NOT_FOUND, /* c000008a (STATUS_RESOURCE_TYPE_NOT_FOUND) */
622 ERROR_RESOURCE_NAME_NOT_FOUND, /* c000008b (STATUS_RESOURCE_NAME_NOT_FOUND) */
623 STATUS_ARRAY_BOUNDS_EXCEEDED, /* c000008c (STATUS_ARRAY_BOUNDS_EXCEEDED) */
624 STATUS_FLOAT_DENORMAL_OPERAND, /* c000008d (STATUS_FLOAT_DENORMAL_OPERAND) */
625 STATUS_FLOAT_DIVIDE_BY_ZERO, /* c000008e (STATUS_FLOAT_DIVIDE_BY_ZERO) */
626 STATUS_FLOAT_INEXACT_RESULT, /* c000008f (STATUS_FLOAT_INEXACT_RESULT) */
627 STATUS_FLOAT_INVALID_OPERATION, /* c0000090 (STATUS_FLOAT_INVALID_OPERATION) */
628 STATUS_FLOAT_OVERFLOW, /* c0000091 (STATUS_FLOAT_OVERFLOW) */
629 STATUS_FLOAT_STACK_CHECK, /* c0000092 (STATUS_FLOAT_STACK_CHECK) */
630 STATUS_FLOAT_UNDERFLOW, /* c0000093 (STATUS_FLOAT_UNDERFLOW) */
631 STATUS_INTEGER_DIVIDE_BY_ZERO, /* c0000094 (STATUS_INTEGER_DIVIDE_BY_ZERO) */
632 ERROR_ARITHMETIC_OVERFLOW, /* c0000095 (STATUS_INTEGER_OVERFLOW) */
633 STATUS_PRIVILEGED_INSTRUCTION, /* c0000096 (STATUS_PRIVILEGED_INSTRUCTION) */
634 ERROR_NOT_ENOUGH_MEMORY, /* c0000097 (STATUS_TOO_MANY_PAGING_FILES) */
635 ERROR_FILE_INVALID, /* c0000098 (STATUS_FILE_INVALID) */
636 ERROR_ALLOTTED_SPACE_EXCEEDED, /* c0000099 (STATUS_ALLOTTED_SPACE_EXCEEDED) */
637 ERROR_NO_SYSTEM_RESOURCES, /* c000009a (STATUS_INSUFFICIENT_RESOURCES) */
638 ERROR_PATH_NOT_FOUND, /* c000009b (STATUS_DFS_EXIT_PATH_FOUND) */
639 ERROR_CRC, /* c000009c (STATUS_DEVICE_DATA_ERROR) */
640 ERROR_DEVICE_NOT_CONNECTED, /* c000009d (STATUS_DEVICE_NOT_CONNECTED) */
641 ERROR_NOT_READY, /* c000009e (STATUS_DEVICE_POWER_FAILURE) */
642 ERROR_INVALID_ADDRESS, /* c000009f (STATUS_FREE_VM_NOT_AT_BASE) */
643 ERROR_INVALID_ADDRESS, /* c00000a0 (STATUS_MEMORY_NOT_ALLOCATED) */
644 ERROR_WORKING_SET_QUOTA, /* c00000a1 (STATUS_WORKING_SET_QUOTA) */
645 ERROR_WRITE_PROTECT, /* c00000a2 (STATUS_MEDIA_WRITE_PROTECTED) */
646 ERROR_NOT_READY, /* c00000a3 (STATUS_DEVICE_NOT_READY) */
647 ERROR_INVALID_GROUP_ATTRIBUTES, /* c00000a4 (STATUS_INVALID_GROUP_ATTRIBUTES) */
648 ERROR_BAD_IMPERSONATION_LEVEL, /* c00000a5 (STATUS_BAD_IMPERSONATION_LEVEL) */
649 ERROR_CANT_OPEN_ANONYMOUS, /* c00000a6 (STATUS_CANT_OPEN_ANONYMOUS) */
650 ERROR_BAD_VALIDATION_CLASS, /* c00000a7 (STATUS_BAD_VALIDATION_CLASS) */
651 ERROR_BAD_TOKEN_TYPE, /* c00000a8 (STATUS_BAD_TOKEN_TYPE) */
652 ERROR_INVALID_PARAMETER, /* c00000a9 (STATUS_BAD_MASTER_BOOT_RECORD) */
653 0, /* c00000aa (STATUS_INSTRUCTION_MISALIGNMENT) */
654 ERROR_PIPE_BUSY, /* c00000ab (STATUS_INSTANCE_NOT_AVAILABLE) */
655 ERROR_PIPE_BUSY, /* c00000ac (STATUS_PIPE_NOT_AVAILABLE) */
656 ERROR_BAD_PIPE, /* c00000ad (STATUS_INVALID_PIPE_STATE) */
657 ERROR_PIPE_BUSY, /* c00000ae (STATUS_PIPE_BUSY) */
658 ERROR_INVALID_FUNCTION, /* c00000af (STATUS_ILLEGAL_FUNCTION) */
659 ERROR_PIPE_NOT_CONNECTED, /* c00000b0 (STATUS_PIPE_DISCONNECTED) */
660 ERROR_NO_DATA, /* c00000b1 (STATUS_PIPE_CLOSING) */
661 ERROR_PIPE_CONNECTED, /* c00000b2 (STATUS_PIPE_CONNECTED) */
662 ERROR_PIPE_LISTENING, /* c00000b3 (STATUS_PIPE_LISTENING) */
663 ERROR_BAD_PIPE, /* c00000b4 (STATUS_INVALID_READ_MODE) */
664 ERROR_SEM_TIMEOUT, /* c00000b5 (STATUS_IO_TIMEOUT) */
665 ERROR_HANDLE_EOF, /* c00000b6 (STATUS_FILE_FORCED_CLOSED) */
666 0, /* c00000b7 (STATUS_PROFILING_NOT_STARTED) */
667 0, /* c00000b8 (STATUS_PROFILING_NOT_STOPPED) */
668 0, /* c00000b9 (STATUS_COULD_NOT_INTERPRET) */
669 ERROR_ACCESS_DENIED, /* c00000ba (STATUS_FILE_IS_A_DIRECTORY) */
670 ERROR_NOT_SUPPORTED, /* c00000bb (STATUS_NOT_SUPPORTED) */
671 ERROR_REM_NOT_LIST, /* c00000bc (STATUS_REMOTE_NOT_LISTENING) */
672 ERROR_DUP_NAME, /* c00000bd (STATUS_DUPLICATE_NAME) */
673 ERROR_BAD_NETPATH, /* c00000be (STATUS_BAD_NETWORK_PATH) */
674 ERROR_NETWORK_BUSY, /* c00000bf (STATUS_NETWORK_BUSY) */
675 ERROR_DEV_NOT_EXIST, /* c00000c0 (STATUS_DEVICE_DOES_NOT_EXIST) */
676 ERROR_TOO_MANY_CMDS, /* c00000c1 (STATUS_TOO_MANY_COMMANDS) */
677 ERROR_ADAP_HDW_ERR, /* c00000c2 (STATUS_ADAPTER_HARDWARE_ERROR) */
678 ERROR_BAD_NET_RESP, /* c00000c3 (STATUS_INVALID_NETWORK_RESPONSE) */
679 ERROR_UNEXP_NET_ERR, /* c00000c4 (STATUS_UNEXPECTED_NETWORK_ERROR) */
680 ERROR_BAD_REM_ADAP, /* c00000c5 (STATUS_BAD_REMOTE_ADAPTER) */
681 ERROR_PRINTQ_FULL, /* c00000c6 (STATUS_PRINT_QUEUE_FULL) */
682 ERROR_NO_SPOOL_SPACE, /* c00000c7 (STATUS_NO_SPOOL_SPACE) */
683 ERROR_PRINT_CANCELLED, /* c00000c8 (STATUS_PRINT_CANCELLED) */
684 ERROR_NETNAME_DELETED, /* c00000c9 (STATUS_NETWORK_NAME_DELETED) */
685 ERROR_NETWORK_ACCESS_DENIED, /* c00000ca (STATUS_NETWORK_ACCESS_DENIED) */
686 ERROR_BAD_DEV_TYPE, /* c00000cb (STATUS_BAD_DEVICE_TYPE) */
687 ERROR_BAD_NET_NAME, /* c00000cc (STATUS_BAD_NETWORK_NAME) */
688 ERROR_TOO_MANY_NAMES, /* c00000cd (STATUS_TOO_MANY_NAMES) */
689 ERROR_TOO_MANY_SESS, /* c00000ce (STATUS_TOO_MANY_SESSIONS) */
690 ERROR_SHARING_PAUSED, /* c00000cf (STATUS_SHARING_PAUSED) */
691 ERROR_REQ_NOT_ACCEP, /* c00000d0 (STATUS_REQUEST_NOT_ACCEPTED) */
692 ERROR_REDIR_PAUSED, /* c00000d1 (STATUS_REDIRECTOR_PAUSED) */
693 ERROR_NET_WRITE_FAULT, /* c00000d2 (STATUS_NET_WRITE_FAULT) */
694 0, /* c00000d3 (STATUS_PROFILING_AT_LIMIT) */
695 ERROR_NOT_SAME_DEVICE, /* c00000d4 (STATUS_NOT_SAME_DEVICE) */
696 ERROR_ACCESS_DENIED, /* c00000d5 (STATUS_FILE_RENAMED) */
697 ERROR_VC_DISCONNECTED, /* c00000d6 (STATUS_VIRTUAL_CIRCUIT_CLOSED) */
698 ERROR_NO_SECURITY_ON_OBJECT, /* c00000d7 (STATUS_NO_SECURITY_ON_OBJECT) */
699 0, /* c00000d8 (STATUS_CANT_WAIT) */
700 ERROR_NO_DATA, /* c00000d9 (STATUS_PIPE_EMPTY) */
701 ERROR_CANT_ACCESS_DOMAIN_INFO, /* c00000da (STATUS_CANT_ACCESS_DOMAIN_INFO) */
702 0, /* c00000db (STATUS_CANT_TERMINATE_SELF) */
703 ERROR_INVALID_SERVER_STATE, /* c00000dc (STATUS_INVALID_SERVER_STATE) */
704 ERROR_INVALID_DOMAIN_STATE, /* c00000dd (STATUS_INVALID_DOMAIN_STATE) */
705 ERROR_INVALID_DOMAIN_ROLE, /* c00000de (STATUS_INVALID_DOMAIN_ROLE) */
706 ERROR_NO_SUCH_DOMAIN, /* c00000df (STATUS_NO_SUCH_DOMAIN) */
707 ERROR_DOMAIN_EXISTS, /* c00000e0 (STATUS_DOMAIN_EXISTS) */
708 ERROR_DOMAIN_LIMIT_EXCEEDED, /* c00000e1 (STATUS_DOMAIN_LIMIT_EXCEEDED) */
709 ERROR_OPLOCK_NOT_GRANTED, /* c00000e2 (STATUS_OPLOCK_NOT_GRANTED) */
710 ERROR_INVALID_OPLOCK_PROTOCOL, /* c00000e3 (STATUS_INVALID_OPLOCK_PROTOCOL) */
711 ERROR_INTERNAL_DB_CORRUPTION, /* c00000e4 (STATUS_INTERNAL_DB_CORRUPTION) */
712 ERROR_INTERNAL_ERROR, /* c00000e5 (STATUS_INTERNAL_ERROR) */
713 ERROR_GENERIC_NOT_MAPPED, /* c00000e6 (STATUS_GENERIC_NOT_MAPPED) */
714 ERROR_BAD_DESCRIPTOR_FORMAT, /* c00000e7 (STATUS_BAD_DESCRIPTOR_FORMAT) */
715 ERROR_INVALID_USER_BUFFER, /* c00000e8 (STATUS_INVALID_USER_BUFFER) */
716 0, /* c00000e9 (STATUS_UNEXPECTED_IO_ERROR) */
717 0, /* c00000ea (STATUS_UNEXPECTED_MM_CREATE_ERR) */
718 0, /* c00000eb (STATUS_UNEXPECTED_MM_MAP_ERROR) */
719 0, /* c00000ec (STATUS_UNEXPECTED_MM_EXTEND_ERR) */
720 ERROR_NOT_LOGON_PROCESS, /* c00000ed (STATUS_NOT_LOGON_PROCESS) */
721 ERROR_LOGON_SESSION_EXISTS, /* c00000ee (STATUS_LOGON_SESSION_EXISTS) */
722 ERROR_INVALID_PARAMETER, /* c00000ef (STATUS_INVALID_PARAMETER_1) */
723 ERROR_INVALID_PARAMETER, /* c00000f0 (STATUS_INVALID_PARAMETER_2) */
724 ERROR_INVALID_PARAMETER, /* c00000f1 (STATUS_INVALID_PARAMETER_3) */
725 ERROR_INVALID_PARAMETER, /* c00000f2 (STATUS_INVALID_PARAMETER_4) */
726 ERROR_INVALID_PARAMETER, /* c00000f3 (STATUS_INVALID_PARAMETER_5) */
727 ERROR_INVALID_PARAMETER, /* c00000f4 (STATUS_INVALID_PARAMETER_6) */
728 ERROR_INVALID_PARAMETER, /* c00000f5 (STATUS_INVALID_PARAMETER_7) */
729 ERROR_INVALID_PARAMETER, /* c00000f6 (STATUS_INVALID_PARAMETER_8) */
730 ERROR_INVALID_PARAMETER, /* c00000f7 (STATUS_INVALID_PARAMETER_9) */
731 ERROR_INVALID_PARAMETER, /* c00000f8 (STATUS_INVALID_PARAMETER_10) */
732 ERROR_INVALID_PARAMETER, /* c00000f9 (STATUS_INVALID_PARAMETER_11) */
733 ERROR_INVALID_PARAMETER, /* c00000fa (STATUS_INVALID_PARAMETER_12) */
734 ERROR_PATH_NOT_FOUND, /* c00000fb (STATUS_REDIRECTOR_NOT_STARTED) */
735 ERROR_SERVICE_ALREADY_RUNNING, /* c00000fc (STATUS_REDIRECTOR_STARTED) */
736 ERROR_STACK_OVERFLOW, /* c00000fd (STATUS_STACK_OVERFLOW) */
737 ERROR_NO_SUCH_PACKAGE, /* c00000fe (STATUS_NO_SUCH_PACKAGE) */
738 0, /* c00000ff (STATUS_BAD_FUNCTION_TABLE) */
739 ERROR_ENVVAR_NOT_FOUND, /* c0000100 (STATUS_VARIABLE_NOT_FOUND) */
740 ERROR_DIR_NOT_EMPTY, /* c0000101 (STATUS_DIRECTORY_NOT_EMPTY) */
741 ERROR_FILE_CORRUPT, /* c0000102 (STATUS_FILE_CORRUPT_ERROR) */
742 ERROR_DIRECTORY, /* c0000103 (STATUS_NOT_A_DIRECTORY) */
743 ERROR_BAD_LOGON_SESSION_STATE, /* c0000104 (STATUS_BAD_LOGON_SESSION_STATE) */
744 ERROR_LOGON_SESSION_COLLISION, /* c0000105 (STATUS_LOGON_SESSION_COLLISION) */
745 ERROR_FILENAME_EXCED_RANGE, /* c0000106 (STATUS_NAME_TOO_LONG) */
746 ERROR_OPEN_FILES, /* c0000107 (STATUS_FILES_OPEN) */
747 ERROR_DEVICE_IN_USE, /* c0000108 (STATUS_CONNECTION_IN_USE) */
748 ERROR_MR_MID_NOT_FOUND, /* c0000109 (STATUS_MESSAGE_NOT_FOUND) */
749 ERROR_ACCESS_DENIED, /* c000010a (STATUS_PROCESS_IS_TERMINATING) */
750 ERROR_INVALID_LOGON_TYPE, /* c000010b (STATUS_INVALID_LOGON_TYPE) */
751 0, /* c000010c (STATUS_NO_GUID_TRANSLATION) */
752 ERROR_CANNOT_IMPERSONATE, /* c000010d (STATUS_CANNOT_IMPERSONATE) */
753 ERROR_SERVICE_ALREADY_RUNNING, /* c000010e (STATUS_IMAGE_ALREADY_LOADED) */
754 0, /* c000010f (STATUS_ABIOS_NOT_PRESENT) */
755 0, /* c0000110 (STATUS_ABIOS_LID_NOT_EXIST) */
756 0, /* c0000111 (STATUS_ABIOS_LID_ALREADY_OWNED) */
757 0, /* c0000112 (STATUS_ABIOS_NOT_LID_OWNER) */
758 0, /* c0000113 (STATUS_ABIOS_INVALID_COMMAND) */
759 0, /* c0000114 (STATUS_ABIOS_INVALID_LID) */
760 0, /* c0000115 (STATUS_ABIOS_SELECTOR_NOT_AVAILABLE) */
761 0, /* c0000116 (STATUS_ABIOS_INVALID_SELECTOR) */
762 ERROR_INVALID_THREAD_ID, /* c0000117 (STATUS_NO_LDT) */
763 ERROR_INVALID_LDT_SIZE, /* c0000118 (STATUS_INVALID_LDT_SIZE) */
764 ERROR_INVALID_LDT_OFFSET, /* c0000119 (STATUS_INVALID_LDT_OFFSET) */
765 ERROR_INVALID_LDT_DESCRIPTOR, /* c000011a (STATUS_INVALID_LDT_DESCRIPTOR) */
766 ERROR_BAD_EXE_FORMAT, /* c000011b (STATUS_INVALID_IMAGE_NE_FORMAT) */
767 ERROR_RXACT_INVALID_STATE, /* c000011c (STATUS_RXACT_INVALID_STATE) */
768 ERROR_RXACT_COMMIT_FAILURE, /* c000011d (STATUS_RXACT_COMMIT_FAILURE) */
769 ERROR_FILE_INVALID, /* c000011e (STATUS_MAPPED_FILE_SIZE_ZERO) */
770 ERROR_TOO_MANY_OPEN_FILES, /* c000011f (STATUS_TOO_MANY_OPENED_FILES) */
771 ERROR_OPERATION_ABORTED, /* c0000120 (STATUS_CANCELLED) */
772 ERROR_ACCESS_DENIED, /* c0000121 (STATUS_CANNOT_DELETE) */
773 ERROR_INVALID_COMPUTERNAME, /* c0000122 (STATUS_INVALID_COMPUTER_NAME) */
774 ERROR_ACCESS_DENIED, /* c0000123 (STATUS_FILE_DELETED) */
775 ERROR_SPECIAL_ACCOUNT, /* c0000124 (STATUS_SPECIAL_ACCOUNT) */
776 ERROR_SPECIAL_GROUP, /* c0000125 (STATUS_SPECIAL_GROUP) */
777 ERROR_SPECIAL_USER, /* c0000126 (STATUS_SPECIAL_USER) */
778 ERROR_MEMBERS_PRIMARY_GROUP, /* c0000127 (STATUS_MEMBERS_PRIMARY_GROUP) */
779 ERROR_INVALID_HANDLE, /* c0000128 (STATUS_FILE_CLOSED) */
780 ERROR_TOO_MANY_THREADS, /* c0000129 (STATUS_TOO_MANY_THREADS) */
781 ERROR_THREAD_NOT_IN_PROCESS, /* c000012a (STATUS_THREAD_NOT_IN_PROCESS) */
782 ERROR_TOKEN_ALREADY_IN_USE, /* c000012b (STATUS_TOKEN_ALREADY_IN_USE) */
783 ERROR_PAGEFILE_QUOTA_EXCEEDED, /* c000012c (STATUS_PAGEFILE_QUOTA_EXCEEDED) */
784 ERROR_COMMITMENT_LIMIT, /* c000012d (STATUS_COMMITMENT_LIMIT) */
785 ERROR_BAD_EXE_FORMAT, /* c000012e (STATUS_INVALID_IMAGE_LE_FORMAT) */
786 ERROR_BAD_EXE_FORMAT, /* c000012f (STATUS_INVALID_IMAGE_NOT_MZ) */
787 ERROR_BAD_EXE_FORMAT, /* c0000130 (STATUS_INVALID_IMAGE_PROTECT) */
788 ERROR_BAD_EXE_FORMAT, /* c0000131 (STATUS_INVALID_IMAGE_WIN_16) */
789 ERROR_LOGON_SERVER_CONFLICT, /* c0000132 (STATUS_LOGON_SERVER_CONFLICT) */
790 ERROR_TIME_SKEW, /* c0000133 (STATUS_TIME_DIFFERENCE_AT_DC) */
791 ERROR_SYNCHRONIZATION_REQUIRED, /* c0000134 (STATUS_SYNCHRONIZATION_REQUIRED) */
792 ERROR_MOD_NOT_FOUND, /* c0000135 (STATUS_DLL_NOT_FOUND) */
793 ERROR_NET_OPEN_FAILED, /* c0000136 (STATUS_OPEN_FAILED) */
794 ERROR_IO_PRIVILEGE_FAILED, /* c0000137 (STATUS_IO_PRIVILEGE_FAILED) */
795 ERROR_INVALID_ORDINAL, /* c0000138 (STATUS_ORDINAL_NOT_FOUND) */
796 ERROR_PROC_NOT_FOUND, /* c0000139 (STATUS_ENTRYPOINT_NOT_FOUND) */
797 ERROR_CONTROL_C_EXIT, /* c000013a (STATUS_CONTROL_C_EXIT) */
798 ERROR_NETNAME_DELETED, /* c000013b (STATUS_LOCAL_DISCONNECT) */
799 ERROR_NETNAME_DELETED, /* c000013c (STATUS_REMOTE_DISCONNECT) */
800 ERROR_REM_NOT_LIST, /* c000013d (STATUS_REMOTE_RESOURCES) */
801 ERROR_UNEXP_NET_ERR, /* c000013e (STATUS_LINK_FAILED) */
802 ERROR_UNEXP_NET_ERR, /* c000013f (STATUS_LINK_TIMEOUT) */
803 ERROR_UNEXP_NET_ERR, /* c0000140 (STATUS_INVALID_CONNECTION) */
804 ERROR_UNEXP_NET_ERR, /* c0000141 (STATUS_INVALID_ADDRESS) */
805 ERROR_DLL_INIT_FAILED, /* c0000142 (STATUS_DLL_INIT_FAILED) */
806 ERROR_MISSING_SYSTEMFILE, /* c0000143 (STATUS_MISSING_SYSTEMFILE) */
807 ERROR_UNHANDLED_EXCEPTION, /* c0000144 (STATUS_UNHANDLED_EXCEPTION) */
808 ERROR_APP_INIT_FAILURE, /* c0000145 (STATUS_APP_INIT_FAILURE) */
809 ERROR_PAGEFILE_CREATE_FAILED, /* c0000146 (STATUS_PAGEFILE_CREATE_FAILED) */
810 ERROR_NO_PAGEFILE, /* c0000147 (STATUS_NO_PAGEFILE) */
811 ERROR_INVALID_LEVEL, /* c0000148 (STATUS_INVALID_LEVEL) */
812 ERROR_INVALID_PASSWORD, /* c0000149 (STATUS_WRONG_PASSWORD_CORE) */
813 ERROR_ILLEGAL_FLOAT_CONTEXT, /* c000014a (STATUS_ILLEGAL_FLOAT_CONTEXT) */
814 ERROR_BROKEN_PIPE, /* c000014b (STATUS_PIPE_BROKEN) */
815 ERROR_BADDB, /* c000014c (STATUS_REGISTRY_CORRUPT) */
816 ERROR_REGISTRY_IO_FAILED, /* c000014d (STATUS_REGISTRY_IO_FAILED) */
817 ERROR_NO_EVENT_PAIR, /* c000014e (STATUS_NO_EVENT_PAIR) */
818 ERROR_UNRECOGNIZED_VOLUME, /* c000014f (STATUS_UNRECOGNIZED_VOLUME) */
819 ERROR_SERIAL_NO_DEVICE, /* c0000150 (STATUS_SERIAL_NO_DEVICE_INITED) */
820 ERROR_NO_SUCH_ALIAS, /* c0000151 (STATUS_NO_SUCH_ALIAS) */
821 ERROR_MEMBER_NOT_IN_ALIAS, /* c0000152 (STATUS_MEMBER_NOT_IN_ALIAS) */
822 ERROR_MEMBER_IN_ALIAS, /* c0000153 (STATUS_MEMBER_IN_ALIAS) */
823 ERROR_ALIAS_EXISTS, /* c0000154 (STATUS_ALIAS_EXISTS) */
824 ERROR_LOGON_NOT_GRANTED, /* c0000155 (STATUS_LOGON_NOT_GRANTED) */
825 ERROR_TOO_MANY_SECRETS, /* c0000156 (STATUS_TOO_MANY_SECRETS) */
826 ERROR_SECRET_TOO_LONG, /* c0000157 (STATUS_SECRET_TOO_LONG) */
827 ERROR_INTERNAL_DB_ERROR, /* c0000158 (STATUS_INTERNAL_DB_ERROR) */
828 ERROR_FULLSCREEN_MODE, /* c0000159 (STATUS_FULLSCREEN_MODE) */
829 ERROR_TOO_MANY_CONTEXT_IDS, /* c000015a (STATUS_TOO_MANY_CONTEXT_IDS) */
830 ERROR_LOGON_TYPE_NOT_GRANTED, /* c000015b (STATUS_LOGON_TYPE_NOT_GRANTED) */
831 ERROR_NOT_REGISTRY_FILE, /* c000015c (STATUS_NOT_REGISTRY_FILE) */
832 ERROR_NT_CROSS_ENCRYPTION_REQUIRED, /* c000015d (STATUS_NT_CROSS_ENCRYPTION_REQUIRED) */
833 ERROR_DOMAIN_CTRLR_CONFIG_ERROR, /* c000015e (STATUS_DOMAIN_CTRLR_CONFIG_ERROR) */
834 ERROR_IO_DEVICE, /* c000015f (STATUS_FT_MISSING_MEMBER) */
835 0, /* c0000160 (STATUS_ILL_FORMED_SERVICE_ENTRY) */
836 ERROR_ILLEGAL_CHARACTER, /* c0000161 (STATUS_ILLEGAL_CHARACTER) */
837 ERROR_NO_UNICODE_TRANSLATION, /* c0000162 (STATUS_UNMAPPABLE_CHARACTER) */
838 ERROR_UNDEFINED_CHARACTER, /* c0000163 (STATUS_UNDEFINED_CHARACTER) */
839 ERROR_FLOPPY_VOLUME, /* c0000164 (STATUS_FLOPPY_VOLUME) */
840 ERROR_FLOPPY_ID_MARK_NOT_FOUND, /* c0000165 (STATUS_FLOPPY_ID_MARK_NOT_FOUND) */
841 ERROR_FLOPPY_WRONG_CYLINDER, /* c0000166 (STATUS_FLOPPY_WRONG_CYLINDER) */
842 ERROR_FLOPPY_UNKNOWN_ERROR, /* c0000167 (STATUS_FLOPPY_UNKNOWN_ERROR) */
843 ERROR_FLOPPY_BAD_REGISTERS, /* c0000168 (STATUS_FLOPPY_BAD_REGISTERS) */
844 ERROR_DISK_RECALIBRATE_FAILED, /* c0000169 (STATUS_DISK_RECALIBRATE_FAILED) */
845 ERROR_DISK_OPERATION_FAILED, /* c000016a (STATUS_DISK_OPERATION_FAILED) */
846 ERROR_DISK_RESET_FAILED, /* c000016b (STATUS_DISK_RESET_FAILED) */
847 ERROR_IRQ_BUSY, /* c000016c (STATUS_SHARED_IRQ_BUSY) */
848 ERROR_IO_DEVICE, /* c000016d (STATUS_FT_ORPHANING) */
849 ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT, /* c000016e (STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT) */
850 0, /* c000016f */
851 0, /* c0000170 */
852 0, /* c0000171 */
853 ERROR_PARTITION_FAILURE, /* c0000172 (STATUS_PARTITION_FAILURE) */
854 ERROR_INVALID_BLOCK_LENGTH, /* c0000173 (STATUS_INVALID_BLOCK_LENGTH) */
855 ERROR_DEVICE_NOT_PARTITIONED, /* c0000174 (STATUS_DEVICE_NOT_PARTITIONED) */
856 ERROR_UNABLE_TO_LOCK_MEDIA, /* c0000175 (STATUS_UNABLE_TO_LOCK_MEDIA) */
857 ERROR_UNABLE_TO_UNLOAD_MEDIA, /* c0000176 (STATUS_UNABLE_TO_UNLOAD_MEDIA) */
858 ERROR_EOM_OVERFLOW, /* c0000177 (STATUS_EOM_OVERFLOW) */
859 ERROR_NO_MEDIA_IN_DRIVE, /* c0000178 (STATUS_NO_MEDIA) */
860 0, /* c0000179 */
861 ERROR_NO_SUCH_MEMBER, /* c000017a (STATUS_NO_SUCH_MEMBER) */
862 ERROR_INVALID_MEMBER, /* c000017b (STATUS_INVALID_MEMBER) */
863 ERROR_KEY_DELETED, /* c000017c (STATUS_KEY_DELETED) */
864 ERROR_NO_LOG_SPACE, /* c000017d (STATUS_NO_LOG_SPACE) */
865 ERROR_TOO_MANY_SIDS, /* c000017e (STATUS_TOO_MANY_SIDS) */
866 ERROR_LM_CROSS_ENCRYPTION_REQUIRED, /* c000017f (STATUS_LM_CROSS_ENCRYPTION_REQUIRED) */
867 ERROR_KEY_HAS_CHILDREN, /* c0000180 (STATUS_KEY_HAS_CHILDREN) */
868 ERROR_CHILD_MUST_BE_VOLATILE, /* c0000181 (STATUS_CHILD_MUST_BE_VOLATILE) */
869 ERROR_INVALID_PARAMETER, /* c0000182 (STATUS_DEVICE_CONFIGURATION_ERROR) */
870 ERROR_IO_DEVICE, /* c0000183 (STATUS_DRIVER_INTERNAL_ERROR) */
871 ERROR_BAD_COMMAND, /* c0000184 (STATUS_INVALID_DEVICE_STATE) */
872 ERROR_IO_DEVICE, /* c0000185 (STATUS_IO_DEVICE_ERROR) */
873 ERROR_IO_DEVICE, /* c0000186 (STATUS_DEVICE_PROTOCOL_ERROR) */
874 ERROR_BACKUP_CONTROLLER, /* c0000187 (STATUS_BACKUP_CONTROLLER) */
875 ERROR_LOG_FILE_FULL, /* c0000188 (STATUS_LOG_FILE_FULL) */
876 ERROR_WRITE_PROTECT, /* c0000189 (STATUS_TOO_LATE) */
877 ERROR_NO_TRUST_LSA_SECRET, /* c000018a (STATUS_NO_TRUST_LSA_SECRET) */
878 ERROR_NO_TRUST_SAM_ACCOUNT, /* c000018b (STATUS_NO_TRUST_SAM_ACCOUNT) */
879 ERROR_TRUSTED_DOMAIN_FAILURE, /* c000018c (STATUS_TRUSTED_DOMAIN_FAILURE) */
880 ERROR_TRUSTED_RELATIONSHIP_FAILURE, /* c000018d (STATUS_TRUSTED_RELATIONSHIP_FAILURE) */
881 ERROR_EVENTLOG_FILE_CORRUPT, /* c000018e (STATUS_EVENTLOG_FILE_CORRUPT) */
882 ERROR_EVENTLOG_CANT_START, /* c000018f (STATUS_EVENTLOG_CANT_START) */
883 ERROR_TRUST_FAILURE, /* c0000190 (STATUS_TRUST_FAILURE) */
884 ERROR_MUTANT_LIMIT_EXCEEDED, /* c0000191 (STATUS_MUTANT_LIMIT_EXCEEDED) */
885 ERROR_NETLOGON_NOT_STARTED, /* c0000192 (STATUS_NETLOGON_NOT_STARTED) */
886 ERROR_ACCOUNT_EXPIRED, /* c0000193 (STATUS_ACCOUNT_EXPIRED) */
887 ERROR_POSSIBLE_DEADLOCK, /* c0000194 (STATUS_POSSIBLE_DEADLOCK) */
888 ERROR_SESSION_CREDENTIAL_CONFLICT, /* c0000195 (STATUS_NETWORK_CREDENTIAL_CONFLICT) */
889 ERROR_REMOTE_SESSION_LIMIT_EXCEEDED, /* c0000196 (STATUS_REMOTE_SESSION_LIMIT) */
890 ERROR_EVENTLOG_FILE_CHANGED, /* c0000197 (STATUS_EVENTLOG_FILE_CHANGED) */
891 ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,/* c0000198 (STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT) */
892 ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT,/* c0000199 (STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT) */
893 ERROR_NOLOGON_SERVER_TRUST_ACCOUNT, /* c000019a (STATUS_NOLOGON_SERVER_TRUST_ACCOUNT) */
894 ERROR_DOMAIN_TRUST_INCONSISTENT, /* c000019b (STATUS_DOMAIN_TRUST_INCONSISTENT) */
895 ERROR_FS_DRIVER_REQUIRED /* c000019c (STATUS_FS_DRIVER_REQUIRED) */
898 static const DWORD table_c0000202[396] =
900 ERROR_NO_USER_SESSION_KEY, /* c0000202 (STATUS_NO_USER_SESSION_KEY) */
901 ERROR_UNEXP_NET_ERR, /* c0000203 (STATUS_USER_SESSION_DELETED) */
902 ERROR_RESOURCE_LANG_NOT_FOUND, /* c0000204 (STATUS_RESOURCE_LANG_NOT_FOUND) */
903 ERROR_NOT_ENOUGH_SERVER_MEMORY, /* c0000205 (STATUS_INSUFF_SERVER_RESOURCES) */
904 ERROR_INVALID_USER_BUFFER, /* c0000206 (STATUS_INVALID_BUFFER_SIZE) */
905 ERROR_INVALID_NETNAME, /* c0000207 (STATUS_INVALID_ADDRESS_COMPONENT) */
906 ERROR_INVALID_NETNAME, /* c0000208 (STATUS_INVALID_ADDRESS_WILDCARD) */
907 ERROR_TOO_MANY_NAMES, /* c0000209 (STATUS_TOO_MANY_ADDRESSES) */
908 ERROR_DUP_NAME, /* c000020a (STATUS_ADDRESS_ALREADY_EXISTS) */
909 ERROR_NETNAME_DELETED, /* c000020b (STATUS_ADDRESS_CLOSED) */
910 ERROR_NETNAME_DELETED, /* c000020c (STATUS_CONNECTION_DISCONNECTED) */
911 ERROR_NETNAME_DELETED, /* c000020d (STATUS_CONNECTION_RESET) */
912 ERROR_TOO_MANY_NAMES, /* c000020e (STATUS_TOO_MANY_NODES) */
913 ERROR_UNEXP_NET_ERR, /* c000020f (STATUS_TRANSACTION_ABORTED) */
914 ERROR_UNEXP_NET_ERR, /* c0000210 (STATUS_TRANSACTION_TIMED_OUT) */
915 ERROR_UNEXP_NET_ERR, /* c0000211 (STATUS_TRANSACTION_NO_RELEASE) */
916 ERROR_UNEXP_NET_ERR, /* c0000212 (STATUS_TRANSACTION_NO_MATCH) */
917 ERROR_UNEXP_NET_ERR, /* c0000213 (STATUS_TRANSACTION_RESPONDED) */
918 ERROR_UNEXP_NET_ERR, /* c0000214 (STATUS_TRANSACTION_INVALID_ID) */
919 ERROR_UNEXP_NET_ERR, /* c0000215 (STATUS_TRANSACTION_INVALID_TYPE) */
920 ERROR_NOT_SUPPORTED, /* c0000216 (STATUS_NOT_SERVER_SESSION) */
921 ERROR_NOT_SUPPORTED, /* c0000217 (STATUS_NOT_CLIENT_SESSION) */
922 ERROR_CANNOT_LOAD_REGISTRY_FILE, /* c0000218 (STATUS_CANNOT_LOAD_REGISTRY_FILE) */
923 ERROR_DEBUG_ATTACH_FAILED, /* c0000219 (STATUS_DEBUG_ATTACH_FAILED) */
924 ERROR_SYSTEM_PROCESS_TERMINATED, /* c000021a (STATUS_SYSTEM_PROCESS_TERMINATED) */
925 ERROR_DATA_NOT_ACCEPTED, /* c000021b (STATUS_DATA_NOT_ACCEPTED) */
926 ERROR_NO_BROWSER_SERVERS_FOUND, /* c000021c (STATUS_NO_BROWSER_SERVERS_FOUND) */
927 ERROR_VDM_HARD_ERROR, /* c000021d (STATUS_VDM_HARD_ERROR) */
928 ERROR_DRIVER_CANCEL_TIMEOUT, /* c000021e (STATUS_DRIVER_CANCEL_TIMEOUT) */
929 ERROR_REPLY_MESSAGE_MISMATCH, /* c000021f (STATUS_REPLY_MESSAGE_MISMATCH) */
930 ERROR_MAPPED_ALIGNMENT, /* c0000220 (STATUS_MAPPED_ALIGNMENT) */
931 ERROR_BAD_EXE_FORMAT, /* c0000221 (STATUS_IMAGE_CHECKSUM_MISMATCH) */
932 ERROR_LOST_WRITEBEHIND_DATA, /* c0000222 (STATUS_LOST_WRITEBEHIND_DATA) */
933 ERROR_CLIENT_SERVER_PARAMETERS_INVALID, /* c0000223 (STATUS_CLIENT_SERVER_PARAMETERS_INVALID) */
934 ERROR_PASSWORD_MUST_CHANGE, /* c0000224 (STATUS_PASSWORD_MUST_CHANGE) */
935 ERROR_NOT_FOUND, /* c0000225 (STATUS_NOT_FOUND) */
936 ERROR_NOT_TINY_STREAM, /* c0000226 (STATUS_NOT_TINY_STREAM) */
937 0, /* c0000227 (STATUS_RECOVERY_FAILURE) */
938 ERROR_STACK_OVERFLOW_READ, /* c0000228 (STATUS_STACK_OVERFLOW_READ) */
939 ERROR_INVALID_PARAMETER, /* c0000229 (STATUS_FAIL_CHECK) */
940 ERROR_OBJECT_ALREADY_EXISTS, /* c000022a (STATUS_DUPLICATE_OBJECTID) */
941 ERROR_OBJECT_ALREADY_EXISTS, /* c000022b (STATUS_OBJECTID_EXISTS) */
942 ERROR_CONVERT_TO_LARGE, /* c000022c (STATUS_CONVERT_TO_LARGE) */
943 ERROR_RETRY, /* c000022d (STATUS_RETRY) */
944 ERROR_FOUND_OUT_OF_SCOPE, /* c000022e (STATUS_FOUND_OUT_OF_SCOPE) */
945 ERROR_ALLOCATE_BUCKET, /* c000022f (STATUS_ALLOCATE_BUCKET) */
946 ERROR_SET_NOT_FOUND, /* c0000230 (STATUS_PROPSET_NOT_FOUND) */
947 ERROR_MARSHALL_OVERFLOW, /* c0000231 (STATUS_MARSHALL_OVERFLOW) */
948 ERROR_INVALID_VARIANT, /* c0000232 (STATUS_INVALID_VARIANT) */
949 ERROR_DOMAIN_CONTROLLER_NOT_FOUND, /* c0000233 (STATUS_DOMAIN_CONTROLLER_NOT_FOUND) */
950 ERROR_ACCOUNT_LOCKED_OUT, /* c0000234 (STATUS_ACCOUNT_LOCKED_OUT) */
951 ERROR_INVALID_HANDLE, /* c0000235 (STATUS_HANDLE_NOT_CLOSABLE) */
952 ERROR_CONNECTION_REFUSED, /* c0000236 (STATUS_CONNECTION_REFUSED) */
953 ERROR_GRACEFUL_DISCONNECT, /* c0000237 (STATUS_GRACEFUL_DISCONNECT) */
954 ERROR_ADDRESS_ALREADY_ASSOCIATED, /* c0000238 (STATUS_ADDRESS_ALREADY_ASSOCIATED) */
955 ERROR_ADDRESS_NOT_ASSOCIATED, /* c0000239 (STATUS_ADDRESS_NOT_ASSOCIATED) */
956 ERROR_CONNECTION_INVALID, /* c000023a (STATUS_CONNECTION_INVALID) */
957 ERROR_CONNECTION_ACTIVE, /* c000023b (STATUS_CONNECTION_ACTIVE) */
958 ERROR_NETWORK_UNREACHABLE, /* c000023c (STATUS_NETWORK_UNREACHABLE) */
959 ERROR_HOST_UNREACHABLE, /* c000023d (STATUS_HOST_UNREACHABLE) */
960 ERROR_PROTOCOL_UNREACHABLE, /* c000023e (STATUS_PROTOCOL_UNREACHABLE) */
961 ERROR_PORT_UNREACHABLE, /* c000023f (STATUS_PORT_UNREACHABLE) */
962 ERROR_REQUEST_ABORTED, /* c0000240 (STATUS_REQUEST_ABORTED) */
963 ERROR_CONNECTION_ABORTED, /* c0000241 (STATUS_CONNECTION_ABORTED) */
964 ERROR_BAD_COMPRESSION_BUFFER, /* c0000242 (STATUS_BAD_COMPRESSION_BUFFER) */
965 ERROR_USER_MAPPED_FILE, /* c0000243 (STATUS_USER_MAPPED_FILE) */
966 ERROR_AUDIT_FAILED, /* c0000244 (STATUS_AUDIT_FAILED) */
967 ERROR_TIMER_RESOLUTION_NOT_SET, /* c0000245 (STATUS_TIMER_RESOLUTION_NOT_SET) */
968 ERROR_CONNECTION_COUNT_LIMIT, /* c0000246 (STATUS_CONNECTION_COUNT_LIMIT) */
969 ERROR_LOGIN_TIME_RESTRICTION, /* c0000247 (STATUS_LOGIN_TIME_RESTRICTION) */
970 ERROR_LOGIN_WKSTA_RESTRICTION, /* c0000248 (STATUS_LOGIN_WKSTA_RESTRICTION) */
971 ERROR_BAD_EXE_FORMAT, /* c0000249 (STATUS_IMAGE_MP_UP_MISMATCH) */
972 0, /* c000024a */
973 0, /* c000024b */
974 0, /* c000024c */
975 0, /* c000024d */
976 0, /* c000024e */
977 0, /* c000024f */
978 ERROR_INSUFFICIENT_LOGON_INFO, /* c0000250 (STATUS_INSUFFICIENT_LOGON_INFO) */
979 ERROR_BAD_DLL_ENTRYPOINT, /* c0000251 (STATUS_BAD_DLL_ENTRYPOINT) */
980 ERROR_BAD_SERVICE_ENTRYPOINT, /* c0000252 (STATUS_BAD_SERVICE_ENTRYPOINT) */
981 ERROR_CONNECTION_ABORTED, /* c0000253 (STATUS_LPC_REPLY_LOST) */
982 ERROR_IP_ADDRESS_CONFLICT1, /* c0000254 (STATUS_IP_ADDRESS_CONFLICT1) */
983 ERROR_IP_ADDRESS_CONFLICT2, /* c0000255 (STATUS_IP_ADDRESS_CONFLICT2) */
984 ERROR_REGISTRY_QUOTA_LIMIT, /* c0000256 (STATUS_REGISTRY_QUOTA_LIMIT) */
985 ERROR_HOST_UNREACHABLE, /* c0000257 (STATUS_PATH_NOT_COVERED) */
986 ERROR_NO_CALLBACK_ACTIVE, /* c0000258 (STATUS_NO_CALLBACK_ACTIVE) */
987 ERROR_LICENSE_QUOTA_EXCEEDED, /* c0000259 (STATUS_LICENSE_QUOTA_EXCEEDED) */
988 ERROR_PWD_TOO_SHORT, /* c000025a (STATUS_PWD_TOO_SHORT) */
989 ERROR_PWD_TOO_RECENT, /* c000025b (STATUS_PWD_TOO_RECENT) */
990 ERROR_PWD_HISTORY_CONFLICT, /* c000025c (STATUS_PWD_HISTORY_CONFLICT) */
991 0, /* c000025d */
992 ERROR_SERVICE_DISABLED, /* c000025e (STATUS_PLUGPLAY_NO_DEVICE) */
993 ERROR_UNSUPPORTED_COMPRESSION, /* c000025f (STATUS_UNSUPPORTED_COMPRESSION) */
994 ERROR_INVALID_HW_PROFILE, /* c0000260 (STATUS_INVALID_HW_PROFILE) */
995 ERROR_INVALID_PLUGPLAY_DEVICE_PATH, /* c0000261 (STATUS_INVALID_PLUGPLAY_DEVICE_PATH) */
996 ERROR_INVALID_ORDINAL, /* c0000262 (STATUS_DRIVER_ORDINAL_NOT_FOUND) */
997 ERROR_PROC_NOT_FOUND, /* c0000263 (STATUS_DRIVER_ENTRYPOINT_NOT_FOUND) */
998 ERROR_NOT_OWNER, /* c0000264 (STATUS_RESOURCE_NOT_OWNED) */
999 ERROR_TOO_MANY_LINKS, /* c0000265 (STATUS_TOO_MANY_LINKS) */
1000 ERROR_QUOTA_LIST_INCONSISTENT, /* c0000266 (STATUS_QUOTA_LIST_INCONSISTENT) */
1001 ERROR_FILE_OFFLINE, /* c0000267 (STATUS_FILE_IS_OFFLINE) */
1002 ERROR_EVALUATION_EXPIRATION, /* c0000268 (STATUS_EVALUATION_EXPIRATION) */
1003 ERROR_ILLEGAL_DLL_RELOCATION, /* c0000269 (STATUS_ILLEGAL_DLL_RELOCATION) */
1004 ERROR_CTX_LICENSE_NOT_AVAILABLE, /* c000026a (STATUS_LICENSE_VIOLATION) */
1005 ERROR_DLL_INIT_FAILED_LOGOFF, /* c000026b (STATUS_DLL_INIT_FAILED_LOGOFF) */
1006 ERROR_BAD_DRIVER, /* c000026c (STATUS_DRIVER_UNABLE_TO_LOAD) */
1007 ERROR_CONNECTION_UNAVAIL, /* c000026d (STATUS_DFS_UNAVAILABLE) */
1008 ERROR_NOT_READY, /* c000026e (STATUS_VOLUME_DISMOUNTED) */
1009 0, /* c000026f (STATUS_WX86_INTERNAL_ERROR) */
1010 0, /* c0000270 (STATUS_WX86_FLOAT_STACK_CHECK) */
1011 ERROR_VALIDATE_CONTINUE, /* c0000271 (STATUS_VALIDATE_CONTINUE) */
1012 ERROR_NO_MATCH, /* c0000272 (STATUS_NO_MATCH) */
1013 ERROR_NO_MORE_MATCHES, /* c0000273 (STATUS_NO_MORE_MATCHES) */
1014 0, /* c0000274 */
1015 ERROR_NOT_A_REPARSE_POINT, /* c0000275 (STATUS_NOT_A_REPARSE_POINT) */
1016 ERROR_REPARSE_TAG_INVALID, /* c0000276 (STATUS_IO_REPARSE_TAG_INVALID) */
1017 ERROR_REPARSE_TAG_MISMATCH, /* c0000277 (STATUS_IO_REPARSE_TAG_MISMATCH) */
1018 ERROR_INVALID_REPARSE_DATA, /* c0000278 (STATUS_IO_REPARSE_DATA_INVALID) */
1019 ERROR_CANT_ACCESS_FILE, /* c0000279 (STATUS_IO_REPARSE_TAG_NOT_HANDLED) */
1020 0, /* c000027a */
1021 0, /* c000027b */
1022 0, /* c000027c */
1023 0, /* c000027d */
1024 0, /* c000027e */
1025 0, /* c000027f */
1026 ERROR_CANT_RESOLVE_FILENAME, /* c0000280 (STATUS_REPARSE_POINT_NOT_RESOLVED) */
1027 ERROR_BAD_PATHNAME, /* c0000281 (STATUS_DIRECTORY_IS_A_REPARSE_POINT) */
1028 ERROR_RANGE_LIST_CONFLICT, /* c0000282 (STATUS_RANGE_LIST_CONFLICT) */
1029 ERROR_SOURCE_ELEMENT_EMPTY, /* c0000283 (STATUS_SOURCE_ELEMENT_EMPTY) */
1030 ERROR_DESTINATION_ELEMENT_FULL, /* c0000284 (STATUS_DESTINATION_ELEMENT_FULL) */
1031 ERROR_ILLEGAL_ELEMENT_ADDRESS, /* c0000285 (STATUS_ILLEGAL_ELEMENT_ADDRESS) */
1032 ERROR_MAGAZINE_NOT_PRESENT, /* c0000286 (STATUS_MAGAZINE_NOT_PRESENT) */
1033 ERROR_DEVICE_REINITIALIZATION_NEEDED, /* c0000287 (STATUS_REINITIALIZATION_NEEDED) */
1034 0, /* c0000288 */
1035 0, /* c0000289 */
1036 ERROR_ACCESS_DENIED, /* c000028a (STATUS_ENCRYPTION_FAILED) */
1037 ERROR_ACCESS_DENIED, /* c000028b (STATUS_DECRYPTION_FAILED) */
1038 ERROR_RANGE_NOT_FOUND, /* c000028c (STATUS_RANGE_NOT_FOUND) */
1039 ERROR_ACCESS_DENIED, /* c000028d (STATUS_NO_RECOVERY_POLICY) */
1040 ERROR_ACCESS_DENIED, /* c000028e (STATUS_NO_EFS) */
1041 ERROR_ACCESS_DENIED, /* c000028f (STATUS_WRONG_EFS) */
1042 ERROR_ACCESS_DENIED, /* c0000290 (STATUS_NO_USER_KEYS) */
1043 ERROR_FILE_NOT_ENCRYPTED, /* c0000291 (STATUS_FILE_NOT_ENCRYPTED) */
1044 ERROR_NOT_EXPORT_FORMAT, /* c0000292 (STATUS_NOT_EXPORT_FORMAT) */
1045 ERROR_FILE_ENCRYPTED, /* c0000293 (STATUS_FILE_ENCRYPTED) */
1046 0, /* c0000294 */
1047 ERROR_WMI_GUID_NOT_FOUND, /* c0000295 (STATUS_WMI_GUID_NOT_FOUND) */
1048 ERROR_WMI_INSTANCE_NOT_FOUND, /* c0000296 (STATUS_WMI_INSTANCE_NOT_FOUND) */
1049 ERROR_WMI_ITEMID_NOT_FOUND, /* c0000297 (STATUS_WMI_ITEMID_NOT_FOUND) */
1050 ERROR_WMI_TRY_AGAIN, /* c0000298 (STATUS_WMI_TRY_AGAIN) */
1051 ERROR_SHARED_POLICY, /* c0000299 (STATUS_SHARED_POLICY) */
1052 ERROR_POLICY_OBJECT_NOT_FOUND, /* c000029a (STATUS_POLICY_OBJECT_NOT_FOUND) */
1053 ERROR_POLICY_ONLY_IN_DS, /* c000029b (STATUS_POLICY_ONLY_IN_DS) */
1054 ERROR_INVALID_FUNCTION, /* c000029c (STATUS_VOLUME_NOT_UPGRADED) */
1055 ERROR_REMOTE_STORAGE_NOT_ACTIVE, /* c000029d (STATUS_REMOTE_STORAGE_NOT_ACTIVE) */
1056 ERROR_REMOTE_STORAGE_MEDIA_ERROR, /* c000029e (STATUS_REMOTE_STORAGE_MEDIA_ERROR) */
1057 ERROR_NO_TRACKING_SERVICE, /* c000029f (STATUS_NO_TRACKING_SERVICE) */
1058 ERROR_SERVER_SID_MISMATCH, /* c00002a0 (STATUS_SERVER_SID_MISMATCH) */
1059 ERROR_DS_NO_ATTRIBUTE_OR_VALUE, /* c00002a1 (STATUS_DS_NO_ATTRIBUTE_OR_VALUE) */
1060 ERROR_DS_INVALID_ATTRIBUTE_SYNTAX, /* c00002a2 (STATUS_DS_INVALID_ATTRIBUTE_SYNTAX) */
1061 ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED, /* c00002a3 (STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED) */
1062 ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS, /* c00002a4 (STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS) */
1063 ERROR_DS_BUSY, /* c00002a5 (STATUS_DS_BUSY) */
1064 ERROR_DS_UNAVAILABLE, /* c00002a6 (STATUS_DS_UNAVAILABLE) */
1065 ERROR_DS_NO_RIDS_ALLOCATED, /* c00002a7 (STATUS_DS_NO_RIDS_ALLOCATED) */
1066 ERROR_DS_NO_MORE_RIDS, /* c00002a8 (STATUS_DS_NO_MORE_RIDS) */
1067 ERROR_DS_INCORRECT_ROLE_OWNER, /* c00002a9 (STATUS_DS_INCORRECT_ROLE_OWNER) */
1068 ERROR_DS_RIDMGR_INIT_ERROR, /* c00002aa (STATUS_DS_RIDMGR_INIT_ERROR) */
1069 ERROR_DS_OBJ_CLASS_VIOLATION, /* c00002ab (STATUS_DS_OBJ_CLASS_VIOLATION) */
1070 ERROR_DS_CANT_ON_NON_LEAF, /* c00002ac (STATUS_DS_CANT_ON_NON_LEAF) */
1071 ERROR_DS_CANT_ON_RDN, /* c00002ad (STATUS_DS_CANT_ON_RDN) */
1072 ERROR_DS_CANT_MOD_OBJ_CLASS, /* c00002ae (STATUS_DS_CANT_MOD_OBJ_CLASS) */
1073 ERROR_DS_CROSS_DOM_MOVE_ERROR, /* c00002af (STATUS_DS_CROSS_DOM_MOVE_FAILED) */
1074 ERROR_DS_GC_NOT_AVAILABLE, /* c00002b0 (STATUS_DS_GC_NOT_AVAILABLE) */
1075 ERROR_DS_DS_REQUIRED, /* c00002b1 (STATUS_DIRECTORY_SERVICE_REQUIRED) */
1076 ERROR_REPARSE_ATTRIBUTE_CONFLICT, /* c00002b2 (STATUS_REPARSE_ATTRIBUTE_CONFLICT) */
1077 ERROR_CANT_ENABLE_DENY_ONLY, /* c00002b3 (STATUS_CANT_ENABLE_DENY_ONLY) */
1078 ERROR_FLOAT_MULTIPLE_FAULTS, /* c00002b4 (STATUS_FLOAT_MULTIPLE_FAULTS) */
1079 ERROR_FLOAT_MULTIPLE_TRAPS, /* c00002b5 (STATUS_FLOAT_MULTIPLE_TRAPS) */
1080 ERROR_DEVICE_REMOVED, /* c00002b6 (STATUS_DEVICE_REMOVED) */
1081 ERROR_JOURNAL_DELETE_IN_PROGRESS, /* c00002b7 (STATUS_JOURNAL_DELETE_IN_PROGRESS) */
1082 ERROR_JOURNAL_NOT_ACTIVE, /* c00002b8 (STATUS_JOURNAL_NOT_ACTIVE) */
1083 ERROR_NOINTERFACE, /* c00002b9 (STATUS_NOINTERFACE) */
1084 0, /* c00002ba */
1085 0, /* c00002bb */
1086 0, /* c00002bc */
1087 0, /* c00002bd */
1088 0, /* c00002be */
1089 0, /* c00002bf */
1090 0, /* c00002c0 */
1091 ERROR_DS_ADMIN_LIMIT_EXCEEDED, /* c00002c1 (STATUS_DS_ADMIN_LIMIT_EXCEEDED) */
1092 ERROR_DRIVER_FAILED_SLEEP, /* c00002c2 (STATUS_DRIVER_FAILED_SLEEP) */
1093 ERROR_MUTUAL_AUTH_FAILED, /* c00002c3 (STATUS_MUTUAL_AUTHENTICATION_FAILED) */
1094 ERROR_CORRUPT_SYSTEM_FILE, /* c00002c4 (STATUS_CORRUPT_SYSTEM_FILE) */
1095 ERROR_NOACCESS, /* c00002c5 (STATUS_DATATYPE_MISALIGNMENT_ERROR) */
1096 ERROR_WMI_READ_ONLY, /* c00002c6 (STATUS_WMI_READ_ONLY) */
1097 ERROR_WMI_SET_FAILURE, /* c00002c7 (STATUS_WMI_SET_FAILURE) */
1098 ERROR_COMMITMENT_MINIMUM, /* c00002c8 (STATUS_COMMITMENT_MINIMUM) */
1099 ERROR_REG_NAT_CONSUMPTION, /* c00002c9 (STATUS_REG_NAT_CONSUMPTION) */
1100 ERROR_TRANSPORT_FULL, /* c00002ca (STATUS_TRANSPORT_FULL) */
1101 ERROR_DS_SAM_INIT_FAILURE, /* c00002cb (STATUS_DS_SAM_INIT_FAILURE) */
1102 ERROR_ONLY_IF_CONNECTED, /* c00002cc (STATUS_ONLY_IF_CONNECTED) */
1103 ERROR_DS_SENSITIVE_GROUP_VIOLATION, /* c00002cd (STATUS_DS_SENSITIVE_GROUP_VIOLATION) */
1104 ERROR_PNP_RESTART_ENUMERATION, /* c00002ce (STATUS_PNP_RESTART_ENUMERATION) */
1105 ERROR_JOURNAL_ENTRY_DELETED, /* c00002cf (STATUS_JOURNAL_ENTRY_DELETED) */
1106 ERROR_DS_CANT_MOD_PRIMARYGROUPID, /* c00002d0 (STATUS_DS_CANT_MOD_PRIMARYGROUPID) */
1107 ERROR_SYSTEM_IMAGE_BAD_SIGNATURE, /* c00002d1 (STATUS_SYSTEM_IMAGE_BAD_SIGNATURE) */
1108 ERROR_PNP_REBOOT_REQUIRED, /* c00002d2 (STATUS_PNP_REBOOT_REQUIRED) */
1109 0, /* c00002d3 (STATUS_POWER_STATE_INVALID) */
1110 ERROR_DS_INVALID_GROUP_TYPE, /* c00002d4 (STATUS_DS_INVALID_GROUP_TYPE) */
1111 ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, /* c00002d5 (STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN) */
1112 ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN, /* c00002d6 (STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN) */
1113 ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER, /* c00002d7 (STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER) */
1114 ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER, /* c00002d8 (STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER) */
1115 ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER, /* c00002d9 (STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER) */
1116 ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER,/* c00002da (STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER) */
1117 ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, /* c00002db (STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER) */
1118 ERROR_DS_HAVE_PRIMARY_MEMBERS, /* c00002dc (STATUS_DS_HAVE_PRIMARY_MEMBERS) */
1119 ERROR_NOT_SUPPORTED, /* c00002dd (STATUS_WMI_NOT_SUPPORTED) */
1120 ERROR_INSUFFICIENT_POWER, /* c00002de (STATUS_INSUFFICIENT_POWER) */
1121 ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD, /* c00002df (STATUS_SAM_NEED_BOOTKEY_PASSWORD) */
1122 ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY, /* c00002e0 (STATUS_SAM_NEED_BOOTKEY_FLOPPY) */
1123 ERROR_DS_CANT_START, /* c00002e1 (STATUS_DS_CANT_START) */
1124 ERROR_DS_INIT_FAILURE, /* c00002e2 (STATUS_DS_INIT_FAILURE) */
1125 ERROR_SAM_INIT_FAILURE, /* c00002e3 (STATUS_SAM_INIT_FAILURE) */
1126 ERROR_DS_GC_REQUIRED, /* c00002e4 (STATUS_DS_GC_REQUIRED) */
1127 ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY, /* c00002e5 (STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY) */
1128 ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS, /* c00002e6 (STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS) */
1129 ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED, /* c00002e7 (STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED) */
1130 ERROR_MULTIPLE_FAULT_VIOLATION, /* c00002e8 (STATUS_MULTIPLE_FAULT_VIOLATION) */
1131 ERROR_CURRENT_DOMAIN_NOT_ALLOWED, /* c00002e9 (STATUS_CURRENT_DOMAIN_NOT_ALLOWED) */
1132 ERROR_CANNOT_MAKE, /* c00002ea (STATUS_CANNOT_MAKE) */
1133 ERROR_SYSTEM_SHUTDOWN, /* c00002eb (STATUS_SYSTEM_SHUTDOWN) */
1134 ERROR_DS_INIT_FAILURE_CONSOLE, /* c00002ec (STATUS_DS_INIT_FAILURE_CONSOLE) */
1135 ERROR_DS_SAM_INIT_FAILURE_CONSOLE, /* c00002ed (STATUS_DS_SAM_INIT_FAILURE_CONSOLE) */
1136 SEC_E_UNFINISHED_CONTEXT_DELETED, /* c00002ee (STATUS_UNFINISHED_CONTEXT_DELETED) */
1137 SEC_E_NO_TGT_REPLY, /* c00002ef (STATUS_NO_TGT_REPLY) */
1138 ERROR_FILE_NOT_FOUND, /* c00002f0 (STATUS_OBJECTID_NOT_FOUND) */
1139 SEC_E_NO_IP_ADDRESSES, /* c00002f1 (STATUS_NO_IP_ADDRESSES) */
1140 SEC_E_WRONG_CREDENTIAL_HANDLE, /* c00002f2 (STATUS_WRONG_CREDENTIAL_HANDLE) */
1141 SEC_E_CRYPTO_SYSTEM_INVALID, /* c00002f3 (STATUS_CRYPTO_SYSTEM_INVALID) */
1142 SEC_E_MAX_REFERRALS_EXCEEDED, /* c00002f4 (STATUS_MAX_REFERRALS_EXCEEDED) */
1143 SEC_E_MUST_BE_KDC, /* c00002f5 (STATUS_MUST_BE_KDC) */
1144 SEC_E_STRONG_CRYPTO_NOT_SUPPORTED, /* c00002f6 (STATUS_STRONG_CRYPTO_NOT_SUPPORTED) */
1145 SEC_E_TOO_MANY_PRINCIPALS, /* c00002f7 (STATUS_TOO_MANY_PRINCIPALS) */
1146 SEC_E_NO_PA_DATA, /* c00002f8 (STATUS_NO_PA_DATA) */
1147 SEC_E_PKINIT_NAME_MISMATCH, /* c00002f9 (STATUS_PKINIT_NAME_MISMATCH) */
1148 SEC_E_SMARTCARD_LOGON_REQUIRED, /* c00002fa (STATUS_SMARTCARD_LOGON_REQUIRED) */
1149 SEC_E_KDC_INVALID_REQUEST, /* c00002fb (STATUS_KDC_INVALID_REQUEST) */
1150 SEC_E_KDC_UNABLE_TO_REFER, /* c00002fc (STATUS_KDC_UNABLE_TO_REFER) */
1151 SEC_E_KDC_UNKNOWN_ETYPE, /* c00002fd (STATUS_KDC_UNKNOWN_ETYPE) */
1152 ERROR_SHUTDOWN_IN_PROGRESS, /* c00002fe (STATUS_SHUTDOWN_IN_PROGRESS) */
1153 ERROR_SERVER_SHUTDOWN_IN_PROGRESS, /* c00002ff (STATUS_SERVER_SHUTDOWN_IN_PROGRESS) */
1154 ERROR_NOT_SUPPORTED_ON_SBS, /* c0000300 (STATUS_NOT_SUPPORTED_ON_SBS) */
1155 ERROR_WMI_GUID_DISCONNECTED, /* c0000301 (STATUS_WMI_GUID_DISCONNECTED) */
1156 ERROR_WMI_ALREADY_DISABLED, /* c0000302 (STATUS_WMI_ALREADY_DISABLED) */
1157 ERROR_WMI_ALREADY_ENABLED, /* c0000303 (STATUS_WMI_ALREADY_ENABLED) */
1158 ERROR_DISK_TOO_FRAGMENTED, /* c0000304 (STATUS_MFT_TOO_FRAGMENTED) */
1159 STG_E_STATUS_COPY_PROTECTION_FAILURE, /* c0000305 (STATUS_COPY_PROTECTION_FAILURE) */
1160 STG_E_CSS_AUTHENTICATION_FAILURE, /* c0000306 (STATUS_CSS_AUTHENTICATION_FAILURE) */
1161 STG_E_CSS_KEY_NOT_PRESENT, /* c0000307 (STATUS_CSS_KEY_NOT_PRESENT) */
1162 STG_E_CSS_KEY_NOT_ESTABLISHED, /* c0000308 (STATUS_CSS_KEY_NOT_ESTABLISHED) */
1163 STG_E_CSS_SCRAMBLED_SECTOR, /* c0000309 (STATUS_CSS_SCRAMBLED_SECTOR) */
1164 STG_E_CSS_REGION_MISMATCH, /* c000030a (STATUS_CSS_REGION_MISMATCH) */
1165 STG_E_RESETS_EXHAUSTED, /* c000030b (STATUS_CSS_RESETS_EXHAUSTED) */
1166 0, /* c000030c */
1167 0, /* c000030d */
1168 0, /* c000030e */
1169 0, /* c000030f */
1170 0, /* c0000310 */
1171 0, /* c0000311 */
1172 0, /* c0000312 */
1173 0, /* c0000313 */
1174 0, /* c0000314 */
1175 0, /* c0000315 */
1176 0, /* c0000316 */
1177 0, /* c0000317 */
1178 0, /* c0000318 */
1179 0, /* c0000319 */
1180 0, /* c000031a */
1181 0, /* c000031b */
1182 0, /* c000031c */
1183 0, /* c000031d */
1184 0, /* c000031e */
1185 0, /* c000031f */
1186 ERROR_PKINIT_FAILURE, /* c0000320 (STATUS_PKINIT_FAILURE) */
1187 ERROR_SMARTCARD_SUBSYSTEM_FAILURE, /* c0000321 (STATUS_SMARTCARD_SUBSYSTEM_FAILURE) */
1188 SEC_E_NO_KERB_KEY, /* c0000322 (STATUS_NO_KERB_KEY) */
1189 0, /* c0000323 */
1190 0, /* c0000324 */
1191 0, /* c0000325 */
1192 0, /* c0000326 */
1193 0, /* c0000327 */
1194 0, /* c0000328 */
1195 0, /* c0000329 */
1196 0, /* c000032a */
1197 0, /* c000032b */
1198 0, /* c000032c */
1199 0, /* c000032d */
1200 0, /* c000032e */
1201 0, /* c000032f */
1202 0, /* c0000330 */
1203 0, /* c0000331 */
1204 0, /* c0000332 */
1205 0, /* c0000333 */
1206 0, /* c0000334 */
1207 0, /* c0000335 */
1208 0, /* c0000336 */
1209 0, /* c0000337 */
1210 0, /* c0000338 */
1211 0, /* c0000339 */
1212 0, /* c000033a */
1213 0, /* c000033b */
1214 0, /* c000033c */
1215 0, /* c000033d */
1216 0, /* c000033e */
1217 0, /* c000033f */
1218 0, /* c0000340 */
1219 0, /* c0000341 */
1220 0, /* c0000342 */
1221 0, /* c0000343 */
1222 0, /* c0000344 */
1223 0, /* c0000345 */
1224 0, /* c0000346 */
1225 0, /* c0000347 */
1226 0, /* c0000348 */
1227 0, /* c0000349 */
1228 0, /* c000034a */
1229 0, /* c000034b */
1230 0, /* c000034c */
1231 0, /* c000034d */
1232 0, /* c000034e */
1233 0, /* c000034f */
1234 ERROR_HOST_DOWN, /* c0000350 (STATUS_HOST_DOWN) */
1235 SEC_E_UNSUPPORTED_PREAUTH, /* c0000351 (STATUS_UNSUPPORTED_PREAUTH) */
1236 ERROR_EFS_ALG_BLOB_TOO_BIG, /* c0000352 (STATUS_EFS_ALG_BLOB_TOO_BIG) */
1237 ERROR_PORT_NOT_SET, /* c0000353 (STATUS_PORT_NOT_SET) */
1238 0, /* c0000354 (STATUS_DEBUGGER_INACTIVE) */
1239 ERROR_DS_VERSION_CHECK_FAILURE, /* c0000355 (STATUS_DS_VERSION_CHECK_FAILURE) */
1240 ERROR_AUDITING_DISABLED, /* c0000356 (STATUS_AUDITING_DISABLED) */
1241 ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4,/* c0000357 (STATUS_PRENT4_MACHINE_ACCOUNT) */
1242 ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER, /* c0000358 (STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER) */
1243 ERROR_BAD_EXE_FORMAT, /* c0000359 (STATUS_INVALID_IMAGE_WIN_32) */
1244 ERROR_BAD_EXE_FORMAT, /* c000035a (STATUS_INVALID_IMAGE_WIN_64) */
1245 SEC_E_BAD_BINDINGS, /* c000035b (STATUS_BAD_BINDINGS) */
1246 ERROR_NO_USER_SESSION_KEY, /* c000035c (STATUS_NETWORK_SESSION_EXPIRED) */
1247 0, /* c000035d (STATUS_APPHELP_BLOCK) */
1248 ERROR_ALL_SIDS_FILTERED, /* c000035e (STATUS_ALL_SIDS_FILTERED) */
1249 ERROR_NOT_SAFE_MODE_DRIVER, /* c000035f (STATUS_NOT_SAFE_MODE_DRIVER) */
1250 0, /* c0000360 */
1251 ERROR_ACCESS_DISABLED_BY_POLICY, /* c0000361 (STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT) */
1252 ERROR_ACCESS_DISABLED_BY_POLICY, /* c0000362 (STATUS_ACCESS_DISABLED_BY_POLICY_PATH) */
1253 ERROR_ACCESS_DISABLED_BY_POLICY, /* c0000363 (STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER) */
1254 ERROR_ACCESS_DISABLED_BY_POLICY, /* c0000364 (STATUS_ACCESS_DISABLED_BY_POLICY_OTHER) */
1255 ERROR_FAILED_DRIVER_ENTRY, /* c0000365 (STATUS_FAILED_DRIVER_ENTRY) */
1256 ERROR_DEVICE_ENUMERATION_ERROR, /* c0000366 (STATUS_DEVICE_ENUMERATION_ERROR) */
1257 0, /* c0000367 */
1258 ERROR_MOUNT_POINT_NOT_RESOLVED, /* c0000368 (STATUS_MOUNT_POINT_NOT_RESOLVED) */
1259 ERROR_INVALID_DEVICE_OBJECT_PARAMETER, /* c0000369 (STATUS_INVALID_DEVICE_OBJECT_PARAMETER) */
1260 ERROR_MCA_OCCURED, /* c000036a (STATUS_MCA_OCCURED) */
1261 ERROR_DRIVER_BLOCKED, /* c000036b (STATUS_DRIVER_BLOCKED_CRITICAL) */
1262 ERROR_DRIVER_BLOCKED, /* c000036c (STATUS_DRIVER_BLOCKED) */
1263 ERROR_DRIVER_DATABASE_ERROR, /* c000036d (STATUS_DRIVER_DATABASE_ERROR) */
1264 ERROR_SYSTEM_HIVE_TOO_LARGE, /* c000036e (STATUS_SYSTEM_HIVE_TOO_LARGE) */
1265 ERROR_INVALID_IMPORT_OF_NON_DLL, /* c000036f (STATUS_INVALID_IMPORT_OF_NON_DLL) */
1266 0, /* c0000370 */
1267 0, /* c0000371 */
1268 0, /* c0000372 */
1269 0, /* c0000373 */
1270 0, /* c0000374 */
1271 0, /* c0000375 */
1272 0, /* c0000376 */
1273 0, /* c0000377 */
1274 0, /* c0000378 */
1275 0, /* c0000379 */
1276 0, /* c000037a */
1277 0, /* c000037b */
1278 0, /* c000037c */
1279 0, /* c000037d */
1280 0, /* c000037e */
1281 0, /* c000037f */
1282 SCARD_W_WRONG_CHV, /* c0000380 (STATUS_SMARTCARD_WRONG_PIN) */
1283 SCARD_W_CHV_BLOCKED, /* c0000381 (STATUS_SMARTCARD_CARD_BLOCKED) */
1284 SCARD_W_CARD_NOT_AUTHENTICATED, /* c0000382 (STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED) */
1285 SCARD_E_NO_SMARTCARD, /* c0000383 (STATUS_SMARTCARD_NO_CARD) */
1286 NTE_NO_KEY, /* c0000384 (STATUS_SMARTCARD_NO_KEY_CONTAINER) */
1287 SCARD_E_NO_SUCH_CERTIFICATE, /* c0000385 (STATUS_SMARTCARD_NO_CERTIFICATE) */
1288 NTE_BAD_KEYSET, /* c0000386 (STATUS_SMARTCARD_NO_KEYSET) */
1289 SCARD_E_COMM_DATA_LOST, /* c0000387 (STATUS_SMARTCARD_IO_ERROR) */
1290 ERROR_DOWNGRADE_DETECTED, /* c0000388 (STATUS_DOWNGRADE_DETECTED) */
1291 SEC_E_SMARTCARD_CERT_REVOKED, /* c0000389 (STATUS_SMARTCARD_CERT_REVOKED) */
1292 SEC_E_ISSUING_CA_UNTRUSTED, /* c000038a (STATUS_ISSUING_CA_UNTRUSTED) */
1293 SEC_E_REVOCATION_OFFLINE_C, /* c000038b (STATUS_REVOCATION_OFFLINE_C) */
1294 SEC_E_PKINIT_CLIENT_FAILURE, /* c000038c (STATUS_PKINIT_CLIENT_FAILURE) */
1295 SEC_E_SMARTCARD_CERT_EXPIRED /* c000038d (STATUS_SMARTCARD_CERT_EXPIRED) */
1298 static const DWORD table_c000042c[1] =
1300 ERROR_ELEVATION_REQUIRED /* c000042c (STATUS_ELEVATION_REQUIRED) */
1303 static const DWORD table_c0020001[99] =
1305 RPC_S_INVALID_STRING_BINDING, /* c0020001 (RPC_NT_INVALID_STRING_BINDING) */
1306 RPC_S_WRONG_KIND_OF_BINDING, /* c0020002 (RPC_NT_WRONG_KIND_OF_BINDING) */
1307 ERROR_INVALID_HANDLE, /* c0020003 (RPC_NT_INVALID_BINDING) */
1308 RPC_S_PROTSEQ_NOT_SUPPORTED, /* c0020004 (RPC_NT_PROTSEQ_NOT_SUPPORTED) */
1309 RPC_S_INVALID_RPC_PROTSEQ, /* c0020005 (RPC_NT_INVALID_RPC_PROTSEQ) */
1310 RPC_S_INVALID_STRING_UUID, /* c0020006 (RPC_NT_INVALID_STRING_UUID) */
1311 RPC_S_INVALID_ENDPOINT_FORMAT, /* c0020007 (RPC_NT_INVALID_ENDPOINT_FORMAT) */
1312 RPC_S_INVALID_NET_ADDR, /* c0020008 (RPC_NT_INVALID_NET_ADDR) */
1313 RPC_S_NO_ENDPOINT_FOUND, /* c0020009 (RPC_NT_NO_ENDPOINT_FOUND) */
1314 RPC_S_INVALID_TIMEOUT, /* c002000a (RPC_NT_INVALID_TIMEOUT) */
1315 RPC_S_OBJECT_NOT_FOUND, /* c002000b (RPC_NT_OBJECT_NOT_FOUND) */
1316 RPC_S_ALREADY_REGISTERED, /* c002000c (RPC_NT_ALREADY_REGISTERED) */
1317 RPC_S_TYPE_ALREADY_REGISTERED, /* c002000d (RPC_NT_TYPE_ALREADY_REGISTERED) */
1318 RPC_S_ALREADY_LISTENING, /* c002000e (RPC_NT_ALREADY_LISTENING) */
1319 RPC_S_NO_PROTSEQS_REGISTERED, /* c002000f (RPC_NT_NO_PROTSEQS_REGISTERED) */
1320 RPC_S_NOT_LISTENING, /* c0020010 (RPC_NT_NOT_LISTENING) */
1321 RPC_S_UNKNOWN_MGR_TYPE, /* c0020011 (RPC_NT_UNKNOWN_MGR_TYPE) */
1322 RPC_S_UNKNOWN_IF, /* c0020012 (RPC_NT_UNKNOWN_IF) */
1323 RPC_S_NO_BINDINGS, /* c0020013 (RPC_NT_NO_BINDINGS) */
1324 RPC_S_NO_PROTSEQS, /* c0020014 (RPC_NT_NO_PROTSEQS) */
1325 RPC_S_CANT_CREATE_ENDPOINT, /* c0020015 (RPC_NT_CANT_CREATE_ENDPOINT) */
1326 RPC_S_OUT_OF_RESOURCES, /* c0020016 (RPC_NT_OUT_OF_RESOURCES) */
1327 RPC_S_SERVER_UNAVAILABLE, /* c0020017 (RPC_NT_SERVER_UNAVAILABLE) */
1328 RPC_S_SERVER_TOO_BUSY, /* c0020018 (RPC_NT_SERVER_TOO_BUSY) */
1329 RPC_S_INVALID_NETWORK_OPTIONS, /* c0020019 (RPC_NT_INVALID_NETWORK_OPTIONS) */
1330 RPC_S_NO_CALL_ACTIVE, /* c002001a (RPC_NT_NO_CALL_ACTIVE) */
1331 RPC_S_CALL_FAILED, /* c002001b (RPC_NT_CALL_FAILED) */
1332 RPC_S_CALL_FAILED_DNE, /* c002001c (RPC_NT_CALL_FAILED_DNE) */
1333 RPC_S_PROTOCOL_ERROR, /* c002001d (RPC_NT_PROTOCOL_ERROR) */
1334 0, /* c002001e */
1335 RPC_S_UNSUPPORTED_TRANS_SYN, /* c002001f (RPC_NT_UNSUPPORTED_TRANS_SYN) */
1336 0, /* c0020020 */
1337 RPC_S_UNSUPPORTED_TYPE, /* c0020021 (RPC_NT_UNSUPPORTED_TYPE) */
1338 RPC_S_INVALID_TAG, /* c0020022 (RPC_NT_INVALID_TAG) */
1339 RPC_S_INVALID_BOUND, /* c0020023 (RPC_NT_INVALID_BOUND) */
1340 RPC_S_NO_ENTRY_NAME, /* c0020024 (RPC_NT_NO_ENTRY_NAME) */
1341 RPC_S_INVALID_NAME_SYNTAX, /* c0020025 (RPC_NT_INVALID_NAME_SYNTAX) */
1342 RPC_S_UNSUPPORTED_NAME_SYNTAX, /* c0020026 (RPC_NT_UNSUPPORTED_NAME_SYNTAX) */
1343 0, /* c0020027 */
1344 RPC_S_UUID_NO_ADDRESS, /* c0020028 (RPC_NT_UUID_NO_ADDRESS) */
1345 RPC_S_DUPLICATE_ENDPOINT, /* c0020029 (RPC_NT_DUPLICATE_ENDPOINT) */
1346 RPC_S_UNKNOWN_AUTHN_TYPE, /* c002002a (RPC_NT_UNKNOWN_AUTHN_TYPE) */
1347 RPC_S_MAX_CALLS_TOO_SMALL, /* c002002b (RPC_NT_MAX_CALLS_TOO_SMALL) */
1348 RPC_S_STRING_TOO_LONG, /* c002002c (RPC_NT_STRING_TOO_LONG) */
1349 RPC_S_PROTSEQ_NOT_FOUND, /* c002002d (RPC_NT_PROTSEQ_NOT_FOUND) */
1350 RPC_S_PROCNUM_OUT_OF_RANGE, /* c002002e (RPC_NT_PROCNUM_OUT_OF_RANGE) */
1351 RPC_S_BINDING_HAS_NO_AUTH, /* c002002f (RPC_NT_BINDING_HAS_NO_AUTH) */
1352 RPC_S_UNKNOWN_AUTHN_SERVICE, /* c0020030 (RPC_NT_UNKNOWN_AUTHN_SERVICE) */
1353 RPC_S_UNKNOWN_AUTHN_LEVEL, /* c0020031 (RPC_NT_UNKNOWN_AUTHN_LEVEL) */
1354 RPC_S_INVALID_AUTH_IDENTITY, /* c0020032 (RPC_NT_INVALID_AUTH_IDENTITY) */
1355 RPC_S_UNKNOWN_AUTHZ_SERVICE, /* c0020033 (RPC_NT_UNKNOWN_AUTHZ_SERVICE) */
1356 EPT_S_INVALID_ENTRY, /* c0020034 (EPT_NT_INVALID_ENTRY) */
1357 EPT_S_CANT_PERFORM_OP, /* c0020035 (EPT_NT_CANT_PERFORM_OP) */
1358 EPT_S_NOT_REGISTERED, /* c0020036 (EPT_NT_NOT_REGISTERED) */
1359 RPC_S_NOTHING_TO_EXPORT, /* c0020037 (RPC_NT_NOTHING_TO_EXPORT) */
1360 RPC_S_INCOMPLETE_NAME, /* c0020038 (RPC_NT_INCOMPLETE_NAME) */
1361 RPC_S_INVALID_VERS_OPTION, /* c0020039 (RPC_NT_INVALID_VERS_OPTION) */
1362 RPC_S_NO_MORE_MEMBERS, /* c002003a (RPC_NT_NO_MORE_MEMBERS) */
1363 RPC_S_NOT_ALL_OBJS_UNEXPORTED, /* c002003b (RPC_NT_NOT_ALL_OBJS_UNEXPORTED) */
1364 RPC_S_INTERFACE_NOT_FOUND, /* c002003c (RPC_NT_INTERFACE_NOT_FOUND) */
1365 RPC_S_ENTRY_ALREADY_EXISTS, /* c002003d (RPC_NT_ENTRY_ALREADY_EXISTS) */
1366 RPC_S_ENTRY_NOT_FOUND, /* c002003e (RPC_NT_ENTRY_NOT_FOUND) */
1367 RPC_S_NAME_SERVICE_UNAVAILABLE, /* c002003f (RPC_NT_NAME_SERVICE_UNAVAILABLE) */
1368 RPC_S_INVALID_NAF_ID, /* c0020040 (RPC_NT_INVALID_NAF_ID) */
1369 RPC_S_CANNOT_SUPPORT, /* c0020041 (RPC_NT_CANNOT_SUPPORT) */
1370 RPC_S_NO_CONTEXT_AVAILABLE, /* c0020042 (RPC_NT_NO_CONTEXT_AVAILABLE) */
1371 RPC_S_INTERNAL_ERROR, /* c0020043 (RPC_NT_INTERNAL_ERROR) */
1372 RPC_S_ZERO_DIVIDE, /* c0020044 (RPC_NT_ZERO_DIVIDE) */
1373 RPC_S_ADDRESS_ERROR, /* c0020045 (RPC_NT_ADDRESS_ERROR) */
1374 RPC_S_FP_DIV_ZERO, /* c0020046 (RPC_NT_FP_DIV_ZERO) */
1375 RPC_S_FP_UNDERFLOW, /* c0020047 (RPC_NT_FP_UNDERFLOW) */
1376 RPC_S_FP_OVERFLOW, /* c0020048 (RPC_NT_FP_OVERFLOW) */
1377 RPC_S_CALL_IN_PROGRESS, /* c0020049 (RPC_NT_CALL_IN_PROGRESS) */
1378 RPC_S_NO_MORE_BINDINGS, /* c002004a (RPC_NT_NO_MORE_BINDINGS) */
1379 RPC_S_GROUP_MEMBER_NOT_FOUND, /* c002004b (RPC_NT_GROUP_MEMBER_NOT_FOUND) */
1380 EPT_S_CANT_CREATE, /* c002004c (EPT_NT_CANT_CREATE) */
1381 RPC_S_INVALID_OBJECT, /* c002004d (RPC_NT_INVALID_OBJECT) */
1382 0, /* c002004e */
1383 RPC_S_NO_INTERFACES, /* c002004f (RPC_NT_NO_INTERFACES) */
1384 RPC_S_CALL_CANCELLED, /* c0020050 (RPC_NT_CALL_CANCELLED) */
1385 RPC_S_BINDING_INCOMPLETE, /* c0020051 (RPC_NT_BINDING_INCOMPLETE) */
1386 RPC_S_COMM_FAILURE, /* c0020052 (RPC_NT_COMM_FAILURE) */
1387 RPC_S_UNSUPPORTED_AUTHN_LEVEL, /* c0020053 (RPC_NT_UNSUPPORTED_AUTHN_LEVEL) */
1388 RPC_S_NO_PRINC_NAME, /* c0020054 (RPC_NT_NO_PRINC_NAME) */
1389 RPC_S_NOT_RPC_ERROR, /* c0020055 (RPC_NT_NOT_RPC_ERROR) */
1390 0, /* c0020056 */
1391 RPC_S_SEC_PKG_ERROR, /* c0020057 (RPC_NT_SEC_PKG_ERROR) */
1392 RPC_S_NOT_CANCELLED, /* c0020058 (RPC_NT_NOT_CANCELLED) */
1393 0, /* c0020059 */
1394 0, /* c002005a */
1395 0, /* c002005b */
1396 0, /* c002005c */
1397 0, /* c002005d */
1398 0, /* c002005e */
1399 0, /* c002005f */
1400 0, /* c0020060 */
1401 0, /* c0020061 */
1402 RPC_S_INVALID_ASYNC_HANDLE, /* c0020062 (RPC_NT_INVALID_ASYNC_HANDLE) */
1403 RPC_S_INVALID_ASYNC_CALL /* c0020063 (RPC_NT_INVALID_ASYNC_CALL) */
1406 static const DWORD table_c0030001[12] =
1408 RPC_X_NO_MORE_ENTRIES, /* c0030001 (RPC_NT_NO_MORE_ENTRIES) */
1409 RPC_X_SS_CHAR_TRANS_OPEN_FAIL, /* c0030002 (RPC_NT_SS_CHAR_TRANS_OPEN_FAIL) */
1410 RPC_X_SS_CHAR_TRANS_SHORT_FILE, /* c0030003 (RPC_NT_SS_CHAR_TRANS_SHORT_FILE) */
1411 ERROR_INVALID_HANDLE, /* c0030004 (RPC_NT_SS_IN_NULL_CONTEXT) */
1412 ERROR_INVALID_HANDLE, /* c0030005 (RPC_NT_SS_CONTEXT_MISMATCH) */
1413 RPC_X_SS_CONTEXT_DAMAGED, /* c0030006 (RPC_NT_SS_CONTEXT_DAMAGED) */
1414 RPC_X_SS_HANDLES_MISMATCH, /* c0030007 (RPC_NT_SS_HANDLES_MISMATCH) */
1415 RPC_X_SS_CANNOT_GET_CALL_HANDLE, /* c0030008 (RPC_NT_SS_CANNOT_GET_CALL_HANDLE) */
1416 RPC_X_NULL_REF_POINTER, /* c0030009 (RPC_NT_NULL_REF_POINTER) */
1417 RPC_X_ENUM_VALUE_OUT_OF_RANGE, /* c003000a (RPC_NT_ENUM_VALUE_OUT_OF_RANGE) */
1418 RPC_X_BYTE_COUNT_TOO_SMALL, /* c003000b (RPC_NT_BYTE_COUNT_TOO_SMALL) */
1419 RPC_X_BAD_STUB_DATA /* c003000c (RPC_NT_BAD_STUB_DATA) */
1422 static const DWORD table_c0030059[9] =
1424 RPC_X_INVALID_ES_ACTION, /* c0030059 (RPC_NT_INVALID_ES_ACTION) */
1425 RPC_X_WRONG_ES_VERSION, /* c003005a (RPC_NT_WRONG_ES_VERSION) */
1426 RPC_X_WRONG_STUB_VERSION, /* c003005b (RPC_NT_WRONG_STUB_VERSION) */
1427 RPC_X_INVALID_PIPE_OBJECT, /* c003005c (RPC_NT_INVALID_PIPE_OBJECT) */
1428 RPC_X_WRONG_PIPE_ORDER, /* c003005d (RPC_NT_INVALID_PIPE_OPERATION) */
1429 RPC_X_WRONG_PIPE_VERSION, /* c003005e (RPC_NT_WRONG_PIPE_VERSION) */
1430 RPC_X_PIPE_CLOSED, /* c003005f (RPC_NT_PIPE_CLOSED) */
1431 RPC_X_PIPE_DISCIPLINE_ERROR, /* c0030060 (RPC_NT_PIPE_DISCIPLINE_ERROR) */
1432 RPC_X_PIPE_EMPTY /* c0030061 (RPC_NT_PIPE_EMPTY) */
1435 static const DWORD table_c00a0001[54] =
1437 ERROR_CTX_WINSTATION_NAME_INVALID, /* c00a0001 (STATUS_CTX_WINSTATION_NAME_INVALID) */
1438 ERROR_CTX_INVALID_PD, /* c00a0002 (STATUS_CTX_INVALID_PD) */
1439 ERROR_CTX_PD_NOT_FOUND, /* c00a0003 (STATUS_CTX_PD_NOT_FOUND) */
1440 0, /* c00a0004 */
1441 0, /* c00a0005 */
1442 ERROR_CTX_CLOSE_PENDING, /* c00a0006 (STATUS_CTX_CLOSE_PENDING) */
1443 ERROR_CTX_NO_OUTBUF, /* c00a0007 (STATUS_CTX_NO_OUTBUF) */
1444 ERROR_CTX_MODEM_INF_NOT_FOUND, /* c00a0008 (STATUS_CTX_MODEM_INF_NOT_FOUND) */
1445 ERROR_CTX_INVALID_MODEMNAME, /* c00a0009 (STATUS_CTX_INVALID_MODEMNAME) */
1446 ERROR_CTX_MODEM_RESPONSE_ERROR, /* c00a000a (STATUS_CTX_RESPONSE_ERROR) */
1447 ERROR_CTX_MODEM_RESPONSE_TIMEOUT, /* c00a000b (STATUS_CTX_MODEM_RESPONSE_TIMEOUT) */
1448 ERROR_CTX_MODEM_RESPONSE_NO_CARRIER, /* c00a000c (STATUS_CTX_MODEM_RESPONSE_NO_CARRIER) */
1449 ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE, /* c00a000d (STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE) */
1450 ERROR_CTX_MODEM_RESPONSE_BUSY, /* c00a000e (STATUS_CTX_MODEM_RESPONSE_BUSY) */
1451 ERROR_CTX_MODEM_RESPONSE_VOICE, /* c00a000f (STATUS_CTX_MODEM_RESPONSE_VOICE) */
1452 ERROR_CTX_TD_ERROR, /* c00a0010 (STATUS_CTX_TD_ERROR) */
1453 0, /* c00a0011 */
1454 ERROR_CTX_LICENSE_CLIENT_INVALID, /* c00a0012 (STATUS_CTX_LICENSE_CLIENT_INVALID) */
1455 ERROR_CTX_LICENSE_NOT_AVAILABLE, /* c00a0013 (STATUS_CTX_LICENSE_NOT_AVAILABLE) */
1456 ERROR_CTX_LICENSE_EXPIRED, /* c00a0014 (STATUS_CTX_LICENSE_EXPIRED) */
1457 ERROR_CTX_WINSTATION_NOT_FOUND, /* c00a0015 (STATUS_CTX_WINSTATION_NOT_FOUND) */
1458 ERROR_CTX_WINSTATION_ALREADY_EXISTS, /* c00a0016 (STATUS_CTX_WINSTATION_NAME_COLLISION) */
1459 ERROR_CTX_WINSTATION_BUSY, /* c00a0017 (STATUS_CTX_WINSTATION_BUSY) */
1460 ERROR_CTX_BAD_VIDEO_MODE, /* c00a0018 (STATUS_CTX_BAD_VIDEO_MODE) */
1461 0, /* c00a0019 */
1462 0, /* c00a001a */
1463 0, /* c00a001b */
1464 0, /* c00a001c */
1465 0, /* c00a001d */
1466 0, /* c00a001e */
1467 0, /* c00a001f */
1468 0, /* c00a0020 */
1469 0, /* c00a0021 */
1470 ERROR_CTX_GRAPHICS_INVALID, /* c00a0022 (STATUS_CTX_GRAPHICS_INVALID) */
1471 0, /* c00a0023 */
1472 ERROR_CTX_NOT_CONSOLE, /* c00a0024 (STATUS_CTX_NOT_CONSOLE) */
1473 0, /* c00a0025 */
1474 ERROR_CTX_CLIENT_QUERY_TIMEOUT, /* c00a0026 (STATUS_CTX_CLIENT_QUERY_TIMEOUT) */
1475 ERROR_CTX_CONSOLE_DISCONNECT, /* c00a0027 (STATUS_CTX_CONSOLE_DISCONNECT) */
1476 ERROR_CTX_CONSOLE_CONNECT, /* c00a0028 (STATUS_CTX_CONSOLE_CONNECT) */
1477 0, /* c00a0029 */
1478 ERROR_CTX_SHADOW_DENIED, /* c00a002a (STATUS_CTX_SHADOW_DENIED) */
1479 ERROR_CTX_WINSTATION_ACCESS_DENIED, /* c00a002b (STATUS_CTX_WINSTATION_ACCESS_DENIED) */
1480 0, /* c00a002c */
1481 0, /* c00a002d */
1482 ERROR_CTX_INVALID_WD, /* c00a002e (STATUS_CTX_INVALID_WD) */
1483 ERROR_CTX_WD_NOT_FOUND, /* c00a002f (STATUS_CTX_WD_NOT_FOUND) */
1484 ERROR_CTX_SHADOW_INVALID, /* c00a0030 (STATUS_CTX_SHADOW_INVALID) */
1485 ERROR_CTX_SHADOW_DISABLED, /* c00a0031 (STATUS_CTX_SHADOW_DISABLED) */
1486 0, /* c00a0032 (STATUS_RDP_PROTOCOL_ERROR) */
1487 ERROR_CTX_CLIENT_LICENSE_NOT_SET, /* c00a0033 (STATUS_CTX_CLIENT_LICENSE_NOT_SET) */
1488 ERROR_CTX_CLIENT_LICENSE_IN_USE, /* c00a0034 (STATUS_CTX_CLIENT_LICENSE_IN_USE) */
1489 ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE, /* c00a0035 (STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE) */
1490 ERROR_CTX_SHADOW_NOT_RUNNING /* c00a0036 (STATUS_CTX_SHADOW_NOT_RUNNING) */
1493 static const DWORD table_c0130001[22] =
1495 ERROR_CLUSTER_INVALID_NODE, /* c0130001 (STATUS_CLUSTER_INVALID_NODE) */
1496 ERROR_CLUSTER_NODE_EXISTS, /* c0130002 (STATUS_CLUSTER_NODE_EXISTS) */
1497 ERROR_CLUSTER_JOIN_IN_PROGRESS, /* c0130003 (STATUS_CLUSTER_JOIN_IN_PROGRESS) */
1498 ERROR_CLUSTER_NODE_NOT_FOUND, /* c0130004 (STATUS_CLUSTER_NODE_NOT_FOUND) */
1499 ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND, /* c0130005 (STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND) */
1500 ERROR_CLUSTER_NETWORK_EXISTS, /* c0130006 (STATUS_CLUSTER_NETWORK_EXISTS) */
1501 ERROR_CLUSTER_NETWORK_NOT_FOUND, /* c0130007 (STATUS_CLUSTER_NETWORK_NOT_FOUND) */
1502 ERROR_CLUSTER_NETINTERFACE_EXISTS, /* c0130008 (STATUS_CLUSTER_NETINTERFACE_EXISTS) */
1503 ERROR_CLUSTER_NETINTERFACE_NOT_FOUND, /* c0130009 (STATUS_CLUSTER_NETINTERFACE_NOT_FOUND) */
1504 ERROR_CLUSTER_INVALID_REQUEST, /* c013000a (STATUS_CLUSTER_INVALID_REQUEST) */
1505 ERROR_CLUSTER_INVALID_NETWORK_PROVIDER, /* c013000b (STATUS_CLUSTER_INVALID_NETWORK_PROVIDER) */
1506 ERROR_CLUSTER_NODE_DOWN, /* c013000c (STATUS_CLUSTER_NODE_DOWN) */
1507 ERROR_CLUSTER_NODE_UNREACHABLE, /* c013000d (STATUS_CLUSTER_NODE_UNREACHABLE) */
1508 ERROR_CLUSTER_NODE_NOT_MEMBER, /* c013000e (STATUS_CLUSTER_NODE_NOT_MEMBER) */
1509 ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS, /* c013000f (STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS) */
1510 ERROR_CLUSTER_INVALID_NETWORK, /* c0130010 (STATUS_CLUSTER_INVALID_NETWORK) */
1511 0, /* c0130011 (STATUS_CLUSTER_NO_NET_ADAPTERS) */
1512 ERROR_CLUSTER_NODE_UP, /* c0130012 (STATUS_CLUSTER_NODE_UP) */
1513 ERROR_CLUSTER_NODE_PAUSED, /* c0130013 (STATUS_CLUSTER_NODE_PAUSED) */
1514 ERROR_CLUSTER_NODE_NOT_PAUSED, /* c0130014 (STATUS_CLUSTER_NODE_NOT_PAUSED) */
1515 ERROR_CLUSTER_NO_SECURITY_CONTEXT, /* c0130015 (STATUS_CLUSTER_NO_SECURITY_CONTEXT) */
1516 ERROR_CLUSTER_NETWORK_NOT_INTERNAL /* c0130016 (STATUS_CLUSTER_NETWORK_NOT_INTERNAL) */
1519 static const DWORD table_c0150001[39] =
1521 ERROR_SXS_SECTION_NOT_FOUND, /* c0150001 (STATUS_SXS_SECTION_NOT_FOUND) */
1522 ERROR_SXS_CANT_GEN_ACTCTX, /* c0150002 (STATUS_SXS_CANT_GEN_ACTCTX) */
1523 ERROR_SXS_INVALID_ACTCTXDATA_FORMAT, /* c0150003 (STATUS_SXS_INVALID_ACTCTXDATA_FORMAT) */
1524 ERROR_SXS_ASSEMBLY_NOT_FOUND, /* c0150004 (STATUS_SXS_ASSEMBLY_NOT_FOUND) */
1525 ERROR_SXS_MANIFEST_FORMAT_ERROR, /* c0150005 (STATUS_SXS_MANIFEST_FORMAT_ERROR) */
1526 ERROR_SXS_MANIFEST_PARSE_ERROR, /* c0150006 (STATUS_SXS_MANIFEST_PARSE_ERROR) */
1527 ERROR_SXS_ACTIVATION_CONTEXT_DISABLED, /* c0150007 (STATUS_SXS_ACTIVATION_CONTEXT_DISABLED) */
1528 ERROR_SXS_KEY_NOT_FOUND, /* c0150008 (STATUS_SXS_KEY_NOT_FOUND) */
1529 ERROR_SXS_VERSION_CONFLICT, /* c0150009 (STATUS_SXS_VERSION_CONFLICT) */
1530 ERROR_SXS_WRONG_SECTION_TYPE, /* c015000a (STATUS_SXS_WRONG_SECTION_TYPE) */
1531 ERROR_SXS_THREAD_QUERIES_DISABLED, /* c015000b (STATUS_SXS_THREAD_QUERIES_DISABLED) */
1532 ERROR_SXS_ASSEMBLY_MISSING, /* c015000c (STATUS_SXS_ASSEMBLY_MISSING) */
1533 0, /* c015000d */
1534 ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET, /* c015000e (STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET) */
1535 ERROR_SXS_EARLY_DEACTIVATION, /* c015000f (STATUS_SXS_EARLY_DEACTIVATION) */
1536 ERROR_SXS_INVALID_DEACTIVATION, /* c0150010 (STATUS_SXS_INVALID_DEACTIVATION) */
1537 ERROR_SXS_MULTIPLE_DEACTIVATION, /* c0150011 (STATUS_SXS_MULTIPLE_DEACTIVATION) */
1538 ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY, /* c0150012 (STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY) */
1539 ERROR_SXS_PROCESS_TERMINATION_REQUESTED, /* c0150013 (STATUS_SXS_PROCESS_TERMINATION_REQUESTED) */
1540 ERROR_SXS_CORRUPT_ACTIVATION_STACK, /* c0150014 (STATUS_SXS_CORRUPT_ACTIVATION_STACK) */
1541 ERROR_SXS_CORRUPTION, /* c0150015 (STATUS_SXS_CORRUPTION) */
1542 ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE, /* c0150016 (STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE) */
1543 ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME, /* c0150017 (STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME) */
1544 ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE, /* c0150018 (STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE) */
1545 ERROR_SXS_IDENTITY_PARSE_ERROR, /* c0150019 (STATUS_SXS_IDENTITY_PARSE_ERROR) */
1546 ERROR_SXS_COMPONENT_STORE_CORRUPT, /* c015001a (STATUS_SXS_COMPONENT_STORE_CORRUPT) */
1547 ERROR_SXS_FILE_HASH_MISMATCH, /* c015001b (STATUS_SXS_FILE_HASH_MISMATCH) */
1548 ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT, /* c015001c (STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT) */
1549 ERROR_SXS_IDENTITIES_DIFFERENT, /* c015001d (STATUS_SXS_IDENTITIES_DIFFERENT) */
1550 ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT, /* c015001e (STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT) */
1551 ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY, /* c015001f (STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY) */
1552 ERROR_ADVANCED_INSTALLER_FAILED, /* c0150020 (STATUS_ADVANCED_INSTALLER_FAILED) */
1553 ERROR_XML_ENCODING_MISMATCH, /* c0150021 (STATUS_XML_ENCODING_MISMATCH) */
1554 ERROR_SXS_MANIFEST_TOO_BIG, /* c0150022 (STATUS_SXS_MANIFEST_TOO_BIG) */
1555 ERROR_SXS_SETTING_NOT_REGISTERED, /* c0150023 (STATUS_SXS_SETTING_NOT_REGISTERED) */
1556 ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE, /* c0150024 (STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE) */
1557 ERROR_SMI_PRIMITIVE_INSTALLER_FAILED, /* c0150025 (STATUS_SMI_PRIMITIVE_INSTALLER_FAILED) */
1558 ERROR_GENERIC_COMMAND_FAILED, /* c0150026 (STATUS_GENERIC_COMMAND_FAILED) */
1559 ERROR_SXS_FILE_HASH_MISSING /* c0150027 (STATUS_SXS_FILE_HASH_MISSING) */
1562 static const struct error_table error_table[] =
1564 { 0x00000001, 0x00000004, table_00000001 },
1565 { 0x0000003f, 0x00000040, table_0000003f },
1566 { 0x00000080, 0x00000081, table_00000080 },
1567 { 0x000000bf, 0x000000c1, table_000000bf },
1568 { 0x00000100, 0x00000122, table_00000100 },
1569 { 0x00010001, 0x00010003, table_00010001 },
1570 { 0x40000000, 0x4000002d, table_40000000 },
1571 { 0x40000294, 0x40000295, table_40000294 },
1572 { 0x40000370, 0x40000371, table_40000370 },
1573 { 0x40010003, 0x4001000a, table_40010003 },
1574 { 0x40020056, 0x40020057, table_40020056 },
1575 { 0x400200af, 0x400200b0, table_400200af },
1576 { 0x80000001, 0x8000002d, table_80000001 },
1577 { 0x80000288, 0x8000028a, table_80000288 },
1578 { 0x80010001, 0x80010002, table_80010001 },
1579 { 0x80090300, 0x80090348, table_80090300 },
1580 { 0x80092010, 0x80092014, table_80092010 },
1581 { 0x80096004, 0x80096005, table_80096004 },
1582 { 0x80130001, 0x80130006, table_80130001 },
1583 { 0xc0000001, 0xc000019d, table_c0000001 },
1584 { 0xc0000202, 0xc000038e, table_c0000202 },
1585 { 0xc000042c, 0xc000042d, table_c000042c },
1586 { 0xc0020001, 0xc0020064, table_c0020001 },
1587 { 0xc0030001, 0xc003000d, table_c0030001 },
1588 { 0xc0030059, 0xc0030062, table_c0030059 },
1589 { 0xc00a0001, 0xc00a0037, table_c00a0001 },
1590 { 0xc0130001, 0xc0130017, table_c0130001 },
1591 { 0xc0150001, 0xc0150028, table_c0150001 },
1592 { 0, 0, NULL } /* last entry */