Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e0311318
Commit
e0311318
authored
Feb 15, 2016
by
Charles Davis
Committed by
Alexandre Julliard
Feb 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add some more NTSTATUS->DOS error mappings.
Signed-off-by:
Charles Davis
<
cdavis5x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7b21373b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
341 additions
and
120 deletions
+341
-120
error.c
dlls/ntdll/error.c
+199
-118
error.c
dlls/ntdll/tests/error.c
+142
-2
No files found.
dlls/ntdll/error.c
View file @
e0311318
...
...
@@ -40,7 +40,7 @@ struct error_table
const
DWORD
*
table
;
};
static
const
struct
error_table
error_table
[
2
0
];
static
const
struct
error_table
error_table
[
2
9
];
/**************************************************************************
* RtlNtStatusToDosErrorNoTeb (NTDLL.@)
...
...
@@ -175,54 +175,87 @@ void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus( NTSTATUS status )
/* conversion tables */
static
const
DWORD
table_00000
102
[
32
]
=
static
const
DWORD
table_00000
001
[
3
]
=
{
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_ABANDONED_WAIT_63
,
/* 000000bf (STATUS_ABANDONED_WAIT_63) */
ERROR_USER_APC
/* 000000c0 (STATUS_USER_APC) */
};
static
const
DWORD
table_00000100
[
34
]
=
{
ERROR_KERNEL_APC
,
/* 00000100 (STATUS_KERNEL_APC) */
ERROR_ALERTED
,
/* 00000101 (STATUS_ALERTED) */
ERROR_TIMEOUT
,
/* 00000102 (STATUS_TIMEOUT) */
ERROR_IO_PENDING
,
/* 00000103 (STATUS_PENDING) */
0
,
/* 00000104 (STATUS_REPARSE) */
ERROR_REPARSE
,
/* 00000104 (STATUS_REPARSE) */
ERROR_MORE_DATA
,
/* 00000105 (STATUS_MORE_ENTRIES) */
ERROR_NOT_ALL_ASSIGNED
,
/* 00000106 (STATUS_NOT_ALL_ASSIGNED) */
ERROR_SOME_NOT_MAPPED
,
/* 00000107 (STATUS_SOME_NOT_MAPPED) */
0
,
/* 00000108 (STATUS_OPLOCK_BREAK_IN_PROGRESS) */
0
,
/* 00000109 (STATUS_VOLUME_MOUNTED) */
0
,
/* 0000010a (STATUS_RXACT_COMMITTED) */
0
,
/* 0000010b (STATUS_NOTIFY_CLEANUP) */
ERROR_OPLOCK_BREAK_IN_PROGRESS
,
/* 00000108 (STATUS_OPLOCK_BREAK_IN_PROGRESS) */
ERROR_VOLUME_MOUNTED
,
/* 00000109 (STATUS_VOLUME_MOUNTED) */
ERROR_RXACT_COMMITTED
,
/* 0000010a (STATUS_RXACT_COMMITTED) */
ERROR_NOTIFY_CLEANUP
,
/* 0000010b (STATUS_NOTIFY_CLEANUP) */
ERROR_NOTIFY_ENUM_DIR
,
/* 0000010c (STATUS_NOTIFY_ENUM_DIR) */
ERROR_NO_QUOTAS_FOR_ACCOUNT
,
/* 0000010d (STATUS_NO_QUOTAS_FOR_ACCOUNT) */
0
,
/* 0000010e (STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED) */
ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED
,
/* 0000010e (STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED) */
0
,
/* 0000010f */
0
,
/* 00000110 (STATUS_PAGE_FAULT_TRANSITION) */
0
,
/* 00000111 (STATUS_PAGE_FAULT_DEMAND_ZERO) */
0
,
/* 00000112 (STATUS_PAGE_FAULT_COPY_ON_WRITE) */
0
,
/* 00000113 (STATUS_PAGE_FAULT_GUARD_PAGE) */
0
,
/* 00000114 (STATUS_PAGE_FAULT_PAGING_FILE) */
0
,
/* 00000115 (STATUS_CACHE_PAGE_LOCKED) */
0
,
/* 00000116 (STATUS_CRASH_DUMP) */
0
,
/* 00000117 (STATUS_BUFFER_ALL_ZEROS) */
0
,
/* 00000118 (STATUS_REPARSE_OBJECT) */
0
,
/* 00000119 (STATUS_RESOURCE_REQUIREMENTS_CHANGED) */
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) */
ERROR_PAGE_FAULT_GUARD_PAGE
,
/* 00000113 (STATUS_PAGE_FAULT_GUARD_PAGE) */
ERROR_PAGE_FAULT_PAGING_FILE
,
/* 00000114 (STATUS_PAGE_FAULT_PAGING_FILE) */
ERROR_CACHE_PAGE_LOCKED
,
/* 00000115 (STATUS_CACHE_PAGE_LOCKED) */
ERROR_CRASH_DUMP
,
/* 00000116 (STATUS_CRASH_DUMP) */
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 */
0
,
/* 00000120 (STATUS_TRANSLATION_COMPLETE) */
ERROR_TRANSLATION_COMPLETE
,
/* 00000120 (STATUS_TRANSLATION_COMPLETE) */
ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
/* 00000121 (STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY) */
};
static
const
DWORD
table_
40000002
[
36
]
=
static
const
DWORD
table_
00010001
[
2
]
=
{
ERROR_DBG_EXCEPTION_HANDLED
,
/* 00010001 (DBG_EXCEPTION_HANDLED) */
ERROR_DBG_CONTINUE
/* 00010002 (DBG_CONTINUE) */
};
static
const
DWORD
table_40000000
[
45
]
=
{
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) */
ERROR_IMAGE_NOT_AT_BASE
,
/* 40000003 (STATUS_IMAGE_NOT_AT_BASE) */
0
,
/* 40000004 (STATUS_RXACT_STATE_CREATED) */
0
,
/* 40000005 (STATUS_SEGMENT_NOTIFICATION) */
ERROR_RXACT_STATE_CREATED
,
/* 40000004 (STATUS_RXACT_STATE_CREATED) */
ERROR_SEGMENT_NOTIFICATION
,
/* 40000005 (STATUS_SEGMENT_NOTIFICATION) */
ERROR_LOCAL_USER_SESSION_KEY
,
/* 40000006 (STATUS_LOCAL_USER_SESSION_KEY) */
0
,
/* 40000007 (STATUS_BAD_CURRENT_DIRECTORY) */
ERROR_BAD_CURRENT_DIRECTORY
,
/* 40000007 (STATUS_BAD_CURRENT_DIRECTORY) */
ERROR_MORE_WRITES
,
/* 40000008 (STATUS_SERIAL_MORE_WRITES) */
ERROR_REGISTRY_RECOVERED
,
/* 40000009 (STATUS_REGISTRY_RECOVERED) */
0
,
/* 4000000a (STATUS_FT_READ_RECOVERY_FROM_BACKUP) */
0
,
/* 4000000b (STATUS_FT_WRITE_RECOVERY) */
ERROR_FT_READ_RECOVERY_FROM_BACKUP
,
/* 4000000a (STATUS_FT_READ_RECOVERY_FROM_BACKUP) */
ERROR_FT_WRITE_RECOVERY
,
/* 4000000b (STATUS_FT_WRITE_RECOVERY) */
ERROR_COUNTER_TIMEOUT
,
/* 4000000c (STATUS_SERIAL_COUNTER_TIMEOUT) */
ERROR_NULL_LM_PASSWORD
,
/* 4000000d (STATUS_NULL_LM_PASSWORD) */
ERROR_IMAGE_MACHINE_TYPE_MISMATCH
,
/* 4000000e (STATUS_IMAGE_MACHINE_TYPE_MISMATCH) */
...
...
@@ -248,7 +281,19 @@ static const DWORD table_40000002[36] =
0
,
/* 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_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_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
]
=
...
...
@@ -256,6 +301,17 @@ static const DWORD table_40000370[1] =
ERROR_DS_SHUTTING_DOWN
/* 40000370 (STATUS_DS_SHUTTING_DOWN) */
};
static
const
DWORD
table_40010003
[
7
]
=
{
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) */
...
...
@@ -266,7 +322,7 @@ static const DWORD table_400200af[1] =
RPC_S_SEND_INCOMPLETE
/* 400200af (RPC_NT_SEND_INCOMPLETE) */
};
static
const
DWORD
table_80000001
[
39
]
=
static
const
DWORD
table_80000001
[
44
]
=
{
STATUS_GUARD_PAGE_VIOLATION
,
/* 80000001 (STATUS_GUARD_PAGE_VIOLATION) */
ERROR_NOACCESS
,
/* 80000002 (STATUS_DATATYPE_MISALIGNMENT) */
...
...
@@ -274,12 +330,12 @@ static const DWORD table_80000001[39] =
STATUS_SINGLE_STEP
,
/* 80000004 (STATUS_SINGLE_STEP) */
ERROR_MORE_DATA
,
/* 80000005 (STATUS_BUFFER_OVERFLOW) */
ERROR_NO_MORE_FILES
,
/* 80000006 (STATUS_NO_MORE_FILES) */
0
,
/* 80000007 (STATUS_WAKE_SYSTEM_DEBUGGER) */
ERROR_WAKE_SYSTEM_DEBUGGER
,
/* 80000007 (STATUS_WAKE_SYSTEM_DEBUGGER) */
0
,
/* 80000008 */
0
,
/* 80000009 */
ERROR_HANDLES_CLOSED
,
/* 8000000a (STATUS_HANDLES_CLOSED) */
ERROR_NO_INHERITANCE
,
/* 8000000b (STATUS_NO_INHERITANCE) */
0
,
/* 8000000c (STATUS_GUID_SUBSTITUTION_MADE) */
ERROR_GUID_SUBSTITUTION_MADE
,
/* 8000000c (STATUS_GUID_SUBSTITUTION_MADE) */
ERROR_PARTIAL_COPY
,
/* 8000000d (STATUS_PARTIAL_COPY) */
ERROR_OUT_OF_PAPER
,
/* 8000000e (STATUS_DEVICE_PAPER_EMPTY) */
ERROR_NOT_READY
,
/* 8000000f (STATUS_DEVICE_POWERED_OFF) */
...
...
@@ -290,8 +346,8 @@ static const DWORD table_80000001[39] =
ERROR_EA_LIST_INCONSISTENT
,
/* 80000014 (STATUS_EA_LIST_INCONSISTENT) */
ERROR_EA_LIST_INCONSISTENT
,
/* 80000015 (STATUS_INVALID_EA_FLAG) */
ERROR_MEDIA_CHANGED
,
/* 80000016 (STATUS_VERIFY_REQUIRED) */
0
,
/* 80000017 (STATUS_EXTRANEOUS_INFORMATION) */
0
,
/* 80000018 (STATUS_RXACT_COMMIT_NECESSARY) */
ERROR_EXTRANEOUS_INFORMATION
,
/* 80000017 (STATUS_EXTRANEOUS_INFORMATION) */
ERROR_RXACT_COMMIT_NECESSARY
,
/* 80000018 (STATUS_RXACT_COMMIT_NECESSARY) */
0
,
/* 80000019 */
ERROR_NO_MORE_ITEMS
,
/* 8000001a (STATUS_NO_MORE_ENTRIES) */
ERROR_FILEMARK_DETECTED
,
/* 8000001b (STATUS_FILEMARK_DETECTED) */
...
...
@@ -299,14 +355,19 @@ static const DWORD table_80000001[39] =
ERROR_BUS_RESET
,
/* 8000001d (STATUS_BUS_RESET) */
ERROR_END_OF_MEDIA
,
/* 8000001e (STATUS_END_OF_MEDIA) */
ERROR_BEGINNING_OF_MEDIA
,
/* 8000001f (STATUS_BEGINNING_OF_MEDIA) */
0
,
/* 80000020 (STATUS_MEDIA_CHECK) */
ERROR_MEDIA_CHECK
,
/* 80000020 (STATUS_MEDIA_CHECK) */
ERROR_SETMARK_DETECTED
,
/* 80000021 (STATUS_SETMARK_DETECTED) */
ERROR_NO_DATA_DETECTED
,
/* 80000022 (STATUS_NO_DATA_DETECTED) */
0
,
/* 80000023 (STATUS_REDIRECTOR_HAS_OPEN_HANDLES) */
0
,
/* 80000024 (STATUS_SERVER_HAS_OPEN_HANDLES) */
ERROR_REDIRECTOR_HAS_OPEN_HANDLES
,
/* 80000023 (STATUS_REDIRECTOR_HAS_OPEN_HANDLES) */
ERROR_SERVER_HAS_OPEN_HANDLES
,
/* 80000024 (STATUS_SERVER_HAS_OPEN_HANDLES) */
ERROR_ACTIVE_CONNECTIONS
,
/* 80000025 (STATUS_ALREADY_DISCONNECTED) */
0
,
/* 80000026 (STATUS_LONGJUMP) */
ERROR_CLEANER_CARTRIDGE_INSTALLED
/* 80000027 (STATUS_CLEANER_CARTRIDGE_INSTALLED) */
ERROR_LONGJUMP
,
/* 80000026 (STATUS_LONGJUMP) */
ERROR_CLEANER_CARTRIDGE_INSTALLED
,
/* 80000027 (STATUS_CLEANER_CARTRIDGE_INSTALLED) */
ERROR_PLUGPLAY_QUERY_VETOED
,
/* 80000028 (STATUS_PLUGPLAY_QUERY_VETOED) */
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
]
=
...
...
@@ -315,6 +376,11 @@ static const DWORD table_80000288[2] =
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_NO_SYSTEM_RESOURCES
,
/* 80090300 (SEC_E_INSUFFICIENT_MEMORY) */
...
...
@@ -413,7 +479,7 @@ static const DWORD table_80130001[5] =
ERROR_CLUSTER_NODE_ALREADY_MEMBER
/* 80130005 (STATUS_CLUSTER_NODE_ALREADY_MEMBER) */
};
static
const
DWORD
table_c0000001
[
41
1
]
=
static
const
DWORD
table_c0000001
[
41
2
]
=
{
ERROR_GEN_FAILURE
,
/* c0000001 (STATUS_UNSUCCESSFUL) */
ERROR_INVALID_FUNCTION
,
/* c0000002 (STATUS_NOT_IMPLEMENTED) */
...
...
@@ -711,18 +777,18 @@ static const DWORD table_c0000001[411] =
ERROR_SPECIAL_USER
,
/* c0000126 (STATUS_SPECIAL_USER) */
ERROR_MEMBERS_PRIMARY_GROUP
,
/* c0000127 (STATUS_MEMBERS_PRIMARY_GROUP) */
ERROR_INVALID_HANDLE
,
/* c0000128 (STATUS_FILE_CLOSED) */
0
,
/* c0000129 (STATUS_TOO_MANY_THREADS) */
0
,
/* c000012a (STATUS_THREAD_NOT_IN_PROCESS) */
ERROR_TOO_MANY_THREADS
,
/* c0000129 (STATUS_TOO_MANY_THREADS) */
ERROR_THREAD_NOT_IN_PROCESS
,
/* c000012a (STATUS_THREAD_NOT_IN_PROCESS) */
ERROR_TOKEN_ALREADY_IN_USE
,
/* c000012b (STATUS_TOKEN_ALREADY_IN_USE) */
0
,
/* c000012c (STATUS_PAGEFILE_QUOTA_EXCEEDED) */
ERROR_PAGEFILE_QUOTA_EXCEEDED
,
/* c000012c (STATUS_PAGEFILE_QUOTA_EXCEEDED) */
ERROR_COMMITMENT_LIMIT
,
/* c000012d (STATUS_COMMITMENT_LIMIT) */
ERROR_BAD_EXE_FORMAT
,
/* c000012e (STATUS_INVALID_IMAGE_LE_FORMAT) */
ERROR_BAD_EXE_FORMAT
,
/* c000012f (STATUS_INVALID_IMAGE_NOT_MZ) */
ERROR_BAD_EXE_FORMAT
,
/* c0000130 (STATUS_INVALID_IMAGE_PROTECT) */
ERROR_BAD_EXE_FORMAT
,
/* c0000131 (STATUS_INVALID_IMAGE_WIN_16) */
0
,
/* c0000132 (STATUS_LOGON_SERVER_CONFLICT) */
ERROR_LOGON_SERVER_CONFLICT
,
/* c0000132 (STATUS_LOGON_SERVER_CONFLICT) */
ERROR_TIME_SKEW
,
/* c0000133 (STATUS_TIME_DIFFERENCE_AT_DC) */
0
,
/* c0000134 (STATUS_SYNCHRONIZATION_REQUIRED) */
ERROR_SYNCHRONIZATION_REQUIRED
,
/* c0000134 (STATUS_SYNCHRONIZATION_REQUIRED) */
ERROR_MOD_NOT_FOUND
,
/* c0000135 (STATUS_DLL_NOT_FOUND) */
ERROR_NET_OPEN_FAILED
,
/* c0000136 (STATUS_OPEN_FAILED) */
ERROR_IO_PRIVILEGE_FAILED
,
/* c0000137 (STATUS_IO_PRIVILEGE_FAILED) */
...
...
@@ -767,10 +833,10 @@ static const DWORD table_c0000001[411] =
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) */
0
,
/* c0000161 (STATUS_ILLEGAL_CHARACTER) */
ERROR_ILLEGAL_CHARACTER
,
/* c0000161 (STATUS_ILLEGAL_CHARACTER) */
ERROR_NO_UNICODE_TRANSLATION
,
/* c0000162 (STATUS_UNMAPPABLE_CHARACTER) */
0
,
/* c0000163 (STATUS_UNDEFINED_CHARACTER) */
0
,
/* c0000164 (STATUS_FLOPPY_VOLUME) */
ERROR_UNDEFINED_CHARACTER
,
/* c0000163 (STATUS_UNDEFINED_CHARACTER) */
ERROR_FLOPPY_VOLUME
,
/* c0000164 (STATUS_FLOPPY_VOLUME) */
ERROR_FLOPPY_ID_MARK_NOT_FOUND
,
/* c0000165 (STATUS_FLOPPY_ID_MARK_NOT_FOUND) */
ERROR_FLOPPY_WRONG_CYLINDER
,
/* c0000166 (STATUS_FLOPPY_WRONG_CYLINDER) */
ERROR_FLOPPY_UNKNOWN_ERROR
,
/* c0000167 (STATUS_FLOPPY_UNKNOWN_ERROR) */
...
...
@@ -780,7 +846,7 @@ static const DWORD table_c0000001[411] =
ERROR_DISK_RESET_FAILED
,
/* c000016b (STATUS_DISK_RESET_FAILED) */
ERROR_IRQ_BUSY
,
/* c000016c (STATUS_SHARED_IRQ_BUSY) */
ERROR_IO_DEVICE
,
/* c000016d (STATUS_FT_ORPHANING) */
0
,
/* c000016e (STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT) */
ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT
,
/* c000016e (STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT) */
0
,
/* c000016f */
0
,
/* c0000170 */
0
,
/* c0000171 */
...
...
@@ -805,7 +871,7 @@ static const DWORD table_c0000001[411] =
ERROR_BAD_COMMAND
,
/* c0000184 (STATUS_INVALID_DEVICE_STATE) */
ERROR_IO_DEVICE
,
/* c0000185 (STATUS_IO_DEVICE_ERROR) */
ERROR_IO_DEVICE
,
/* c0000186 (STATUS_DEVICE_PROTOCOL_ERROR) */
0
,
/* c0000187 (STATUS_BACKUP_CONTROLLER) */
ERROR_BACKUP_CONTROLLER
,
/* c0000187 (STATUS_BACKUP_CONTROLLER) */
ERROR_LOG_FILE_FULL
,
/* c0000188 (STATUS_LOG_FILE_FULL) */
ERROR_WRITE_PROTECT
,
/* c0000189 (STATUS_TOO_LATE) */
ERROR_NO_TRUST_LSA_SECRET
,
/* c000018a (STATUS_NO_TRUST_LSA_SECRET) */
...
...
@@ -815,7 +881,7 @@ static const DWORD table_c0000001[411] =
ERROR_EVENTLOG_FILE_CORRUPT
,
/* c000018e (STATUS_EVENTLOG_FILE_CORRUPT) */
ERROR_EVENTLOG_CANT_START
,
/* c000018f (STATUS_EVENTLOG_CANT_START) */
ERROR_TRUST_FAILURE
,
/* c0000190 (STATUS_TRUST_FAILURE) */
0
,
/* c0000191 (STATUS_MUTANT_LIMIT_EXCEEDED) */
ERROR_MUTANT_LIMIT_EXCEEDED
,
/* c0000191 (STATUS_MUTANT_LIMIT_EXCEEDED) */
ERROR_NETLOGON_NOT_STARTED
,
/* c0000192 (STATUS_NETLOGON_NOT_STARTED) */
ERROR_ACCOUNT_EXPIRED
,
/* c0000193 (STATUS_ACCOUNT_EXPIRED) */
ERROR_POSSIBLE_DEADLOCK
,
/* c0000194 (STATUS_POSSIBLE_DEADLOCK) */
...
...
@@ -825,7 +891,8 @@ static const DWORD table_c0000001[411] =
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_DOMAIN_TRUST_INCONSISTENT
,
/* c000019b (STATUS_DOMAIN_TRUST_INCONSISTENT) */
ERROR_FS_DRIVER_REQUIRED
/* c000019c (STATUS_FS_DRIVER_REQUIRED) */
};
static
const
DWORD
table_c0000202
[
396
]
=
...
...
@@ -852,33 +919,33 @@ static const DWORD table_c0000202[396] =
ERROR_UNEXP_NET_ERR
,
/* c0000215 (STATUS_TRANSACTION_INVALID_TYPE) */
ERROR_NOT_SUPPORTED
,
/* c0000216 (STATUS_NOT_SERVER_SESSION) */
ERROR_NOT_SUPPORTED
,
/* c0000217 (STATUS_NOT_CLIENT_SESSION) */
0
,
/* c0000218 (STATUS_CANNOT_LOAD_REGISTRY_FILE) */
0
,
/* c0000219 (STATUS_DEBUG_ATTACH_FAILED) */
0
,
/* c000021a (STATUS_SYSTEM_PROCESS_TERMINATED) */
0
,
/* c000021b (STATUS_DATA_NOT_ACCEPTED) */
ERROR_CANNOT_LOAD_REGISTRY_FILE
,
/* c0000218 (STATUS_CANNOT_LOAD_REGISTRY_FILE) */
ERROR_DEBUG_ATTACH_FAILED
,
/* c0000219 (STATUS_DEBUG_ATTACH_FAILED) */
ERROR_SYSTEM_PROCESS_TERMINATED
,
/* c000021a (STATUS_SYSTEM_PROCESS_TERMINATED) */
ERROR_DATA_NOT_ACCEPTED
,
/* c000021b (STATUS_DATA_NOT_ACCEPTED) */
ERROR_NO_BROWSER_SERVERS_FOUND
,
/* c000021c (STATUS_NO_BROWSER_SERVERS_FOUND) */
0
,
/* c000021d (STATUS_VDM_HARD_ERROR) */
0
,
/* c000021e (STATUS_DRIVER_CANCEL_TIMEOUT) */
0
,
/* c000021f (STATUS_REPLY_MESSAGE_MISMATCH) */
ERROR_VDM_HARD_ERROR
,
/* c000021d (STATUS_VDM_HARD_ERROR) */
ERROR_DRIVER_CANCEL_TIMEOUT
,
/* c000021e (STATUS_DRIVER_CANCEL_TIMEOUT) */
ERROR_REPLY_MESSAGE_MISMATCH
,
/* c000021f (STATUS_REPLY_MESSAGE_MISMATCH) */
ERROR_MAPPED_ALIGNMENT
,
/* c0000220 (STATUS_MAPPED_ALIGNMENT) */
ERROR_BAD_EXE_FORMAT
,
/* c0000221 (STATUS_IMAGE_CHECKSUM_MISMATCH) */
0
,
/* c0000222 (STATUS_LOST_WRITEBEHIND_DATA) */
0
,
/* c0000223 (STATUS_CLIENT_SERVER_PARAMETERS_INVALID) */
ERROR_LOST_WRITEBEHIND_DATA
,
/* c0000222 (STATUS_LOST_WRITEBEHIND_DATA) */
ERROR_CLIENT_SERVER_PARAMETERS_INVALID
,
/* c0000223 (STATUS_CLIENT_SERVER_PARAMETERS_INVALID) */
ERROR_PASSWORD_MUST_CHANGE
,
/* c0000224 (STATUS_PASSWORD_MUST_CHANGE) */
ERROR_NOT_FOUND
,
/* c0000225 (STATUS_NOT_FOUND) */
0
,
/* c0000226 (STATUS_NOT_TINY_STREAM) */
ERROR_NOT_TINY_STREAM
,
/* c0000226 (STATUS_NOT_TINY_STREAM) */
0
,
/* c0000227 (STATUS_RECOVERY_FAILURE) */
0
,
/* c0000228 (STATUS_STACK_OVERFLOW_READ) */
ERROR_STACK_OVERFLOW_READ
,
/* c0000228 (STATUS_STACK_OVERFLOW_READ) */
ERROR_INVALID_PARAMETER
,
/* c0000229 (STATUS_FAIL_CHECK) */
ERROR_OBJECT_ALREADY_EXISTS
,
/* c000022a (STATUS_DUPLICATE_OBJECTID) */
ERROR_OBJECT_ALREADY_EXISTS
,
/* c000022b (STATUS_OBJECTID_EXISTS) */
0
,
/* c000022c (STATUS_CONVERT_TO_LARGE) */
ERROR_CONVERT_TO_LARGE
,
/* c000022c (STATUS_CONVERT_TO_LARGE) */
ERROR_RETRY
,
/* c000022d (STATUS_RETRY) */
0
,
/* c000022e (STATUS_FOUND_OUT_OF_SCOPE) */
0
,
/* c000022f (STATUS_ALLOCATE_BUCKET) */
ERROR_FOUND_OUT_OF_SCOPE
,
/* c000022e (STATUS_FOUND_OUT_OF_SCOPE) */
ERROR_ALLOCATE_BUCKET
,
/* c000022f (STATUS_ALLOCATE_BUCKET) */
ERROR_SET_NOT_FOUND
,
/* c0000230 (STATUS_PROPSET_NOT_FOUND) */
0
,
/* c0000231 (STATUS_MARSHALL_OVERFLOW) */
0
,
/* c0000232 (STATUS_INVALID_VARIANT) */
ERROR_MARSHALL_OVERFLOW
,
/* c0000231 (STATUS_MARSHALL_OVERFLOW) */
ERROR_INVALID_VARIANT
,
/* c0000232 (STATUS_INVALID_VARIANT) */
ERROR_DOMAIN_CONTROLLER_NOT_FOUND
,
/* c0000233 (STATUS_DOMAIN_CONTROLLER_NOT_FOUND) */
ERROR_ACCOUNT_LOCKED_OUT
,
/* c0000234 (STATUS_ACCOUNT_LOCKED_OUT) */
ERROR_INVALID_HANDLE
,
/* c0000235 (STATUS_HANDLE_NOT_CLOSABLE) */
...
...
@@ -894,10 +961,10 @@ static const DWORD table_c0000202[396] =
ERROR_PORT_UNREACHABLE
,
/* c000023f (STATUS_PORT_UNREACHABLE) */
ERROR_REQUEST_ABORTED
,
/* c0000240 (STATUS_REQUEST_ABORTED) */
ERROR_CONNECTION_ABORTED
,
/* c0000241 (STATUS_CONNECTION_ABORTED) */
0
,
/* c0000242 (STATUS_BAD_COMPRESSION_BUFFER) */
ERROR_BAD_COMPRESSION_BUFFER
,
/* c0000242 (STATUS_BAD_COMPRESSION_BUFFER) */
ERROR_USER_MAPPED_FILE
,
/* c0000243 (STATUS_USER_MAPPED_FILE) */
0
,
/* c0000244 (STATUS_AUDIT_FAILED) */
0
,
/* c0000245 (STATUS_TIMER_RESOLUTION_NOT_SET) */
ERROR_AUDIT_FAILED
,
/* c0000244 (STATUS_AUDIT_FAILED) */
ERROR_TIMER_RESOLUTION_NOT_SET
,
/* c0000245 (STATUS_TIMER_RESOLUTION_NOT_SET) */
ERROR_CONNECTION_COUNT_LIMIT
,
/* c0000246 (STATUS_CONNECTION_COUNT_LIMIT) */
ERROR_LOGIN_TIME_RESTRICTION
,
/* c0000247 (STATUS_LOGIN_TIME_RESTRICTION) */
ERROR_LOGIN_WKSTA_RESTRICTION
,
/* c0000248 (STATUS_LOGIN_WKSTA_RESTRICTION) */
...
...
@@ -908,42 +975,42 @@ static const DWORD table_c0000202[396] =
0
,
/* c000024d */
0
,
/* c000024e */
0
,
/* c000024f */
0
,
/* c0000250 (STATUS_INSUFFICIENT_LOGON_INFO) */
0
,
/* c0000251 (STATUS_BAD_DLL_ENTRYPOINT) */
0
,
/* c0000252 (STATUS_BAD_SERVICE_ENTRYPOINT) */
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) */
ERROR_CONNECTION_ABORTED
,
/* c0000253 (STATUS_LPC_REPLY_LOST) */
0
,
/* c0000254 (STATUS_IP_ADDRESS_CONFLICT1) */
0
,
/* c0000255 (STATUS_IP_ADDRESS_CONFLICT2) */
0
,
/* c0000256 (STATUS_REGISTRY_QUOTA_LIMIT) */
ERROR_IP_ADDRESS_CONFLICT1
,
/* c0000254 (STATUS_IP_ADDRESS_CONFLICT1) */
ERROR_IP_ADDRESS_CONFLICT2
,
/* c0000255 (STATUS_IP_ADDRESS_CONFLICT2) */
ERROR_REGISTRY_QUOTA_LIMIT
,
/* c0000256 (STATUS_REGISTRY_QUOTA_LIMIT) */
ERROR_HOST_UNREACHABLE
,
/* c0000257 (STATUS_PATH_NOT_COVERED) */
0
,
/* c0000258 (STATUS_NO_CALLBACK_ACTIVE) */
ERROR_NO_CALLBACK_ACTIVE
,
/* c0000258 (STATUS_NO_CALLBACK_ACTIVE) */
ERROR_LICENSE_QUOTA_EXCEEDED
,
/* c0000259 (STATUS_LICENSE_QUOTA_EXCEEDED) */
0
,
/* c000025a (STATUS_PWD_TOO_SHORT) */
0
,
/* c000025b (STATUS_PWD_TOO_RECENT) */
0
,
/* c000025c (STATUS_PWD_HISTORY_CONFLICT) */
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_SERVICE_DISABLED
,
/* c000025e (STATUS_PLUGPLAY_NO_DEVICE) */
0
,
/* c000025f (STATUS_UNSUPPORTED_COMPRESSION) */
0
,
/* c0000260 (STATUS_INVALID_HW_PROFILE) */
0
,
/* c0000261 (STATUS_INVALID_PLUGPLAY_DEVICE_PATH) */
ERROR_UNSUPPORTED_COMPRESSION
,
/* c000025f (STATUS_UNSUPPORTED_COMPRESSION) */
ERROR_INVALID_HW_PROFILE
,
/* c0000260 (STATUS_INVALID_HW_PROFILE) */
ERROR_INVALID_PLUGPLAY_DEVICE_PATH
,
/* c0000261 (STATUS_INVALID_PLUGPLAY_DEVICE_PATH) */
ERROR_INVALID_ORDINAL
,
/* c0000262 (STATUS_DRIVER_ORDINAL_NOT_FOUND) */
ERROR_PROC_NOT_FOUND
,
/* c0000263 (STATUS_DRIVER_ENTRYPOINT_NOT_FOUND) */
ERROR_NOT_OWNER
,
/* c0000264 (STATUS_RESOURCE_NOT_OWNED) */
ERROR_TOO_MANY_LINKS
,
/* c0000265 (STATUS_TOO_MANY_LINKS) */
0
,
/* c0000266 (STATUS_QUOTA_LIST_INCONSISTENT) */
ERROR_QUOTA_LIST_INCONSISTENT
,
/* c0000266 (STATUS_QUOTA_LIST_INCONSISTENT) */
ERROR_FILE_OFFLINE
,
/* c0000267 (STATUS_FILE_IS_OFFLINE) */
0
,
/* c0000268 (STATUS_EVALUATION_EXPIRATION) */
0
,
/* c0000269 (STATUS_ILLEGAL_DLL_RELOCATION) */
ERROR_EVALUATION_EXPIRATION
,
/* c0000268 (STATUS_EVALUATION_EXPIRATION) */
ERROR_ILLEGAL_DLL_RELOCATION
,
/* c0000269 (STATUS_ILLEGAL_DLL_RELOCATION) */
ERROR_CTX_LICENSE_NOT_AVAILABLE
,
/* c000026a (STATUS_LICENSE_VIOLATION) */
0
,
/* c000026b (STATUS_DLL_INIT_FAILED_LOGOFF) */
ERROR_DLL_INIT_FAILED_LOGOFF
,
/* c000026b (STATUS_DLL_INIT_FAILED_LOGOFF) */
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) */
0
,
/* c0000271 (STATUS_VALIDATE_CONTINUE) */
ERROR_VALIDATE_CONTINUE
,
/* c0000271 (STATUS_VALIDATE_CONTINUE) */
ERROR_NO_MATCH
,
/* c0000272 (STATUS_NO_MATCH) */
0
,
/* c0000273 (STATUS_NO_MORE_MATCHES) */
ERROR_NO_MORE_MATCHES
,
/* c0000273 (STATUS_NO_MORE_MATCHES) */
0
,
/* c0000274 */
ERROR_NOT_A_REPARSE_POINT
,
/* c0000275 (STATUS_NOT_A_REPARSE_POINT) */
ERROR_REPARSE_TAG_INVALID
,
/* c0000276 (STATUS_IO_REPARSE_TAG_INVALID) */
...
...
@@ -958,7 +1025,7 @@ static const DWORD table_c0000202[396] =
0
,
/* c000027f */
ERROR_CANT_RESOLVE_FILENAME
,
/* c0000280 (STATUS_REPARSE_POINT_NOT_RESOLVED) */
ERROR_BAD_PATHNAME
,
/* c0000281 (STATUS_DIRECTORY_IS_A_REPARSE_POINT) */
0
,
/* c0000282 (STATUS_RANGE_LIST_CONFLICT) */
ERROR_RANGE_LIST_CONFLICT
,
/* c0000282 (STATUS_RANGE_LIST_CONFLICT) */
ERROR_SOURCE_ELEMENT_EMPTY
,
/* c0000283 (STATUS_SOURCE_ELEMENT_EMPTY) */
ERROR_DESTINATION_ELEMENT_FULL
,
/* c0000284 (STATUS_DESTINATION_ELEMENT_FULL) */
ERROR_ILLEGAL_ELEMENT_ADDRESS
,
/* c0000285 (STATUS_ILLEGAL_ELEMENT_ADDRESS) */
...
...
@@ -968,7 +1035,7 @@ static const DWORD table_c0000202[396] =
0
,
/* c0000289 */
ERROR_ACCESS_DENIED
,
/* c000028a (STATUS_ENCRYPTION_FAILED) */
ERROR_ACCESS_DENIED
,
/* c000028b (STATUS_DECRYPTION_FAILED) */
0
,
/* c000028c (STATUS_RANGE_NOT_FOUND) */
ERROR_RANGE_NOT_FOUND
,
/* c000028c (STATUS_RANGE_NOT_FOUND) */
ERROR_ACCESS_DENIED
,
/* c000028d (STATUS_NO_RECOVERY_POLICY) */
ERROR_ACCESS_DENIED
,
/* c000028e (STATUS_NO_EFS) */
ERROR_ACCESS_DENIED
,
/* c000028f (STATUS_WRONG_EFS) */
...
...
@@ -988,7 +1055,7 @@ static const DWORD table_c0000202[396] =
ERROR_REMOTE_STORAGE_NOT_ACTIVE
,
/* c000029d (STATUS_REMOTE_STORAGE_NOT_ACTIVE) */
ERROR_REMOTE_STORAGE_MEDIA_ERROR
,
/* c000029e (STATUS_REMOTE_STORAGE_MEDIA_ERROR) */
ERROR_NO_TRACKING_SERVICE
,
/* c000029f (STATUS_NO_TRACKING_SERVICE) */
0
,
/* c00002a0 (STATUS_SERVER_SID_MISMATCH) */
ERROR_SERVER_SID_MISMATCH
,
/* c00002a0 (STATUS_SERVER_SID_MISMATCH) */
ERROR_DS_NO_ATTRIBUTE_OR_VALUE
,
/* c00002a1 (STATUS_DS_NO_ATTRIBUTE_OR_VALUE) */
ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
,
/* c00002a2 (STATUS_DS_INVALID_ATTRIBUTE_SYNTAX) */
ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED
,
/* c00002a3 (STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED) */
...
...
@@ -1007,13 +1074,13 @@ static const DWORD table_c0000202[396] =
ERROR_DS_GC_NOT_AVAILABLE
,
/* c00002b0 (STATUS_DS_GC_NOT_AVAILABLE) */
ERROR_DS_DS_REQUIRED
,
/* c00002b1 (STATUS_DIRECTORY_SERVICE_REQUIRED) */
ERROR_REPARSE_ATTRIBUTE_CONFLICT
,
/* c00002b2 (STATUS_REPARSE_ATTRIBUTE_CONFLICT) */
0
,
/* c00002b3 (STATUS_CANT_ENABLE_DENY_ONLY) */
0
,
/* c00002b4 (STATUS_FLOAT_MULTIPLE_FAULTS) */
0
,
/* c00002b5 (STATUS_FLOAT_MULTIPLE_TRAPS) */
ERROR_CANT_ENABLE_DENY_ONLY
,
/* c00002b3 (STATUS_CANT_ENABLE_DENY_ONLY) */
ERROR_FLOAT_MULTIPLE_FAULTS
,
/* c00002b4 (STATUS_FLOAT_MULTIPLE_FAULTS) */
ERROR_FLOAT_MULTIPLE_TRAPS
,
/* c00002b5 (STATUS_FLOAT_MULTIPLE_TRAPS) */
ERROR_DEVICE_REMOVED
,
/* c00002b6 (STATUS_DEVICE_REMOVED) */
ERROR_JOURNAL_DELETE_IN_PROGRESS
,
/* c00002b7 (STATUS_JOURNAL_DELETE_IN_PROGRESS) */
ERROR_JOURNAL_NOT_ACTIVE
,
/* c00002b8 (STATUS_JOURNAL_NOT_ACTIVE) */
0
,
/* c00002b9 (STATUS_NOINTERFACE) */
ERROR_NOINTERFACE
,
/* c00002b9 (STATUS_NOINTERFACE) */
0
,
/* c00002ba */
0
,
/* c00002bb */
0
,
/* c00002bc */
...
...
@@ -1022,23 +1089,23 @@ static const DWORD table_c0000202[396] =
0
,
/* c00002bf */
0
,
/* c00002c0 */
ERROR_DS_ADMIN_LIMIT_EXCEEDED
,
/* c00002c1 (STATUS_DS_ADMIN_LIMIT_EXCEEDED) */
0
,
/* c00002c2 (STATUS_DRIVER_FAILED_SLEEP) */
ERROR_DRIVER_FAILED_SLEEP
,
/* c00002c2 (STATUS_DRIVER_FAILED_SLEEP) */
ERROR_MUTUAL_AUTH_FAILED
,
/* c00002c3 (STATUS_MUTUAL_AUTHENTICATION_FAILED) */
0
,
/* c00002c4 (STATUS_CORRUPT_SYSTEM_FILE) */
ERROR_CORRUPT_SYSTEM_FILE
,
/* c00002c4 (STATUS_CORRUPT_SYSTEM_FILE) */
ERROR_NOACCESS
,
/* c00002c5 (STATUS_DATATYPE_MISALIGNMENT_ERROR) */
ERROR_WMI_READ_ONLY
,
/* c00002c6 (STATUS_WMI_READ_ONLY) */
ERROR_WMI_SET_FAILURE
,
/* c00002c7 (STATUS_WMI_SET_FAILURE) */
0
,
/* c00002c8 (STATUS_COMMITMENT_MINIMUM) */
ERROR_COMMITMENT_MINIMUM
,
/* c00002c8 (STATUS_COMMITMENT_MINIMUM) */
ERROR_REG_NAT_CONSUMPTION
,
/* c00002c9 (STATUS_REG_NAT_CONSUMPTION) */
ERROR_TRANSPORT_FULL
,
/* c00002ca (STATUS_TRANSPORT_FULL) */
ERROR_DS_SAM_INIT_FAILURE
,
/* c00002cb (STATUS_DS_SAM_INIT_FAILURE) */
ERROR_ONLY_IF_CONNECTED
,
/* c00002cc (STATUS_ONLY_IF_CONNECTED) */
ERROR_DS_SENSITIVE_GROUP_VIOLATION
,
/* c00002cd (STATUS_DS_SENSITIVE_GROUP_VIOLATION) */
0
,
/* c00002ce (STATUS_PNP_RESTART_ENUMERATION) */
ERROR_PNP_RESTART_ENUMERATION
,
/* c00002ce (STATUS_PNP_RESTART_ENUMERATION) */
ERROR_JOURNAL_ENTRY_DELETED
,
/* c00002cf (STATUS_JOURNAL_ENTRY_DELETED) */
ERROR_DS_CANT_MOD_PRIMARYGROUPID
,
/* c00002d0 (STATUS_DS_CANT_MOD_PRIMARYGROUPID) */
0
,
/* c00002d1 (STATUS_SYSTEM_IMAGE_BAD_SIGNATURE) */
0
,
/* c00002d2 (STATUS_PNP_REBOOT_REQUIRED) */
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_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) */
...
...
@@ -1050,7 +1117,7 @@ static const DWORD table_c0000202[396] =
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) */
0
,
/* c00002de (STATUS_INSUFFICIENT_POWER) */
ERROR_INSUFFICIENT_POWER
,
/* c00002de (STATUS_INSUFFICIENT_POWER) */
ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD
,
/* c00002df (STATUS_SAM_NEED_BOOTKEY_PASSWORD) */
ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY
,
/* c00002e0 (STATUS_SAM_NEED_BOOTKEY_FLOPPY) */
ERROR_DS_CANT_START
,
/* c00002e1 (STATUS_DS_CANT_START) */
...
...
@@ -1060,10 +1127,10 @@ static const DWORD table_c0000202[396] =
ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
,
/* c00002e5 (STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY) */
ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS
,
/* c00002e6 (STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS) */
ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
,
/* c00002e7 (STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED) */
0
,
/* c00002e8 (STATUS_MULTIPLE_FAULT_VIOLATION) */
ERROR_MULTIPLE_FAULT_VIOLATION
,
/* c00002e8 (STATUS_MULTIPLE_FAULT_VIOLATION) */
ERROR_CURRENT_DOMAIN_NOT_ALLOWED
,
/* c00002e9 (STATUS_CURRENT_DOMAIN_NOT_ALLOWED) */
ERROR_CANNOT_MAKE
,
/* c00002ea (STATUS_CANNOT_MAKE) */
0
,
/* c00002eb (STATUS_SYSTEM_SHUTDOWN) */
ERROR_SYSTEM_SHUTDOWN
,
/* c00002eb (STATUS_SYSTEM_SHUTDOWN) */
ERROR_DS_INIT_FAILURE_CONSOLE
,
/* c00002ec (STATUS_DS_INIT_FAILURE_CONSOLE) */
ERROR_DS_SAM_INIT_FAILURE_CONSOLE
,
/* c00002ed (STATUS_DS_SAM_INIT_FAILURE_CONSOLE) */
SEC_E_UNFINISHED_CONTEXT_DELETED
,
/* c00002ee (STATUS_UNFINISHED_CONTEXT_DELETED) */
...
...
@@ -1167,9 +1234,9 @@ static const DWORD table_c0000202[396] =
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) */
0
,
/* c0000353 (STATUS_PORT_NOT_SET) */
ERROR_PORT_NOT_SET
,
/* c0000353 (STATUS_PORT_NOT_SET) */
0
,
/* c0000354 (STATUS_DEBUGGER_INACTIVE) */
0
,
/* c0000355 (STATUS_DS_VERSION_CHECK_FAILURE) */
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_AG_CANT_HAVE_UNIVERSAL_MEMBER
,
/* c0000358 (STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER) */
...
...
@@ -1178,23 +1245,23 @@ static const DWORD table_c0000202[396] =
SEC_E_BAD_BINDINGS
,
/* c000035b (STATUS_BAD_BINDINGS) */
ERROR_NO_USER_SESSION_KEY
,
/* c000035c (STATUS_NETWORK_SESSION_EXPIRED) */
0
,
/* c000035d (STATUS_APPHELP_BLOCK) */
0
,
/* c000035e (STATUS_ALL_SIDS_FILTERED) */
0
,
/* c000035f (STATUS_NOT_SAFE_MODE_DRIVER) */
ERROR_ALL_SIDS_FILTERED
,
/* c000035e (STATUS_ALL_SIDS_FILTERED) */
ERROR_NOT_SAFE_MODE_DRIVER
,
/* c000035f (STATUS_NOT_SAFE_MODE_DRIVER) */
0
,
/* 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) */
0
,
/* c0000365 (STATUS_FAILED_DRIVER_ENTRY) */
0
,
/* c0000366 (STATUS_DEVICE_ENUMERATION_ERROR) */
ERROR_FAILED_DRIVER_ENTRY
,
/* c0000365 (STATUS_FAILED_DRIVER_ENTRY) */
ERROR_DEVICE_ENUMERATION_ERROR
,
/* c0000366 (STATUS_DEVICE_ENUMERATION_ERROR) */
0
,
/* c0000367 */
0
,
/* c0000368 (STATUS_MOUNT_POINT_NOT_RESOLVED) */
0
,
/* c0000369 (STATUS_INVALID_DEVICE_OBJECT_PARAMETER) */
0
,
/* c000036a (STATUS_MCA_OCCURED) */
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) */
ERROR_DRIVER_BLOCKED
,
/* c000036b (STATUS_DRIVER_BLOCKED_CRITICAL) */
ERROR_DRIVER_BLOCKED
,
/* c000036c (STATUS_DRIVER_BLOCKED) */
0
,
/* c000036d (STATUS_DRIVER_DATABASE_ERROR) */
0
,
/* c000036e (STATUS_SYSTEM_HIVE_TOO_LARGE) */
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 */
...
...
@@ -1228,6 +1295,11 @@ static const DWORD table_c0000202[396] =
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
]
=
{
RPC_S_INVALID_STRING_BINDING
,
/* c0020001 (RPC_NT_INVALID_STRING_BINDING) */
...
...
@@ -1489,19 +1561,28 @@ static const DWORD table_c0150001[39] =
static
const
struct
error_table
error_table
[]
=
{
{
0x00000102
,
0x00000122
,
table_00000102
},
{
0x40000002
,
0x40000026
,
table_40000002
},
{
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
,
0x8000002
8
,
table_80000001
},
{
0x80000001
,
0x8000002
d
,
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
,
0xc000019
c
,
table_c0000001
},
{
0xc0000001
,
0xc000019
d
,
table_c0000001
},
{
0xc0000202
,
0xc000038e
,
table_c0000202
},
{
0xc000042c
,
0xc000042d
,
table_c000042c
},
{
0xc0020001
,
0xc0020064
,
table_c0020001
},
{
0xc0030001
,
0xc003000d
,
table_c0030001
},
{
0xc0030059
,
0xc0030062
,
table_c0030059
},
...
...
dlls/ntdll/tests/error.c
View file @
e0311318
...
...
@@ -125,8 +125,10 @@ static void run_error_tests(void)
cmp
(
STATUS_DATATYPE_MISALIGNMENT
,
ERROR_NOACCESS
);
cmp
(
STATUS_ACCESS_VIOLATION
,
ERROR_NOACCESS
);
cmp2
(
STATUS_DATATYPE_MISALIGNMENT_ERROR
,
ERROR_NOACCESS
);
cmp2
(
STATUS_MULTIPLE_FAULT_VIOLATION
,
ERROR_MULTIPLE_FAULT_VIOLATION
);
cmp
(
STATUS_CTL_FILE_NOT_SUPPORTED
,
ERROR_NOT_SUPPORTED
);
cmp
(
STATUS_PORT_ALREADY_SET
,
ERROR_INVALID_PARAMETER
);
cmp2
(
STATUS_PORT_NOT_SET
,
ERROR_PORT_NOT_SET
);
cmp
(
STATUS_SECTION_NOT_IMAGE
,
ERROR_INVALID_PARAMETER
);
cmp
(
STATUS_BAD_WORKING_SET_LIMIT
,
ERROR_INVALID_PARAMETER
);
cmp
(
STATUS_WORKING_SET_LIMIT_RANGE
,
ERROR_INVALID_PARAMETER
);
...
...
@@ -140,6 +142,7 @@ static void run_error_tests(void)
cmp
(
STATUS_INVALID_CID
,
ERROR_INVALID_PARAMETER
);
cmp
(
STATUS_STACK_OVERFLOW
,
ERROR_STACK_OVERFLOW
);
cmp
(
STATUS_BAD_INITIAL_STACK
,
ERROR_STACK_OVERFLOW
);
cmp4
(
STATUS_STACK_OVERFLOW_READ
,
ERROR_STACK_OVERFLOW_READ
,
ERROR_STACK_OVERFLOW
);
cmp
(
STATUS_INVALID_VOLUME_LABEL
,
ERROR_LABEL_TOO_LONG
);
cmp
(
STATUS_SECTION_NOT_EXTENDED
,
ERROR_OUTOFMEMORY
);
cmp
(
STATUS_NOT_MAPPED_DATA
,
ERROR_INVALID_ADDRESS
);
...
...
@@ -148,29 +151,46 @@ static void run_error_tests(void)
cmp
(
STATUS_INVALID_INFO_CLASS
,
ERROR_INVALID_PARAMETER
);
cmp
(
STATUS_SUSPEND_COUNT_EXCEEDED
,
ERROR_SIGNAL_REFUSED
);
cmp
(
STATUS_NOTIFY_ENUM_DIR
,
ERROR_NOTIFY_ENUM_DIR
);
cmp2
(
STATUS_BAD_CURRENT_DIRECTORY
,
ERROR_BAD_CURRENT_DIRECTORY
);
cmp
(
STATUS_REGISTRY_RECOVERED
,
ERROR_REGISTRY_RECOVERED
);
cmp2
(
STATUS_REGISTRY_HIVE_RECOVERED
,
ERROR_REGISTRY_HIVE_RECOVERED
);
cmp
(
STATUS_REGISTRY_IO_FAILED
,
ERROR_REGISTRY_IO_FAILED
);
cmp
(
STATUS_NOT_REGISTRY_FILE
,
ERROR_NOT_REGISTRY_FILE
);
cmp2
(
STATUS_CANNOT_LOAD_REGISTRY_FILE
,
ERROR_CANNOT_LOAD_REGISTRY_FILE
);
cmp2
(
STATUS_SYSTEM_HIVE_TOO_LARGE
,
ERROR_SYSTEM_HIVE_TOO_LARGE
);
cmp
(
STATUS_KEY_DELETED
,
ERROR_KEY_DELETED
);
cmp
(
STATUS_NO_LOG_SPACE
,
ERROR_NO_LOG_SPACE
);
cmp
(
STATUS_KEY_HAS_CHILDREN
,
ERROR_KEY_HAS_CHILDREN
);
cmp
(
STATUS_CHILD_MUST_BE_VOLATILE
,
ERROR_CHILD_MUST_BE_VOLATILE
);
cmp
(
STATUS_REGISTRY_CORRUPT
,
ERROR_BADDB
);
cmp2
(
STATUS_REGISTRY_QUOTA_LIMIT
,
ERROR_REGISTRY_QUOTA_LIMIT
);
cmp
(
STATUS_DLL_NOT_FOUND
,
ERROR_MOD_NOT_FOUND
);
cmp2
(
STATUS_OPEN_FAILED
,
ERROR_NET_OPEN_FAILED
);
cmp2
(
STATUS_IO_PRIVILEGE_FAILED
,
ERROR_IO_PRIVILEGE_FAILED
);
cmp
(
STATUS_DLL_INIT_FAILED
,
ERROR_DLL_INIT_FAILED
);
cmp2
(
STATUS_DLL_INIT_FAILED_LOGOFF
,
ERROR_DLL_INIT_FAILED_LOGOFF
);
cmp2
(
STATUS_INVALID_IMPORT_OF_NON_DLL
,
ERROR_INVALID_IMPORT_OF_NON_DLL
);
cmp
(
STATUS_ORDINAL_NOT_FOUND
,
ERROR_INVALID_ORDINAL
);
cmp
(
STATUS_DRIVER_ORDINAL_NOT_FOUND
,
ERROR_INVALID_ORDINAL
);
cmp2
(
STATUS_DRIVER_UNABLE_TO_LOAD
,
ERROR_BAD_DRIVER
);
cmp
(
STATUS_ENTRYPOINT_NOT_FOUND
,
ERROR_PROC_NOT_FOUND
);
cmp
(
STATUS_DRIVER_ENTRYPOINT_NOT_FOUND
,
ERROR_PROC_NOT_FOUND
);
cmp2
(
STATUS_BAD_DLL_ENTRYPOINT
,
ERROR_BAD_DLL_ENTRYPOINT
);
cmp2
(
STATUS_BAD_SERVICE_ENTRYPOINT
,
ERROR_BAD_SERVICE_ENTRYPOINT
);
cmp2
(
STATUS_FAILED_DRIVER_ENTRY
,
ERROR_FAILED_DRIVER_ENTRY
);
cmp2
(
STATUS_DLL_MIGHT_BE_INSECURE
,
ERROR_DLL_MIGHT_BE_INSECURE
);
cmp2
(
STATUS_DLL_MIGHT_BE_INCOMPATIBLE
,
ERROR_DLL_MIGHT_BE_INCOMPATIBLE
);
cmp2
(
STATUS_ILLEGAL_DLL_RELOCATION
,
ERROR_ILLEGAL_DLL_RELOCATION
);
cmp2
(
STATUS_NOT_SAFE_MODE_DRIVER
,
ERROR_NOT_SAFE_MODE_DRIVER
);
cmp2
(
STATUS_DRIVER_DATABASE_ERROR
,
ERROR_DRIVER_DATABASE_ERROR
);
cmp
(
STATUS_PENDING
,
ERROR_IO_PENDING
);
cmp
(
STATUS_MORE_ENTRIES
,
ERROR_MORE_DATA
);
cmp
(
STATUS_INTEGER_OVERFLOW
,
ERROR_ARITHMETIC_OVERFLOW
);
cmp
(
STATUS_BUFFER_OVERFLOW
,
ERROR_MORE_DATA
);
cmp2
(
STATUS_MARSHALL_OVERFLOW
,
ERROR_MARSHALL_OVERFLOW
);
cmp
(
STATUS_NO_MORE_FILES
,
ERROR_NO_MORE_FILES
);
cmp2
(
STATUS_REDIRECTOR_HAS_OPEN_HANDLES
,
ERROR_REDIRECTOR_HAS_OPEN_HANDLES
);
cmp2
(
STATUS_SERVER_HAS_OPEN_HANDLES
,
ERROR_SERVER_HAS_OPEN_HANDLES
);
cmp2
(
STATUS_HANDLES_CLOSED
,
ERROR_HANDLES_CLOSED
);
cmp
(
STATUS_NO_INHERITANCE
,
ERROR_NO_INHERITANCE
);
cmp
(
STATUS_NO_MORE_EAS
,
ERROR_NO_MORE_ITEMS
);
...
...
@@ -183,8 +203,19 @@ static void run_error_tests(void)
cmp
(
STATUS_ILLEGAL_FUNCTION
,
ERROR_INVALID_FUNCTION
);
cmp
(
STATUS_IN_PAGE_ERROR
,
ERROR_SWAPERROR
);
cmp
(
STATUS_PAGEFILE_QUOTA
,
ERROR_PAGEFILE_QUOTA
);
cmp2
(
STATUS_PAGEFILE_QUOTA_EXCEEDED
,
ERROR_PAGEFILE_QUOTA_EXCEEDED
);
cmp2
(
STATUS_PAGE_FAULT_TRANSITION
,
ERROR_PAGE_FAULT_TRANSITION
);
cmp2
(
STATUS_PAGE_FAULT_DEMAND_ZERO
,
ERROR_PAGE_FAULT_DEMAND_ZERO
);
cmp2
(
STATUS_PAGE_FAULT_COPY_ON_WRITE
,
ERROR_PAGE_FAULT_COPY_ON_WRITE
);
cmp2
(
STATUS_PAGE_FAULT_GUARD_PAGE
,
ERROR_PAGE_FAULT_GUARD_PAGE
);
cmp2
(
STATUS_PAGE_FAULT_PAGING_FILE
,
ERROR_PAGE_FAULT_PAGING_FILE
);
cmp2
(
STATUS_CACHE_PAGE_LOCKED
,
ERROR_CACHE_PAGE_LOCKED
);
cmp2
(
STATUS_PAGEFILE_CREATE_FAILED
,
ERROR_PAGEFILE_CREATE_FAILED
);
cmp2
(
STATUS_NO_PAGEFILE
,
ERROR_NO_PAGEFILE
);
cmp
(
STATUS_COMMITMENT_LIMIT
,
ERROR_COMMITMENT_LIMIT
);
cmp2
(
STATUS_COMMITMENT_MINIMUM
,
ERROR_COMMITMENT_MINIMUM
);
cmp
(
STATUS_SECTION_TOO_BIG
,
ERROR_NOT_ENOUGH_MEMORY
);
cmp2
(
STATUS_SEGMENT_NOTIFICATION
,
ERROR_SEGMENT_NOTIFICATION
);
cmp
(
RPC_NT_SS_IN_NULL_CONTEXT
,
ERROR_INVALID_HANDLE
);
cmp
(
RPC_NT_INVALID_BINDING
,
ERROR_INVALID_HANDLE
);
cmp
(
STATUS_INVALID_HANDLE
,
ERROR_INVALID_HANDLE
);
...
...
@@ -195,6 +226,7 @@ static void run_error_tests(void)
cmp
(
STATUS_NOT_COMMITTED
,
ERROR_INVALID_ADDRESS
);
cmp
(
STATUS_PARTIAL_COPY
,
ERROR_PARTIAL_COPY
);
cmp3
(
STATUS_LPC_REPLY_LOST
,
ERROR_CONNECTION_ABORTED
,
ERROR_INTERNAL_ERROR
);
cmp2
(
STATUS_INVALID_VARIANT
,
ERROR_INVALID_VARIANT
);
cmp
(
STATUS_INVALID_PARAMETER
,
ERROR_INVALID_PARAMETER
);
cmp
(
STATUS_INVALID_PARAMETER_1
,
ERROR_INVALID_PARAMETER
);
cmp
(
STATUS_INVALID_PARAMETER_2
,
ERROR_INVALID_PARAMETER
);
...
...
@@ -219,19 +251,26 @@ static void run_error_tests(void)
cmp
(
STATUS_NO_SUCH_FILE
,
ERROR_FILE_NOT_FOUND
);
cmp
(
STATUS_INVALID_DEVICE_REQUEST
,
ERROR_INVALID_FUNCTION
);
cmp2
(
STATUS_VOLUME_NOT_UPGRADED
,
ERROR_INVALID_FUNCTION
);
cmp2
(
STATUS_CONVERT_TO_LARGE
,
ERROR_CONVERT_TO_LARGE
);
cmp
(
STATUS_END_OF_FILE
,
ERROR_HANDLE_EOF
);
cmp
(
STATUS_FILE_FORCED_CLOSED
,
ERROR_HANDLE_EOF
);
cmp
(
STATUS_WRONG_VOLUME
,
ERROR_WRONG_DISK
);
cmp
(
STATUS_NO_MEDIA
,
ERROR_NO_MEDIA_IN_DRIVE
);
cmp
(
STATUS_NO_MEDIA_IN_DEVICE
,
ERROR_NOT_READY
);
cmp2
(
STATUS_VOLUME_DISMOUNTED
,
ERROR_NOT_READY
);
cmp2
(
STATUS_VOLUME_MOUNTED
,
ERROR_VOLUME_MOUNTED
);
cmp2
(
STATUS_MOUNT_POINT_NOT_RESOLVED
,
ERROR_MOUNT_POINT_NOT_RESOLVED
);
cmp
(
STATUS_NONEXISTENT_SECTOR
,
ERROR_SECTOR_NOT_FOUND
);
cmp
(
STATUS_WORKING_SET_QUOTA
,
ERROR_WORKING_SET_QUOTA
);
cmp
(
STATUS_NO_MEMORY
,
ERROR_NOT_ENOUGH_MEMORY
);
cmp
(
STATUS_CONFLICTING_ADDRESSES
,
ERROR_INVALID_ADDRESS
);
cmp
(
STATUS_INVALID_SYSTEM_SERVICE
,
ERROR_INVALID_FUNCTION
);
cmp2
(
STATUS_THREAD_WAS_SUSPENDED
,
ERROR_THREAD_WAS_SUSPENDED
);
cmp2
(
STATUS_TOO_MANY_THREADS
,
ERROR_TOO_MANY_THREADS
);
cmp2
(
STATUS_THREAD_NOT_IN_PROCESS
,
ERROR_THREAD_NOT_IN_PROCESS
);
cmp
(
STATUS_THREAD_IS_TERMINATING
,
ERROR_ACCESS_DENIED
);
cmp
(
STATUS_PROCESS_IS_TERMINATING
,
ERROR_ACCESS_DENIED
);
cmp2
(
STATUS_SYSTEM_PROCESS_TERMINATED
,
ERROR_SYSTEM_PROCESS_TERMINATED
);
cmp
(
STATUS_INVALID_LOCK_SEQUENCE
,
ERROR_ACCESS_DENIED
);
cmp
(
STATUS_INVALID_VIEW_SIZE
,
ERROR_ACCESS_DENIED
);
cmp
(
STATUS_ALREADY_COMMITTED
,
ERROR_ACCESS_DENIED
);
...
...
@@ -273,12 +312,16 @@ static void run_error_tests(void)
cmp
(
STATUS_BUFFER_TOO_SMALL
,
ERROR_INSUFFICIENT_BUFFER
);
cmp
(
STATUS_UNABLE_TO_DECOMMIT_VM
,
ERROR_INVALID_ADDRESS
);
cmp
(
STATUS_DISK_CORRUPT_ERROR
,
ERROR_DISK_CORRUPT
);
cmp2
(
STATUS_FT_READ_RECOVERY_FROM_BACKUP
,
ERROR_FT_READ_RECOVERY_FROM_BACKUP
);
cmp2
(
STATUS_FT_WRITE_RECOVERY
,
ERROR_FT_WRITE_RECOVERY
);
cmp
(
STATUS_FT_MISSING_MEMBER
,
ERROR_IO_DEVICE
);
cmp
(
STATUS_FT_ORPHANING
,
ERROR_IO_DEVICE
);
cmp2
(
STATUS_BACKUP_CONTROLLER
,
ERROR_BACKUP_CONTROLLER
);
cmp
(
STATUS_VARIABLE_NOT_FOUND
,
ERROR_ENVVAR_NOT_FOUND
);
cmp
(
STATUS_OBJECT_NAME_INVALID
,
ERROR_INVALID_NAME
);
cmp
(
STATUS_OBJECT_NAME_NOT_FOUND
,
ERROR_FILE_NOT_FOUND
);
cmp
(
STATUS_OBJECT_NAME_COLLISION
,
ERROR_ALREADY_EXISTS
);
cmp2
(
STATUS_OBJECT_NAME_EXISTS
,
ERROR_OBJECT_NAME_EXISTS
);
cmp
(
STATUS_OBJECT_PATH_INVALID
,
ERROR_BAD_PATHNAME
);
cmp
(
STATUS_OBJECT_PATH_NOT_FOUND
,
ERROR_PATH_NOT_FOUND
);
cmp
(
STATUS_DFS_EXIT_PATH_FOUND
,
ERROR_PATH_NOT_FOUND
);
...
...
@@ -288,14 +331,19 @@ static void run_error_tests(void)
cmp
(
STATUS_DATA_OVERRUN
,
ERROR_IO_DEVICE
);
cmp
(
STATUS_DATA_LATE_ERROR
,
ERROR_IO_DEVICE
);
cmp
(
STATUS_DATA_ERROR
,
ERROR_CRC
);
cmp2
(
STATUS_DATA_NOT_ACCEPTED
,
ERROR_DATA_NOT_ACCEPTED
);
cmp2
(
STATUS_LOST_WRITEBEHIND_DATA
,
ERROR_LOST_WRITEBEHIND_DATA
);
cmp
(
STATUS_CRC_ERROR
,
ERROR_CRC
);
cmp
(
STATUS_SHARING_VIOLATION
,
ERROR_SHARING_VIOLATION
);
cmp
(
STATUS_QUOTA_EXCEEDED
,
ERROR_NOT_ENOUGH_QUOTA
);
cmp2
(
STATUS_FS_DRIVER_REQUIRED
,
ERROR_FS_DRIVER_REQUIRED
);
cmp
(
STATUS_MUTANT_NOT_OWNED
,
ERROR_NOT_OWNER
);
cmp2
(
STATUS_MUTANT_LIMIT_EXCEEDED
,
ERROR_MUTANT_LIMIT_EXCEEDED
);
cmp
(
STATUS_SEMAPHORE_LIMIT_EXCEEDED
,
ERROR_TOO_MANY_POSTS
);
cmp
(
STATUS_DISK_FULL
,
ERROR_DISK_FULL
);
cmp
(
STATUS_LOCK_NOT_GRANTED
,
ERROR_LOCK_VIOLATION
);
cmp
(
STATUS_FILE_LOCK_CONFLICT
,
ERROR_LOCK_VIOLATION
);
cmp2
(
STATUS_NOT_TINY_STREAM
,
ERROR_NOT_TINY_STREAM
);
cmp
(
STATUS_NOT_A_DIRECTORY
,
ERROR_DIRECTORY
);
cmp2
(
STATUS_CANNOT_MAKE
,
ERROR_CANNOT_MAKE
);
cmp
(
STATUS_UNKNOWN_REVISION
,
ERROR_UNKNOWN_REVISION
);
...
...
@@ -322,6 +370,9 @@ static void run_error_tests(void)
cmp
(
STATUS_PASSWORD_RESTRICTION
,
ERROR_PASSWORD_RESTRICTION
);
cmp
(
STATUS_PASSWORD_EXPIRED
,
ERROR_PASSWORD_EXPIRED
);
cmp
(
STATUS_PASSWORD_MUST_CHANGE
,
ERROR_PASSWORD_MUST_CHANGE
);
cmp2
(
STATUS_PWD_TOO_SHORT
,
ERROR_PWD_TOO_SHORT
);
cmp2
(
STATUS_PWD_TOO_RECENT
,
ERROR_PWD_TOO_RECENT
);
cmp2
(
STATUS_PWD_HISTORY_CONFLICT
,
ERROR_PWD_HISTORY_CONFLICT
);
cmp
(
STATUS_ACCOUNT_DISABLED
,
ERROR_ACCOUNT_DISABLED
);
cmp
(
STATUS_ACCOUNT_LOCKED_OUT
,
ERROR_ACCOUNT_LOCKED_OUT
);
cmp
(
STATUS_NONE_MAPPED
,
ERROR_NONE_MAPPED
);
...
...
@@ -332,6 +383,7 @@ static void run_error_tests(void)
cmp
(
STATUS_INVALID_SID
,
ERROR_INVALID_SID
);
cmp
(
STATUS_INVALID_SECURITY_DESCR
,
ERROR_INVALID_SECURITY_DESCR
);
cmp
(
STATUS_PROCEDURE_NOT_FOUND
,
ERROR_PROC_NOT_FOUND
);
cmp2
(
STATUS_VDM_HARD_ERROR
,
ERROR_VDM_HARD_ERROR
);
cmp2
(
STATUS_INVALID_LDT_SIZE
,
ERROR_INVALID_LDT_SIZE
);
cmp2
(
STATUS_INVALID_LDT_OFFSET
,
ERROR_INVALID_LDT_OFFSET
);
cmp2
(
STATUS_INVALID_LDT_DESCRIPTOR
,
ERROR_INVALID_LDT_DESCRIPTOR
);
...
...
@@ -349,11 +401,14 @@ static void run_error_tests(void)
cmp2
(
STATUS_INVALID_IMAGE_WIN_64
,
ERROR_BAD_EXE_FORMAT
);
cmp
(
STATUS_NO_TOKEN
,
ERROR_NO_TOKEN
);
cmp
(
STATUS_RANGE_NOT_LOCKED
,
ERROR_NOT_LOCKED
);
cmp2
(
STATUS_RANGE_LIST_CONFLICT
,
ERROR_RANGE_LIST_CONFLICT
);
cmp2
(
STATUS_RANGE_NOT_FOUND
,
ERROR_RANGE_NOT_FOUND
);
cmp
(
STATUS_SERVER_DISABLED
,
ERROR_SERVER_DISABLED
);
cmp
(
STATUS_SERVER_NOT_DISABLED
,
ERROR_SERVER_NOT_DISABLED
);
cmp
(
STATUS_INVALID_ID_AUTHORITY
,
ERROR_INVALID_ID_AUTHORITY
);
cmp
(
STATUS_ALLOTTED_SPACE_EXCEEDED
,
ERROR_ALLOTTED_SPACE_EXCEEDED
);
cmp
(
STATUS_TOO_MANY_PAGING_FILES
,
ERROR_NOT_ENOUGH_MEMORY
);
cmp2
(
STATUS_RESOURCE_REQUIREMENTS_CHANGED
,
ERROR_RESOURCE_REQUIREMENTS_CHANGED
);
cmp
(
STATUS_INSUFFICIENT_RESOURCES
,
ERROR_NO_SYSTEM_RESOURCES
);
cmp
(
STATUS_INSUFF_SERVER_RESOURCES
,
ERROR_NOT_ENOUGH_SERVER_MEMORY
);
cmp
(
STATUS_FILE_INVALID
,
ERROR_FILE_INVALID
);
...
...
@@ -365,12 +420,17 @@ static void run_error_tests(void)
cmp
(
STATUS_DEVICE_NOT_READY
,
ERROR_NOT_READY
);
cmp3
(
STATUS_DEVICE_NOT_CONNECTED
,
ERROR_DEVICE_NOT_CONNECTED
,
ERROR_NOT_READY
);
cmp
(
STATUS_DEVICE_POWER_FAILURE
,
ERROR_NOT_READY
);
cmp2
(
STATUS_INSUFFICIENT_POWER
,
ERROR_INSUFFICIENT_POWER
);
cmp2
(
STATUS_DRIVER_FAILED_SLEEP
,
ERROR_DRIVER_FAILED_SLEEP
);
cmp2
(
STATUS_NOT_FOUND
,
ERROR_NOT_FOUND
);
cmp2
(
STATUS_NO_MATCH
,
ERROR_NO_MATCH
);
cmp2
(
STATUS_NO_MORE_MATCHES
,
ERROR_NO_MORE_MATCHES
);
cmp2
(
STATUS_PROPSET_NOT_FOUND
,
ERROR_SET_NOT_FOUND
);
cmp2
(
STATUS_FOUND_OUT_OF_SCOPE
,
ERROR_FOUND_OUT_OF_SCOPE
);
cmp
(
STATUS_DEVICE_BUSY
,
ERROR_BUSY
);
cmp
(
STATUS_FREE_VM_NOT_AT_BASE
,
ERROR_INVALID_ADDRESS
);
cmp
(
STATUS_MEMORY_NOT_ALLOCATED
,
ERROR_INVALID_ADDRESS
);
cmp2
(
STATUS_ALLOCATE_BUCKET
,
ERROR_ALLOCATE_BUCKET
);
cmp
(
STATUS_NOT_SAME_DEVICE
,
ERROR_NOT_SAME_DEVICE
);
cmp
(
STATUS_NOT_SUPPORTED
,
ERROR_NOT_SUPPORTED
);
cmp
(
STATUS_REMOTE_NOT_LISTENING
,
ERROR_REM_NOT_LIST
);
...
...
@@ -381,6 +441,7 @@ static void run_error_tests(void)
cmp
(
STATUS_DEVICE_DOES_NOT_EXIST
,
ERROR_DEV_NOT_EXIST
);
cmp
(
STATUS_TOO_MANY_COMMANDS
,
ERROR_TOO_MANY_CMDS
);
cmp
(
STATUS_ADAPTER_HARDWARE_ERROR
,
ERROR_ADAP_HDW_ERR
);
cmp2
(
STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
,
ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT
);
cmp
(
STATUS_REDIRECTOR_NOT_STARTED
,
ERROR_PATH_NOT_FOUND
);
cmp
(
STATUS_INVALID_EA_NAME
,
ERROR_INVALID_EA_NAME
);
cmp
(
STATUS_EA_LIST_INCONSISTENT
,
ERROR_EA_LIST_INCONSISTENT
);
...
...
@@ -391,6 +452,8 @@ static void run_error_tests(void)
cmp
(
STATUS_EA_CORRUPT_ERROR
,
ERROR_FILE_CORRUPT
);
cmp
(
STATUS_NONEXISTENT_EA_ENTRY
,
ERROR_FILE_CORRUPT
);
cmp
(
STATUS_NO_EAS_ON_FILE
,
ERROR_FILE_CORRUPT
);
cmp2
(
STATUS_REPARSE
,
ERROR_REPARSE
);
cmp2
(
STATUS_REPARSE_OBJECT
,
ERROR_REPARSE_OBJECT
);
cmp2
(
STATUS_NOT_A_REPARSE_POINT
,
ERROR_NOT_A_REPARSE_POINT
);
cmp4
(
STATUS_IO_REPARSE_TAG_INVALID
,
ERROR_REPARSE_TAG_INVALID
,
ERROR_INVALID_PARAMETER
);
cmp4
(
STATUS_IO_REPARSE_TAG_MISMATCH
,
ERROR_REPARSE_TAG_MISMATCH
,
ERROR_INVALID_PARAMETER
);
...
...
@@ -406,6 +469,7 @@ static void run_error_tests(void)
cmp2
(
STATUS_JOURNAL_DELETE_IN_PROGRESS
,
ERROR_JOURNAL_DELETE_IN_PROGRESS
);
cmp2
(
STATUS_JOURNAL_NOT_ACTIVE
,
ERROR_JOURNAL_NOT_ACTIVE
);
cmp2
(
STATUS_JOURNAL_ENTRY_DELETED
,
ERROR_JOURNAL_ENTRY_DELETED
);
cmp2
(
STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
,
ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED
);
cmp
(
STATUS_INVALID_NETWORK_RESPONSE
,
ERROR_BAD_NET_RESP
);
cmp
(
STATUS_USER_SESSION_DELETED
,
ERROR_UNEXP_NET_ERR
);
cmp
(
STATUS_UNEXPECTED_NETWORK_ERROR
,
ERROR_UNEXP_NET_ERR
);
...
...
@@ -423,6 +487,7 @@ static void run_error_tests(void)
cmp
(
STATUS_TOO_MANY_NODES
,
ERROR_TOO_MANY_NAMES
);
cmp
(
STATUS_TOO_MANY_SESSIONS
,
ERROR_TOO_MANY_SESS
);
cmp
(
STATUS_SHARING_PAUSED
,
ERROR_SHARING_PAUSED
);
cmp2
(
STATUS_CANT_ENABLE_DENY_ONLY
,
ERROR_CANT_ENABLE_DENY_ONLY
);
cmp
(
STATUS_REQUEST_NOT_ACCEPTED
,
ERROR_REQ_NOT_ACCEP
);
cmp
(
STATUS_REDIRECTOR_PAUSED
,
ERROR_REDIR_PAUSED
);
cmp
(
STATUS_NET_WRITE_FAULT
,
ERROR_NET_WRITE_FAULT
);
...
...
@@ -452,6 +517,7 @@ static void run_error_tests(void)
cmp
(
STATUS_END_OF_MEDIA
,
ERROR_END_OF_MEDIA
);
cmp
(
STATUS_EOM_OVERFLOW
,
ERROR_EOM_OVERFLOW
);
cmp
(
STATUS_BEGINNING_OF_MEDIA
,
ERROR_BEGINNING_OF_MEDIA
);
cmp2
(
STATUS_MEDIA_CHECK
,
ERROR_MEDIA_CHECK
);
cmp
(
STATUS_MEDIA_CHANGED
,
ERROR_MEDIA_CHANGED
);
cmp
(
STATUS_BUS_RESET
,
ERROR_BUS_RESET
);
cmp
(
STATUS_FILEMARK_DETECTED
,
ERROR_FILEMARK_DETECTED
);
...
...
@@ -462,12 +528,32 @@ static void run_error_tests(void)
cmp
(
STATUS_DEVICE_NOT_PARTITIONED
,
ERROR_DEVICE_NOT_PARTITIONED
);
cmp
(
STATUS_UNABLE_TO_LOCK_MEDIA
,
ERROR_UNABLE_TO_LOCK_MEDIA
);
cmp
(
STATUS_UNABLE_TO_UNLOAD_MEDIA
,
ERROR_UNABLE_TO_UNLOAD_MEDIA
);
cmp2
(
STATUS_ILLEGAL_CHARACTER
,
ERROR_ILLEGAL_CHARACTER
);
cmp
(
STATUS_UNMAPPABLE_CHARACTER
,
ERROR_NO_UNICODE_TRANSLATION
);
cmp2
(
STATUS_UNDEFINED_CHARACTER
,
ERROR_UNDEFINED_CHARACTER
);
cmp2
(
STATUS_TRANSLATION_COMPLETE
,
ERROR_TRANSLATION_COMPLETE
);
cmp
(
STATUS_NOT_ALL_ASSIGNED
,
ERROR_NOT_ALL_ASSIGNED
);
cmp
(
STATUS_SOME_NOT_MAPPED
,
ERROR_SOME_NOT_MAPPED
);
cmp
(
STATUS_NO_QUOTAS_FOR_ACCOUNT
,
ERROR_NO_QUOTAS_FOR_ACCOUNT
);
cmp2
(
STATUS_QUOTA_LIST_INCONSISTENT
,
ERROR_QUOTA_LIST_INCONSISTENT
);
cmp
(
STATUS_LOCAL_USER_SESSION_KEY
,
ERROR_LOCAL_USER_SESSION_KEY
);
cmp
(
STATUS_NULL_LM_PASSWORD
,
ERROR_NULL_LM_PASSWORD
);
cmp2
(
STATUS_SYNCHRONIZATION_REQUIRED
,
ERROR_SYNCHRONIZATION_REQUIRED
);
cmp2
(
STATUS_WAKE_SYSTEM_DEBUGGER
,
ERROR_WAKE_SYSTEM_DEBUGGER
);
cmp2
(
DBG_EXCEPTION_HANDLED
,
ERROR_DBG_EXCEPTION_HANDLED
);
cmp2
(
DBG_CONTINUE
,
ERROR_DBG_CONTINUE
);
cmp2
(
DBG_TERMINATE_THREAD
,
ERROR_DBG_TERMINATE_THREAD
);
cmp2
(
DBG_TERMINATE_PROCESS
,
ERROR_DBG_TERMINATE_PROCESS
);
cmp2
(
DBG_CONTROL_C
,
ERROR_DBG_CONTROL_C
);
cmp2
(
DBG_PRINTEXCEPTION_C
,
ERROR_DBG_PRINTEXCEPTION_C
);
cmp2
(
DBG_RIPEXCEPTION
,
ERROR_DBG_RIPEXCEPTION
);
cmp2
(
DBG_CONTROL_BREAK
,
ERROR_DBG_CONTROL_BREAK
);
cmp2
(
DBG_COMMAND_EXCEPTION
,
ERROR_DBG_COMMAND_EXCEPTION
);
cmp2
(
DBG_EXCEPTION_NOT_HANDLED
,
ERROR_DBG_EXCEPTION_NOT_HANDLED
);
cmp2
(
STATUS_DEBUG_ATTACH_FAILED
,
ERROR_DEBUG_ATTACH_FAILED
);
cmp2
(
STATUS_VALIDATE_CONTINUE
,
ERROR_VALIDATE_CONTINUE
);
cmp2
(
STATUS_EXTRANEOUS_INFORMATION
,
ERROR_EXTRANEOUS_INFORMATION
);
cmp2
(
STATUS_GUID_SUBSTITUTION_MADE
,
ERROR_GUID_SUBSTITUTION_MADE
);
cmp2
(
STATUS_IMAGE_MACHINE_TYPE_MISMATCH
,
ERROR_IMAGE_MACHINE_TYPE_MISMATCH
);
cmp2
(
STATUS_RECEIVE_PARTIAL
,
ERROR_RECEIVE_PARTIAL
);
cmp2
(
STATUS_RECEIVE_EXPEDITED
,
ERROR_RECEIVE_EXPEDITED
);
...
...
@@ -485,9 +571,30 @@ static void run_error_tests(void)
cmp2
(
STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
,
ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE
);
cmp2
(
STATUS_NO_YIELD_PERFORMED
,
ERROR_NO_YIELD_PERFORMED
);
cmp2
(
STATUS_TIMER_RESUME_IGNORED
,
ERROR_TIMER_RESUME_IGNORED
);
cmp2
(
STATUS_TIMER_RESOLUTION_NOT_SET
,
ERROR_TIMER_RESOLUTION_NOT_SET
);
cmp2
(
STATUS_ARBITRATION_UNHANDLED
,
ERROR_ARBITRATION_UNHANDLED
);
cmp2
(
STATUS_CARDBUS_NOT_SUPPORTED
,
ERROR_CARDBUS_NOT_SUPPORTED
);
cmp2
(
STATUS_MP_PROCESSOR_MISMATCH
,
ERROR_MP_PROCESSOR_MISMATCH
);
cmp2
(
STATUS_HIBERNATED
,
ERROR_HIBERNATED
);
cmp2
(
STATUS_RESUME_HIBERNATION
,
ERROR_RESUME_HIBERNATION
);
cmp2
(
STATUS_FIRMWARE_UPDATED
,
ERROR_FIRMWARE_UPDATED
);
cmp2
(
STATUS_WAKE_SYSTEM
,
ERROR_WAKE_SYSTEM
);
cmp2
(
STATUS_WAIT_1
,
ERROR_WAIT_1
);
cmp2
(
STATUS_WAIT_2
,
ERROR_WAIT_2
);
cmp2
(
STATUS_WAIT_3
,
ERROR_WAIT_3
);
cmp2
(
STATUS_WAIT_63
,
ERROR_WAIT_63
);
cmp2
(
STATUS_ABANDONED_WAIT_0
,
ERROR_WAIT_NO_CHILDREN
);
cmp2
(
STATUS_ABANDONED_WAIT_63
,
ERROR_ABANDONED_WAIT_63
);
cmp2
(
STATUS_USER_APC
,
ERROR_USER_APC
);
cmp2
(
STATUS_KERNEL_APC
,
ERROR_KERNEL_APC
);
cmp2
(
STATUS_ALERTED
,
ERROR_ALERTED
);
cmp2
(
STATUS_NOTIFY_CLEANUP
,
ERROR_NOTIFY_CLEANUP
);
cmp2
(
STATUS_NO_CALLBACK_ACTIVE
,
ERROR_NO_CALLBACK_ACTIVE
);
cmp4
(
STATUS_NOINTERFACE
,
ERROR_NOINTERFACE
,
E_NOINTERFACE
);
cmp
(
STATUS_BAD_INHERITANCE_ACL
,
ERROR_BAD_INHERITANCE_ACL
);
cmp
(
STATUS_INVALID_GROUP_ATTRIBUTES
,
ERROR_INVALID_GROUP_ATTRIBUTES
);
cmp
(
STATUS_BAD_IMPERSONATION_LEVEL
,
ERROR_BAD_IMPERSONATION_LEVEL
);
cmp2
(
STATUS_ELEVATION_REQUIRED
,
ERROR_ELEVATION_REQUIRED
);
cmp
(
STATUS_CANT_OPEN_ANONYMOUS
,
ERROR_CANT_OPEN_ANONYMOUS
);
cmp
(
STATUS_BAD_VALIDATION_CLASS
,
ERROR_BAD_VALIDATION_CLASS
);
cmp
(
STATUS_BAD_TOKEN_TYPE
,
ERROR_BAD_TOKEN_TYPE
);
...
...
@@ -502,6 +609,7 @@ static void run_error_tests(void)
cmp
(
STATUS_DOMAIN_LIMIT_EXCEEDED
,
ERROR_DOMAIN_LIMIT_EXCEEDED
);
cmp2
(
STATUS_OPLOCK_NOT_GRANTED
,
ERROR_OPLOCK_NOT_GRANTED
);
cmp2
(
STATUS_INVALID_OPLOCK_PROTOCOL
,
ERROR_INVALID_OPLOCK_PROTOCOL
);
cmp2
(
STATUS_OPLOCK_BREAK_IN_PROGRESS
,
ERROR_OPLOCK_BREAK_IN_PROGRESS
);
cmp
(
STATUS_INTERNAL_DB_CORRUPTION
,
ERROR_INTERNAL_DB_CORRUPTION
);
cmp
(
STATUS_INTERNAL_ERROR
,
ERROR_INTERNAL_ERROR
);
cmp
(
STATUS_GENERIC_NOT_MAPPED
,
ERROR_GENERIC_NOT_MAPPED
);
...
...
@@ -512,7 +620,12 @@ static void run_error_tests(void)
cmp
(
STATUS_BAD_LOGON_SESSION_STATE
,
ERROR_BAD_LOGON_SESSION_STATE
);
cmp
(
STATUS_LOGON_SESSION_COLLISION
,
ERROR_LOGON_SESSION_COLLISION
);
cmp
(
STATUS_INVALID_LOGON_TYPE
,
ERROR_INVALID_LOGON_TYPE
);
cmp2
(
STATUS_LOGON_SERVER_CONFLICT
,
ERROR_LOGON_SERVER_CONFLICT
);
cmp2
(
STATUS_SERVER_SID_MISMATCH
,
ERROR_SERVER_SID_MISMATCH
);
cmp2
(
STATUS_RXACT_STATE_CREATED
,
ERROR_RXACT_STATE_CREATED
);
cmp
(
STATUS_RXACT_INVALID_STATE
,
ERROR_RXACT_INVALID_STATE
);
cmp2
(
STATUS_RXACT_COMMITTED
,
ERROR_RXACT_COMMITTED
);
cmp2
(
STATUS_RXACT_COMMIT_NECESSARY
,
ERROR_RXACT_COMMIT_NECESSARY
);
cmp
(
STATUS_RXACT_COMMIT_FAILURE
,
ERROR_RXACT_COMMIT_FAILURE
);
cmp
(
STATUS_SPECIAL_ACCOUNT
,
ERROR_SPECIAL_ACCOUNT
);
cmp
(
STATUS_SPECIAL_USER
,
ERROR_SPECIAL_USER
);
...
...
@@ -532,6 +645,8 @@ static void run_error_tests(void)
cmp
(
STATUS_NO_SUCH_MEMBER
,
ERROR_NO_SUCH_MEMBER
);
cmp
(
STATUS_INVALID_MEMBER
,
ERROR_INVALID_MEMBER
);
cmp
(
STATUS_TOO_MANY_SIDS
,
ERROR_TOO_MANY_SIDS
);
cmp2
(
STATUS_ALL_SIDS_FILTERED
,
ERROR_ALL_SIDS_FILTERED
);
cmp2
(
STATUS_INSUFFICIENT_LOGON_INFO
,
ERROR_INSUFFICIENT_LOGON_INFO
);
cmp
(
STATUS_LM_CROSS_ENCRYPTION_REQUIRED
,
ERROR_LM_CROSS_ENCRYPTION_REQUIRED
);
cmp
(
STATUS_MESSAGE_NOT_FOUND
,
ERROR_MR_MID_NOT_FOUND
);
cmp2
(
STATUS_CONTROL_C_EXIT
,
ERROR_CONTROL_C_EXIT
);
...
...
@@ -542,12 +657,20 @@ static void run_error_tests(void)
cmp
(
STATUS_LINK_TIMEOUT
,
ERROR_UNEXP_NET_ERR
);
cmp
(
STATUS_INVALID_CONNECTION
,
ERROR_UNEXP_NET_ERR
);
cmp
(
STATUS_INVALID_ADDRESS
,
ERROR_UNEXP_NET_ERR
);
cmp2
(
STATUS_IP_ADDRESS_CONFLICT1
,
ERROR_IP_ADDRESS_CONFLICT1
);
cmp2
(
STATUS_IP_ADDRESS_CONFLICT2
,
ERROR_IP_ADDRESS_CONFLICT2
);
cmp2
(
STATUS_MISSING_SYSTEMFILE
,
ERROR_MISSING_SYSTEMFILE
);
cmp2
(
STATUS_PAGEFILE_CREATE_FAILED
,
ERROR_PAGEFILE_CREATE_FAILED
);
cmp2
(
STATUS_CORRUPT_SYSTEM_FILE
,
ERROR_CORRUPT_SYSTEM_FILE
);
cmp2
(
STATUS_SYSTEM_IMAGE_BAD_SIGNATURE
,
ERROR_SYSTEM_IMAGE_BAD_SIGNATURE
);
cmp2
(
STATUS_CRASH_DUMP
,
ERROR_CRASH_DUMP
);
cmp2
(
STATUS_LONGJUMP
,
ERROR_LONGJUMP
);
cmp2
(
STATUS_UNWIND_CONSOLIDATE
,
ERROR_UNWIND_CONSOLIDATE
);
cmp2
(
STATUS_UNHANDLED_EXCEPTION
,
ERROR_UNHANDLED_EXCEPTION
);
cmp2
(
STATUS_MCA_OCCURED
,
ERROR_MCA_OCCURED
);
cmp2
(
STATUS_APP_INIT_FAILURE
,
ERROR_APP_INIT_FAILURE
);
cmp2
(
STATUS_NO_PAGEFILE
,
ERROR_NO_PAGEFILE
);
cmp2
(
STATUS_ILLEGAL_FLOAT_CONTEXT
,
ERROR_ILLEGAL_FLOAT_CONTEXT
);
cmp2
(
STATUS_FLOAT_MULTIPLE_FAULTS
,
ERROR_FLOAT_MULTIPLE_FAULTS
);
cmp2
(
STATUS_FLOAT_MULTIPLE_TRAPS
,
ERROR_FLOAT_MULTIPLE_TRAPS
);
cmp2
(
STATUS_NO_EVENT_PAIR
,
ERROR_NO_EVENT_PAIR
);
cmp2
(
STATUS_DOMAIN_CTRLR_CONFIG_ERROR
,
ERROR_DOMAIN_CTRLR_CONFIG_ERROR
);
cmp
(
STATUS_IO_DEVICE_ERROR
,
ERROR_IO_DEVICE
);
...
...
@@ -555,6 +678,8 @@ static void run_error_tests(void)
cmp
(
STATUS_DRIVER_INTERNAL_ERROR
,
ERROR_IO_DEVICE
);
cmp
(
STATUS_INVALID_DEVICE_STATE
,
ERROR_BAD_COMMAND
);
cmp
(
STATUS_DEVICE_CONFIGURATION_ERROR
,
ERROR_INVALID_PARAMETER
);
cmp2
(
STATUS_DEVICE_ENUMERATION_ERROR
,
ERROR_DEVICE_ENUMERATION_ERROR
);
cmp2
(
STATUS_INVALID_DEVICE_OBJECT_PARAMETER
,
ERROR_INVALID_DEVICE_OBJECT_PARAMETER
);
cmp2
(
STATUS_SOURCE_ELEMENT_EMPTY
,
ERROR_SOURCE_ELEMENT_EMPTY
);
cmp2
(
STATUS_DESTINATION_ELEMENT_FULL
,
ERROR_DESTINATION_ELEMENT_FULL
);
cmp2
(
STATUS_ILLEGAL_ELEMENT_ADDRESS
,
ERROR_ILLEGAL_ELEMENT_ADDRESS
);
...
...
@@ -575,7 +700,10 @@ static void run_error_tests(void)
cmp2
(
STATUS_NOT_EXPORT_FORMAT
,
ERROR_NOT_EXPORT_FORMAT
);
cmp2
(
STATUS_FILE_ENCRYPTED
,
ERROR_FILE_ENCRYPTED
);
cmp2
(
STATUS_EFS_ALG_BLOB_TOO_BIG
,
ERROR_EFS_ALG_BLOB_TOO_BIG
);
cmp2
(
STATUS_BUFFER_ALL_ZEROS
,
ERROR_BUFFER_ALL_ZEROS
);
cmp
(
STATUS_INVALID_USER_BUFFER
,
ERROR_INVALID_USER_BUFFER
);
cmp2
(
STATUS_BAD_COMPRESSION_BUFFER
,
ERROR_BAD_COMPRESSION_BUFFER
);
cmp2
(
STATUS_UNSUPPORTED_COMPRESSION
,
ERROR_UNSUPPORTED_COMPRESSION
);
cmp
(
STATUS_SERIAL_NO_DEVICE_INITED
,
ERROR_SERIAL_NO_DEVICE
);
cmp
(
STATUS_SHARED_IRQ_BUSY
,
ERROR_IRQ_BUSY
);
cmp
(
STATUS_SERIAL_MORE_WRITES
,
ERROR_MORE_WRITES
);
...
...
@@ -584,6 +712,7 @@ static void run_error_tests(void)
cmp
(
STATUS_FLOPPY_WRONG_CYLINDER
,
ERROR_FLOPPY_WRONG_CYLINDER
);
cmp
(
STATUS_FLOPPY_UNKNOWN_ERROR
,
ERROR_FLOPPY_UNKNOWN_ERROR
);
cmp
(
STATUS_FLOPPY_BAD_REGISTERS
,
ERROR_FLOPPY_BAD_REGISTERS
);
cmp2
(
STATUS_FLOPPY_VOLUME
,
ERROR_FLOPPY_VOLUME
);
cmp
(
STATUS_DISK_RECALIBRATE_FAILED
,
ERROR_DISK_RECALIBRATE_FAILED
);
cmp
(
STATUS_DISK_OPERATION_FAILED
,
ERROR_DISK_OPERATION_FAILED
);
cmp
(
STATUS_DISK_RESET_FAILED
,
ERROR_DISK_RESET_FAILED
);
...
...
@@ -609,8 +738,14 @@ static void run_error_tests(void)
cmp
(
STATUS_TRANSACTION_INVALID_TYPE
,
ERROR_UNEXP_NET_ERR
);
cmp
(
STATUS_NOT_SERVER_SESSION
,
ERROR_NOT_SUPPORTED
);
cmp
(
STATUS_NOT_CLIENT_SESSION
,
ERROR_NOT_SUPPORTED
);
cmp2
(
STATUS_CLIENT_SERVER_PARAMETERS_INVALID
,
ERROR_CLIENT_SERVER_PARAMETERS_INVALID
);
cmp
(
STATUS_USER_MAPPED_FILE
,
ERROR_USER_MAPPED_FILE
);
cmp2
(
STATUS_INVALID_HW_PROFILE
,
ERROR_INVALID_HW_PROFILE
);
cmp
(
STATUS_PLUGPLAY_NO_DEVICE
,
ERROR_SERVICE_DISABLED
);
cmp2
(
STATUS_PLUGPLAY_QUERY_VETOED
,
ERROR_PLUGPLAY_QUERY_VETOED
);
cmp2
(
STATUS_INVALID_PLUGPLAY_DEVICE_PATH
,
ERROR_INVALID_PLUGPLAY_DEVICE_PATH
);
cmp2
(
STATUS_PNP_RESTART_ENUMERATION
,
ERROR_PNP_RESTART_ENUMERATION
);
cmp2
(
STATUS_PNP_REBOOT_REQUIRED
,
ERROR_PNP_REBOOT_REQUIRED
);
cmp2
(
STATUS_WMI_GUID_NOT_FOUND
,
ERROR_WMI_GUID_NOT_FOUND
);
cmp2
(
STATUS_WMI_INSTANCE_NOT_FOUND
,
ERROR_WMI_INSTANCE_NOT_FOUND
);
cmp2
(
STATUS_WMI_ITEMID_NOT_FOUND
,
ERROR_WMI_ITEMID_NOT_FOUND
);
...
...
@@ -815,6 +950,7 @@ static void run_error_tests(void)
cmp2
(
CRYPT_E_REVOCATION_OFFLINE
,
ERROR_MUTUAL_AUTH_FAILED
);
cmp2
(
STATUS_SHUTDOWN_IN_PROGRESS
,
ERROR_SHUTDOWN_IN_PROGRESS
);
cmp2
(
STATUS_SERVER_SHUTDOWN_IN_PROGRESS
,
ERROR_SERVER_SHUTDOWN_IN_PROGRESS
);
cmp2
(
STATUS_SYSTEM_SHUTDOWN
,
ERROR_SYSTEM_SHUTDOWN
);
cmp4
(
STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY
,
ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
,
1922
);
cmp4
(
STATUS_DS_NO_ATTRIBUTE_OR_VALUE
,
ERROR_DS_NO_ATTRIBUTE_OR_VALUE
,
1923
);
cmp4
(
STATUS_DS_INVALID_ATTRIBUTE_SYNTAX
,
ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
,
1924
);
...
...
@@ -857,6 +993,7 @@ static void run_error_tests(void)
cmp2
(
STATUS_SAM_NEED_BOOTKEY_FLOPPY
,
ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY
);
cmp2
(
STATUS_DS_INIT_FAILURE_CONSOLE
,
ERROR_DS_INIT_FAILURE_CONSOLE
);
cmp2
(
STATUS_DS_SAM_INIT_FAILURE_CONSOLE
,
ERROR_DS_SAM_INIT_FAILURE_CONSOLE
);
cmp2
(
STATUS_DS_VERSION_CHECK_FAILURE
,
ERROR_DS_VERSION_CHECK_FAILURE
);
cmp2
(
STATUS_UNFINISHED_CONTEXT_DELETED
,
SEC_E_UNFINISHED_CONTEXT_DELETED
);
cmp2
(
STATUS_NO_TGT_REPLY
,
SEC_E_NO_TGT_REPLY
);
cmp2
(
STATUS_NO_IP_ADDRESSES
,
SEC_E_NO_IP_ADDRESSES
);
...
...
@@ -881,6 +1018,7 @@ static void run_error_tests(void)
cmp2
(
STATUS_NOT_SUPPORTED_ON_SBS
,
ERROR_NOT_SUPPORTED_ON_SBS
);
cmp2
(
STATUS_DRIVER_BLOCKED_CRITICAL
,
ERROR_DRIVER_BLOCKED
);
cmp2
(
STATUS_DRIVER_BLOCKED
,
ERROR_DRIVER_BLOCKED
);
cmp2
(
STATUS_DRIVER_CANCEL_TIMEOUT
,
ERROR_DRIVER_CANCEL_TIMEOUT
);
cmp2
(
STATUS_PRENT4_MACHINE_ACCOUNT
,
ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4
);
cmp2
(
STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
,
ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
);
cmp2
(
STATUS_DS_SHUTTING_DOWN
,
ERROR_DS_SHUTTING_DOWN
);
...
...
@@ -926,6 +1064,7 @@ static void run_error_tests(void)
cmp2
(
STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE
,
ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE
);
cmp2
(
STATUS_CTX_SHADOW_NOT_RUNNING
,
ERROR_CTX_SHADOW_NOT_RUNNING
);
cmp2
(
STATUS_LICENSE_VIOLATION
,
ERROR_CTX_LICENSE_NOT_AVAILABLE
);
cmp2
(
STATUS_EVALUATION_EXPIRATION
,
ERROR_EVALUATION_EXPIRATION
);
cmp2
(
STATUS_NETWORK_SESSION_EXPIRED
,
ERROR_NO_USER_SESSION_KEY
);
cmp2
(
STATUS_FILES_OPEN
,
ERROR_OPEN_FILES
);
cmp2
(
STATUS_SXS_SECTION_NOT_FOUND
,
ERROR_SXS_SECTION_NOT_FOUND
);
...
...
@@ -968,6 +1107,7 @@ static void run_error_tests(void)
cmp2
(
STATUS_SXS_FILE_HASH_MISSING
,
ERROR_SXS_FILE_HASH_MISSING
);
cmp2
(
STATUS_REDIRECTOR_STARTED
,
ERROR_SERVICE_ALREADY_RUNNING
);
cmp2
(
STATUS_AUDITING_DISABLED
,
ERROR_AUDITING_DISABLED
);
cmp2
(
STATUS_AUDIT_FAILED
,
ERROR_AUDIT_FAILED
);
cmp2
(
STATUS_CLUSTER_NODE_ALREADY_UP
,
ERROR_CLUSTER_NODE_ALREADY_UP
);
cmp2
(
STATUS_CLUSTER_NODE_ALREADY_DOWN
,
ERROR_CLUSTER_NODE_ALREADY_DOWN
);
cmp2
(
STATUS_CLUSTER_NETWORK_ALREADY_ONLINE
,
ERROR_CLUSTER_NETWORK_ALREADY_ONLINE
);
...
...
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