Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f7ec4d07
Commit
f7ec4d07
authored
Feb 13, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add script to generate the error mapping list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7552ed68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1464 additions
and
439 deletions
+1464
-439
error.c
dlls/ntdll/error.c
+204
-439
make_errors
dlls/ntdll/make_errors
+1260
-0
No files found.
dlls/ntdll/error.c
View file @
f7ec4d07
...
...
@@ -33,14 +33,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
struct
error_table
{
DWORD
start
;
DWORD
end
;
const
DWORD
*
table
;
};
static
const
struct
error_table
error_table
[
29
];
static
ULONG
map_status
(
NTSTATUS
status
);
/**************************************************************************
* RtlNtStatusToDosErrorNoTeb (NTDLL.@)
...
...
@@ -56,33 +49,21 @@ static const struct error_table error_table[29];
*/
ULONG
WINAPI
RtlNtStatusToDosErrorNoTeb
(
NTSTATUS
status
)
{
const
struct
error_table
*
table
=
error_table
;
ULONG
ret
;
if
(
!
status
||
(
status
&
0x20000000
))
return
status
;
/* 0xd... is equivalent to 0xc... */
if
((
status
&
0xf0000000
)
==
0xd0000000
)
status
&=
~
0x10000000
;
while
(
table
->
start
)
{
if
(
status
<
table
->
start
)
break
;
if
(
status
<
table
->
end
)
{
DWORD
ret
=
table
->
table
[
status
-
table
->
start
];
/* unknown entries are 0 */
if
(
!
ret
)
goto
no_mapping
;
return
ret
;
}
table
++
;
}
/* now some special cases */
if
(
HIWORD
(
status
)
==
0xc001
)
return
LOWORD
(
status
);
if
(
HIWORD
(
status
)
==
0x8007
)
return
LOWORD
(
status
);
if
(
HIWORD
(
status
)
==
0xc001
||
HIWORD
(
status
)
==
0x8007
||
HIWORD
(
status
)
==
0xc007
)
return
LOWORD
(
status
);
no_mapping:
ret
=
map_status
(
status
);
if
(
ret
==
ERROR_MR_MID_NOT_FOUND
&&
status
!=
STATUS_MESSAGE_NOT_FOUND
)
FIXME
(
"no mapping for %08x
\n
"
,
status
);
return
ERROR_MR_MID_NOT_FOUND
;
return
ret
;
}
/**************************************************************************
...
...
@@ -173,33 +154,17 @@ void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus( NTSTATUS status )
NtCurrentTeb
()
->
LastErrorValue
=
RtlNtStatusToDosError
(
status
);
}
/* conversion tables */
/* conversion table
, generated by ./make_error
s */
static
const
DWORD
table_00000001
[
3
]
=
static
const
DWORD
error_map
[
1144
]
=
{
ERROR_WAIT_1
,
/* 00000001 (STATUS_WAIT_1) */
ERROR_WAIT_2
,
/* 00000002 (STATUS_WAIT_2) */
ERROR_WAIT_3
/* 00000003 (STATUS_WAIT_3) */
};
static
const
DWORD
table_0000003f
[
1
]
=
{
ERROR_WAIT_63
/* 0000003f (STATUS_WAIT_63) */
};
static
const
DWORD
table_00000080
[
1
]
=
{
ERROR_WAIT_NO_CHILDREN
/* 00000080 (STATUS_ABANDONED_WAIT_0) */
};
static
const
DWORD
table_000000bf
[
2
]
=
{
ERROR_WAIT_3
,
/* 00000003 (STATUS_WAIT_3) */
ERROR_WAIT_63
,
/* 0000003f (STATUS_WAIT_63) */
ERROR_WAIT_NO_CHILDREN
,
/* 00000080 (STATUS_ABANDONED_WAIT_0) */
ERROR_ABANDONED_WAIT_63
,
/* 000000bf (STATUS_ABANDONED_WAIT_63) */
ERROR_USER_APC
/* 000000c0 (STATUS_USER_APC) */
};
static
const
DWORD
table_00000100
[
34
]
=
{
ERROR_USER_APC
,
/* 000000c0 (STATUS_USER_APC) */
ERROR_KERNEL_APC
,
/* 00000100 (STATUS_KERNEL_APC) */
ERROR_ALERTED
,
/* 00000101 (STATUS_ALERTED) */
ERROR_TIMEOUT
,
/* 00000102 (STATUS_TIMEOUT) */
...
...
@@ -215,7 +180,7 @@ static const DWORD table_00000100[34] =
ERROR_NOTIFY_ENUM_DIR
,
/* 0000010c (STATUS_NOTIFY_ENUM_DIR) */
ERROR_NO_QUOTAS_FOR_ACCOUNT
,
/* 0000010d (STATUS_NO_QUOTAS_FOR_ACCOUNT) */
ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED
,
/* 0000010e (STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED) */
0
,
/* 0000010f */
ERROR_MR_MID_NOT_FOUND
,
/* 0000010f */
ERROR_PAGE_FAULT_TRANSITION
,
/* 00000110 (STATUS_PAGE_FAULT_TRANSITION) */
ERROR_PAGE_FAULT_DEMAND_ZERO
,
/* 00000111 (STATUS_PAGE_FAULT_DEMAND_ZERO) */
ERROR_PAGE_FAULT_COPY_ON_WRITE
,
/* 00000112 (STATUS_PAGE_FAULT_COPY_ON_WRITE) */
...
...
@@ -226,24 +191,16 @@ static const DWORD table_00000100[34] =
ERROR_BUFFER_ALL_ZEROS
,
/* 00000117 (STATUS_BUFFER_ALL_ZEROS) */
ERROR_REPARSE_OBJECT
,
/* 00000118 (STATUS_REPARSE_OBJECT) */
ERROR_RESOURCE_REQUIREMENTS_CHANGED
,
/* 00000119 (STATUS_RESOURCE_REQUIREMENTS_CHANGED) */
0
,
/* 0000011a */
0
,
/* 0000011b */
0
,
/* 0000011c */
0
,
/* 0000011d */
0
,
/* 0000011e */
0
,
/* 0000011f */
ERROR_MR_MID_NOT_FOUND
,
/* 0000011a */
ERROR_MR_MID_NOT_FOUND
,
/* 0000011b */
ERROR_MR_MID_NOT_FOUND
,
/* 0000011c */
ERROR_MR_MID_NOT_FOUND
,
/* 0000011d */
ERROR_MR_MID_NOT_FOUND
,
/* 0000011e */
ERROR_MR_MID_NOT_FOUND
,
/* 0000011f */
ERROR_TRANSLATION_COMPLETE
,
/* 00000120 (STATUS_TRANSLATION_COMPLETE) */
ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
/* 00000121 (STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY) */
};
static
const
DWORD
table_00010001
[
2
]
=
{
ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
,
/* 00000121 (STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY) */
ERROR_DBG_EXCEPTION_HANDLED
,
/* 00010001 (DBG_EXCEPTION_HANDLED) */
ERROR_DBG_CONTINUE
/* 00010002 (DBG_CONTINUE) */
};
static
const
DWORD
table_40000000
[
45
]
=
{
ERROR_DBG_CONTINUE
,
/* 00010002 (DBG_CONTINUE) */
ERROR_OBJECT_NAME_EXISTS
,
/* 40000000 (STATUS_OBJECT_NAME_EXISTS) */
ERROR_THREAD_WAS_SUSPENDED
,
/* 40000001 (STATUS_THREAD_WAS_SUSPENDED) */
ERROR_INVALID_PARAMETER
,
/* 40000002 (STATUS_WORKING_SET_LIMIT_RANGE) */
...
...
@@ -272,58 +229,34 @@ static const DWORD table_40000000[45] =
ERROR_WAS_LOCKED
,
/* 40000019 (STATUS_WAS_LOCKED) */
ERROR_LOG_HARD_ERROR
,
/* 4000001a (STATUS_LOG_HARD_ERROR) */
ERROR_ALREADY_WIN32
,
/* 4000001b (STATUS_ALREADY_WIN32) */
0
,
/* 4000001c (STATUS_WX86_UNSIMULATE) */
0
,
/* 4000001d (STATUS_WX86_CONTINUE) */
0
,
/* 4000001e (STATUS_WX86_SINGLE_STEP) */
0
,
/* 4000001f (STATUS_WX86_BREAKPOINT) */
0
,
/* 40000020 (STATUS_WX86_EXCEPTION_CONTINUE) */
0
,
/* 40000021 (STATUS_WX86_EXCEPTION_LASTCHANCE) */
0
,
/* 40000022 (STATUS_WX86_EXCEPTION_CHAIN) */
ERROR_MR_MID_NOT_FOUND
,
/* 4000001c (STATUS_WX86_UNSIMULATE) */
ERROR_MR_MID_NOT_FOUND
,
/* 4000001d (STATUS_WX86_CONTINUE) */
ERROR_MR_MID_NOT_FOUND
,
/* 4000001e (STATUS_WX86_SINGLE_STEP) */
ERROR_MR_MID_NOT_FOUND
,
/* 4000001f (STATUS_WX86_BREAKPOINT) */
ERROR_MR_MID_NOT_FOUND
,
/* 40000020 (STATUS_WX86_EXCEPTION_CONTINUE) */
ERROR_MR_MID_NOT_FOUND
,
/* 40000021 (STATUS_WX86_EXCEPTION_LASTCHANCE) */
ERROR_MR_MID_NOT_FOUND
,
/* 40000022 (STATUS_WX86_EXCEPTION_CHAIN) */
ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE
,
/* 40000023 (STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE) */
ERROR_NO_YIELD_PERFORMED
,
/* 40000024 (STATUS_NO_YIELD_PERFORMED) */
ERROR_TIMER_RESUME_IGNORED
,
/* 40000025 (STATUS_TIMER_RESUME_IGNORED) */
ERROR_ARBITRATION_UNHANDLED
,
/* 40000026 (STATUS_ARBITRATION_UNHANDLED) */
ERROR_CARDBUS_NOT_SUPPORTED
,
/* 40000027 (STATUS_CARDBUS_NOT_SUPPORTED) */
0
,
/* 40000028 (STATUS_WX86_CREATEWX86TIB) */
ERROR_MR_MID_NOT_FOUND
,
/* 40000028 (STATUS_WX86_CREATEWX86TIB) */
ERROR_MP_PROCESSOR_MISMATCH
,
/* 40000029 (STATUS_MP_PROCESSOR_MISMATCH) */
ERROR_HIBERNATED
,
/* 4000002a (STATUS_HIBERNATED) */
ERROR_RESUME_HIBERNATION
,
/* 4000002b (STATUS_RESUME_HIBERNATION) */
ERROR_FIRMWARE_UPDATED
/* 4000002c (STATUS_FIRMWARE_UPDATED) */
};
static
const
DWORD
table_40000294
[
1
]
=
{
ERROR_WAKE_SYSTEM
/* 40000294 (STATUS_WAKE_SYSTEM) */
};
static
const
DWORD
table_40000370
[
1
]
=
{
ERROR_DS_SHUTTING_DOWN
/* 40000370 (STATUS_DS_SHUTTING_DOWN) */
};
static
const
DWORD
table_40010003
[
7
]
=
{
ERROR_FIRMWARE_UPDATED
,
/* 4000002c (STATUS_FIRMWARE_UPDATED) */
ERROR_WAKE_SYSTEM
,
/* 40000294 (STATUS_WAKE_SYSTEM) */
ERROR_DS_SHUTTING_DOWN
,
/* 40000370 (STATUS_DS_SHUTTING_DOWN) */
ERROR_DBG_TERMINATE_THREAD
,
/* 40010003 (DBG_TERMINATE_THREAD) */
ERROR_DBG_TERMINATE_PROCESS
,
/* 40010004 (DBG_TERMINATE_PROCESS) */
ERROR_DBG_CONTROL_C
,
/* 40010005 (DBG_CONTROL_C) */
ERROR_DBG_PRINTEXCEPTION_C
,
/* 40010006 (DBG_PRINTEXCEPTION_C) */
ERROR_DBG_RIPEXCEPTION
,
/* 40010007 (DBG_RIPEXCEPTION) */
ERROR_DBG_CONTROL_BREAK
,
/* 40010008 (DBG_CONTROL_BREAK) */
ERROR_DBG_COMMAND_EXCEPTION
/* 40010009 (DBG_COMMAND_EXCEPTION) */
};
static
const
DWORD
table_40020056
[
1
]
=
{
RPC_S_UUID_LOCAL_ONLY
/* 40020056 (RPC_NT_UUID_LOCAL_ONLY) */
};
static
const
DWORD
table_400200af
[
1
]
=
{
RPC_S_SEND_INCOMPLETE
/* 400200af (RPC_NT_SEND_INCOMPLETE) */
};
static
const
DWORD
table_80000001
[
44
]
=
{
ERROR_DBG_COMMAND_EXCEPTION
,
/* 40010009 (DBG_COMMAND_EXCEPTION) */
RPC_S_UUID_LOCAL_ONLY
,
/* 40020056 (RPC_NT_UUID_LOCAL_ONLY) */
RPC_S_SEND_INCOMPLETE
,
/* 400200af (RPC_NT_SEND_INCOMPLETE) */
STATUS_GUARD_PAGE_VIOLATION
,
/* 80000001 (STATUS_GUARD_PAGE_VIOLATION) */
ERROR_NOACCESS
,
/* 80000002 (STATUS_DATATYPE_MISALIGNMENT) */
STATUS_BREAKPOINT
,
/* 80000003 (STATUS_BREAKPOINT) */
...
...
@@ -331,8 +264,8 @@ static const DWORD table_80000001[44] =
ERROR_MORE_DATA
,
/* 80000005 (STATUS_BUFFER_OVERFLOW) */
ERROR_NO_MORE_FILES
,
/* 80000006 (STATUS_NO_MORE_FILES) */
ERROR_WAKE_SYSTEM_DEBUGGER
,
/* 80000007 (STATUS_WAKE_SYSTEM_DEBUGGER) */
0
,
/* 80000008 */
0
,
/* 80000009 */
ERROR_MR_MID_NOT_FOUND
,
/* 80000008 */
ERROR_MR_MID_NOT_FOUND
,
/* 80000009 */
ERROR_HANDLES_CLOSED
,
/* 8000000a (STATUS_HANDLES_CLOSED) */
ERROR_NO_INHERITANCE
,
/* 8000000b (STATUS_NO_INHERITANCE) */
ERROR_GUID_SUBSTITUTION_MADE
,
/* 8000000c (STATUS_GUID_SUBSTITUTION_MADE) */
...
...
@@ -348,7 +281,7 @@ static const DWORD table_80000001[44] =
ERROR_MEDIA_CHANGED
,
/* 80000016 (STATUS_VERIFY_REQUIRED) */
ERROR_EXTRANEOUS_INFORMATION
,
/* 80000017 (STATUS_EXTRANEOUS_INFORMATION) */
ERROR_RXACT_COMMIT_NECESSARY
,
/* 80000018 (STATUS_RXACT_COMMIT_NECESSARY) */
0
,
/* 80000019 */
ERROR_MR_MID_NOT_FOUND
,
/* 80000019 */
ERROR_NO_MORE_ITEMS
,
/* 8000001a (STATUS_NO_MORE_ENTRIES) */
ERROR_FILEMARK_DETECTED
,
/* 8000001b (STATUS_FILEMARK_DETECTED) */
ERROR_MEDIA_CHANGED
,
/* 8000001c (STATUS_MEDIA_CHANGED) */
...
...
@@ -367,22 +300,10 @@ static const DWORD table_80000001[44] =
ERROR_UNWIND_CONSOLIDATE
,
/* 80000029 (STATUS_UNWIND_CONSOLIDATE) */
ERROR_REGISTRY_HIVE_RECOVERED
,
/* 8000002a (STATUS_REGISTRY_HIVE_RECOVERED) */
ERROR_DLL_MIGHT_BE_INSECURE
,
/* 8000002b (STATUS_DLL_MIGHT_BE_INSECURE) */
ERROR_DLL_MIGHT_BE_INCOMPATIBLE
/* 8000002c (STATUS_DLL_MIGHT_BE_INCOMPATIBLE) */
};
static
const
DWORD
table_80000288
[
2
]
=
{
ERROR_DLL_MIGHT_BE_INCOMPATIBLE
,
/* 8000002c (STATUS_DLL_MIGHT_BE_INCOMPATIBLE) */
ERROR_DEVICE_REQUIRES_CLEANING
,
/* 80000288 (STATUS_DEVICE_REQUIRES_CLEANING) */
ERROR_DEVICE_DOOR_OPEN
/* 80000289 (STATUS_DEVICE_DOOR_OPEN) */
};
static
const
DWORD
table_80010001
[
1
]
=
{
ERROR_DBG_EXCEPTION_NOT_HANDLED
/* 80010001 (DBG_EXCEPTION_NOT_HANDLED) */
};
static
const
DWORD
table_80090300
[
72
]
=
{
ERROR_DEVICE_DOOR_OPEN
,
/* 80000289 (STATUS_DEVICE_DOOR_OPEN) */
ERROR_DBG_EXCEPTION_NOT_HANDLED
,
/* 80010001 (DBG_EXCEPTION_NOT_HANDLED) */
ERROR_NO_SYSTEM_RESOURCES
,
/* 80090300 (SEC_E_INSUFFICIENT_MEMORY) */
ERROR_INVALID_HANDLE
,
/* 80090301 (SEC_E_INVALID_HANDLE) */
ERROR_INVALID_FUNCTION
,
/* 80090302 (SEC_E_UNSUPPORTED_FUNCTION) */
...
...
@@ -401,86 +322,49 @@ static const DWORD table_80090300[72] =
ERROR_ACCESS_DENIED
,
/* 8009030f (SEC_E_MESSAGE_ALTERED) */
ERROR_ACCESS_DENIED
,
/* 80090310 (SEC_E_OUT_OF_SEQUENCE) */
ERROR_NO_LOGON_SERVERS
,
/* 80090311 (SEC_E_NO_AUTHENTICATING_AUTHORITY) */
0
,
/* 80090312 */
0
,
/* 80090313 */
0
,
/* 80090314 */
0
,
/* 80090315 */
ERROR_MR_MID_NOT_FOUND
,
/* 80090312 */
ERROR_MR_MID_NOT_FOUND
,
/* 80090313 */
ERROR_MR_MID_NOT_FOUND
,
/* 80090314 */
ERROR_MR_MID_NOT_FOUND
,
/* 80090315 */
ERROR_NO_SUCH_PACKAGE
,
/* 80090316 (SEC_E_BAD_PKGID) */
ERROR_CONTEXT_EXPIRED
,
/* 80090317 (SEC_E_CONTEXT_EXPIRED) */
ERROR_INVALID_USER_BUFFER
,
/* 80090318 (SEC_E_INCOMPLETE_MESSAGE) */
0
,
/* 80090319 */
0
,
/* 8009031a */
0
,
/* 8009031b */
0
,
/* 8009031c */
0
,
/* 8009031d */
0
,
/* 8009031e */
0
,
/* 8009031f */
ERROR_MR_MID_NOT_FOUND
,
/* 80090319 */
ERROR_MR_MID_NOT_FOUND
,
/* 8009031a */
ERROR_MR_MID_NOT_FOUND
,
/* 8009031b */
ERROR_MR_MID_NOT_FOUND
,
/* 8009031c */
ERROR_MR_MID_NOT_FOUND
,
/* 8009031d */
ERROR_MR_MID_NOT_FOUND
,
/* 8009031e */
ERROR_MR_MID_NOT_FOUND
,
/* 8009031f */
ERROR_INVALID_PARAMETER
,
/* 80090320 (SEC_E_INCOMPLETE_CREDENTIALS) */
ERROR_INSUFFICIENT_BUFFER
,
/* 80090321 (SEC_E_BUFFER_TOO_SMALL) */
ERROR_WRONG_TARGET_NAME
,
/* 80090322 (SEC_E_WRONG_PRINCIPAL) */
0
,
/* 80090323 */
0
,
/* 80090324 (SEC_E_TIME_SKEW) */
ERROR_MR_MID_NOT_FOUND
,
/* 80090323 */
ERROR_MR_MID_NOT_FOUND
,
/* 80090324 (SEC_E_TIME_SKEW) */
ERROR_TRUST_FAILURE
,
/* 80090325 (SEC_E_UNTRUSTED_ROOT) */
ERROR_INVALID_PARAMETER
,
/* 80090326 (SEC_E_ILLEGAL_MESSAGE) */
ERROR_INVALID_PARAMETER
,
/* 80090327 (SEC_E_CERT_UNKNOWN) */
ERROR_PASSWORD_EXPIRED
,
/* 80090328 (SEC_E_CERT_EXPIRED) */
ERROR_ENCRYPTION_FAILED
,
/* 80090329 (SEC_E_ENCRYPT_FAILURE) */
0
,
/* 8009032a */
0
,
/* 8009032b */
0
,
/* 8009032c */
0
,
/* 8009032d */
0
,
/* 8009032e */
0
,
/* 8009032f */
ERROR_MR_MID_NOT_FOUND
,
/* 8009032a */
ERROR_MR_MID_NOT_FOUND
,
/* 8009032b */
ERROR_MR_MID_NOT_FOUND
,
/* 8009032c */
ERROR_MR_MID_NOT_FOUND
,
/* 8009032d */
ERROR_MR_MID_NOT_FOUND
,
/* 8009032e */
ERROR_MR_MID_NOT_FOUND
,
/* 8009032f */
ERROR_DECRYPTION_FAILED
,
/* 80090330 (SEC_E_DECRYPT_FAILURE) */
ERROR_INVALID_FUNCTION
,
/* 80090331 (SEC_E_ALGORITHM_MISMATCH) */
0
,
/* 80090332 (SEC_E_SECURITY_QOS_FAILED) */
0
,
/* 80090333 (SEC_E_UNFINISHED_CONTEXT_DELETED) */
0
,
/* 80090334 (SEC_E_NO_TGT_REPLY) */
0
,
/* 80090335 (SEC_E_NO_IP_ADDRESSES) */
0
,
/* 80090336 (SEC_E_WRONG_CREDENTIAL_HANDLE) */
0
,
/* 80090337 (SEC_E_CRYPTO_SYSTEM_INVALID) */
0
,
/* 80090338 (SEC_E_MAX_REFERRALS_EXCEEDED) */
0
,
/* 80090339 (SEC_E_MUST_BE_KDC) */
0
,
/* 8009033a (SEC_E_STRONG_CRYPTO_NOT_SUPPORTED) */
0
,
/* 8009033b (SEC_E_TOO_MANY_PRINCIPALS) */
0
,
/* 8009033c (SEC_E_NO_PA_DATA) */
0
,
/* 8009033d (SEC_E_PKINIT_NAME_MISMATCH) */
0
,
/* 8009033e (SEC_E_SMARTCARD_LOGON_REQUIRED) */
0
,
/* 8009033f (SEC_E_SHUTDOWN_IN_PROGRESS) */
0
,
/* 80090340 (SEC_E_KDC_INVALID_REQUEST) */
0
,
/* 80090341 (SEC_E_KDC_UNABLE_TO_REFER) */
0
,
/* 80090342 (SEC_E_KDC_UNKNOWN_ETYPE) */
0
,
/* 80090343 (SEC_E_UNSUPPORTED_PREAUTH) */
0
,
/* 80090344 */
0
,
/* 80090345 (SEC_E_DELEGATION_REQUIRED) */
0
,
/* 80090346 (SEC_E_BAD_BINDINGS) */
ERROR_CANNOT_IMPERSONATE
/* 80090347 (SEC_E_MULTIPLE_ACCOUNTS) */
};
static
const
DWORD
table_80092010
[
4
]
=
{
ERROR_CANNOT_IMPERSONATE
,
/* 80090347 (SEC_E_MULTIPLE_ACCOUNTS) */
ERROR_MUTUAL_AUTH_FAILED
,
/* 80092010 (CRYPT_E_REVOKED) */
0
,
/* 80092011 (CRYPT_E_NO_REVOCATION_DLL) */
ERROR_MR_MID_NOT_FOUND
,
/* 80092011 (CRYPT_E_NO_REVOCATION_DLL) */
ERROR_MUTUAL_AUTH_FAILED
,
/* 80092012 (CRYPT_E_NO_REVOCATION_CHECK) */
ERROR_MUTUAL_AUTH_FAILED
/* 80092013 (CRYPT_E_REVOCATION_OFFLINE) */
};
static
const
DWORD
table_80096004
[
1
]
=
{
ERROR_MUTUAL_AUTH_FAILED
/* 80096004 (TRUST_E_CERT_SIGNATURE) */
};
static
const
DWORD
table_80130001
[
5
]
=
{
ERROR_MUTUAL_AUTH_FAILED
,
/* 80092013 (CRYPT_E_REVOCATION_OFFLINE) */
ERROR_MUTUAL_AUTH_FAILED
,
/* 80096004 (TRUST_E_CERT_SIGNATURE) */
ERROR_CLUSTER_NODE_ALREADY_UP
,
/* 80130001 (STATUS_CLUSTER_NODE_ALREADY_UP) */
ERROR_CLUSTER_NODE_ALREADY_DOWN
,
/* 80130002 (STATUS_CLUSTER_NODE_ALREADY_DOWN) */
ERROR_CLUSTER_NETWORK_ALREADY_ONLINE
,
/* 80130003 (STATUS_CLUSTER_NETWORK_ALREADY_ONLINE) */
ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE
,
/* 80130004 (STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE) */
ERROR_CLUSTER_NODE_ALREADY_MEMBER
/* 80130005 (STATUS_CLUSTER_NODE_ALREADY_MEMBER) */
};
static
const
DWORD
table_c0000001
[
412
]
=
{
ERROR_CLUSTER_NODE_ALREADY_MEMBER
,
/* 80130005 (STATUS_CLUSTER_NODE_ALREADY_MEMBER) */
ERROR_GEN_FAILURE
,
/* c0000001 (STATUS_UNSUCCESSFUL) */
ERROR_INVALID_FUNCTION
,
/* c0000002 (STATUS_NOT_IMPLEMENTED) */
ERROR_INVALID_PARAMETER
,
/* c0000003 (STATUS_INVALID_INFO_CLASS) */
...
...
@@ -492,7 +376,7 @@ static const DWORD table_c0000001[412] =
ERROR_STACK_OVERFLOW
,
/* c0000009 (STATUS_BAD_INITIAL_STACK) */
ERROR_BAD_EXE_FORMAT
,
/* c000000a (STATUS_BAD_INITIAL_PC) */
ERROR_INVALID_PARAMETER
,
/* c000000b (STATUS_INVALID_CID) */
0
,
/* c000000c (STATUS_TIMER_NOT_CANCELED) */
ERROR_MR_MID_NOT_FOUND
,
/* c000000c (STATUS_TIMER_NOT_CANCELED) */
ERROR_INVALID_PARAMETER
,
/* c000000d (STATUS_INVALID_PARAMETER) */
ERROR_FILE_NOT_FOUND
,
/* c000000e (STATUS_NO_SUCH_DEVICE) */
ERROR_FILE_NOT_FOUND
,
/* c000000f (STATUS_NO_SUCH_FILE) */
...
...
@@ -519,24 +403,24 @@ static const DWORD table_c0000001[412] =
ERROR_INVALID_HANDLE
,
/* c0000024 (STATUS_OBJECT_TYPE_MISMATCH) */
STATUS_NONCONTINUABLE_EXCEPTION
,
/* c0000025 (STATUS_NONCONTINUABLE_EXCEPTION) */
STATUS_INVALID_DISPOSITION
,
/* c0000026 (STATUS_INVALID_DISPOSITION) */
0
,
/* c0000027 (STATUS_UNWIND) */
0
,
/* c0000028 (STATUS_BAD_STACK) */
0
,
/* c0000029 (STATUS_INVALID_UNWIND_TARGET) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000027 (STATUS_UNWIND) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000028 (STATUS_BAD_STACK) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000029 (STATUS_INVALID_UNWIND_TARGET) */
ERROR_NOT_LOCKED
,
/* c000002a (STATUS_NOT_LOCKED) */
STATUS_PARITY_ERROR
,
/* c000002b (STATUS_PARITY_ERROR) */
ERROR_INVALID_ADDRESS
,
/* c000002c (STATUS_UNABLE_TO_DECOMMIT_VM) */
ERROR_INVALID_ADDRESS
,
/* c000002d (STATUS_NOT_COMMITTED) */
0
,
/* c000002e (STATUS_INVALID_PORT_ATTRIBUTES) */
0
,
/* c000002f (STATUS_PORT_MESSAGE_TOO_LONG) */
ERROR_MR_MID_NOT_FOUND
,
/* c000002e (STATUS_INVALID_PORT_ATTRIBUTES) */
ERROR_MR_MID_NOT_FOUND
,
/* c000002f (STATUS_PORT_MESSAGE_TOO_LONG) */
ERROR_INVALID_PARAMETER
,
/* c0000030 (STATUS_INVALID_PARAMETER_MIX) */
0
,
/* c0000031 (STATUS_INVALID_QUOTA_LOWER) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000031 (STATUS_INVALID_QUOTA_LOWER) */
ERROR_DISK_CORRUPT
,
/* c0000032 (STATUS_DISK_CORRUPT_ERROR) */
ERROR_INVALID_NAME
,
/* c0000033 (STATUS_OBJECT_NAME_INVALID) */
ERROR_FILE_NOT_FOUND
,
/* c0000034 (STATUS_OBJECT_NAME_NOT_FOUND) */
ERROR_ALREADY_EXISTS
,
/* c0000035 (STATUS_OBJECT_NAME_COLLISION) */
0
,
/* c0000036 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000036 */
ERROR_INVALID_HANDLE
,
/* c0000037 (STATUS_PORT_DISCONNECTED) */
0
,
/* c0000038 (STATUS_DEVICE_ALREADY_ATTACHED) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000038 (STATUS_DEVICE_ALREADY_ATTACHED) */
ERROR_BAD_PATHNAME
,
/* c0000039 (STATUS_OBJECT_PATH_INVALID) */
ERROR_PATH_NOT_FOUND
,
/* c000003a (STATUS_OBJECT_PATH_NOT_FOUND) */
ERROR_BAD_PATHNAME
,
/* c000003b (STATUS_OBJECT_PATH_SYNTAX_BAD) */
...
...
@@ -650,7 +534,7 @@ static const DWORD table_c0000001[412] =
ERROR_BAD_VALIDATION_CLASS
,
/* c00000a7 (STATUS_BAD_VALIDATION_CLASS) */
ERROR_BAD_TOKEN_TYPE
,
/* c00000a8 (STATUS_BAD_TOKEN_TYPE) */
ERROR_INVALID_PARAMETER
,
/* c00000a9 (STATUS_BAD_MASTER_BOOT_RECORD) */
0
,
/* c00000aa (STATUS_INSTRUCTION_MISALIGNMENT) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000aa (STATUS_INSTRUCTION_MISALIGNMENT) */
ERROR_PIPE_BUSY
,
/* c00000ab (STATUS_INSTANCE_NOT_AVAILABLE) */
ERROR_PIPE_BUSY
,
/* c00000ac (STATUS_PIPE_NOT_AVAILABLE) */
ERROR_BAD_PIPE
,
/* c00000ad (STATUS_INVALID_PIPE_STATE) */
...
...
@@ -663,9 +547,9 @@ static const DWORD table_c0000001[412] =
ERROR_BAD_PIPE
,
/* c00000b4 (STATUS_INVALID_READ_MODE) */
ERROR_SEM_TIMEOUT
,
/* c00000b5 (STATUS_IO_TIMEOUT) */
ERROR_HANDLE_EOF
,
/* c00000b6 (STATUS_FILE_FORCED_CLOSED) */
0
,
/* c00000b7 (STATUS_PROFILING_NOT_STARTED) */
0
,
/* c00000b8 (STATUS_PROFILING_NOT_STOPPED) */
0
,
/* c00000b9 (STATUS_COULD_NOT_INTERPRET) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000b7 (STATUS_PROFILING_NOT_STARTED) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000b8 (STATUS_PROFILING_NOT_STOPPED) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000b9 (STATUS_COULD_NOT_INTERPRET) */
ERROR_ACCESS_DENIED
,
/* c00000ba (STATUS_FILE_IS_A_DIRECTORY) */
ERROR_NOT_SUPPORTED
,
/* c00000bb (STATUS_NOT_SUPPORTED) */
ERROR_REM_NOT_LIST
,
/* c00000bc (STATUS_REMOTE_NOT_LISTENING) */
...
...
@@ -691,15 +575,15 @@ static const DWORD table_c0000001[412] =
ERROR_REQ_NOT_ACCEP
,
/* c00000d0 (STATUS_REQUEST_NOT_ACCEPTED) */
ERROR_REDIR_PAUSED
,
/* c00000d1 (STATUS_REDIRECTOR_PAUSED) */
ERROR_NET_WRITE_FAULT
,
/* c00000d2 (STATUS_NET_WRITE_FAULT) */
0
,
/* c00000d3 (STATUS_PROFILING_AT_LIMIT) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000d3 (STATUS_PROFILING_AT_LIMIT) */
ERROR_NOT_SAME_DEVICE
,
/* c00000d4 (STATUS_NOT_SAME_DEVICE) */
ERROR_ACCESS_DENIED
,
/* c00000d5 (STATUS_FILE_RENAMED) */
ERROR_VC_DISCONNECTED
,
/* c00000d6 (STATUS_VIRTUAL_CIRCUIT_CLOSED) */
ERROR_NO_SECURITY_ON_OBJECT
,
/* c00000d7 (STATUS_NO_SECURITY_ON_OBJECT) */
0
,
/* c00000d8 (STATUS_CANT_WAIT) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000d8 (STATUS_CANT_WAIT) */
ERROR_NO_DATA
,
/* c00000d9 (STATUS_PIPE_EMPTY) */
ERROR_CANT_ACCESS_DOMAIN_INFO
,
/* c00000da (STATUS_CANT_ACCESS_DOMAIN_INFO) */
0
,
/* c00000db (STATUS_CANT_TERMINATE_SELF) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000db (STATUS_CANT_TERMINATE_SELF) */
ERROR_INVALID_SERVER_STATE
,
/* c00000dc (STATUS_INVALID_SERVER_STATE) */
ERROR_INVALID_DOMAIN_STATE
,
/* c00000dd (STATUS_INVALID_DOMAIN_STATE) */
ERROR_INVALID_DOMAIN_ROLE
,
/* c00000de (STATUS_INVALID_DOMAIN_ROLE) */
...
...
@@ -713,10 +597,10 @@ static const DWORD table_c0000001[412] =
ERROR_GENERIC_NOT_MAPPED
,
/* c00000e6 (STATUS_GENERIC_NOT_MAPPED) */
ERROR_BAD_DESCRIPTOR_FORMAT
,
/* c00000e7 (STATUS_BAD_DESCRIPTOR_FORMAT) */
ERROR_INVALID_USER_BUFFER
,
/* c00000e8 (STATUS_INVALID_USER_BUFFER) */
0
,
/* c00000e9 (STATUS_UNEXPECTED_IO_ERROR) */
0
,
/* c00000ea (STATUS_UNEXPECTED_MM_CREATE_ERR) */
0
,
/* c00000eb (STATUS_UNEXPECTED_MM_MAP_ERROR) */
0
,
/* c00000ec (STATUS_UNEXPECTED_MM_EXTEND_ERR) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000e9 (STATUS_UNEXPECTED_IO_ERROR) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000ea (STATUS_UNEXPECTED_MM_CREATE_ERR) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000eb (STATUS_UNEXPECTED_MM_MAP_ERROR) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000ec (STATUS_UNEXPECTED_MM_EXTEND_ERR) */
ERROR_NOT_LOGON_PROCESS
,
/* c00000ed (STATUS_NOT_LOGON_PROCESS) */
ERROR_LOGON_SESSION_EXISTS
,
/* c00000ee (STATUS_LOGON_SESSION_EXISTS) */
ERROR_INVALID_PARAMETER
,
/* c00000ef (STATUS_INVALID_PARAMETER_1) */
...
...
@@ -735,7 +619,7 @@ static const DWORD table_c0000001[412] =
ERROR_SERVICE_ALREADY_RUNNING
,
/* c00000fc (STATUS_REDIRECTOR_STARTED) */
ERROR_STACK_OVERFLOW
,
/* c00000fd (STATUS_STACK_OVERFLOW) */
ERROR_NO_SUCH_PACKAGE
,
/* c00000fe (STATUS_NO_SUCH_PACKAGE) */
0
,
/* c00000ff (STATUS_BAD_FUNCTION_TABLE) */
ERROR_MR_MID_NOT_FOUND
,
/* c00000ff (STATUS_BAD_FUNCTION_TABLE) */
ERROR_ENVVAR_NOT_FOUND
,
/* c0000100 (STATUS_VARIABLE_NOT_FOUND) */
ERROR_DIR_NOT_EMPTY
,
/* c0000101 (STATUS_DIRECTORY_NOT_EMPTY) */
ERROR_FILE_CORRUPT
,
/* c0000102 (STATUS_FILE_CORRUPT_ERROR) */
...
...
@@ -748,17 +632,9 @@ static const DWORD table_c0000001[412] =
ERROR_MR_MID_NOT_FOUND
,
/* c0000109 (STATUS_MESSAGE_NOT_FOUND) */
ERROR_ACCESS_DENIED
,
/* c000010a (STATUS_PROCESS_IS_TERMINATING) */
ERROR_INVALID_LOGON_TYPE
,
/* c000010b (STATUS_INVALID_LOGON_TYPE) */
0
,
/* c000010c (STATUS_NO_GUID_TRANSLATION) */
ERROR_MR_MID_NOT_FOUND
,
/* c000010c (STATUS_NO_GUID_TRANSLATION) */
ERROR_CANNOT_IMPERSONATE
,
/* c000010d (STATUS_CANNOT_IMPERSONATE) */
ERROR_SERVICE_ALREADY_RUNNING
,
/* c000010e (STATUS_IMAGE_ALREADY_LOADED) */
0
,
/* c000010f (STATUS_ABIOS_NOT_PRESENT) */
0
,
/* c0000110 (STATUS_ABIOS_LID_NOT_EXIST) */
0
,
/* c0000111 (STATUS_ABIOS_LID_ALREADY_OWNED) */
0
,
/* c0000112 (STATUS_ABIOS_NOT_LID_OWNER) */
0
,
/* c0000113 (STATUS_ABIOS_INVALID_COMMAND) */
0
,
/* c0000114 (STATUS_ABIOS_INVALID_LID) */
0
,
/* c0000115 (STATUS_ABIOS_SELECTOR_NOT_AVAILABLE) */
0
,
/* c0000116 (STATUS_ABIOS_INVALID_SELECTOR) */
ERROR_INVALID_THREAD_ID
,
/* c0000117 (STATUS_NO_LDT) */
ERROR_INVALID_LDT_SIZE
,
/* c0000118 (STATUS_INVALID_LDT_SIZE) */
ERROR_INVALID_LDT_OFFSET
,
/* c0000119 (STATUS_INVALID_LDT_OFFSET) */
...
...
@@ -832,7 +708,7 @@ static const DWORD table_c0000001[412] =
ERROR_NT_CROSS_ENCRYPTION_REQUIRED
,
/* c000015d (STATUS_NT_CROSS_ENCRYPTION_REQUIRED) */
ERROR_DOMAIN_CTRLR_CONFIG_ERROR
,
/* c000015e (STATUS_DOMAIN_CTRLR_CONFIG_ERROR) */
ERROR_IO_DEVICE
,
/* c000015f (STATUS_FT_MISSING_MEMBER) */
0
,
/* c0000160 (STATUS_ILL_FORMED_SERVICE_ENTRY) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000160 (STATUS_ILL_FORMED_SERVICE_ENTRY) */
ERROR_ILLEGAL_CHARACTER
,
/* c0000161 (STATUS_ILLEGAL_CHARACTER) */
ERROR_NO_UNICODE_TRANSLATION
,
/* c0000162 (STATUS_UNMAPPABLE_CHARACTER) */
ERROR_UNDEFINED_CHARACTER
,
/* c0000163 (STATUS_UNDEFINED_CHARACTER) */
...
...
@@ -847,9 +723,9 @@ static const DWORD table_c0000001[412] =
ERROR_IRQ_BUSY
,
/* c000016c (STATUS_SHARED_IRQ_BUSY) */
ERROR_IO_DEVICE
,
/* c000016d (STATUS_FT_ORPHANING) */
ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT
,
/* c000016e (STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT) */
0
,
/* c000016f */
0
,
/* c0000170 */
0
,
/* c0000171 */
ERROR_MR_MID_NOT_FOUND
,
/* c000016f */
ERROR_MR_MID_NOT_FOUND
,
/* c0000170 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000171 */
ERROR_PARTITION_FAILURE
,
/* c0000172 (STATUS_PARTITION_FAILURE) */
ERROR_INVALID_BLOCK_LENGTH
,
/* c0000173 (STATUS_INVALID_BLOCK_LENGTH) */
ERROR_DEVICE_NOT_PARTITIONED
,
/* c0000174 (STATUS_DEVICE_NOT_PARTITIONED) */
...
...
@@ -857,7 +733,7 @@ static const DWORD table_c0000001[412] =
ERROR_UNABLE_TO_UNLOAD_MEDIA
,
/* c0000176 (STATUS_UNABLE_TO_UNLOAD_MEDIA) */
ERROR_EOM_OVERFLOW
,
/* c0000177 (STATUS_EOM_OVERFLOW) */
ERROR_NO_MEDIA_IN_DRIVE
,
/* c0000178 (STATUS_NO_MEDIA) */
0
,
/* c0000179 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000179 */
ERROR_NO_SUCH_MEMBER
,
/* c000017a (STATUS_NO_SUCH_MEMBER) */
ERROR_INVALID_MEMBER
,
/* c000017b (STATUS_INVALID_MEMBER) */
ERROR_KEY_DELETED
,
/* c000017c (STATUS_KEY_DELETED) */
...
...
@@ -888,15 +764,11 @@ static const DWORD table_c0000001[412] =
ERROR_SESSION_CREDENTIAL_CONFLICT
,
/* c0000195 (STATUS_NETWORK_CREDENTIAL_CONFLICT) */
ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
,
/* c0000196 (STATUS_REMOTE_SESSION_LIMIT) */
ERROR_EVENTLOG_FILE_CHANGED
,
/* c0000197 (STATUS_EVENTLOG_FILE_CHANGED) */
ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
,
/* c0000198 (STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT) */
ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
,
/* c0000199 (STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT) */
ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
,
/* c0000198 (STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT) */
ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
,
/* c0000199 (STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT) */
ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
,
/* c000019a (STATUS_NOLOGON_SERVER_TRUST_ACCOUNT) */
ERROR_DOMAIN_TRUST_INCONSISTENT
,
/* c000019b (STATUS_DOMAIN_TRUST_INCONSISTENT) */
ERROR_FS_DRIVER_REQUIRED
/* c000019c (STATUS_FS_DRIVER_REQUIRED) */
};
static
const
DWORD
table_c0000202
[
396
]
=
{
ERROR_FS_DRIVER_REQUIRED
,
/* c000019c (STATUS_FS_DRIVER_REQUIRED) */
ERROR_NO_USER_SESSION_KEY
,
/* c0000202 (STATUS_NO_USER_SESSION_KEY) */
ERROR_UNEXP_NET_ERR
,
/* c0000203 (STATUS_USER_SESSION_DELETED) */
ERROR_RESOURCE_LANG_NOT_FOUND
,
/* c0000204 (STATUS_RESOURCE_LANG_NOT_FOUND) */
...
...
@@ -934,7 +806,7 @@ static const DWORD table_c0000202[396] =
ERROR_PASSWORD_MUST_CHANGE
,
/* c0000224 (STATUS_PASSWORD_MUST_CHANGE) */
ERROR_NOT_FOUND
,
/* c0000225 (STATUS_NOT_FOUND) */
ERROR_NOT_TINY_STREAM
,
/* c0000226 (STATUS_NOT_TINY_STREAM) */
0
,
/* c0000227 (STATUS_RECOVERY_FAILURE) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000227 (STATUS_RECOVERY_FAILURE) */
ERROR_STACK_OVERFLOW_READ
,
/* c0000228 (STATUS_STACK_OVERFLOW_READ) */
ERROR_INVALID_PARAMETER
,
/* c0000229 (STATUS_FAIL_CHECK) */
ERROR_OBJECT_ALREADY_EXISTS
,
/* c000022a (STATUS_DUPLICATE_OBJECTID) */
...
...
@@ -969,12 +841,12 @@ static const DWORD table_c0000202[396] =
ERROR_LOGIN_TIME_RESTRICTION
,
/* c0000247 (STATUS_LOGIN_TIME_RESTRICTION) */
ERROR_LOGIN_WKSTA_RESTRICTION
,
/* c0000248 (STATUS_LOGIN_WKSTA_RESTRICTION) */
ERROR_BAD_EXE_FORMAT
,
/* c0000249 (STATUS_IMAGE_MP_UP_MISMATCH) */
0
,
/* c000024a */
0
,
/* c000024b */
0
,
/* c000024c */
0
,
/* c000024d */
0
,
/* c000024e */
0
,
/* c000024f */
ERROR_MR_MID_NOT_FOUND
,
/* c000024a */
ERROR_MR_MID_NOT_FOUND
,
/* c000024b */
ERROR_MR_MID_NOT_FOUND
,
/* c000024c */
ERROR_MR_MID_NOT_FOUND
,
/* c000024d */
ERROR_MR_MID_NOT_FOUND
,
/* c000024e */
ERROR_MR_MID_NOT_FOUND
,
/* c000024f */
ERROR_INSUFFICIENT_LOGON_INFO
,
/* c0000250 (STATUS_INSUFFICIENT_LOGON_INFO) */
ERROR_BAD_DLL_ENTRYPOINT
,
/* c0000251 (STATUS_BAD_DLL_ENTRYPOINT) */
ERROR_BAD_SERVICE_ENTRYPOINT
,
/* c0000252 (STATUS_BAD_SERVICE_ENTRYPOINT) */
...
...
@@ -988,7 +860,7 @@ static const DWORD table_c0000202[396] =
ERROR_PWD_TOO_SHORT
,
/* c000025a (STATUS_PWD_TOO_SHORT) */
ERROR_PWD_TOO_RECENT
,
/* c000025b (STATUS_PWD_TOO_RECENT) */
ERROR_PWD_HISTORY_CONFLICT
,
/* c000025c (STATUS_PWD_HISTORY_CONFLICT) */
0
,
/* c000025d */
ERROR_MR_MID_NOT_FOUND
,
/* c000025d */
ERROR_SERVICE_DISABLED
,
/* c000025e (STATUS_PLUGPLAY_NO_DEVICE) */
ERROR_UNSUPPORTED_COMPRESSION
,
/* c000025f (STATUS_UNSUPPORTED_COMPRESSION) */
ERROR_INVALID_HW_PROFILE
,
/* c0000260 (STATUS_INVALID_HW_PROFILE) */
...
...
@@ -1006,23 +878,23 @@ static const DWORD table_c0000202[396] =
ERROR_BAD_DRIVER
,
/* c000026c (STATUS_DRIVER_UNABLE_TO_LOAD) */
ERROR_CONNECTION_UNAVAIL
,
/* c000026d (STATUS_DFS_UNAVAILABLE) */
ERROR_NOT_READY
,
/* c000026e (STATUS_VOLUME_DISMOUNTED) */
0
,
/* c000026f (STATUS_WX86_INTERNAL_ERROR) */
0
,
/* c0000270 (STATUS_WX86_FLOAT_STACK_CHECK) */
ERROR_MR_MID_NOT_FOUND
,
/* c000026f (STATUS_WX86_INTERNAL_ERROR) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000270 (STATUS_WX86_FLOAT_STACK_CHECK) */
ERROR_VALIDATE_CONTINUE
,
/* c0000271 (STATUS_VALIDATE_CONTINUE) */
ERROR_NO_MATCH
,
/* c0000272 (STATUS_NO_MATCH) */
ERROR_NO_MORE_MATCHES
,
/* c0000273 (STATUS_NO_MORE_MATCHES) */
0
,
/* c0000274 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000274 */
ERROR_NOT_A_REPARSE_POINT
,
/* c0000275 (STATUS_NOT_A_REPARSE_POINT) */
ERROR_REPARSE_TAG_INVALID
,
/* c0000276 (STATUS_IO_REPARSE_TAG_INVALID) */
ERROR_REPARSE_TAG_MISMATCH
,
/* c0000277 (STATUS_IO_REPARSE_TAG_MISMATCH) */
ERROR_INVALID_REPARSE_DATA
,
/* c0000278 (STATUS_IO_REPARSE_DATA_INVALID) */
ERROR_CANT_ACCESS_FILE
,
/* c0000279 (STATUS_IO_REPARSE_TAG_NOT_HANDLED) */
0
,
/* c000027a */
0
,
/* c000027b */
0
,
/* c000027c */
0
,
/* c000027d */
0
,
/* c000027e */
0
,
/* c000027f */
ERROR_MR_MID_NOT_FOUND
,
/* c000027a */
ERROR_MR_MID_NOT_FOUND
,
/* c000027b */
ERROR_MR_MID_NOT_FOUND
,
/* c000027c */
ERROR_MR_MID_NOT_FOUND
,
/* c000027d */
ERROR_MR_MID_NOT_FOUND
,
/* c000027e */
ERROR_MR_MID_NOT_FOUND
,
/* c000027f */
ERROR_CANT_RESOLVE_FILENAME
,
/* c0000280 (STATUS_REPARSE_POINT_NOT_RESOLVED) */
ERROR_BAD_PATHNAME
,
/* c0000281 (STATUS_DIRECTORY_IS_A_REPARSE_POINT) */
ERROR_RANGE_LIST_CONFLICT
,
/* c0000282 (STATUS_RANGE_LIST_CONFLICT) */
...
...
@@ -1031,8 +903,8 @@ static const DWORD table_c0000202[396] =
ERROR_ILLEGAL_ELEMENT_ADDRESS
,
/* c0000285 (STATUS_ILLEGAL_ELEMENT_ADDRESS) */
ERROR_MAGAZINE_NOT_PRESENT
,
/* c0000286 (STATUS_MAGAZINE_NOT_PRESENT) */
ERROR_DEVICE_REINITIALIZATION_NEEDED
,
/* c0000287 (STATUS_REINITIALIZATION_NEEDED) */
0
,
/* c0000288 */
0
,
/* c0000289 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000288 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000289 */
ERROR_ACCESS_DENIED
,
/* c000028a (STATUS_ENCRYPTION_FAILED) */
ERROR_ACCESS_DENIED
,
/* c000028b (STATUS_DECRYPTION_FAILED) */
ERROR_RANGE_NOT_FOUND
,
/* c000028c (STATUS_RANGE_NOT_FOUND) */
...
...
@@ -1043,7 +915,7 @@ static const DWORD table_c0000202[396] =
ERROR_FILE_NOT_ENCRYPTED
,
/* c0000291 (STATUS_FILE_NOT_ENCRYPTED) */
ERROR_NOT_EXPORT_FORMAT
,
/* c0000292 (STATUS_NOT_EXPORT_FORMAT) */
ERROR_FILE_ENCRYPTED
,
/* c0000293 (STATUS_FILE_ENCRYPTED) */
0
,
/* c0000294 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000294 */
ERROR_WMI_GUID_NOT_FOUND
,
/* c0000295 (STATUS_WMI_GUID_NOT_FOUND) */
ERROR_WMI_INSTANCE_NOT_FOUND
,
/* c0000296 (STATUS_WMI_INSTANCE_NOT_FOUND) */
ERROR_WMI_ITEMID_NOT_FOUND
,
/* c0000297 (STATUS_WMI_ITEMID_NOT_FOUND) */
...
...
@@ -1081,13 +953,13 @@ static const DWORD table_c0000202[396] =
ERROR_JOURNAL_DELETE_IN_PROGRESS
,
/* c00002b7 (STATUS_JOURNAL_DELETE_IN_PROGRESS) */
ERROR_JOURNAL_NOT_ACTIVE
,
/* c00002b8 (STATUS_JOURNAL_NOT_ACTIVE) */
ERROR_NOINTERFACE
,
/* c00002b9 (STATUS_NOINTERFACE) */
0
,
/* c00002ba */
0
,
/* c00002bb */
0
,
/* c00002bc */
0
,
/* c00002bd */
0
,
/* c00002be */
0
,
/* c00002bf */
0
,
/* c00002c0 */
ERROR_MR_MID_NOT_FOUND
,
/* c00002ba */
ERROR_MR_MID_NOT_FOUND
,
/* c00002bb */
ERROR_MR_MID_NOT_FOUND
,
/* c00002bc */
ERROR_MR_MID_NOT_FOUND
,
/* c00002bd */
ERROR_MR_MID_NOT_FOUND
,
/* c00002be */
ERROR_MR_MID_NOT_FOUND
,
/* c00002bf */
ERROR_MR_MID_NOT_FOUND
,
/* c00002c0 */
ERROR_DS_ADMIN_LIMIT_EXCEEDED
,
/* c00002c1 (STATUS_DS_ADMIN_LIMIT_EXCEEDED) */
ERROR_DRIVER_FAILED_SLEEP
,
/* c00002c2 (STATUS_DRIVER_FAILED_SLEEP) */
ERROR_MUTUAL_AUTH_FAILED
,
/* c00002c3 (STATUS_MUTUAL_AUTHENTICATION_FAILED) */
...
...
@@ -1106,14 +978,14 @@ static const DWORD table_c0000202[396] =
ERROR_DS_CANT_MOD_PRIMARYGROUPID
,
/* c00002d0 (STATUS_DS_CANT_MOD_PRIMARYGROUPID) */
ERROR_SYSTEM_IMAGE_BAD_SIGNATURE
,
/* c00002d1 (STATUS_SYSTEM_IMAGE_BAD_SIGNATURE) */
ERROR_PNP_REBOOT_REQUIRED
,
/* c00002d2 (STATUS_PNP_REBOOT_REQUIRED) */
0
,
/* c00002d3 (STATUS_POWER_STATE_INVALID) */
ERROR_MR_MID_NOT_FOUND
,
/* c00002d3 (STATUS_POWER_STATE_INVALID) */
ERROR_DS_INVALID_GROUP_TYPE
,
/* c00002d4 (STATUS_DS_INVALID_GROUP_TYPE) */
ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
,
/* c00002d5 (STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN) */
ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
,
/* c00002d6 (STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN) */
ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
,
/* c00002d7 (STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER) */
ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
,
/* c00002d8 (STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER) */
ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
,
/* c00002d9 (STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER) */
ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
,
/* c00002da (STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER) */
ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
,
/* c00002da (STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER) */
ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
,
/* c00002db (STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER) */
ERROR_DS_HAVE_PRIMARY_MEMBERS
,
/* c00002dc (STATUS_DS_HAVE_PRIMARY_MEMBERS) */
ERROR_NOT_SUPPORTED
,
/* c00002dd (STATUS_WMI_NOT_SUPPORTED) */
...
...
@@ -1163,98 +1035,33 @@ static const DWORD table_c0000202[396] =
STG_E_CSS_SCRAMBLED_SECTOR
,
/* c0000309 (STATUS_CSS_SCRAMBLED_SECTOR) */
STG_E_CSS_REGION_MISMATCH
,
/* c000030a (STATUS_CSS_REGION_MISMATCH) */
STG_E_RESETS_EXHAUSTED
,
/* c000030b (STATUS_CSS_RESETS_EXHAUSTED) */
0
,
/* c000030c */
0
,
/* c000030d */
0
,
/* c000030e */
0
,
/* c000030f */
0
,
/* c0000310 */
0
,
/* c0000311 */
0
,
/* c0000312 */
0
,
/* c0000313 */
0
,
/* c0000314 */
0
,
/* c0000315 */
0
,
/* c0000316 */
0
,
/* c0000317 */
0
,
/* c0000318 */
0
,
/* c0000319 */
0
,
/* c000031a */
0
,
/* c000031b */
0
,
/* c000031c */
0
,
/* c000031d */
0
,
/* c000031e */
0
,
/* c000031f */
ERROR_PKINIT_FAILURE
,
/* c0000320 (STATUS_PKINIT_FAILURE) */
ERROR_SMARTCARD_SUBSYSTEM_FAILURE
,
/* c0000321 (STATUS_SMARTCARD_SUBSYSTEM_FAILURE) */
SEC_E_NO_KERB_KEY
,
/* c0000322 (STATUS_NO_KERB_KEY) */
0
,
/* c0000323 */
0
,
/* c0000324 */
0
,
/* c0000325 */
0
,
/* c0000326 */
0
,
/* c0000327 */
0
,
/* c0000328 */
0
,
/* c0000329 */
0
,
/* c000032a */
0
,
/* c000032b */
0
,
/* c000032c */
0
,
/* c000032d */
0
,
/* c000032e */
0
,
/* c000032f */
0
,
/* c0000330 */
0
,
/* c0000331 */
0
,
/* c0000332 */
0
,
/* c0000333 */
0
,
/* c0000334 */
0
,
/* c0000335 */
0
,
/* c0000336 */
0
,
/* c0000337 */
0
,
/* c0000338 */
0
,
/* c0000339 */
0
,
/* c000033a */
0
,
/* c000033b */
0
,
/* c000033c */
0
,
/* c000033d */
0
,
/* c000033e */
0
,
/* c000033f */
0
,
/* c0000340 */
0
,
/* c0000341 */
0
,
/* c0000342 */
0
,
/* c0000343 */
0
,
/* c0000344 */
0
,
/* c0000345 */
0
,
/* c0000346 */
0
,
/* c0000347 */
0
,
/* c0000348 */
0
,
/* c0000349 */
0
,
/* c000034a */
0
,
/* c000034b */
0
,
/* c000034c */
0
,
/* c000034d */
0
,
/* c000034e */
0
,
/* c000034f */
ERROR_HOST_DOWN
,
/* c0000350 (STATUS_HOST_DOWN) */
SEC_E_UNSUPPORTED_PREAUTH
,
/* c0000351 (STATUS_UNSUPPORTED_PREAUTH) */
ERROR_EFS_ALG_BLOB_TOO_BIG
,
/* c0000352 (STATUS_EFS_ALG_BLOB_TOO_BIG) */
ERROR_PORT_NOT_SET
,
/* c0000353 (STATUS_PORT_NOT_SET) */
0
,
/* c0000354 (STATUS_DEBUGGER_INACTIVE) */
ERROR_MR_MID_NOT_FOUND
,
/* c0000354 (STATUS_DEBUGGER_INACTIVE) */
ERROR_DS_VERSION_CHECK_FAILURE
,
/* c0000355 (STATUS_DS_VERSION_CHECK_FAILURE) */
ERROR_AUDITING_DISABLED
,
/* c0000356 (STATUS_AUDITING_DISABLED) */
ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4
,
/* c0000357 (STATUS_PRENT4_MACHINE_ACCOUNT) */
ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4
,
/* c0000357 (STATUS_PRENT4_MACHINE_ACCOUNT) */
ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
,
/* c0000358 (STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER) */
ERROR_BAD_EXE_FORMAT
,
/* c0000359 (STATUS_INVALID_IMAGE_WIN_32) */
ERROR_BAD_EXE_FORMAT
,
/* c000035a (STATUS_INVALID_IMAGE_WIN_64) */
SEC_E_BAD_BINDINGS
,
/* c000035b (STATUS_BAD_BINDINGS) */
ERROR_NO_USER_SESSION_KEY
,
/* c000035c (STATUS_NETWORK_SESSION_EXPIRED) */
0
,
/* c000035d (STATUS_APPHELP_BLOCK) */
ERROR_MR_MID_NOT_FOUND
,
/* c000035d (STATUS_APPHELP_BLOCK) */
ERROR_ALL_SIDS_FILTERED
,
/* c000035e (STATUS_ALL_SIDS_FILTERED) */
ERROR_NOT_SAFE_MODE_DRIVER
,
/* c000035f (STATUS_NOT_SAFE_MODE_DRIVER) */
0
,
/* c0000360 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000360 */
ERROR_ACCESS_DISABLED_BY_POLICY
,
/* c0000361 (STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT) */
ERROR_ACCESS_DISABLED_BY_POLICY
,
/* c0000362 (STATUS_ACCESS_DISABLED_BY_POLICY_PATH) */
ERROR_ACCESS_DISABLED_BY_POLICY
,
/* c0000363 (STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER) */
ERROR_ACCESS_DISABLED_BY_POLICY
,
/* c0000364 (STATUS_ACCESS_DISABLED_BY_POLICY_OTHER) */
ERROR_FAILED_DRIVER_ENTRY
,
/* c0000365 (STATUS_FAILED_DRIVER_ENTRY) */
ERROR_DEVICE_ENUMERATION_ERROR
,
/* c0000366 (STATUS_DEVICE_ENUMERATION_ERROR) */
0
,
/* c0000367 */
ERROR_MR_MID_NOT_FOUND
,
/* c0000367 */
ERROR_MOUNT_POINT_NOT_RESOLVED
,
/* c0000368 (STATUS_MOUNT_POINT_NOT_RESOLVED) */
ERROR_INVALID_DEVICE_OBJECT_PARAMETER
,
/* c0000369 (STATUS_INVALID_DEVICE_OBJECT_PARAMETER) */
ERROR_MCA_OCCURED
,
/* c000036a (STATUS_MCA_OCCURED) */
...
...
@@ -1263,22 +1070,6 @@ static const DWORD table_c0000202[396] =
ERROR_DRIVER_DATABASE_ERROR
,
/* c000036d (STATUS_DRIVER_DATABASE_ERROR) */
ERROR_SYSTEM_HIVE_TOO_LARGE
,
/* c000036e (STATUS_SYSTEM_HIVE_TOO_LARGE) */
ERROR_INVALID_IMPORT_OF_NON_DLL
,
/* c000036f (STATUS_INVALID_IMPORT_OF_NON_DLL) */
0
,
/* c0000370 */
0
,
/* c0000371 */
0
,
/* c0000372 */
0
,
/* c0000373 */
0
,
/* c0000374 */
0
,
/* c0000375 */
0
,
/* c0000376 */
0
,
/* c0000377 */
0
,
/* c0000378 */
0
,
/* c0000379 */
0
,
/* c000037a */
0
,
/* c000037b */
0
,
/* c000037c */
0
,
/* c000037d */
0
,
/* c000037e */
0
,
/* c000037f */
SCARD_W_WRONG_CHV
,
/* c0000380 (STATUS_SMARTCARD_WRONG_PIN) */
SCARD_W_CHV_BLOCKED
,
/* c0000381 (STATUS_SMARTCARD_CARD_BLOCKED) */
SCARD_W_CARD_NOT_AUTHENTICATED
,
/* c0000382 (STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED) */
...
...
@@ -1292,16 +1083,8 @@ static const DWORD table_c0000202[396] =
SEC_E_ISSUING_CA_UNTRUSTED
,
/* c000038a (STATUS_ISSUING_CA_UNTRUSTED) */
SEC_E_REVOCATION_OFFLINE_C
,
/* c000038b (STATUS_REVOCATION_OFFLINE_C) */
SEC_E_PKINIT_CLIENT_FAILURE
,
/* c000038c (STATUS_PKINIT_CLIENT_FAILURE) */
SEC_E_SMARTCARD_CERT_EXPIRED
/* c000038d (STATUS_SMARTCARD_CERT_EXPIRED) */
};
static
const
DWORD
table_c000042c
[
1
]
=
{
ERROR_ELEVATION_REQUIRED
/* c000042c (STATUS_ELEVATION_REQUIRED) */
};
static
const
DWORD
table_c0020001
[
99
]
=
{
SEC_E_SMARTCARD_CERT_EXPIRED
,
/* c000038d (STATUS_SMARTCARD_CERT_EXPIRED) */
ERROR_ELEVATION_REQUIRED
,
/* c000042c (STATUS_ELEVATION_REQUIRED) */
RPC_S_INVALID_STRING_BINDING
,
/* c0020001 (RPC_NT_INVALID_STRING_BINDING) */
RPC_S_WRONG_KIND_OF_BINDING
,
/* c0020002 (RPC_NT_WRONG_KIND_OF_BINDING) */
ERROR_INVALID_HANDLE
,
/* c0020003 (RPC_NT_INVALID_BINDING) */
...
...
@@ -1331,16 +1114,16 @@ static const DWORD table_c0020001[99] =
RPC_S_CALL_FAILED
,
/* c002001b (RPC_NT_CALL_FAILED) */
RPC_S_CALL_FAILED_DNE
,
/* c002001c (RPC_NT_CALL_FAILED_DNE) */
RPC_S_PROTOCOL_ERROR
,
/* c002001d (RPC_NT_PROTOCOL_ERROR) */
0
,
/* c002001e */
ERROR_MR_MID_NOT_FOUND
,
/* c002001e */
RPC_S_UNSUPPORTED_TRANS_SYN
,
/* c002001f (RPC_NT_UNSUPPORTED_TRANS_SYN) */
0
,
/* c0020020 */
ERROR_MR_MID_NOT_FOUND
,
/* c0020020 */
RPC_S_UNSUPPORTED_TYPE
,
/* c0020021 (RPC_NT_UNSUPPORTED_TYPE) */
RPC_S_INVALID_TAG
,
/* c0020022 (RPC_NT_INVALID_TAG) */
RPC_S_INVALID_BOUND
,
/* c0020023 (RPC_NT_INVALID_BOUND) */
RPC_S_NO_ENTRY_NAME
,
/* c0020024 (RPC_NT_NO_ENTRY_NAME) */
RPC_S_INVALID_NAME_SYNTAX
,
/* c0020025 (RPC_NT_INVALID_NAME_SYNTAX) */
RPC_S_UNSUPPORTED_NAME_SYNTAX
,
/* c0020026 (RPC_NT_UNSUPPORTED_NAME_SYNTAX) */
0
,
/* c0020027 */
ERROR_MR_MID_NOT_FOUND
,
/* c0020027 */
RPC_S_UUID_NO_ADDRESS
,
/* c0020028 (RPC_NT_UUID_NO_ADDRESS) */
RPC_S_DUPLICATE_ENDPOINT
,
/* c0020029 (RPC_NT_DUPLICATE_ENDPOINT) */
RPC_S_UNKNOWN_AUTHN_TYPE
,
/* c002002a (RPC_NT_UNKNOWN_AUTHN_TYPE) */
...
...
@@ -1379,7 +1162,7 @@ static const DWORD table_c0020001[99] =
RPC_S_GROUP_MEMBER_NOT_FOUND
,
/* c002004b (RPC_NT_GROUP_MEMBER_NOT_FOUND) */
EPT_S_CANT_CREATE
,
/* c002004c (EPT_NT_CANT_CREATE) */
RPC_S_INVALID_OBJECT
,
/* c002004d (RPC_NT_INVALID_OBJECT) */
0
,
/* c002004e */
ERROR_MR_MID_NOT_FOUND
,
/* c002004e */
RPC_S_NO_INTERFACES
,
/* c002004f (RPC_NT_NO_INTERFACES) */
RPC_S_CALL_CANCELLED
,
/* c0020050 (RPC_NT_CALL_CANCELLED) */
RPC_S_BINDING_INCOMPLETE
,
/* c0020051 (RPC_NT_BINDING_INCOMPLETE) */
...
...
@@ -1387,24 +1170,11 @@ static const DWORD table_c0020001[99] =
RPC_S_UNSUPPORTED_AUTHN_LEVEL
,
/* c0020053 (RPC_NT_UNSUPPORTED_AUTHN_LEVEL) */
RPC_S_NO_PRINC_NAME
,
/* c0020054 (RPC_NT_NO_PRINC_NAME) */
RPC_S_NOT_RPC_ERROR
,
/* c0020055 (RPC_NT_NOT_RPC_ERROR) */
0
,
/* c0020056 */
ERROR_MR_MID_NOT_FOUND
,
/* c0020056 */
RPC_S_SEC_PKG_ERROR
,
/* c0020057 (RPC_NT_SEC_PKG_ERROR) */
RPC_S_NOT_CANCELLED
,
/* c0020058 (RPC_NT_NOT_CANCELLED) */
0
,
/* c0020059 */
0
,
/* c002005a */
0
,
/* c002005b */
0
,
/* c002005c */
0
,
/* c002005d */
0
,
/* c002005e */
0
,
/* c002005f */
0
,
/* c0020060 */
0
,
/* c0020061 */
RPC_S_INVALID_ASYNC_HANDLE
,
/* c0020062 (RPC_NT_INVALID_ASYNC_HANDLE) */
RPC_S_INVALID_ASYNC_CALL
/* c0020063 (RPC_NT_INVALID_ASYNC_CALL) */
};
static
const
DWORD
table_c0030001
[
12
]
=
{
RPC_S_INVALID_ASYNC_CALL
,
/* c0020063 (RPC_NT_INVALID_ASYNC_CALL) */
RPC_X_NO_MORE_ENTRIES
,
/* c0030001 (RPC_NT_NO_MORE_ENTRIES) */
RPC_X_SS_CHAR_TRANS_OPEN_FAIL
,
/* c0030002 (RPC_NT_SS_CHAR_TRANS_OPEN_FAIL) */
RPC_X_SS_CHAR_TRANS_SHORT_FILE
,
/* c0030003 (RPC_NT_SS_CHAR_TRANS_SHORT_FILE) */
...
...
@@ -1416,11 +1186,7 @@ static const DWORD table_c0030001[12] =
RPC_X_NULL_REF_POINTER
,
/* c0030009 (RPC_NT_NULL_REF_POINTER) */
RPC_X_ENUM_VALUE_OUT_OF_RANGE
,
/* c003000a (RPC_NT_ENUM_VALUE_OUT_OF_RANGE) */
RPC_X_BYTE_COUNT_TOO_SMALL
,
/* c003000b (RPC_NT_BYTE_COUNT_TOO_SMALL) */
RPC_X_BAD_STUB_DATA
/* c003000c (RPC_NT_BAD_STUB_DATA) */
};
static
const
DWORD
table_c0030059
[
9
]
=
{
RPC_X_BAD_STUB_DATA
,
/* c003000c (RPC_NT_BAD_STUB_DATA) */
RPC_X_INVALID_ES_ACTION
,
/* c0030059 (RPC_NT_INVALID_ES_ACTION) */
RPC_X_WRONG_ES_VERSION
,
/* c003005a (RPC_NT_WRONG_ES_VERSION) */
RPC_X_WRONG_STUB_VERSION
,
/* c003005b (RPC_NT_WRONG_STUB_VERSION) */
...
...
@@ -1429,16 +1195,12 @@ static const DWORD table_c0030059[9] =
RPC_X_WRONG_PIPE_VERSION
,
/* c003005e (RPC_NT_WRONG_PIPE_VERSION) */
RPC_X_PIPE_CLOSED
,
/* c003005f (RPC_NT_PIPE_CLOSED) */
RPC_X_PIPE_DISCIPLINE_ERROR
,
/* c0030060 (RPC_NT_PIPE_DISCIPLINE_ERROR) */
RPC_X_PIPE_EMPTY
/* c0030061 (RPC_NT_PIPE_EMPTY) */
};
static
const
DWORD
table_c00a0001
[
54
]
=
{
RPC_X_PIPE_EMPTY
,
/* c0030061 (RPC_NT_PIPE_EMPTY) */
ERROR_CTX_WINSTATION_NAME_INVALID
,
/* c00a0001 (STATUS_CTX_WINSTATION_NAME_INVALID) */
ERROR_CTX_INVALID_PD
,
/* c00a0002 (STATUS_CTX_INVALID_PD) */
ERROR_CTX_PD_NOT_FOUND
,
/* c00a0003 (STATUS_CTX_PD_NOT_FOUND) */
0
,
/* c00a0004 */
0
,
/* c00a0005 */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0004 */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0005 */
ERROR_CTX_CLOSE_PENDING
,
/* c00a0006 (STATUS_CTX_CLOSE_PENDING) */
ERROR_CTX_NO_OUTBUF
,
/* c00a0007 (STATUS_CTX_NO_OUTBUF) */
ERROR_CTX_MODEM_INF_NOT_FOUND
,
/* c00a0008 (STATUS_CTX_MODEM_INF_NOT_FOUND) */
...
...
@@ -1450,7 +1212,7 @@ static const DWORD table_c00a0001[54] =
ERROR_CTX_MODEM_RESPONSE_BUSY
,
/* c00a000e (STATUS_CTX_MODEM_RESPONSE_BUSY) */
ERROR_CTX_MODEM_RESPONSE_VOICE
,
/* c00a000f (STATUS_CTX_MODEM_RESPONSE_VOICE) */
ERROR_CTX_TD_ERROR
,
/* c00a0010 (STATUS_CTX_TD_ERROR) */
0
,
/* c00a0011 */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0011 */
ERROR_CTX_LICENSE_CLIENT_INVALID
,
/* c00a0012 (STATUS_CTX_LICENSE_CLIENT_INVALID) */
ERROR_CTX_LICENSE_NOT_AVAILABLE
,
/* c00a0013 (STATUS_CTX_LICENSE_NOT_AVAILABLE) */
ERROR_CTX_LICENSE_EXPIRED
,
/* c00a0014 (STATUS_CTX_LICENSE_EXPIRED) */
...
...
@@ -1458,40 +1220,27 @@ static const DWORD table_c00a0001[54] =
ERROR_CTX_WINSTATION_ALREADY_EXISTS
,
/* c00a0016 (STATUS_CTX_WINSTATION_NAME_COLLISION) */
ERROR_CTX_WINSTATION_BUSY
,
/* c00a0017 (STATUS_CTX_WINSTATION_BUSY) */
ERROR_CTX_BAD_VIDEO_MODE
,
/* c00a0018 (STATUS_CTX_BAD_VIDEO_MODE) */
0
,
/* c00a0019 */
0
,
/* c00a001a */
0
,
/* c00a001b */
0
,
/* c00a001c */
0
,
/* c00a001d */
0
,
/* c00a001e */
0
,
/* c00a001f */
0
,
/* c00a0020 */
0
,
/* c00a0021 */
ERROR_CTX_GRAPHICS_INVALID
,
/* c00a0022 (STATUS_CTX_GRAPHICS_INVALID) */
0
,
/* c00a0023 */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0023 */
ERROR_CTX_NOT_CONSOLE
,
/* c00a0024 (STATUS_CTX_NOT_CONSOLE) */
0
,
/* c00a0025 */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0025 */
ERROR_CTX_CLIENT_QUERY_TIMEOUT
,
/* c00a0026 (STATUS_CTX_CLIENT_QUERY_TIMEOUT) */
ERROR_CTX_CONSOLE_DISCONNECT
,
/* c00a0027 (STATUS_CTX_CONSOLE_DISCONNECT) */
ERROR_CTX_CONSOLE_CONNECT
,
/* c00a0028 (STATUS_CTX_CONSOLE_CONNECT) */
0
,
/* c00a0029 */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0029 */
ERROR_CTX_SHADOW_DENIED
,
/* c00a002a (STATUS_CTX_SHADOW_DENIED) */
ERROR_CTX_WINSTATION_ACCESS_DENIED
,
/* c00a002b (STATUS_CTX_WINSTATION_ACCESS_DENIED) */
0
,
/* c00a002c */
0
,
/* c00a002d */
ERROR_MR_MID_NOT_FOUND
,
/* c00a002c */
ERROR_MR_MID_NOT_FOUND
,
/* c00a002d */
ERROR_CTX_INVALID_WD
,
/* c00a002e (STATUS_CTX_INVALID_WD) */
ERROR_CTX_WD_NOT_FOUND
,
/* c00a002f (STATUS_CTX_WD_NOT_FOUND) */
ERROR_CTX_SHADOW_INVALID
,
/* c00a0030 (STATUS_CTX_SHADOW_INVALID) */
ERROR_CTX_SHADOW_DISABLED
,
/* c00a0031 (STATUS_CTX_SHADOW_DISABLED) */
0
,
/* c00a0032 (STATUS_RDP_PROTOCOL_ERROR) */
ERROR_MR_MID_NOT_FOUND
,
/* c00a0032 (STATUS_RDP_PROTOCOL_ERROR) */
ERROR_CTX_CLIENT_LICENSE_NOT_SET
,
/* c00a0033 (STATUS_CTX_CLIENT_LICENSE_NOT_SET) */
ERROR_CTX_CLIENT_LICENSE_IN_USE
,
/* c00a0034 (STATUS_CTX_CLIENT_LICENSE_IN_USE) */
ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE
,
/* c00a0035 (STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE) */
ERROR_CTX_SHADOW_NOT_RUNNING
/* c00a0036 (STATUS_CTX_SHADOW_NOT_RUNNING) */
};
static
const
DWORD
table_c0130001
[
22
]
=
{
ERROR_CTX_SHADOW_NOT_RUNNING
,
/* c00a0036 (STATUS_CTX_SHADOW_NOT_RUNNING) */
ERROR_CLUSTER_INVALID_NODE
,
/* c0130001 (STATUS_CLUSTER_INVALID_NODE) */
ERROR_CLUSTER_NODE_EXISTS
,
/* c0130002 (STATUS_CLUSTER_NODE_EXISTS) */
ERROR_CLUSTER_JOIN_IN_PROGRESS
,
/* c0130003 (STATUS_CLUSTER_JOIN_IN_PROGRESS) */
...
...
@@ -1508,16 +1257,12 @@ static const DWORD table_c0130001[22] =
ERROR_CLUSTER_NODE_NOT_MEMBER
,
/* c013000e (STATUS_CLUSTER_NODE_NOT_MEMBER) */
ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS
,
/* c013000f (STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS) */
ERROR_CLUSTER_INVALID_NETWORK
,
/* c0130010 (STATUS_CLUSTER_INVALID_NETWORK) */
0
,
/* c0130011 (STATUS_CLUSTER_NO_NET_ADAPTERS) */
ERROR_MR_MID_NOT_FOUND
,
/* c0130011 (STATUS_CLUSTER_NO_NET_ADAPTERS) */
ERROR_CLUSTER_NODE_UP
,
/* c0130012 (STATUS_CLUSTER_NODE_UP) */
ERROR_CLUSTER_NODE_PAUSED
,
/* c0130013 (STATUS_CLUSTER_NODE_PAUSED) */
ERROR_CLUSTER_NODE_NOT_PAUSED
,
/* c0130014 (STATUS_CLUSTER_NODE_NOT_PAUSED) */
ERROR_CLUSTER_NO_SECURITY_CONTEXT
,
/* c0130015 (STATUS_CLUSTER_NO_SECURITY_CONTEXT) */
ERROR_CLUSTER_NETWORK_NOT_INTERNAL
/* c0130016 (STATUS_CLUSTER_NETWORK_NOT_INTERNAL) */
};
static
const
DWORD
table_c0150001
[
39
]
=
{
ERROR_CLUSTER_NETWORK_NOT_INTERNAL
,
/* c0130016 (STATUS_CLUSTER_NETWORK_NOT_INTERNAL) */
ERROR_SXS_SECTION_NOT_FOUND
,
/* c0150001 (STATUS_SXS_SECTION_NOT_FOUND) */
ERROR_SXS_CANT_GEN_ACTCTX
,
/* c0150002 (STATUS_SXS_CANT_GEN_ACTCTX) */
ERROR_SXS_INVALID_ACTCTXDATA_FORMAT
,
/* c0150003 (STATUS_SXS_INVALID_ACTCTXDATA_FORMAT) */
...
...
@@ -1530,7 +1275,7 @@ static const DWORD table_c0150001[39] =
ERROR_SXS_WRONG_SECTION_TYPE
,
/* c015000a (STATUS_SXS_WRONG_SECTION_TYPE) */
ERROR_SXS_THREAD_QUERIES_DISABLED
,
/* c015000b (STATUS_SXS_THREAD_QUERIES_DISABLED) */
ERROR_SXS_ASSEMBLY_MISSING
,
/* c015000c (STATUS_SXS_ASSEMBLY_MISSING) */
0
,
/* c015000d */
ERROR_MR_MID_NOT_FOUND
,
/* c015000d */
ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET
,
/* c015000e (STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET) */
ERROR_SXS_EARLY_DEACTIVATION
,
/* c015000f (STATUS_SXS_EARLY_DEACTIVATION) */
ERROR_SXS_INVALID_DEACTIVATION
,
/* c0150010 (STATUS_SXS_INVALID_DEACTIVATION) */
...
...
@@ -1556,38 +1301,58 @@ static const DWORD table_c0150001[39] =
ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE
,
/* c0150024 (STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE) */
ERROR_SMI_PRIMITIVE_INSTALLER_FAILED
,
/* c0150025 (STATUS_SMI_PRIMITIVE_INSTALLER_FAILED) */
ERROR_GENERIC_COMMAND_FAILED
,
/* c0150026 (STATUS_GENERIC_COMMAND_FAILED) */
ERROR_SXS_FILE_HASH_MISSING
/* c0150027 (STATUS_SXS_FILE_HASH_MISSING) */
ERROR_SXS_FILE_HASH_MISSING
,
/* c0150027 (STATUS_SXS_FILE_HASH_MISSING) */
};
static
const
struct
error_table
error_table
[
]
=
static
const
struct
{
ULONG
start
,
end
,
offset
;
}
table
[
35
]
=
{
{
0x00000001
,
0x00000004
,
table_00000001
},
{
0x0000003f
,
0x00000040
,
table_0000003f
},
{
0x00000080
,
0x00000081
,
table_00000080
},
{
0x000000bf
,
0x000000c1
,
table_000000bf
},
{
0x00000100
,
0x00000122
,
table_00000100
},
{
0x00010001
,
0x00010003
,
table_00010001
},
{
0x40000000
,
0x4000002d
,
table_40000000
},
{
0x40000294
,
0x40000295
,
table_40000294
},
{
0x40000370
,
0x40000371
,
table_40000370
},
{
0x40010003
,
0x4001000a
,
table_40010003
},
{
0x40020056
,
0x40020057
,
table_40020056
},
{
0x400200af
,
0x400200b0
,
table_400200af
},
{
0x80000001
,
0x8000002d
,
table_80000001
},
{
0x80000288
,
0x8000028a
,
table_80000288
},
{
0x80010001
,
0x80010002
,
table_80010001
},
{
0x80090300
,
0x80090348
,
table_80090300
},
{
0x80092010
,
0x80092014
,
table_80092010
},
{
0x80096004
,
0x80096005
,
table_80096004
},
{
0x80130001
,
0x80130006
,
table_80130001
},
{
0xc0000001
,
0xc000019d
,
table_c0000001
},
{
0xc0000202
,
0xc000038e
,
table_c0000202
},
{
0xc000042c
,
0xc000042d
,
table_c000042c
},
{
0xc0020001
,
0xc0020064
,
table_c0020001
},
{
0xc0030001
,
0xc003000d
,
table_c0030001
},
{
0xc0030059
,
0xc0030062
,
table_c0030059
},
{
0xc00a0001
,
0xc00a0037
,
table_c00a0001
},
{
0xc0130001
,
0xc0130017
,
table_c0130001
},
{
0xc0150001
,
0xc0150028
,
table_c0150001
},
{
0
,
0
,
NULL
}
/* last entry */
{
0x00000001
,
0x00000003
,
0
},
{
0x0000003f
,
0x0000003f
,
3
},
{
0x00000080
,
0x00000080
,
4
},
{
0x000000bf
,
0x000000c0
,
5
},
{
0x00000100
,
0x00000121
,
7
},
{
0x00010001
,
0x00010002
,
41
},
{
0x40000000
,
0x4000002c
,
43
},
{
0x40000294
,
0x40000294
,
88
},
{
0x40000370
,
0x40000370
,
89
},
{
0x40010003
,
0x40010009
,
90
},
{
0x40020056
,
0x40020056
,
97
},
{
0x400200af
,
0x400200af
,
98
},
{
0x80000001
,
0x8000002c
,
99
},
{
0x80000288
,
0x80000289
,
143
},
{
0x80010001
,
0x80010001
,
145
},
{
0x80090300
,
0x80090331
,
146
},
{
0x80090347
,
0x80090347
,
196
},
{
0x80092010
,
0x80092013
,
197
},
{
0x80096004
,
0x80096004
,
201
},
{
0x80130001
,
0x80130005
,
202
},
{
0xc0000001
,
0xc000010e
,
207
},
{
0xc0000117
,
0xc000019c
,
477
},
{
0xc0000202
,
0xc000030b
,
611
},
{
0xc0000320
,
0xc0000322
,
877
},
{
0xc0000350
,
0xc000036f
,
880
},
{
0xc0000380
,
0xc000038d
,
912
},
{
0xc000042c
,
0xc000042c
,
926
},
{
0xc0020001
,
0xc0020058
,
927
},
{
0xc0020062
,
0xc0020063
,
1015
},
{
0xc0030001
,
0xc003000c
,
1017
},
{
0xc0030059
,
0xc0030061
,
1029
},
{
0xc00a0001
,
0xc00a0018
,
1038
},
{
0xc00a0022
,
0xc00a0036
,
1062
},
{
0xc0130001
,
0xc0130016
,
1083
},
{
0xc0150001
,
0xc0150027
,
1105
},
};
static
ULONG
map_status
(
NTSTATUS
status
)
{
int
low
=
0
,
high
=
ARRAY_SIZE
(
table
)
-
1
;
while
(
low
<=
high
)
{
int
pos
=
(
low
+
high
)
/
2
;
if
(
status
<
table
[
pos
].
start
)
high
=
pos
-
1
;
else
if
(
status
>
table
[
pos
].
end
)
low
=
pos
+
1
;
else
return
error_map
[
table
[
pos
].
offset
+
(
status
-
table
[
pos
].
start
)];
}
return
ERROR_MR_MID_NOT_FOUND
;
}
dlls/ntdll/make_errors
0 → 100755
View file @
f7ec4d07
#!/usr/bin/perl -w
#
# Generate the NTSTATUS to error mapping code
#
# Copyright 2020 Alexandre Julliard
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
use
strict
;
# error mapping list, can be generated with 'make_errors -l'
my
%
error_map
=
qw(
STATUS_WAIT_1 ERROR_WAIT_1
STATUS_WAIT_2 ERROR_WAIT_2
STATUS_WAIT_3 ERROR_WAIT_3
STATUS_WAIT_63 ERROR_WAIT_63
STATUS_ABANDONED_WAIT_0 ERROR_WAIT_NO_CHILDREN
STATUS_ABANDONED_WAIT_63 ERROR_ABANDONED_WAIT_63
STATUS_USER_APC ERROR_USER_APC
STATUS_KERNEL_APC ERROR_KERNEL_APC
STATUS_ALERTED ERROR_ALERTED
STATUS_TIMEOUT ERROR_TIMEOUT
STATUS_PENDING ERROR_IO_PENDING
STATUS_REPARSE ERROR_REPARSE
STATUS_MORE_ENTRIES ERROR_MORE_DATA
STATUS_NOT_ALL_ASSIGNED ERROR_NOT_ALL_ASSIGNED
STATUS_SOME_NOT_MAPPED ERROR_SOME_NOT_MAPPED
STATUS_OPLOCK_BREAK_IN_PROGRESS ERROR_OPLOCK_BREAK_IN_PROGRESS
STATUS_VOLUME_MOUNTED ERROR_VOLUME_MOUNTED
STATUS_RXACT_COMMITTED ERROR_RXACT_COMMITTED
STATUS_NOTIFY_CLEANUP ERROR_NOTIFY_CLEANUP
STATUS_NOTIFY_ENUM_DIR ERROR_NOTIFY_ENUM_DIR
STATUS_NO_QUOTAS_FOR_ACCOUNT ERROR_NO_QUOTAS_FOR_ACCOUNT
STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED
STATUS_PAGE_FAULT_TRANSITION ERROR_PAGE_FAULT_TRANSITION
STATUS_PAGE_FAULT_DEMAND_ZERO ERROR_PAGE_FAULT_DEMAND_ZERO
STATUS_PAGE_FAULT_COPY_ON_WRITE ERROR_PAGE_FAULT_COPY_ON_WRITE
STATUS_PAGE_FAULT_GUARD_PAGE ERROR_PAGE_FAULT_GUARD_PAGE
STATUS_PAGE_FAULT_PAGING_FILE ERROR_PAGE_FAULT_PAGING_FILE
STATUS_CACHE_PAGE_LOCKED ERROR_CACHE_PAGE_LOCKED
STATUS_CRASH_DUMP ERROR_CRASH_DUMP
STATUS_BUFFER_ALL_ZEROS ERROR_BUFFER_ALL_ZEROS
STATUS_REPARSE_OBJECT ERROR_REPARSE_OBJECT
STATUS_RESOURCE_REQUIREMENTS_CHANGED ERROR_RESOURCE_REQUIREMENTS_CHANGED
STATUS_TRANSLATION_COMPLETE ERROR_TRANSLATION_COMPLETE
STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
DBG_EXCEPTION_HANDLED ERROR_DBG_EXCEPTION_HANDLED
DBG_CONTINUE ERROR_DBG_CONTINUE
STATUS_OBJECT_NAME_EXISTS ERROR_OBJECT_NAME_EXISTS
STATUS_THREAD_WAS_SUSPENDED ERROR_THREAD_WAS_SUSPENDED
STATUS_WORKING_SET_LIMIT_RANGE ERROR_INVALID_PARAMETER
STATUS_IMAGE_NOT_AT_BASE ERROR_IMAGE_NOT_AT_BASE
STATUS_RXACT_STATE_CREATED ERROR_RXACT_STATE_CREATED
STATUS_SEGMENT_NOTIFICATION ERROR_SEGMENT_NOTIFICATION
STATUS_LOCAL_USER_SESSION_KEY ERROR_LOCAL_USER_SESSION_KEY
STATUS_BAD_CURRENT_DIRECTORY ERROR_BAD_CURRENT_DIRECTORY
STATUS_SERIAL_MORE_WRITES ERROR_MORE_WRITES
STATUS_REGISTRY_RECOVERED ERROR_REGISTRY_RECOVERED
STATUS_FT_READ_RECOVERY_FROM_BACKUP ERROR_FT_READ_RECOVERY_FROM_BACKUP
STATUS_FT_WRITE_RECOVERY ERROR_FT_WRITE_RECOVERY
STATUS_SERIAL_COUNTER_TIMEOUT ERROR_COUNTER_TIMEOUT
STATUS_NULL_LM_PASSWORD ERROR_NULL_LM_PASSWORD
STATUS_IMAGE_MACHINE_TYPE_MISMATCH ERROR_IMAGE_MACHINE_TYPE_MISMATCH
STATUS_RECEIVE_PARTIAL ERROR_RECEIVE_PARTIAL
STATUS_RECEIVE_EXPEDITED ERROR_RECEIVE_EXPEDITED
STATUS_RECEIVE_PARTIAL_EXPEDITED ERROR_RECEIVE_PARTIAL_EXPEDITED
STATUS_EVENT_DONE ERROR_EVENT_DONE
STATUS_EVENT_PENDING ERROR_EVENT_PENDING
STATUS_CHECKING_FILE_SYSTEM ERROR_CHECKING_FILE_SYSTEM
STATUS_FATAL_APP_EXIT ERROR_FATAL_APP_EXIT
STATUS_PREDEFINED_HANDLE ERROR_PREDEFINED_HANDLE
STATUS_WAS_UNLOCKED ERROR_WAS_UNLOCKED
STATUS_SERVICE_NOTIFICATION ERROR_SERVICE_NOTIFICATION
STATUS_WAS_LOCKED ERROR_WAS_LOCKED
STATUS_LOG_HARD_ERROR ERROR_LOG_HARD_ERROR
STATUS_ALREADY_WIN32 ERROR_ALREADY_WIN32
STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE
STATUS_NO_YIELD_PERFORMED ERROR_NO_YIELD_PERFORMED
STATUS_TIMER_RESUME_IGNORED ERROR_TIMER_RESUME_IGNORED
STATUS_ARBITRATION_UNHANDLED ERROR_ARBITRATION_UNHANDLED
STATUS_CARDBUS_NOT_SUPPORTED ERROR_CARDBUS_NOT_SUPPORTED
STATUS_MP_PROCESSOR_MISMATCH ERROR_MP_PROCESSOR_MISMATCH
STATUS_HIBERNATED ERROR_HIBERNATED
STATUS_RESUME_HIBERNATION ERROR_RESUME_HIBERNATION
STATUS_FIRMWARE_UPDATED ERROR_FIRMWARE_UPDATED
STATUS_WAKE_SYSTEM ERROR_WAKE_SYSTEM
STATUS_DS_SHUTTING_DOWN ERROR_DS_SHUTTING_DOWN
DBG_TERMINATE_THREAD ERROR_DBG_TERMINATE_THREAD
DBG_TERMINATE_PROCESS ERROR_DBG_TERMINATE_PROCESS
DBG_CONTROL_C ERROR_DBG_CONTROL_C
DBG_PRINTEXCEPTION_C ERROR_DBG_PRINTEXCEPTION_C
DBG_RIPEXCEPTION ERROR_DBG_RIPEXCEPTION
DBG_CONTROL_BREAK ERROR_DBG_CONTROL_BREAK
DBG_COMMAND_EXCEPTION ERROR_DBG_COMMAND_EXCEPTION
RPC_NT_UUID_LOCAL_ONLY RPC_S_UUID_LOCAL_ONLY
RPC_NT_SEND_INCOMPLETE RPC_S_SEND_INCOMPLETE
STATUS_GUARD_PAGE_VIOLATION STATUS_GUARD_PAGE_VIOLATION
STATUS_DATATYPE_MISALIGNMENT ERROR_NOACCESS
STATUS_BREAKPOINT STATUS_BREAKPOINT
STATUS_SINGLE_STEP STATUS_SINGLE_STEP
STATUS_BUFFER_OVERFLOW ERROR_MORE_DATA
STATUS_NO_MORE_FILES ERROR_NO_MORE_FILES
STATUS_WAKE_SYSTEM_DEBUGGER ERROR_WAKE_SYSTEM_DEBUGGER
STATUS_HANDLES_CLOSED ERROR_HANDLES_CLOSED
STATUS_NO_INHERITANCE ERROR_NO_INHERITANCE
STATUS_GUID_SUBSTITUTION_MADE ERROR_GUID_SUBSTITUTION_MADE
STATUS_PARTIAL_COPY ERROR_PARTIAL_COPY
STATUS_DEVICE_PAPER_EMPTY ERROR_OUT_OF_PAPER
STATUS_DEVICE_POWERED_OFF ERROR_NOT_READY
STATUS_DEVICE_OFF_LINE ERROR_NOT_READY
STATUS_DEVICE_BUSY ERROR_BUSY
STATUS_NO_MORE_EAS ERROR_NO_MORE_ITEMS
STATUS_INVALID_EA_NAME ERROR_INVALID_EA_NAME
STATUS_EA_LIST_INCONSISTENT ERROR_EA_LIST_INCONSISTENT
STATUS_INVALID_EA_FLAG ERROR_EA_LIST_INCONSISTENT
STATUS_VERIFY_REQUIRED ERROR_MEDIA_CHANGED
STATUS_EXTRANEOUS_INFORMATION ERROR_EXTRANEOUS_INFORMATION
STATUS_RXACT_COMMIT_NECESSARY ERROR_RXACT_COMMIT_NECESSARY
STATUS_NO_MORE_ENTRIES ERROR_NO_MORE_ITEMS
STATUS_FILEMARK_DETECTED ERROR_FILEMARK_DETECTED
STATUS_MEDIA_CHANGED ERROR_MEDIA_CHANGED
STATUS_BUS_RESET ERROR_BUS_RESET
STATUS_END_OF_MEDIA ERROR_END_OF_MEDIA
STATUS_BEGINNING_OF_MEDIA ERROR_BEGINNING_OF_MEDIA
STATUS_MEDIA_CHECK ERROR_MEDIA_CHECK
STATUS_SETMARK_DETECTED ERROR_SETMARK_DETECTED
STATUS_NO_DATA_DETECTED ERROR_NO_DATA_DETECTED
STATUS_REDIRECTOR_HAS_OPEN_HANDLES ERROR_REDIRECTOR_HAS_OPEN_HANDLES
STATUS_SERVER_HAS_OPEN_HANDLES ERROR_SERVER_HAS_OPEN_HANDLES
STATUS_ALREADY_DISCONNECTED ERROR_ACTIVE_CONNECTIONS
STATUS_LONGJUMP ERROR_LONGJUMP
STATUS_CLEANER_CARTRIDGE_INSTALLED ERROR_CLEANER_CARTRIDGE_INSTALLED
STATUS_PLUGPLAY_QUERY_VETOED ERROR_PLUGPLAY_QUERY_VETOED
STATUS_UNWIND_CONSOLIDATE ERROR_UNWIND_CONSOLIDATE
STATUS_REGISTRY_HIVE_RECOVERED ERROR_REGISTRY_HIVE_RECOVERED
STATUS_DLL_MIGHT_BE_INSECURE ERROR_DLL_MIGHT_BE_INSECURE
STATUS_DLL_MIGHT_BE_INCOMPATIBLE ERROR_DLL_MIGHT_BE_INCOMPATIBLE
STATUS_DEVICE_REQUIRES_CLEANING ERROR_DEVICE_REQUIRES_CLEANING
STATUS_DEVICE_DOOR_OPEN ERROR_DEVICE_DOOR_OPEN
DBG_EXCEPTION_NOT_HANDLED ERROR_DBG_EXCEPTION_NOT_HANDLED
SEC_E_INSUFFICIENT_MEMORY ERROR_NO_SYSTEM_RESOURCES
SEC_E_INVALID_HANDLE ERROR_INVALID_HANDLE
SEC_E_UNSUPPORTED_FUNCTION ERROR_INVALID_FUNCTION
SEC_E_TARGET_UNKNOWN ERROR_BAD_NETPATH
SEC_E_INTERNAL_ERROR ERROR_INTERNAL_ERROR
SEC_E_SECPKG_NOT_FOUND ERROR_NO_SUCH_PACKAGE
SEC_E_NOT_OWNER ERROR_NOT_OWNER
SEC_E_CANNOT_INSTALL ERROR_NO_SUCH_PACKAGE
SEC_E_INVALID_TOKEN ERROR_INVALID_PARAMETER
SEC_E_CANNOT_PACK ERROR_INVALID_PARAMETER
SEC_E_QOP_NOT_SUPPORTED ERROR_NOT_SUPPORTED
SEC_E_NO_IMPERSONATION ERROR_CANNOT_IMPERSONATE
SEC_E_LOGON_DENIED ERROR_LOGON_FAILURE
SEC_E_UNKNOWN_CREDENTIALS ERROR_INVALID_PARAMETER
SEC_E_NO_CREDENTIALS ERROR_NO_SUCH_LOGON_SESSION
SEC_E_MESSAGE_ALTERED ERROR_ACCESS_DENIED
SEC_E_OUT_OF_SEQUENCE ERROR_ACCESS_DENIED
SEC_E_NO_AUTHENTICATING_AUTHORITY ERROR_NO_LOGON_SERVERS
SEC_E_BAD_PKGID ERROR_NO_SUCH_PACKAGE
SEC_E_CONTEXT_EXPIRED ERROR_CONTEXT_EXPIRED
SEC_E_INCOMPLETE_MESSAGE ERROR_INVALID_USER_BUFFER
SEC_E_INCOMPLETE_CREDENTIALS ERROR_INVALID_PARAMETER
SEC_E_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
SEC_E_WRONG_PRINCIPAL ERROR_WRONG_TARGET_NAME
SEC_E_UNTRUSTED_ROOT ERROR_TRUST_FAILURE
SEC_E_ILLEGAL_MESSAGE ERROR_INVALID_PARAMETER
SEC_E_CERT_UNKNOWN ERROR_INVALID_PARAMETER
SEC_E_CERT_EXPIRED ERROR_PASSWORD_EXPIRED
SEC_E_ENCRYPT_FAILURE ERROR_ENCRYPTION_FAILED
SEC_E_DECRYPT_FAILURE ERROR_DECRYPTION_FAILED
SEC_E_ALGORITHM_MISMATCH ERROR_INVALID_FUNCTION
SEC_E_MULTIPLE_ACCOUNTS ERROR_CANNOT_IMPERSONATE
CRYPT_E_REVOKED ERROR_MUTUAL_AUTH_FAILED
CRYPT_E_NO_REVOCATION_CHECK ERROR_MUTUAL_AUTH_FAILED
CRYPT_E_REVOCATION_OFFLINE ERROR_MUTUAL_AUTH_FAILED
TRUST_E_CERT_SIGNATURE ERROR_MUTUAL_AUTH_FAILED
STATUS_CLUSTER_NODE_ALREADY_UP ERROR_CLUSTER_NODE_ALREADY_UP
STATUS_CLUSTER_NODE_ALREADY_DOWN ERROR_CLUSTER_NODE_ALREADY_DOWN
STATUS_CLUSTER_NETWORK_ALREADY_ONLINE ERROR_CLUSTER_NETWORK_ALREADY_ONLINE
STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE
STATUS_CLUSTER_NODE_ALREADY_MEMBER ERROR_CLUSTER_NODE_ALREADY_MEMBER
STATUS_UNSUCCESSFUL ERROR_GEN_FAILURE
STATUS_NOT_IMPLEMENTED ERROR_INVALID_FUNCTION
STATUS_INVALID_INFO_CLASS ERROR_INVALID_PARAMETER
STATUS_INFO_LENGTH_MISMATCH ERROR_BAD_LENGTH
STATUS_ACCESS_VIOLATION ERROR_NOACCESS
STATUS_IN_PAGE_ERROR ERROR_SWAPERROR
STATUS_PAGEFILE_QUOTA ERROR_PAGEFILE_QUOTA
STATUS_INVALID_HANDLE ERROR_INVALID_HANDLE
STATUS_BAD_INITIAL_STACK ERROR_STACK_OVERFLOW
STATUS_BAD_INITIAL_PC ERROR_BAD_EXE_FORMAT
STATUS_INVALID_CID ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER ERROR_INVALID_PARAMETER
STATUS_NO_SUCH_DEVICE ERROR_FILE_NOT_FOUND
STATUS_NO_SUCH_FILE ERROR_FILE_NOT_FOUND
STATUS_INVALID_DEVICE_REQUEST ERROR_INVALID_FUNCTION
STATUS_END_OF_FILE ERROR_HANDLE_EOF
STATUS_WRONG_VOLUME ERROR_WRONG_DISK
STATUS_NO_MEDIA_IN_DEVICE ERROR_NOT_READY
STATUS_UNRECOGNIZED_MEDIA ERROR_UNRECOGNIZED_MEDIA
STATUS_NONEXISTENT_SECTOR ERROR_SECTOR_NOT_FOUND
STATUS_MORE_PROCESSING_REQUIRED ERROR_MORE_DATA
STATUS_NO_MEMORY ERROR_NOT_ENOUGH_MEMORY
STATUS_CONFLICTING_ADDRESSES ERROR_INVALID_ADDRESS
STATUS_NOT_MAPPED_VIEW ERROR_INVALID_ADDRESS
STATUS_UNABLE_TO_FREE_VM ERROR_INVALID_PARAMETER
STATUS_UNABLE_TO_DELETE_SECTION ERROR_INVALID_PARAMETER
STATUS_INVALID_SYSTEM_SERVICE ERROR_INVALID_FUNCTION
STATUS_ILLEGAL_INSTRUCTION ERROR_INVALID_FUNCTION
STATUS_INVALID_LOCK_SEQUENCE ERROR_ACCESS_DENIED
STATUS_INVALID_VIEW_SIZE ERROR_ACCESS_DENIED
STATUS_INVALID_FILE_FOR_SECTION ERROR_BAD_EXE_FORMAT
STATUS_ALREADY_COMMITTED ERROR_ACCESS_DENIED
STATUS_ACCESS_DENIED ERROR_ACCESS_DENIED
STATUS_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
STATUS_OBJECT_TYPE_MISMATCH ERROR_INVALID_HANDLE
STATUS_NONCONTINUABLE_EXCEPTION STATUS_NONCONTINUABLE_EXCEPTION
STATUS_INVALID_DISPOSITION STATUS_INVALID_DISPOSITION
STATUS_NOT_LOCKED ERROR_NOT_LOCKED
STATUS_PARITY_ERROR STATUS_PARITY_ERROR
STATUS_UNABLE_TO_DECOMMIT_VM ERROR_INVALID_ADDRESS
STATUS_NOT_COMMITTED ERROR_INVALID_ADDRESS
STATUS_INVALID_PARAMETER_MIX ERROR_INVALID_PARAMETER
STATUS_DISK_CORRUPT_ERROR ERROR_DISK_CORRUPT
STATUS_OBJECT_NAME_INVALID ERROR_INVALID_NAME
STATUS_OBJECT_NAME_NOT_FOUND ERROR_FILE_NOT_FOUND
STATUS_OBJECT_NAME_COLLISION ERROR_ALREADY_EXISTS
STATUS_PORT_DISCONNECTED ERROR_INVALID_HANDLE
STATUS_OBJECT_PATH_INVALID ERROR_BAD_PATHNAME
STATUS_OBJECT_PATH_NOT_FOUND ERROR_PATH_NOT_FOUND
STATUS_OBJECT_PATH_SYNTAX_BAD ERROR_BAD_PATHNAME
STATUS_DATA_OVERRUN ERROR_IO_DEVICE
STATUS_DATA_LATE_ERROR ERROR_IO_DEVICE
STATUS_DATA_ERROR ERROR_CRC
STATUS_CRC_ERROR ERROR_CRC
STATUS_SECTION_TOO_BIG ERROR_NOT_ENOUGH_MEMORY
STATUS_PORT_CONNECTION_REFUSED ERROR_ACCESS_DENIED
STATUS_INVALID_PORT_HANDLE ERROR_INVALID_HANDLE
STATUS_SHARING_VIOLATION ERROR_SHARING_VIOLATION
STATUS_QUOTA_EXCEEDED ERROR_NOT_ENOUGH_QUOTA
STATUS_INVALID_PAGE_PROTECTION ERROR_INVALID_PARAMETER
STATUS_MUTANT_NOT_OWNED ERROR_NOT_OWNER
STATUS_SEMAPHORE_LIMIT_EXCEEDED ERROR_TOO_MANY_POSTS
STATUS_PORT_ALREADY_SET ERROR_INVALID_PARAMETER
STATUS_SECTION_NOT_IMAGE ERROR_INVALID_PARAMETER
STATUS_SUSPEND_COUNT_EXCEEDED ERROR_SIGNAL_REFUSED
STATUS_THREAD_IS_TERMINATING ERROR_ACCESS_DENIED
STATUS_BAD_WORKING_SET_LIMIT ERROR_INVALID_PARAMETER
STATUS_INCOMPATIBLE_FILE_MAP ERROR_INVALID_PARAMETER
STATUS_SECTION_PROTECTION ERROR_INVALID_PARAMETER
STATUS_EAS_NOT_SUPPORTED ERROR_EAS_NOT_SUPPORTED
STATUS_EA_TOO_LARGE ERROR_EA_LIST_INCONSISTENT
STATUS_NONEXISTENT_EA_ENTRY ERROR_FILE_CORRUPT
STATUS_NO_EAS_ON_FILE ERROR_FILE_CORRUPT
STATUS_EA_CORRUPT_ERROR ERROR_FILE_CORRUPT
STATUS_FILE_LOCK_CONFLICT ERROR_LOCK_VIOLATION
STATUS_LOCK_NOT_GRANTED ERROR_LOCK_VIOLATION
STATUS_DELETE_PENDING ERROR_ACCESS_DENIED
STATUS_CTL_FILE_NOT_SUPPORTED ERROR_NOT_SUPPORTED
STATUS_UNKNOWN_REVISION ERROR_UNKNOWN_REVISION
STATUS_REVISION_MISMATCH ERROR_REVISION_MISMATCH
STATUS_INVALID_OWNER ERROR_INVALID_OWNER
STATUS_INVALID_PRIMARY_GROUP ERROR_INVALID_PRIMARY_GROUP
STATUS_NO_IMPERSONATION_TOKEN ERROR_NO_IMPERSONATION_TOKEN
STATUS_CANT_DISABLE_MANDATORY ERROR_CANT_DISABLE_MANDATORY
STATUS_NO_LOGON_SERVERS ERROR_NO_LOGON_SERVERS
STATUS_NO_SUCH_LOGON_SESSION ERROR_NO_SUCH_LOGON_SESSION
STATUS_NO_SUCH_PRIVILEGE ERROR_NO_SUCH_PRIVILEGE
STATUS_PRIVILEGE_NOT_HELD ERROR_PRIVILEGE_NOT_HELD
STATUS_INVALID_ACCOUNT_NAME ERROR_INVALID_ACCOUNT_NAME
STATUS_USER_EXISTS ERROR_USER_EXISTS
STATUS_NO_SUCH_USER ERROR_NO_SUCH_USER
STATUS_GROUP_EXISTS ERROR_GROUP_EXISTS
STATUS_NO_SUCH_GROUP ERROR_NO_SUCH_GROUP
STATUS_MEMBER_IN_GROUP ERROR_MEMBER_IN_GROUP
STATUS_MEMBER_NOT_IN_GROUP ERROR_MEMBER_NOT_IN_GROUP
STATUS_LAST_ADMIN ERROR_LAST_ADMIN
STATUS_WRONG_PASSWORD ERROR_INVALID_PASSWORD
STATUS_ILL_FORMED_PASSWORD ERROR_ILL_FORMED_PASSWORD
STATUS_PASSWORD_RESTRICTION ERROR_PASSWORD_RESTRICTION
STATUS_LOGON_FAILURE ERROR_LOGON_FAILURE
STATUS_ACCOUNT_RESTRICTION ERROR_ACCOUNT_RESTRICTION
STATUS_INVALID_LOGON_HOURS ERROR_INVALID_LOGON_HOURS
STATUS_INVALID_WORKSTATION ERROR_INVALID_WORKSTATION
STATUS_PASSWORD_EXPIRED ERROR_PASSWORD_EXPIRED
STATUS_ACCOUNT_DISABLED ERROR_ACCOUNT_DISABLED
STATUS_NONE_MAPPED ERROR_NONE_MAPPED
STATUS_TOO_MANY_LUIDS_REQUESTED ERROR_TOO_MANY_LUIDS_REQUESTED
STATUS_LUIDS_EXHAUSTED ERROR_LUIDS_EXHAUSTED
STATUS_INVALID_SUB_AUTHORITY ERROR_INVALID_SUB_AUTHORITY
STATUS_INVALID_ACL ERROR_INVALID_ACL
STATUS_INVALID_SID ERROR_INVALID_SID
STATUS_INVALID_SECURITY_DESCR ERROR_INVALID_SECURITY_DESCR
STATUS_PROCEDURE_NOT_FOUND ERROR_PROC_NOT_FOUND
STATUS_INVALID_IMAGE_FORMAT ERROR_BAD_EXE_FORMAT
STATUS_NO_TOKEN ERROR_NO_TOKEN
STATUS_BAD_INHERITANCE_ACL ERROR_BAD_INHERITANCE_ACL
STATUS_RANGE_NOT_LOCKED ERROR_NOT_LOCKED
STATUS_DISK_FULL ERROR_DISK_FULL
STATUS_SERVER_DISABLED ERROR_SERVER_DISABLED
STATUS_SERVER_NOT_DISABLED ERROR_SERVER_NOT_DISABLED
STATUS_TOO_MANY_GUIDS_REQUESTED ERROR_TOO_MANY_NAMES
STATUS_GUIDS_EXHAUSTED ERROR_NO_MORE_ITEMS
STATUS_INVALID_ID_AUTHORITY ERROR_INVALID_ID_AUTHORITY
STATUS_AGENTS_EXHAUSTED ERROR_NO_MORE_ITEMS
STATUS_INVALID_VOLUME_LABEL ERROR_LABEL_TOO_LONG
STATUS_SECTION_NOT_EXTENDED ERROR_OUTOFMEMORY
STATUS_NOT_MAPPED_DATA ERROR_INVALID_ADDRESS
STATUS_RESOURCE_DATA_NOT_FOUND ERROR_RESOURCE_DATA_NOT_FOUND
STATUS_RESOURCE_TYPE_NOT_FOUND ERROR_RESOURCE_TYPE_NOT_FOUND
STATUS_RESOURCE_NAME_NOT_FOUND ERROR_RESOURCE_NAME_NOT_FOUND
STATUS_ARRAY_BOUNDS_EXCEEDED STATUS_ARRAY_BOUNDS_EXCEEDED
STATUS_FLOAT_DENORMAL_OPERAND STATUS_FLOAT_DENORMAL_OPERAND
STATUS_FLOAT_DIVIDE_BY_ZERO STATUS_FLOAT_DIVIDE_BY_ZERO
STATUS_FLOAT_INEXACT_RESULT STATUS_FLOAT_INEXACT_RESULT
STATUS_FLOAT_INVALID_OPERATION STATUS_FLOAT_INVALID_OPERATION
STATUS_FLOAT_OVERFLOW STATUS_FLOAT_OVERFLOW
STATUS_FLOAT_STACK_CHECK STATUS_FLOAT_STACK_CHECK
STATUS_FLOAT_UNDERFLOW STATUS_FLOAT_UNDERFLOW
STATUS_INTEGER_DIVIDE_BY_ZERO STATUS_INTEGER_DIVIDE_BY_ZERO
STATUS_INTEGER_OVERFLOW ERROR_ARITHMETIC_OVERFLOW
STATUS_PRIVILEGED_INSTRUCTION STATUS_PRIVILEGED_INSTRUCTION
STATUS_TOO_MANY_PAGING_FILES ERROR_NOT_ENOUGH_MEMORY
STATUS_FILE_INVALID ERROR_FILE_INVALID
STATUS_ALLOTTED_SPACE_EXCEEDED ERROR_ALLOTTED_SPACE_EXCEEDED
STATUS_INSUFFICIENT_RESOURCES ERROR_NO_SYSTEM_RESOURCES
STATUS_DFS_EXIT_PATH_FOUND ERROR_PATH_NOT_FOUND
STATUS_DEVICE_DATA_ERROR ERROR_CRC
STATUS_DEVICE_NOT_CONNECTED ERROR_DEVICE_NOT_CONNECTED
STATUS_DEVICE_POWER_FAILURE ERROR_NOT_READY
STATUS_FREE_VM_NOT_AT_BASE ERROR_INVALID_ADDRESS
STATUS_MEMORY_NOT_ALLOCATED ERROR_INVALID_ADDRESS
STATUS_WORKING_SET_QUOTA ERROR_WORKING_SET_QUOTA
STATUS_MEDIA_WRITE_PROTECTED ERROR_WRITE_PROTECT
STATUS_DEVICE_NOT_READY ERROR_NOT_READY
STATUS_INVALID_GROUP_ATTRIBUTES ERROR_INVALID_GROUP_ATTRIBUTES
STATUS_BAD_IMPERSONATION_LEVEL ERROR_BAD_IMPERSONATION_LEVEL
STATUS_CANT_OPEN_ANONYMOUS ERROR_CANT_OPEN_ANONYMOUS
STATUS_BAD_VALIDATION_CLASS ERROR_BAD_VALIDATION_CLASS
STATUS_BAD_TOKEN_TYPE ERROR_BAD_TOKEN_TYPE
STATUS_BAD_MASTER_BOOT_RECORD ERROR_INVALID_PARAMETER
STATUS_INSTANCE_NOT_AVAILABLE ERROR_PIPE_BUSY
STATUS_PIPE_NOT_AVAILABLE ERROR_PIPE_BUSY
STATUS_INVALID_PIPE_STATE ERROR_BAD_PIPE
STATUS_PIPE_BUSY ERROR_PIPE_BUSY
STATUS_ILLEGAL_FUNCTION ERROR_INVALID_FUNCTION
STATUS_PIPE_DISCONNECTED ERROR_PIPE_NOT_CONNECTED
STATUS_PIPE_CLOSING ERROR_NO_DATA
STATUS_PIPE_CONNECTED ERROR_PIPE_CONNECTED
STATUS_PIPE_LISTENING ERROR_PIPE_LISTENING
STATUS_INVALID_READ_MODE ERROR_BAD_PIPE
STATUS_IO_TIMEOUT ERROR_SEM_TIMEOUT
STATUS_FILE_FORCED_CLOSED ERROR_HANDLE_EOF
STATUS_FILE_IS_A_DIRECTORY ERROR_ACCESS_DENIED
STATUS_NOT_SUPPORTED ERROR_NOT_SUPPORTED
STATUS_REMOTE_NOT_LISTENING ERROR_REM_NOT_LIST
STATUS_DUPLICATE_NAME ERROR_DUP_NAME
STATUS_BAD_NETWORK_PATH ERROR_BAD_NETPATH
STATUS_NETWORK_BUSY ERROR_NETWORK_BUSY
STATUS_DEVICE_DOES_NOT_EXIST ERROR_DEV_NOT_EXIST
STATUS_TOO_MANY_COMMANDS ERROR_TOO_MANY_CMDS
STATUS_ADAPTER_HARDWARE_ERROR ERROR_ADAP_HDW_ERR
STATUS_INVALID_NETWORK_RESPONSE ERROR_BAD_NET_RESP
STATUS_UNEXPECTED_NETWORK_ERROR ERROR_UNEXP_NET_ERR
STATUS_BAD_REMOTE_ADAPTER ERROR_BAD_REM_ADAP
STATUS_PRINT_QUEUE_FULL ERROR_PRINTQ_FULL
STATUS_NO_SPOOL_SPACE ERROR_NO_SPOOL_SPACE
STATUS_PRINT_CANCELLED ERROR_PRINT_CANCELLED
STATUS_NETWORK_NAME_DELETED ERROR_NETNAME_DELETED
STATUS_NETWORK_ACCESS_DENIED ERROR_NETWORK_ACCESS_DENIED
STATUS_BAD_DEVICE_TYPE ERROR_BAD_DEV_TYPE
STATUS_BAD_NETWORK_NAME ERROR_BAD_NET_NAME
STATUS_TOO_MANY_NAMES ERROR_TOO_MANY_NAMES
STATUS_TOO_MANY_SESSIONS ERROR_TOO_MANY_SESS
STATUS_SHARING_PAUSED ERROR_SHARING_PAUSED
STATUS_REQUEST_NOT_ACCEPTED ERROR_REQ_NOT_ACCEP
STATUS_REDIRECTOR_PAUSED ERROR_REDIR_PAUSED
STATUS_NET_WRITE_FAULT ERROR_NET_WRITE_FAULT
STATUS_NOT_SAME_DEVICE ERROR_NOT_SAME_DEVICE
STATUS_FILE_RENAMED ERROR_ACCESS_DENIED
STATUS_VIRTUAL_CIRCUIT_CLOSED ERROR_VC_DISCONNECTED
STATUS_NO_SECURITY_ON_OBJECT ERROR_NO_SECURITY_ON_OBJECT
STATUS_PIPE_EMPTY ERROR_NO_DATA
STATUS_CANT_ACCESS_DOMAIN_INFO ERROR_CANT_ACCESS_DOMAIN_INFO
STATUS_INVALID_SERVER_STATE ERROR_INVALID_SERVER_STATE
STATUS_INVALID_DOMAIN_STATE ERROR_INVALID_DOMAIN_STATE
STATUS_INVALID_DOMAIN_ROLE ERROR_INVALID_DOMAIN_ROLE
STATUS_NO_SUCH_DOMAIN ERROR_NO_SUCH_DOMAIN
STATUS_DOMAIN_EXISTS ERROR_DOMAIN_EXISTS
STATUS_DOMAIN_LIMIT_EXCEEDED ERROR_DOMAIN_LIMIT_EXCEEDED
STATUS_OPLOCK_NOT_GRANTED ERROR_OPLOCK_NOT_GRANTED
STATUS_INVALID_OPLOCK_PROTOCOL ERROR_INVALID_OPLOCK_PROTOCOL
STATUS_INTERNAL_DB_CORRUPTION ERROR_INTERNAL_DB_CORRUPTION
STATUS_INTERNAL_ERROR ERROR_INTERNAL_ERROR
STATUS_GENERIC_NOT_MAPPED ERROR_GENERIC_NOT_MAPPED
STATUS_BAD_DESCRIPTOR_FORMAT ERROR_BAD_DESCRIPTOR_FORMAT
STATUS_INVALID_USER_BUFFER ERROR_INVALID_USER_BUFFER
STATUS_NOT_LOGON_PROCESS ERROR_NOT_LOGON_PROCESS
STATUS_LOGON_SESSION_EXISTS ERROR_LOGON_SESSION_EXISTS
STATUS_INVALID_PARAMETER_1 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_2 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_3 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_4 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_5 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_6 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_7 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_8 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_9 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_10 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_11 ERROR_INVALID_PARAMETER
STATUS_INVALID_PARAMETER_12 ERROR_INVALID_PARAMETER
STATUS_REDIRECTOR_NOT_STARTED ERROR_PATH_NOT_FOUND
STATUS_REDIRECTOR_STARTED ERROR_SERVICE_ALREADY_RUNNING
STATUS_STACK_OVERFLOW ERROR_STACK_OVERFLOW
STATUS_NO_SUCH_PACKAGE ERROR_NO_SUCH_PACKAGE
STATUS_VARIABLE_NOT_FOUND ERROR_ENVVAR_NOT_FOUND
STATUS_DIRECTORY_NOT_EMPTY ERROR_DIR_NOT_EMPTY
STATUS_FILE_CORRUPT_ERROR ERROR_FILE_CORRUPT
STATUS_NOT_A_DIRECTORY ERROR_DIRECTORY
STATUS_BAD_LOGON_SESSION_STATE ERROR_BAD_LOGON_SESSION_STATE
STATUS_LOGON_SESSION_COLLISION ERROR_LOGON_SESSION_COLLISION
STATUS_NAME_TOO_LONG ERROR_FILENAME_EXCED_RANGE
STATUS_FILES_OPEN ERROR_OPEN_FILES
STATUS_CONNECTION_IN_USE ERROR_DEVICE_IN_USE
STATUS_PROCESS_IS_TERMINATING ERROR_ACCESS_DENIED
STATUS_INVALID_LOGON_TYPE ERROR_INVALID_LOGON_TYPE
STATUS_CANNOT_IMPERSONATE ERROR_CANNOT_IMPERSONATE
STATUS_IMAGE_ALREADY_LOADED ERROR_SERVICE_ALREADY_RUNNING
STATUS_NO_LDT ERROR_INVALID_THREAD_ID
STATUS_INVALID_LDT_SIZE ERROR_INVALID_LDT_SIZE
STATUS_INVALID_LDT_OFFSET ERROR_INVALID_LDT_OFFSET
STATUS_INVALID_LDT_DESCRIPTOR ERROR_INVALID_LDT_DESCRIPTOR
STATUS_INVALID_IMAGE_NE_FORMAT ERROR_BAD_EXE_FORMAT
STATUS_RXACT_INVALID_STATE ERROR_RXACT_INVALID_STATE
STATUS_RXACT_COMMIT_FAILURE ERROR_RXACT_COMMIT_FAILURE
STATUS_MAPPED_FILE_SIZE_ZERO ERROR_FILE_INVALID
STATUS_TOO_MANY_OPENED_FILES ERROR_TOO_MANY_OPEN_FILES
STATUS_CANCELLED ERROR_OPERATION_ABORTED
STATUS_CANNOT_DELETE ERROR_ACCESS_DENIED
STATUS_INVALID_COMPUTER_NAME ERROR_INVALID_COMPUTERNAME
STATUS_FILE_DELETED ERROR_ACCESS_DENIED
STATUS_SPECIAL_ACCOUNT ERROR_SPECIAL_ACCOUNT
STATUS_SPECIAL_GROUP ERROR_SPECIAL_GROUP
STATUS_SPECIAL_USER ERROR_SPECIAL_USER
STATUS_MEMBERS_PRIMARY_GROUP ERROR_MEMBERS_PRIMARY_GROUP
STATUS_FILE_CLOSED ERROR_INVALID_HANDLE
STATUS_TOO_MANY_THREADS ERROR_TOO_MANY_THREADS
STATUS_THREAD_NOT_IN_PROCESS ERROR_THREAD_NOT_IN_PROCESS
STATUS_TOKEN_ALREADY_IN_USE ERROR_TOKEN_ALREADY_IN_USE
STATUS_PAGEFILE_QUOTA_EXCEEDED ERROR_PAGEFILE_QUOTA_EXCEEDED
STATUS_COMMITMENT_LIMIT ERROR_COMMITMENT_LIMIT
STATUS_INVALID_IMAGE_LE_FORMAT ERROR_BAD_EXE_FORMAT
STATUS_INVALID_IMAGE_NOT_MZ ERROR_BAD_EXE_FORMAT
STATUS_INVALID_IMAGE_PROTECT ERROR_BAD_EXE_FORMAT
STATUS_INVALID_IMAGE_WIN_16 ERROR_BAD_EXE_FORMAT
STATUS_LOGON_SERVER_CONFLICT ERROR_LOGON_SERVER_CONFLICT
STATUS_TIME_DIFFERENCE_AT_DC ERROR_TIME_SKEW
STATUS_SYNCHRONIZATION_REQUIRED ERROR_SYNCHRONIZATION_REQUIRED
STATUS_DLL_NOT_FOUND ERROR_MOD_NOT_FOUND
STATUS_OPEN_FAILED ERROR_NET_OPEN_FAILED
STATUS_IO_PRIVILEGE_FAILED ERROR_IO_PRIVILEGE_FAILED
STATUS_ORDINAL_NOT_FOUND ERROR_INVALID_ORDINAL
STATUS_ENTRYPOINT_NOT_FOUND ERROR_PROC_NOT_FOUND
STATUS_CONTROL_C_EXIT ERROR_CONTROL_C_EXIT
STATUS_LOCAL_DISCONNECT ERROR_NETNAME_DELETED
STATUS_REMOTE_DISCONNECT ERROR_NETNAME_DELETED
STATUS_REMOTE_RESOURCES ERROR_REM_NOT_LIST
STATUS_LINK_FAILED ERROR_UNEXP_NET_ERR
STATUS_LINK_TIMEOUT ERROR_UNEXP_NET_ERR
STATUS_INVALID_CONNECTION ERROR_UNEXP_NET_ERR
STATUS_INVALID_ADDRESS ERROR_UNEXP_NET_ERR
STATUS_DLL_INIT_FAILED ERROR_DLL_INIT_FAILED
STATUS_MISSING_SYSTEMFILE ERROR_MISSING_SYSTEMFILE
STATUS_UNHANDLED_EXCEPTION ERROR_UNHANDLED_EXCEPTION
STATUS_APP_INIT_FAILURE ERROR_APP_INIT_FAILURE
STATUS_PAGEFILE_CREATE_FAILED ERROR_PAGEFILE_CREATE_FAILED
STATUS_NO_PAGEFILE ERROR_NO_PAGEFILE
STATUS_INVALID_LEVEL ERROR_INVALID_LEVEL
STATUS_WRONG_PASSWORD_CORE ERROR_INVALID_PASSWORD
STATUS_ILLEGAL_FLOAT_CONTEXT ERROR_ILLEGAL_FLOAT_CONTEXT
STATUS_PIPE_BROKEN ERROR_BROKEN_PIPE
STATUS_REGISTRY_CORRUPT ERROR_BADDB
STATUS_REGISTRY_IO_FAILED ERROR_REGISTRY_IO_FAILED
STATUS_NO_EVENT_PAIR ERROR_NO_EVENT_PAIR
STATUS_UNRECOGNIZED_VOLUME ERROR_UNRECOGNIZED_VOLUME
STATUS_SERIAL_NO_DEVICE_INITED ERROR_SERIAL_NO_DEVICE
STATUS_NO_SUCH_ALIAS ERROR_NO_SUCH_ALIAS
STATUS_MEMBER_NOT_IN_ALIAS ERROR_MEMBER_NOT_IN_ALIAS
STATUS_MEMBER_IN_ALIAS ERROR_MEMBER_IN_ALIAS
STATUS_ALIAS_EXISTS ERROR_ALIAS_EXISTS
STATUS_LOGON_NOT_GRANTED ERROR_LOGON_NOT_GRANTED
STATUS_TOO_MANY_SECRETS ERROR_TOO_MANY_SECRETS
STATUS_SECRET_TOO_LONG ERROR_SECRET_TOO_LONG
STATUS_INTERNAL_DB_ERROR ERROR_INTERNAL_DB_ERROR
STATUS_FULLSCREEN_MODE ERROR_FULLSCREEN_MODE
STATUS_TOO_MANY_CONTEXT_IDS ERROR_TOO_MANY_CONTEXT_IDS
STATUS_LOGON_TYPE_NOT_GRANTED ERROR_LOGON_TYPE_NOT_GRANTED
STATUS_NOT_REGISTRY_FILE ERROR_NOT_REGISTRY_FILE
STATUS_NT_CROSS_ENCRYPTION_REQUIRED ERROR_NT_CROSS_ENCRYPTION_REQUIRED
STATUS_DOMAIN_CTRLR_CONFIG_ERROR ERROR_DOMAIN_CTRLR_CONFIG_ERROR
STATUS_FT_MISSING_MEMBER ERROR_IO_DEVICE
STATUS_ILLEGAL_CHARACTER ERROR_ILLEGAL_CHARACTER
STATUS_UNMAPPABLE_CHARACTER ERROR_NO_UNICODE_TRANSLATION
STATUS_UNDEFINED_CHARACTER ERROR_UNDEFINED_CHARACTER
STATUS_FLOPPY_VOLUME ERROR_FLOPPY_VOLUME
STATUS_FLOPPY_ID_MARK_NOT_FOUND ERROR_FLOPPY_ID_MARK_NOT_FOUND
STATUS_FLOPPY_WRONG_CYLINDER ERROR_FLOPPY_WRONG_CYLINDER
STATUS_FLOPPY_UNKNOWN_ERROR ERROR_FLOPPY_UNKNOWN_ERROR
STATUS_FLOPPY_BAD_REGISTERS ERROR_FLOPPY_BAD_REGISTERS
STATUS_DISK_RECALIBRATE_FAILED ERROR_DISK_RECALIBRATE_FAILED
STATUS_DISK_OPERATION_FAILED ERROR_DISK_OPERATION_FAILED
STATUS_DISK_RESET_FAILED ERROR_DISK_RESET_FAILED
STATUS_SHARED_IRQ_BUSY ERROR_IRQ_BUSY
STATUS_FT_ORPHANING ERROR_IO_DEVICE
STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT
STATUS_PARTITION_FAILURE ERROR_PARTITION_FAILURE
STATUS_INVALID_BLOCK_LENGTH ERROR_INVALID_BLOCK_LENGTH
STATUS_DEVICE_NOT_PARTITIONED ERROR_DEVICE_NOT_PARTITIONED
STATUS_UNABLE_TO_LOCK_MEDIA ERROR_UNABLE_TO_LOCK_MEDIA
STATUS_UNABLE_TO_UNLOAD_MEDIA ERROR_UNABLE_TO_UNLOAD_MEDIA
STATUS_EOM_OVERFLOW ERROR_EOM_OVERFLOW
STATUS_NO_MEDIA ERROR_NO_MEDIA_IN_DRIVE
STATUS_NO_SUCH_MEMBER ERROR_NO_SUCH_MEMBER
STATUS_INVALID_MEMBER ERROR_INVALID_MEMBER
STATUS_KEY_DELETED ERROR_KEY_DELETED
STATUS_NO_LOG_SPACE ERROR_NO_LOG_SPACE
STATUS_TOO_MANY_SIDS ERROR_TOO_MANY_SIDS
STATUS_LM_CROSS_ENCRYPTION_REQUIRED ERROR_LM_CROSS_ENCRYPTION_REQUIRED
STATUS_KEY_HAS_CHILDREN ERROR_KEY_HAS_CHILDREN
STATUS_CHILD_MUST_BE_VOLATILE ERROR_CHILD_MUST_BE_VOLATILE
STATUS_DEVICE_CONFIGURATION_ERROR ERROR_INVALID_PARAMETER
STATUS_DRIVER_INTERNAL_ERROR ERROR_IO_DEVICE
STATUS_INVALID_DEVICE_STATE ERROR_BAD_COMMAND
STATUS_IO_DEVICE_ERROR ERROR_IO_DEVICE
STATUS_DEVICE_PROTOCOL_ERROR ERROR_IO_DEVICE
STATUS_BACKUP_CONTROLLER ERROR_BACKUP_CONTROLLER
STATUS_LOG_FILE_FULL ERROR_LOG_FILE_FULL
STATUS_TOO_LATE ERROR_WRITE_PROTECT
STATUS_NO_TRUST_LSA_SECRET ERROR_NO_TRUST_LSA_SECRET
STATUS_NO_TRUST_SAM_ACCOUNT ERROR_NO_TRUST_SAM_ACCOUNT
STATUS_TRUSTED_DOMAIN_FAILURE ERROR_TRUSTED_DOMAIN_FAILURE
STATUS_TRUSTED_RELATIONSHIP_FAILURE ERROR_TRUSTED_RELATIONSHIP_FAILURE
STATUS_EVENTLOG_FILE_CORRUPT ERROR_EVENTLOG_FILE_CORRUPT
STATUS_EVENTLOG_CANT_START ERROR_EVENTLOG_CANT_START
STATUS_TRUST_FAILURE ERROR_TRUST_FAILURE
STATUS_MUTANT_LIMIT_EXCEEDED ERROR_MUTANT_LIMIT_EXCEEDED
STATUS_NETLOGON_NOT_STARTED ERROR_NETLOGON_NOT_STARTED
STATUS_ACCOUNT_EXPIRED ERROR_ACCOUNT_EXPIRED
STATUS_POSSIBLE_DEADLOCK ERROR_POSSIBLE_DEADLOCK
STATUS_NETWORK_CREDENTIAL_CONFLICT ERROR_SESSION_CREDENTIAL_CONFLICT
STATUS_REMOTE_SESSION_LIMIT ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
STATUS_EVENTLOG_FILE_CHANGED ERROR_EVENTLOG_FILE_CHANGED
STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
STATUS_NOLOGON_SERVER_TRUST_ACCOUNT ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
STATUS_DOMAIN_TRUST_INCONSISTENT ERROR_DOMAIN_TRUST_INCONSISTENT
STATUS_FS_DRIVER_REQUIRED ERROR_FS_DRIVER_REQUIRED
STATUS_NO_USER_SESSION_KEY ERROR_NO_USER_SESSION_KEY
STATUS_USER_SESSION_DELETED ERROR_UNEXP_NET_ERR
STATUS_RESOURCE_LANG_NOT_FOUND ERROR_RESOURCE_LANG_NOT_FOUND
STATUS_INSUFF_SERVER_RESOURCES ERROR_NOT_ENOUGH_SERVER_MEMORY
STATUS_INVALID_BUFFER_SIZE ERROR_INVALID_USER_BUFFER
STATUS_INVALID_ADDRESS_COMPONENT ERROR_INVALID_NETNAME
STATUS_INVALID_ADDRESS_WILDCARD ERROR_INVALID_NETNAME
STATUS_TOO_MANY_ADDRESSES ERROR_TOO_MANY_NAMES
STATUS_ADDRESS_ALREADY_EXISTS ERROR_DUP_NAME
STATUS_ADDRESS_CLOSED ERROR_NETNAME_DELETED
STATUS_CONNECTION_DISCONNECTED ERROR_NETNAME_DELETED
STATUS_CONNECTION_RESET ERROR_NETNAME_DELETED
STATUS_TOO_MANY_NODES ERROR_TOO_MANY_NAMES
STATUS_TRANSACTION_ABORTED ERROR_UNEXP_NET_ERR
STATUS_TRANSACTION_TIMED_OUT ERROR_UNEXP_NET_ERR
STATUS_TRANSACTION_NO_RELEASE ERROR_UNEXP_NET_ERR
STATUS_TRANSACTION_NO_MATCH ERROR_UNEXP_NET_ERR
STATUS_TRANSACTION_RESPONDED ERROR_UNEXP_NET_ERR
STATUS_TRANSACTION_INVALID_ID ERROR_UNEXP_NET_ERR
STATUS_TRANSACTION_INVALID_TYPE ERROR_UNEXP_NET_ERR
STATUS_NOT_SERVER_SESSION ERROR_NOT_SUPPORTED
STATUS_NOT_CLIENT_SESSION ERROR_NOT_SUPPORTED
STATUS_CANNOT_LOAD_REGISTRY_FILE ERROR_CANNOT_LOAD_REGISTRY_FILE
STATUS_DEBUG_ATTACH_FAILED ERROR_DEBUG_ATTACH_FAILED
STATUS_SYSTEM_PROCESS_TERMINATED ERROR_SYSTEM_PROCESS_TERMINATED
STATUS_DATA_NOT_ACCEPTED ERROR_DATA_NOT_ACCEPTED
STATUS_NO_BROWSER_SERVERS_FOUND ERROR_NO_BROWSER_SERVERS_FOUND
STATUS_VDM_HARD_ERROR ERROR_VDM_HARD_ERROR
STATUS_DRIVER_CANCEL_TIMEOUT ERROR_DRIVER_CANCEL_TIMEOUT
STATUS_REPLY_MESSAGE_MISMATCH ERROR_REPLY_MESSAGE_MISMATCH
STATUS_MAPPED_ALIGNMENT ERROR_MAPPED_ALIGNMENT
STATUS_IMAGE_CHECKSUM_MISMATCH ERROR_BAD_EXE_FORMAT
STATUS_LOST_WRITEBEHIND_DATA ERROR_LOST_WRITEBEHIND_DATA
STATUS_CLIENT_SERVER_PARAMETERS_INVALID ERROR_CLIENT_SERVER_PARAMETERS_INVALID
STATUS_PASSWORD_MUST_CHANGE ERROR_PASSWORD_MUST_CHANGE
STATUS_NOT_FOUND ERROR_NOT_FOUND
STATUS_NOT_TINY_STREAM ERROR_NOT_TINY_STREAM
STATUS_STACK_OVERFLOW_READ ERROR_STACK_OVERFLOW_READ
STATUS_FAIL_CHECK ERROR_INVALID_PARAMETER
STATUS_DUPLICATE_OBJECTID ERROR_OBJECT_ALREADY_EXISTS
STATUS_OBJECTID_EXISTS ERROR_OBJECT_ALREADY_EXISTS
STATUS_CONVERT_TO_LARGE ERROR_CONVERT_TO_LARGE
STATUS_RETRY ERROR_RETRY
STATUS_FOUND_OUT_OF_SCOPE ERROR_FOUND_OUT_OF_SCOPE
STATUS_ALLOCATE_BUCKET ERROR_ALLOCATE_BUCKET
STATUS_PROPSET_NOT_FOUND ERROR_SET_NOT_FOUND
STATUS_MARSHALL_OVERFLOW ERROR_MARSHALL_OVERFLOW
STATUS_INVALID_VARIANT ERROR_INVALID_VARIANT
STATUS_DOMAIN_CONTROLLER_NOT_FOUND ERROR_DOMAIN_CONTROLLER_NOT_FOUND
STATUS_ACCOUNT_LOCKED_OUT ERROR_ACCOUNT_LOCKED_OUT
STATUS_HANDLE_NOT_CLOSABLE ERROR_INVALID_HANDLE
STATUS_CONNECTION_REFUSED ERROR_CONNECTION_REFUSED
STATUS_GRACEFUL_DISCONNECT ERROR_GRACEFUL_DISCONNECT
STATUS_ADDRESS_ALREADY_ASSOCIATED ERROR_ADDRESS_ALREADY_ASSOCIATED
STATUS_ADDRESS_NOT_ASSOCIATED ERROR_ADDRESS_NOT_ASSOCIATED
STATUS_CONNECTION_INVALID ERROR_CONNECTION_INVALID
STATUS_CONNECTION_ACTIVE ERROR_CONNECTION_ACTIVE
STATUS_NETWORK_UNREACHABLE ERROR_NETWORK_UNREACHABLE
STATUS_HOST_UNREACHABLE ERROR_HOST_UNREACHABLE
STATUS_PROTOCOL_UNREACHABLE ERROR_PROTOCOL_UNREACHABLE
STATUS_PORT_UNREACHABLE ERROR_PORT_UNREACHABLE
STATUS_REQUEST_ABORTED ERROR_REQUEST_ABORTED
STATUS_CONNECTION_ABORTED ERROR_CONNECTION_ABORTED
STATUS_BAD_COMPRESSION_BUFFER ERROR_BAD_COMPRESSION_BUFFER
STATUS_USER_MAPPED_FILE ERROR_USER_MAPPED_FILE
STATUS_AUDIT_FAILED ERROR_AUDIT_FAILED
STATUS_TIMER_RESOLUTION_NOT_SET ERROR_TIMER_RESOLUTION_NOT_SET
STATUS_CONNECTION_COUNT_LIMIT ERROR_CONNECTION_COUNT_LIMIT
STATUS_LOGIN_TIME_RESTRICTION ERROR_LOGIN_TIME_RESTRICTION
STATUS_LOGIN_WKSTA_RESTRICTION ERROR_LOGIN_WKSTA_RESTRICTION
STATUS_IMAGE_MP_UP_MISMATCH ERROR_BAD_EXE_FORMAT
STATUS_INSUFFICIENT_LOGON_INFO ERROR_INSUFFICIENT_LOGON_INFO
STATUS_BAD_DLL_ENTRYPOINT ERROR_BAD_DLL_ENTRYPOINT
STATUS_BAD_SERVICE_ENTRYPOINT ERROR_BAD_SERVICE_ENTRYPOINT
STATUS_LPC_REPLY_LOST ERROR_CONNECTION_ABORTED
STATUS_IP_ADDRESS_CONFLICT1 ERROR_IP_ADDRESS_CONFLICT1
STATUS_IP_ADDRESS_CONFLICT2 ERROR_IP_ADDRESS_CONFLICT2
STATUS_REGISTRY_QUOTA_LIMIT ERROR_REGISTRY_QUOTA_LIMIT
STATUS_PATH_NOT_COVERED ERROR_HOST_UNREACHABLE
STATUS_NO_CALLBACK_ACTIVE ERROR_NO_CALLBACK_ACTIVE
STATUS_LICENSE_QUOTA_EXCEEDED ERROR_LICENSE_QUOTA_EXCEEDED
STATUS_PWD_TOO_SHORT ERROR_PWD_TOO_SHORT
STATUS_PWD_TOO_RECENT ERROR_PWD_TOO_RECENT
STATUS_PWD_HISTORY_CONFLICT ERROR_PWD_HISTORY_CONFLICT
STATUS_PLUGPLAY_NO_DEVICE ERROR_SERVICE_DISABLED
STATUS_UNSUPPORTED_COMPRESSION ERROR_UNSUPPORTED_COMPRESSION
STATUS_INVALID_HW_PROFILE ERROR_INVALID_HW_PROFILE
STATUS_INVALID_PLUGPLAY_DEVICE_PATH ERROR_INVALID_PLUGPLAY_DEVICE_PATH
STATUS_DRIVER_ORDINAL_NOT_FOUND ERROR_INVALID_ORDINAL
STATUS_DRIVER_ENTRYPOINT_NOT_FOUND ERROR_PROC_NOT_FOUND
STATUS_RESOURCE_NOT_OWNED ERROR_NOT_OWNER
STATUS_TOO_MANY_LINKS ERROR_TOO_MANY_LINKS
STATUS_QUOTA_LIST_INCONSISTENT ERROR_QUOTA_LIST_INCONSISTENT
STATUS_FILE_IS_OFFLINE ERROR_FILE_OFFLINE
STATUS_EVALUATION_EXPIRATION ERROR_EVALUATION_EXPIRATION
STATUS_ILLEGAL_DLL_RELOCATION ERROR_ILLEGAL_DLL_RELOCATION
STATUS_LICENSE_VIOLATION ERROR_CTX_LICENSE_NOT_AVAILABLE
STATUS_DLL_INIT_FAILED_LOGOFF ERROR_DLL_INIT_FAILED_LOGOFF
STATUS_DRIVER_UNABLE_TO_LOAD ERROR_BAD_DRIVER
STATUS_DFS_UNAVAILABLE ERROR_CONNECTION_UNAVAIL
STATUS_VOLUME_DISMOUNTED ERROR_NOT_READY
STATUS_VALIDATE_CONTINUE ERROR_VALIDATE_CONTINUE
STATUS_NO_MATCH ERROR_NO_MATCH
STATUS_NO_MORE_MATCHES ERROR_NO_MORE_MATCHES
STATUS_NOT_A_REPARSE_POINT ERROR_NOT_A_REPARSE_POINT
STATUS_IO_REPARSE_TAG_INVALID ERROR_REPARSE_TAG_INVALID
STATUS_IO_REPARSE_TAG_MISMATCH ERROR_REPARSE_TAG_MISMATCH
STATUS_IO_REPARSE_DATA_INVALID ERROR_INVALID_REPARSE_DATA
STATUS_IO_REPARSE_TAG_NOT_HANDLED ERROR_CANT_ACCESS_FILE
STATUS_REPARSE_POINT_NOT_RESOLVED ERROR_CANT_RESOLVE_FILENAME
STATUS_DIRECTORY_IS_A_REPARSE_POINT ERROR_BAD_PATHNAME
STATUS_RANGE_LIST_CONFLICT ERROR_RANGE_LIST_CONFLICT
STATUS_SOURCE_ELEMENT_EMPTY ERROR_SOURCE_ELEMENT_EMPTY
STATUS_DESTINATION_ELEMENT_FULL ERROR_DESTINATION_ELEMENT_FULL
STATUS_ILLEGAL_ELEMENT_ADDRESS ERROR_ILLEGAL_ELEMENT_ADDRESS
STATUS_MAGAZINE_NOT_PRESENT ERROR_MAGAZINE_NOT_PRESENT
STATUS_REINITIALIZATION_NEEDED ERROR_DEVICE_REINITIALIZATION_NEEDED
STATUS_ENCRYPTION_FAILED ERROR_ACCESS_DENIED
STATUS_DECRYPTION_FAILED ERROR_ACCESS_DENIED
STATUS_RANGE_NOT_FOUND ERROR_RANGE_NOT_FOUND
STATUS_NO_RECOVERY_POLICY ERROR_ACCESS_DENIED
STATUS_NO_EFS ERROR_ACCESS_DENIED
STATUS_WRONG_EFS ERROR_ACCESS_DENIED
STATUS_NO_USER_KEYS ERROR_ACCESS_DENIED
STATUS_FILE_NOT_ENCRYPTED ERROR_FILE_NOT_ENCRYPTED
STATUS_NOT_EXPORT_FORMAT ERROR_NOT_EXPORT_FORMAT
STATUS_FILE_ENCRYPTED ERROR_FILE_ENCRYPTED
STATUS_WMI_GUID_NOT_FOUND ERROR_WMI_GUID_NOT_FOUND
STATUS_WMI_INSTANCE_NOT_FOUND ERROR_WMI_INSTANCE_NOT_FOUND
STATUS_WMI_ITEMID_NOT_FOUND ERROR_WMI_ITEMID_NOT_FOUND
STATUS_WMI_TRY_AGAIN ERROR_WMI_TRY_AGAIN
STATUS_SHARED_POLICY ERROR_SHARED_POLICY
STATUS_POLICY_OBJECT_NOT_FOUND ERROR_POLICY_OBJECT_NOT_FOUND
STATUS_POLICY_ONLY_IN_DS ERROR_POLICY_ONLY_IN_DS
STATUS_VOLUME_NOT_UPGRADED ERROR_INVALID_FUNCTION
STATUS_REMOTE_STORAGE_NOT_ACTIVE ERROR_REMOTE_STORAGE_NOT_ACTIVE
STATUS_REMOTE_STORAGE_MEDIA_ERROR ERROR_REMOTE_STORAGE_MEDIA_ERROR
STATUS_NO_TRACKING_SERVICE ERROR_NO_TRACKING_SERVICE
STATUS_SERVER_SID_MISMATCH ERROR_SERVER_SID_MISMATCH
STATUS_DS_NO_ATTRIBUTE_OR_VALUE ERROR_DS_NO_ATTRIBUTE_OR_VALUE
STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED
STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS
STATUS_DS_BUSY ERROR_DS_BUSY
STATUS_DS_UNAVAILABLE ERROR_DS_UNAVAILABLE
STATUS_DS_NO_RIDS_ALLOCATED ERROR_DS_NO_RIDS_ALLOCATED
STATUS_DS_NO_MORE_RIDS ERROR_DS_NO_MORE_RIDS
STATUS_DS_INCORRECT_ROLE_OWNER ERROR_DS_INCORRECT_ROLE_OWNER
STATUS_DS_RIDMGR_INIT_ERROR ERROR_DS_RIDMGR_INIT_ERROR
STATUS_DS_OBJ_CLASS_VIOLATION ERROR_DS_OBJ_CLASS_VIOLATION
STATUS_DS_CANT_ON_NON_LEAF ERROR_DS_CANT_ON_NON_LEAF
STATUS_DS_CANT_ON_RDN ERROR_DS_CANT_ON_RDN
STATUS_DS_CANT_MOD_OBJ_CLASS ERROR_DS_CANT_MOD_OBJ_CLASS
STATUS_DS_CROSS_DOM_MOVE_FAILED ERROR_DS_CROSS_DOM_MOVE_ERROR
STATUS_DS_GC_NOT_AVAILABLE ERROR_DS_GC_NOT_AVAILABLE
STATUS_DIRECTORY_SERVICE_REQUIRED ERROR_DS_DS_REQUIRED
STATUS_REPARSE_ATTRIBUTE_CONFLICT ERROR_REPARSE_ATTRIBUTE_CONFLICT
STATUS_CANT_ENABLE_DENY_ONLY ERROR_CANT_ENABLE_DENY_ONLY
STATUS_FLOAT_MULTIPLE_FAULTS ERROR_FLOAT_MULTIPLE_FAULTS
STATUS_FLOAT_MULTIPLE_TRAPS ERROR_FLOAT_MULTIPLE_TRAPS
STATUS_DEVICE_REMOVED ERROR_DEVICE_REMOVED
STATUS_JOURNAL_DELETE_IN_PROGRESS ERROR_JOURNAL_DELETE_IN_PROGRESS
STATUS_JOURNAL_NOT_ACTIVE ERROR_JOURNAL_NOT_ACTIVE
STATUS_NOINTERFACE ERROR_NOINTERFACE
STATUS_DS_ADMIN_LIMIT_EXCEEDED ERROR_DS_ADMIN_LIMIT_EXCEEDED
STATUS_DRIVER_FAILED_SLEEP ERROR_DRIVER_FAILED_SLEEP
STATUS_MUTUAL_AUTHENTICATION_FAILED ERROR_MUTUAL_AUTH_FAILED
STATUS_CORRUPT_SYSTEM_FILE ERROR_CORRUPT_SYSTEM_FILE
STATUS_DATATYPE_MISALIGNMENT_ERROR ERROR_NOACCESS
STATUS_WMI_READ_ONLY ERROR_WMI_READ_ONLY
STATUS_WMI_SET_FAILURE ERROR_WMI_SET_FAILURE
STATUS_COMMITMENT_MINIMUM ERROR_COMMITMENT_MINIMUM
STATUS_REG_NAT_CONSUMPTION ERROR_REG_NAT_CONSUMPTION
STATUS_TRANSPORT_FULL ERROR_TRANSPORT_FULL
STATUS_DS_SAM_INIT_FAILURE ERROR_DS_SAM_INIT_FAILURE
STATUS_ONLY_IF_CONNECTED ERROR_ONLY_IF_CONNECTED
STATUS_DS_SENSITIVE_GROUP_VIOLATION ERROR_DS_SENSITIVE_GROUP_VIOLATION
STATUS_PNP_RESTART_ENUMERATION ERROR_PNP_RESTART_ENUMERATION
STATUS_JOURNAL_ENTRY_DELETED ERROR_JOURNAL_ENTRY_DELETED
STATUS_DS_CANT_MOD_PRIMARYGROUPID ERROR_DS_CANT_MOD_PRIMARYGROUPID
STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ERROR_SYSTEM_IMAGE_BAD_SIGNATURE
STATUS_PNP_REBOOT_REQUIRED ERROR_PNP_REBOOT_REQUIRED
STATUS_DS_INVALID_GROUP_TYPE ERROR_DS_INVALID_GROUP_TYPE
STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
STATUS_DS_HAVE_PRIMARY_MEMBERS ERROR_DS_HAVE_PRIMARY_MEMBERS
STATUS_WMI_NOT_SUPPORTED ERROR_NOT_SUPPORTED
STATUS_INSUFFICIENT_POWER ERROR_INSUFFICIENT_POWER
STATUS_SAM_NEED_BOOTKEY_PASSWORD ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD
STATUS_SAM_NEED_BOOTKEY_FLOPPY ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY
STATUS_DS_CANT_START ERROR_DS_CANT_START
STATUS_DS_INIT_FAILURE ERROR_DS_INIT_FAILURE
STATUS_SAM_INIT_FAILURE ERROR_SAM_INIT_FAILURE
STATUS_DS_GC_REQUIRED ERROR_DS_GC_REQUIRED
STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS
STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
STATUS_MULTIPLE_FAULT_VIOLATION ERROR_MULTIPLE_FAULT_VIOLATION
STATUS_CURRENT_DOMAIN_NOT_ALLOWED ERROR_CURRENT_DOMAIN_NOT_ALLOWED
STATUS_CANNOT_MAKE ERROR_CANNOT_MAKE
STATUS_SYSTEM_SHUTDOWN ERROR_SYSTEM_SHUTDOWN
STATUS_DS_INIT_FAILURE_CONSOLE ERROR_DS_INIT_FAILURE_CONSOLE
STATUS_DS_SAM_INIT_FAILURE_CONSOLE ERROR_DS_SAM_INIT_FAILURE_CONSOLE
STATUS_UNFINISHED_CONTEXT_DELETED SEC_E_UNFINISHED_CONTEXT_DELETED
STATUS_NO_TGT_REPLY SEC_E_NO_TGT_REPLY
STATUS_OBJECTID_NOT_FOUND ERROR_FILE_NOT_FOUND
STATUS_NO_IP_ADDRESSES SEC_E_NO_IP_ADDRESSES
STATUS_WRONG_CREDENTIAL_HANDLE SEC_E_WRONG_CREDENTIAL_HANDLE
STATUS_CRYPTO_SYSTEM_INVALID SEC_E_CRYPTO_SYSTEM_INVALID
STATUS_MAX_REFERRALS_EXCEEDED SEC_E_MAX_REFERRALS_EXCEEDED
STATUS_MUST_BE_KDC SEC_E_MUST_BE_KDC
STATUS_STRONG_CRYPTO_NOT_SUPPORTED SEC_E_STRONG_CRYPTO_NOT_SUPPORTED
STATUS_TOO_MANY_PRINCIPALS SEC_E_TOO_MANY_PRINCIPALS
STATUS_NO_PA_DATA SEC_E_NO_PA_DATA
STATUS_PKINIT_NAME_MISMATCH SEC_E_PKINIT_NAME_MISMATCH
STATUS_SMARTCARD_LOGON_REQUIRED SEC_E_SMARTCARD_LOGON_REQUIRED
STATUS_KDC_INVALID_REQUEST SEC_E_KDC_INVALID_REQUEST
STATUS_KDC_UNABLE_TO_REFER SEC_E_KDC_UNABLE_TO_REFER
STATUS_KDC_UNKNOWN_ETYPE SEC_E_KDC_UNKNOWN_ETYPE
STATUS_SHUTDOWN_IN_PROGRESS ERROR_SHUTDOWN_IN_PROGRESS
STATUS_SERVER_SHUTDOWN_IN_PROGRESS ERROR_SERVER_SHUTDOWN_IN_PROGRESS
STATUS_NOT_SUPPORTED_ON_SBS ERROR_NOT_SUPPORTED_ON_SBS
STATUS_WMI_GUID_DISCONNECTED ERROR_WMI_GUID_DISCONNECTED
STATUS_WMI_ALREADY_DISABLED ERROR_WMI_ALREADY_DISABLED
STATUS_WMI_ALREADY_ENABLED ERROR_WMI_ALREADY_ENABLED
STATUS_MFT_TOO_FRAGMENTED ERROR_DISK_TOO_FRAGMENTED
STATUS_COPY_PROTECTION_FAILURE STG_E_STATUS_COPY_PROTECTION_FAILURE
STATUS_CSS_AUTHENTICATION_FAILURE STG_E_CSS_AUTHENTICATION_FAILURE
STATUS_CSS_KEY_NOT_PRESENT STG_E_CSS_KEY_NOT_PRESENT
STATUS_CSS_KEY_NOT_ESTABLISHED STG_E_CSS_KEY_NOT_ESTABLISHED
STATUS_CSS_SCRAMBLED_SECTOR STG_E_CSS_SCRAMBLED_SECTOR
STATUS_CSS_REGION_MISMATCH STG_E_CSS_REGION_MISMATCH
STATUS_CSS_RESETS_EXHAUSTED STG_E_RESETS_EXHAUSTED
STATUS_PKINIT_FAILURE ERROR_PKINIT_FAILURE
STATUS_SMARTCARD_SUBSYSTEM_FAILURE ERROR_SMARTCARD_SUBSYSTEM_FAILURE
STATUS_NO_KERB_KEY SEC_E_NO_KERB_KEY
STATUS_HOST_DOWN ERROR_HOST_DOWN
STATUS_UNSUPPORTED_PREAUTH SEC_E_UNSUPPORTED_PREAUTH
STATUS_EFS_ALG_BLOB_TOO_BIG ERROR_EFS_ALG_BLOB_TOO_BIG
STATUS_PORT_NOT_SET ERROR_PORT_NOT_SET
STATUS_DS_VERSION_CHECK_FAILURE ERROR_DS_VERSION_CHECK_FAILURE
STATUS_AUDITING_DISABLED ERROR_AUDITING_DISABLED
STATUS_PRENT4_MACHINE_ACCOUNT ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4
STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
STATUS_INVALID_IMAGE_WIN_32 ERROR_BAD_EXE_FORMAT
STATUS_INVALID_IMAGE_WIN_64 ERROR_BAD_EXE_FORMAT
STATUS_BAD_BINDINGS SEC_E_BAD_BINDINGS
STATUS_NETWORK_SESSION_EXPIRED ERROR_NO_USER_SESSION_KEY
STATUS_ALL_SIDS_FILTERED ERROR_ALL_SIDS_FILTERED
STATUS_NOT_SAFE_MODE_DRIVER ERROR_NOT_SAFE_MODE_DRIVER
STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT ERROR_ACCESS_DISABLED_BY_POLICY
STATUS_ACCESS_DISABLED_BY_POLICY_PATH ERROR_ACCESS_DISABLED_BY_POLICY
STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER ERROR_ACCESS_DISABLED_BY_POLICY
STATUS_ACCESS_DISABLED_BY_POLICY_OTHER ERROR_ACCESS_DISABLED_BY_POLICY
STATUS_FAILED_DRIVER_ENTRY ERROR_FAILED_DRIVER_ENTRY
STATUS_DEVICE_ENUMERATION_ERROR ERROR_DEVICE_ENUMERATION_ERROR
STATUS_MOUNT_POINT_NOT_RESOLVED ERROR_MOUNT_POINT_NOT_RESOLVED
STATUS_INVALID_DEVICE_OBJECT_PARAMETER ERROR_INVALID_DEVICE_OBJECT_PARAMETER
STATUS_MCA_OCCURED ERROR_MCA_OCCURED
STATUS_DRIVER_BLOCKED_CRITICAL ERROR_DRIVER_BLOCKED
STATUS_DRIVER_BLOCKED ERROR_DRIVER_BLOCKED
STATUS_DRIVER_DATABASE_ERROR ERROR_DRIVER_DATABASE_ERROR
STATUS_SYSTEM_HIVE_TOO_LARGE ERROR_SYSTEM_HIVE_TOO_LARGE
STATUS_INVALID_IMPORT_OF_NON_DLL ERROR_INVALID_IMPORT_OF_NON_DLL
STATUS_SMARTCARD_WRONG_PIN SCARD_W_WRONG_CHV
STATUS_SMARTCARD_CARD_BLOCKED SCARD_W_CHV_BLOCKED
STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED SCARD_W_CARD_NOT_AUTHENTICATED
STATUS_SMARTCARD_NO_CARD SCARD_E_NO_SMARTCARD
STATUS_SMARTCARD_NO_KEY_CONTAINER NTE_NO_KEY
STATUS_SMARTCARD_NO_CERTIFICATE SCARD_E_NO_SUCH_CERTIFICATE
STATUS_SMARTCARD_NO_KEYSET NTE_BAD_KEYSET
STATUS_SMARTCARD_IO_ERROR SCARD_E_COMM_DATA_LOST
STATUS_DOWNGRADE_DETECTED ERROR_DOWNGRADE_DETECTED
STATUS_SMARTCARD_CERT_REVOKED SEC_E_SMARTCARD_CERT_REVOKED
STATUS_ISSUING_CA_UNTRUSTED SEC_E_ISSUING_CA_UNTRUSTED
STATUS_REVOCATION_OFFLINE_C SEC_E_REVOCATION_OFFLINE_C
STATUS_PKINIT_CLIENT_FAILURE SEC_E_PKINIT_CLIENT_FAILURE
STATUS_SMARTCARD_CERT_EXPIRED SEC_E_SMARTCARD_CERT_EXPIRED
STATUS_ELEVATION_REQUIRED ERROR_ELEVATION_REQUIRED
RPC_NT_INVALID_STRING_BINDING RPC_S_INVALID_STRING_BINDING
RPC_NT_WRONG_KIND_OF_BINDING RPC_S_WRONG_KIND_OF_BINDING
RPC_NT_INVALID_BINDING ERROR_INVALID_HANDLE
RPC_NT_PROTSEQ_NOT_SUPPORTED RPC_S_PROTSEQ_NOT_SUPPORTED
RPC_NT_INVALID_RPC_PROTSEQ RPC_S_INVALID_RPC_PROTSEQ
RPC_NT_INVALID_STRING_UUID RPC_S_INVALID_STRING_UUID
RPC_NT_INVALID_ENDPOINT_FORMAT RPC_S_INVALID_ENDPOINT_FORMAT
RPC_NT_INVALID_NET_ADDR RPC_S_INVALID_NET_ADDR
RPC_NT_NO_ENDPOINT_FOUND RPC_S_NO_ENDPOINT_FOUND
RPC_NT_INVALID_TIMEOUT RPC_S_INVALID_TIMEOUT
RPC_NT_OBJECT_NOT_FOUND RPC_S_OBJECT_NOT_FOUND
RPC_NT_ALREADY_REGISTERED RPC_S_ALREADY_REGISTERED
RPC_NT_TYPE_ALREADY_REGISTERED RPC_S_TYPE_ALREADY_REGISTERED
RPC_NT_ALREADY_LISTENING RPC_S_ALREADY_LISTENING
RPC_NT_NO_PROTSEQS_REGISTERED RPC_S_NO_PROTSEQS_REGISTERED
RPC_NT_NOT_LISTENING RPC_S_NOT_LISTENING
RPC_NT_UNKNOWN_MGR_TYPE RPC_S_UNKNOWN_MGR_TYPE
RPC_NT_UNKNOWN_IF RPC_S_UNKNOWN_IF
RPC_NT_NO_BINDINGS RPC_S_NO_BINDINGS
RPC_NT_NO_PROTSEQS RPC_S_NO_PROTSEQS
RPC_NT_CANT_CREATE_ENDPOINT RPC_S_CANT_CREATE_ENDPOINT
RPC_NT_OUT_OF_RESOURCES RPC_S_OUT_OF_RESOURCES
RPC_NT_SERVER_UNAVAILABLE RPC_S_SERVER_UNAVAILABLE
RPC_NT_SERVER_TOO_BUSY RPC_S_SERVER_TOO_BUSY
RPC_NT_INVALID_NETWORK_OPTIONS RPC_S_INVALID_NETWORK_OPTIONS
RPC_NT_NO_CALL_ACTIVE RPC_S_NO_CALL_ACTIVE
RPC_NT_CALL_FAILED RPC_S_CALL_FAILED
RPC_NT_CALL_FAILED_DNE RPC_S_CALL_FAILED_DNE
RPC_NT_PROTOCOL_ERROR RPC_S_PROTOCOL_ERROR
RPC_NT_UNSUPPORTED_TRANS_SYN RPC_S_UNSUPPORTED_TRANS_SYN
RPC_NT_UNSUPPORTED_TYPE RPC_S_UNSUPPORTED_TYPE
RPC_NT_INVALID_TAG RPC_S_INVALID_TAG
RPC_NT_INVALID_BOUND RPC_S_INVALID_BOUND
RPC_NT_NO_ENTRY_NAME RPC_S_NO_ENTRY_NAME
RPC_NT_INVALID_NAME_SYNTAX RPC_S_INVALID_NAME_SYNTAX
RPC_NT_UNSUPPORTED_NAME_SYNTAX RPC_S_UNSUPPORTED_NAME_SYNTAX
RPC_NT_UUID_NO_ADDRESS RPC_S_UUID_NO_ADDRESS
RPC_NT_DUPLICATE_ENDPOINT RPC_S_DUPLICATE_ENDPOINT
RPC_NT_UNKNOWN_AUTHN_TYPE RPC_S_UNKNOWN_AUTHN_TYPE
RPC_NT_MAX_CALLS_TOO_SMALL RPC_S_MAX_CALLS_TOO_SMALL
RPC_NT_STRING_TOO_LONG RPC_S_STRING_TOO_LONG
RPC_NT_PROTSEQ_NOT_FOUND RPC_S_PROTSEQ_NOT_FOUND
RPC_NT_PROCNUM_OUT_OF_RANGE RPC_S_PROCNUM_OUT_OF_RANGE
RPC_NT_BINDING_HAS_NO_AUTH RPC_S_BINDING_HAS_NO_AUTH
RPC_NT_UNKNOWN_AUTHN_SERVICE RPC_S_UNKNOWN_AUTHN_SERVICE
RPC_NT_UNKNOWN_AUTHN_LEVEL RPC_S_UNKNOWN_AUTHN_LEVEL
RPC_NT_INVALID_AUTH_IDENTITY RPC_S_INVALID_AUTH_IDENTITY
RPC_NT_UNKNOWN_AUTHZ_SERVICE RPC_S_UNKNOWN_AUTHZ_SERVICE
EPT_NT_INVALID_ENTRY EPT_S_INVALID_ENTRY
EPT_NT_CANT_PERFORM_OP EPT_S_CANT_PERFORM_OP
EPT_NT_NOT_REGISTERED EPT_S_NOT_REGISTERED
RPC_NT_NOTHING_TO_EXPORT RPC_S_NOTHING_TO_EXPORT
RPC_NT_INCOMPLETE_NAME RPC_S_INCOMPLETE_NAME
RPC_NT_INVALID_VERS_OPTION RPC_S_INVALID_VERS_OPTION
RPC_NT_NO_MORE_MEMBERS RPC_S_NO_MORE_MEMBERS
RPC_NT_NOT_ALL_OBJS_UNEXPORTED RPC_S_NOT_ALL_OBJS_UNEXPORTED
RPC_NT_INTERFACE_NOT_FOUND RPC_S_INTERFACE_NOT_FOUND
RPC_NT_ENTRY_ALREADY_EXISTS RPC_S_ENTRY_ALREADY_EXISTS
RPC_NT_ENTRY_NOT_FOUND RPC_S_ENTRY_NOT_FOUND
RPC_NT_NAME_SERVICE_UNAVAILABLE RPC_S_NAME_SERVICE_UNAVAILABLE
RPC_NT_INVALID_NAF_ID RPC_S_INVALID_NAF_ID
RPC_NT_CANNOT_SUPPORT RPC_S_CANNOT_SUPPORT
RPC_NT_NO_CONTEXT_AVAILABLE RPC_S_NO_CONTEXT_AVAILABLE
RPC_NT_INTERNAL_ERROR RPC_S_INTERNAL_ERROR
RPC_NT_ZERO_DIVIDE RPC_S_ZERO_DIVIDE
RPC_NT_ADDRESS_ERROR RPC_S_ADDRESS_ERROR
RPC_NT_FP_DIV_ZERO RPC_S_FP_DIV_ZERO
RPC_NT_FP_UNDERFLOW RPC_S_FP_UNDERFLOW
RPC_NT_FP_OVERFLOW RPC_S_FP_OVERFLOW
RPC_NT_CALL_IN_PROGRESS RPC_S_CALL_IN_PROGRESS
RPC_NT_NO_MORE_BINDINGS RPC_S_NO_MORE_BINDINGS
RPC_NT_GROUP_MEMBER_NOT_FOUND RPC_S_GROUP_MEMBER_NOT_FOUND
EPT_NT_CANT_CREATE EPT_S_CANT_CREATE
RPC_NT_INVALID_OBJECT RPC_S_INVALID_OBJECT
RPC_NT_NO_INTERFACES RPC_S_NO_INTERFACES
RPC_NT_CALL_CANCELLED RPC_S_CALL_CANCELLED
RPC_NT_BINDING_INCOMPLETE RPC_S_BINDING_INCOMPLETE
RPC_NT_COMM_FAILURE RPC_S_COMM_FAILURE
RPC_NT_UNSUPPORTED_AUTHN_LEVEL RPC_S_UNSUPPORTED_AUTHN_LEVEL
RPC_NT_NO_PRINC_NAME RPC_S_NO_PRINC_NAME
RPC_NT_NOT_RPC_ERROR RPC_S_NOT_RPC_ERROR
RPC_NT_SEC_PKG_ERROR RPC_S_SEC_PKG_ERROR
RPC_NT_NOT_CANCELLED RPC_S_NOT_CANCELLED
RPC_NT_INVALID_ASYNC_HANDLE RPC_S_INVALID_ASYNC_HANDLE
RPC_NT_INVALID_ASYNC_CALL RPC_S_INVALID_ASYNC_CALL
RPC_NT_NO_MORE_ENTRIES RPC_X_NO_MORE_ENTRIES
RPC_NT_SS_CHAR_TRANS_OPEN_FAIL RPC_X_SS_CHAR_TRANS_OPEN_FAIL
RPC_NT_SS_CHAR_TRANS_SHORT_FILE RPC_X_SS_CHAR_TRANS_SHORT_FILE
RPC_NT_SS_IN_NULL_CONTEXT ERROR_INVALID_HANDLE
RPC_NT_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE
RPC_NT_SS_CONTEXT_DAMAGED RPC_X_SS_CONTEXT_DAMAGED
RPC_NT_SS_HANDLES_MISMATCH RPC_X_SS_HANDLES_MISMATCH
RPC_NT_SS_CANNOT_GET_CALL_HANDLE RPC_X_SS_CANNOT_GET_CALL_HANDLE
RPC_NT_NULL_REF_POINTER RPC_X_NULL_REF_POINTER
RPC_NT_ENUM_VALUE_OUT_OF_RANGE RPC_X_ENUM_VALUE_OUT_OF_RANGE
RPC_NT_BYTE_COUNT_TOO_SMALL RPC_X_BYTE_COUNT_TOO_SMALL
RPC_NT_BAD_STUB_DATA RPC_X_BAD_STUB_DATA
RPC_NT_INVALID_ES_ACTION RPC_X_INVALID_ES_ACTION
RPC_NT_WRONG_ES_VERSION RPC_X_WRONG_ES_VERSION
RPC_NT_WRONG_STUB_VERSION RPC_X_WRONG_STUB_VERSION
RPC_NT_INVALID_PIPE_OBJECT RPC_X_INVALID_PIPE_OBJECT
RPC_NT_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER
RPC_NT_WRONG_PIPE_VERSION RPC_X_WRONG_PIPE_VERSION
RPC_NT_PIPE_CLOSED RPC_X_PIPE_CLOSED
RPC_NT_PIPE_DISCIPLINE_ERROR RPC_X_PIPE_DISCIPLINE_ERROR
RPC_NT_PIPE_EMPTY RPC_X_PIPE_EMPTY
STATUS_CTX_WINSTATION_NAME_INVALID ERROR_CTX_WINSTATION_NAME_INVALID
STATUS_CTX_INVALID_PD ERROR_CTX_INVALID_PD
STATUS_CTX_PD_NOT_FOUND ERROR_CTX_PD_NOT_FOUND
STATUS_CTX_CLOSE_PENDING ERROR_CTX_CLOSE_PENDING
STATUS_CTX_NO_OUTBUF ERROR_CTX_NO_OUTBUF
STATUS_CTX_MODEM_INF_NOT_FOUND ERROR_CTX_MODEM_INF_NOT_FOUND
STATUS_CTX_INVALID_MODEMNAME ERROR_CTX_INVALID_MODEMNAME
STATUS_CTX_RESPONSE_ERROR ERROR_CTX_MODEM_RESPONSE_ERROR
STATUS_CTX_MODEM_RESPONSE_TIMEOUT ERROR_CTX_MODEM_RESPONSE_TIMEOUT
STATUS_CTX_MODEM_RESPONSE_NO_CARRIER ERROR_CTX_MODEM_RESPONSE_NO_CARRIER
STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE
STATUS_CTX_MODEM_RESPONSE_BUSY ERROR_CTX_MODEM_RESPONSE_BUSY
STATUS_CTX_MODEM_RESPONSE_VOICE ERROR_CTX_MODEM_RESPONSE_VOICE
STATUS_CTX_TD_ERROR ERROR_CTX_TD_ERROR
STATUS_CTX_LICENSE_CLIENT_INVALID ERROR_CTX_LICENSE_CLIENT_INVALID
STATUS_CTX_LICENSE_NOT_AVAILABLE ERROR_CTX_LICENSE_NOT_AVAILABLE
STATUS_CTX_LICENSE_EXPIRED ERROR_CTX_LICENSE_EXPIRED
STATUS_CTX_WINSTATION_NOT_FOUND ERROR_CTX_WINSTATION_NOT_FOUND
STATUS_CTX_WINSTATION_NAME_COLLISION ERROR_CTX_WINSTATION_ALREADY_EXISTS
STATUS_CTX_WINSTATION_BUSY ERROR_CTX_WINSTATION_BUSY
STATUS_CTX_BAD_VIDEO_MODE ERROR_CTX_BAD_VIDEO_MODE
STATUS_CTX_GRAPHICS_INVALID ERROR_CTX_GRAPHICS_INVALID
STATUS_CTX_NOT_CONSOLE ERROR_CTX_NOT_CONSOLE
STATUS_CTX_CLIENT_QUERY_TIMEOUT ERROR_CTX_CLIENT_QUERY_TIMEOUT
STATUS_CTX_CONSOLE_DISCONNECT ERROR_CTX_CONSOLE_DISCONNECT
STATUS_CTX_CONSOLE_CONNECT ERROR_CTX_CONSOLE_CONNECT
STATUS_CTX_SHADOW_DENIED ERROR_CTX_SHADOW_DENIED
STATUS_CTX_WINSTATION_ACCESS_DENIED ERROR_CTX_WINSTATION_ACCESS_DENIED
STATUS_CTX_INVALID_WD ERROR_CTX_INVALID_WD
STATUS_CTX_WD_NOT_FOUND ERROR_CTX_WD_NOT_FOUND
STATUS_CTX_SHADOW_INVALID ERROR_CTX_SHADOW_INVALID
STATUS_CTX_SHADOW_DISABLED ERROR_CTX_SHADOW_DISABLED
STATUS_CTX_CLIENT_LICENSE_NOT_SET ERROR_CTX_CLIENT_LICENSE_NOT_SET
STATUS_CTX_CLIENT_LICENSE_IN_USE ERROR_CTX_CLIENT_LICENSE_IN_USE
STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE
STATUS_CTX_SHADOW_NOT_RUNNING ERROR_CTX_SHADOW_NOT_RUNNING
STATUS_CLUSTER_INVALID_NODE ERROR_CLUSTER_INVALID_NODE
STATUS_CLUSTER_NODE_EXISTS ERROR_CLUSTER_NODE_EXISTS
STATUS_CLUSTER_JOIN_IN_PROGRESS ERROR_CLUSTER_JOIN_IN_PROGRESS
STATUS_CLUSTER_NODE_NOT_FOUND ERROR_CLUSTER_NODE_NOT_FOUND
STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND
STATUS_CLUSTER_NETWORK_EXISTS ERROR_CLUSTER_NETWORK_EXISTS
STATUS_CLUSTER_NETWORK_NOT_FOUND ERROR_CLUSTER_NETWORK_NOT_FOUND
STATUS_CLUSTER_NETINTERFACE_EXISTS ERROR_CLUSTER_NETINTERFACE_EXISTS
STATUS_CLUSTER_NETINTERFACE_NOT_FOUND ERROR_CLUSTER_NETINTERFACE_NOT_FOUND
STATUS_CLUSTER_INVALID_REQUEST ERROR_CLUSTER_INVALID_REQUEST
STATUS_CLUSTER_INVALID_NETWORK_PROVIDER ERROR_CLUSTER_INVALID_NETWORK_PROVIDER
STATUS_CLUSTER_NODE_DOWN ERROR_CLUSTER_NODE_DOWN
STATUS_CLUSTER_NODE_UNREACHABLE ERROR_CLUSTER_NODE_UNREACHABLE
STATUS_CLUSTER_NODE_NOT_MEMBER ERROR_CLUSTER_NODE_NOT_MEMBER
STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS
STATUS_CLUSTER_INVALID_NETWORK ERROR_CLUSTER_INVALID_NETWORK
STATUS_CLUSTER_NODE_UP ERROR_CLUSTER_NODE_UP
STATUS_CLUSTER_NODE_PAUSED ERROR_CLUSTER_NODE_PAUSED
STATUS_CLUSTER_NODE_NOT_PAUSED ERROR_CLUSTER_NODE_NOT_PAUSED
STATUS_CLUSTER_NO_SECURITY_CONTEXT ERROR_CLUSTER_NO_SECURITY_CONTEXT
STATUS_CLUSTER_NETWORK_NOT_INTERNAL ERROR_CLUSTER_NETWORK_NOT_INTERNAL
STATUS_SXS_SECTION_NOT_FOUND ERROR_SXS_SECTION_NOT_FOUND
STATUS_SXS_CANT_GEN_ACTCTX ERROR_SXS_CANT_GEN_ACTCTX
STATUS_SXS_INVALID_ACTCTXDATA_FORMAT ERROR_SXS_INVALID_ACTCTXDATA_FORMAT
STATUS_SXS_ASSEMBLY_NOT_FOUND ERROR_SXS_ASSEMBLY_NOT_FOUND
STATUS_SXS_MANIFEST_FORMAT_ERROR ERROR_SXS_MANIFEST_FORMAT_ERROR
STATUS_SXS_MANIFEST_PARSE_ERROR ERROR_SXS_MANIFEST_PARSE_ERROR
STATUS_SXS_ACTIVATION_CONTEXT_DISABLED ERROR_SXS_ACTIVATION_CONTEXT_DISABLED
STATUS_SXS_KEY_NOT_FOUND ERROR_SXS_KEY_NOT_FOUND
STATUS_SXS_VERSION_CONFLICT ERROR_SXS_VERSION_CONFLICT
STATUS_SXS_WRONG_SECTION_TYPE ERROR_SXS_WRONG_SECTION_TYPE
STATUS_SXS_THREAD_QUERIES_DISABLED ERROR_SXS_THREAD_QUERIES_DISABLED
STATUS_SXS_ASSEMBLY_MISSING ERROR_SXS_ASSEMBLY_MISSING
STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET
STATUS_SXS_EARLY_DEACTIVATION ERROR_SXS_EARLY_DEACTIVATION
STATUS_SXS_INVALID_DEACTIVATION ERROR_SXS_INVALID_DEACTIVATION
STATUS_SXS_MULTIPLE_DEACTIVATION ERROR_SXS_MULTIPLE_DEACTIVATION
STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY
STATUS_SXS_PROCESS_TERMINATION_REQUESTED ERROR_SXS_PROCESS_TERMINATION_REQUESTED
STATUS_SXS_CORRUPT_ACTIVATION_STACK ERROR_SXS_CORRUPT_ACTIVATION_STACK
STATUS_SXS_CORRUPTION ERROR_SXS_CORRUPTION
STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE
STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME
STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE
STATUS_SXS_IDENTITY_PARSE_ERROR ERROR_SXS_IDENTITY_PARSE_ERROR
STATUS_SXS_COMPONENT_STORE_CORRUPT ERROR_SXS_COMPONENT_STORE_CORRUPT
STATUS_SXS_FILE_HASH_MISMATCH ERROR_SXS_FILE_HASH_MISMATCH
STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT
STATUS_SXS_IDENTITIES_DIFFERENT ERROR_SXS_IDENTITIES_DIFFERENT
STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT
STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY
STATUS_ADVANCED_INSTALLER_FAILED ERROR_ADVANCED_INSTALLER_FAILED
STATUS_XML_ENCODING_MISMATCH ERROR_XML_ENCODING_MISMATCH
STATUS_SXS_MANIFEST_TOO_BIG ERROR_SXS_MANIFEST_TOO_BIG
STATUS_SXS_SETTING_NOT_REGISTERED ERROR_SXS_SETTING_NOT_REGISTERED
STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE
STATUS_SMI_PRIMITIVE_INSTALLER_FAILED ERROR_SMI_PRIMITIVE_INSTALLER_FAILED
STATUS_GENERIC_COMMAND_FAILED ERROR_GENERIC_COMMAND_FAILED
STATUS_SXS_FILE_HASH_MISSING ERROR_SXS_FILE_HASH_MISSING
)
;
my
%
status
;
my
%
error
;
# read status names
sub
read_status
($)
{
my
$file
=
shift
;
open
STATUS
,
"<$file"
or
die
"cannot open $file"
;
while
(
<
STATUS
>
)
{
next
unless
/^\#define\s+(\w+)\s+\(\(NTSTATUS\)\s*0x([0-9A-Fa-f]+)/
;
my
$str
=
sprintf
(
"0x%08x"
,
hex
$2
);
$status
{
$1
}
=
$str
;
$status
{
$str
}
=
$1
;
}
close
STATUS
;
}
# read error names
sub
read_error
($)
{
my
$file
=
shift
;
open
ERROR
,
"<$file"
or
die
"cannot open $file"
;
while
(
<
ERROR
>
)
{
if
(
/^\#define\s+(\w+)\s+(\d+)/
)
{
my
$str
=
sprintf
(
"0x%08x"
,
$2
);
$error
{
$1
}
=
$str
;
$error
{
$str
}
=
$1
;
next
;
}
if
(
/^\#define\s+(\w+)\s+[A-Z_]+_TYPEDEF_\s*\(\s*0x([0-9A-Fa-f]+)L?\s*\)/
)
{
my
$str
=
sprintf
(
"0x%08x"
,
hex
$2
);
$error
{
$1
}
=
$str
;
$error
{
$str
}
=
$1
;
next
;
}
}
close
ERROR
;
}
# get a status name
sub
get_status_name
($)
{
my
$val
=
shift
;
my
$str
=
sprintf
(
"0x%08x"
,
$val
);
return
$status
{
$str
}
if
defined
$status
{
$str
};
return
$error
{
$str
}
if
$val
>=
0x40000000
&&
$val
<
0xc0000000
&&
defined
$error
{
$str
};
return
""
;
}
# get a status string
sub
get_status_value
($)
{
my
$ntstatus
=
shift
;
return
hex
$ntstatus
if
$ntstatus
=~
/^0[xX]/
;
return
hex
$status
{
$ntstatus
}
if
defined
$status
{
$ntstatus
};
return
hex
$error
{
$ntstatus
}
if
defined
$error
{
$ntstatus
};
die
"unknown status $ntstatus"
;
}
# get an error string
sub
get_error
($)
{
my
$err
=
shift
;
return
$err
unless
$err
=~
/^\d/
;
$err
=
hex
$err
if
$err
=~
/^0[xX]/
;
my
$str
=
sprintf
(
"0x%08x"
,
$err
);
return
$error
{
$str
}
if
defined
$error
{
$str
};
return
$status
{
$str
}
if
$err
>=
0x80000000
&&
defined
$status
{
$str
};
return
sprintf
(
$err
>=
0x10000
?
"0x%08x"
:
"%u"
,
$err
);
}
# build status ranges
sub
build_ranges
(@)
{
my
%
map
=
@_
;
my
@ranges
;
my
@codes
;
my
$start
=
0
;
my
$prev
=
-
1
;
foreach
my
$i
(
sort
keys
%
map
)
{
my
$ntstatus
=
hex
$i
;
my
$err
=
$map
{
$i
};
if
(
$prev
==
-
1
)
{
$start
=
$ntstatus
;
}
elsif
(
$ntstatus
-
$prev
>
8
)
{
push
@ranges
,
[
$start
,
@codes
];
@codes
=
();
$start
=
$ntstatus
;
}
elsif
(
$ntstatus
-
$prev
>
1
)
{
push
@codes
,
qw(ERROR_MR_MID_NOT_FOUND)
x
(
$ntstatus
-
$prev
-
1
);
}
push
@codes
,
$err
;
$prev
=
$ntstatus
;
}
push
@ranges
,
[
$start
,
@codes
];
return
@ranges
;
}
# print a mapping using symbolic names if possible
sub
print_mapping
($$)
{
my
(
$err
,
$ntstatus
)
=
@_
;
printf
OUTPUT
" %-50s "
,
get_error
(
$err
)
.
","
;
my
$str
=
get_status_name
(
$ntstatus
);
printf
OUTPUT
"/* %08x%s */\n"
,
$ntstatus
,
$str
?
" ($str)"
:
""
;
}
# print the map hash using symbols (useful when updating it)
sub
print_map
(@)
{
my
%
map
=
@_
;
foreach
my
$i
(
sort
keys
%
map
)
{
my
$ntstatus
=
hex
$i
;
my
$err
=
$map
{
$i
};
my
$str
=
get_status_name
(
$ntstatus
);
printf
" %-50s %s\n"
,
$str
||
sprintf
(
"0x%08x"
,
$ntstatus
),
get_error
(
$err
);
}
}
sub
print_ranges
(@)
{
my
@ranges
=
@_
;
my
$total
=
0
;
foreach
my
$r
(
@ranges
)
{
$total
+=
@
{
$r
}
-
1
;
}
printf
OUTPUT
"\nstatic const DWORD error_map[%u] =\n{\n"
,
$total
;
foreach
my
$r
(
@ranges
)
{
my
(
$start
,
@codes
)
=
@
{
$r
};
foreach
my
$err
(
@codes
)
{
print_mapping
(
$err
,
$start
++
);
}
}
print
OUTPUT
"};\n\n"
;
printf
OUTPUT
"static const struct { ULONG start, end, offset; } table[%u] =\n{\n"
,
scalar
@ranges
;
my
$offset
=
0
;
foreach
my
$r
(
@ranges
)
{
my
(
$start
,
@codes
)
=
@
{
$r
};
printf
OUTPUT
" { 0x%08x, 0x%08x, %u },\n"
,
$start
,
$start
+
@codes
-
1
,
$offset
;
$offset
+=
@codes
;
}
print
OUTPUT
"};\n"
;
print
OUTPUT
<<EOF;
static ULONG map_status( NTSTATUS status )
{
int low = 0, high = ARRAY_SIZE(table) - 1;
while (low <= high)
{
int pos = (low + high) / 2;
if (status < table[pos].start) high = pos - 1;
else if (status > table[pos].end) low = pos + 1;
else return error_map[table[pos].offset + (status - table[pos].start)];
}
return ERROR_MR_MID_NOT_FOUND;
}
EOF
}
chdir
"../.."
if
-
f
"./make_errors"
;
read_status
(
"include/ntstatus.h"
);
read_error
(
"include/winerror.h"
);
my
%
map
=
map
{
sprintf
(
"%08x"
,
get_status_value
(
$_
))
=>
$error_map
{
$_
}
}
keys
%
error_map
;
if
(
$ARGV
[
0
]
&&
$ARGV
[
0
]
eq
"-l"
)
{
print_map
(
%
map
);
}
my
$file
=
"dlls/ntdll/error.c"
;
open
INPUT
,
"<$file"
or
die
"cannot open $file"
;
open
OUTPUT
,
">$file.new"
or
die
"cannot create $file.new"
;
while
(
<
INPUT
>
)
{
print
OUTPUT
$_
;
last
if
/^\/\*\s+conversion table/
;
}
close
INPUT
;
print_ranges
(
build_ranges
(
%
map
));
close
OUTPUT
;
rename
"$file.new"
,
"$file"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment