error.c 157 KB
Newer Older
1 2
/*
 * NTDLL error handling
3
 *
4
 * Copyright 2000 Alexandre Julliard
5
 * Copyright 2002 Andriy Palamarchuk
6
 * Copyright 2010 André Hentschel
7 8 9 10 11 12 13 14 15 16 17 18 19
 *
 * 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
20
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 22
 */

23 24 25
#include <stdarg.h>

#include "ntstatus.h"
26
#define WIN32_NO_STATUS
27
#include "windef.h"
28
#include "winternl.h"
29
#include "winerror.h"
30
#include "wine/debug.h"
31

32
WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
33

34
static ULONG map_status( NTSTATUS status );
35 36

/**************************************************************************
37
 *           RtlNtStatusToDosErrorNoTeb (NTDLL.@)
Jon Griffiths's avatar
Jon Griffiths committed
38 39 40 41 42 43 44 45 46
 *
 * Convert an NTSTATUS code to a Win32 error code.
 *
 * PARAMS
 *  status [I] Nt error code to map.
 *
 * RETURNS
 *  The mapped Win32 error code, or ERROR_MR_MID_NOT_FOUND if there is no
 *  mapping defined.
47
 */
48
ULONG WINAPI RtlNtStatusToDosErrorNoTeb( NTSTATUS status )
49
{
50
    ULONG ret;
51 52 53 54 55 56 57

    if (!status || (status & 0x20000000)) return status;

    /* 0xd... is equivalent to 0xc... */
    if ((status & 0xf0000000) == 0xd0000000) status &= ~0x10000000;

    /* now some special cases */
58 59
    if (HIWORD(status) == 0xc001 || HIWORD(status) == 0x8007 || HIWORD(status) == 0xc007)
        return LOWORD( status );
60

61 62 63 64
    ret = map_status( status );
    if (ret == ERROR_MR_MID_NOT_FOUND && status != STATUS_MESSAGE_NOT_FOUND)
        FIXME( "no mapping for %08x\n", status );
    return ret;
65 66
}

67 68 69 70 71 72 73 74 75 76 77 78 79 80
/**************************************************************************
 *           RtlNtStatusToDosError (NTDLL.@)
 *
 * Convert an NTSTATUS code to a Win32 error code.
 *
 * PARAMS
 *  status [I] Nt error code to map.
 *
 * RETURNS
 *  The mapped Win32 error code, or ERROR_MR_MID_NOT_FOUND if there is no
 *  mapping defined.
 */
ULONG WINAPI RtlNtStatusToDosError( NTSTATUS status )
{
81
    NtCurrentTeb()->LastStatusValue = status;
82 83 84
    return RtlNtStatusToDosErrorNoTeb( status );
}

85 86 87 88 89 90 91 92 93 94
/**********************************************************************
 *      RtlGetLastNtStatus (NTDLL.@)
 *
 * Get the current per-thread status.
 */
NTSTATUS WINAPI RtlGetLastNtStatus(void)
{
    return NtCurrentTeb()->LastStatusValue;
}

95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
/**********************************************************************
 *      RtlGetLastWin32Error (NTDLL.@)
 *
 * Get the current per-thread error value set by a system function or the user.
 *
 * PARAMS
 *  None.
 *
 * RETURNS
 *  The current error value for the thread, as set by SetLastWin32Error() or SetLastError().
 */
DWORD WINAPI RtlGetLastWin32Error(void)
{
    return NtCurrentTeb()->LastErrorValue;
}

/***********************************************************************
 *      RtlSetLastWin32Error (NTDLL.@)
 *      RtlRestoreLastWin32Error (NTDLL.@)
 *
 * Set the per-thread error value.
 *
 * PARAMS
 *  err [I] The new error value to set
119 120 121
 *
 * RETURNS
 *  Nothing.
122 123 124 125 126
 */
void WINAPI RtlSetLastWin32Error( DWORD err )
{
    NtCurrentTeb()->LastErrorValue = err;
}
127

128 129 130 131 132 133 134
/***********************************************************************
 *      RtlSetLastWin32ErrorAndNtStatusFromNtStatus (NTDLL.@)
 *
 * Set the per-thread status and error values.
 *
 * PARAMS
 *  err [I] The new status value to set
135 136 137
 *
 * RETURNS
 *  Nothing.
138 139 140 141 142 143
 */
void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus( NTSTATUS status )
{
    NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError( status );
}

144
/* conversion table, generated by ./make_errors */
145

146
static const DWORD error_map[1579] =
147
{
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
    ERROR_WAIT_1,                                      /* 00000001 (STATUS_WAIT_1) */
    ERROR_WAIT_2,                                      /* 00000002 (STATUS_WAIT_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) */
    ERROR_KERNEL_APC,                                  /* 00000100 (STATUS_KERNEL_APC) */
    ERROR_ALERTED,                                     /* 00000101 (STATUS_ALERTED) */
    ERROR_TIMEOUT,                                     /* 00000102 (STATUS_TIMEOUT) */
    ERROR_IO_PENDING,                                  /* 00000103 (STATUS_PENDING) */
    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) */
    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) */
    ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED,            /* 0000010e (STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED) */
    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) */
    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) */
    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) */
189 190 191 192 193 194 195
    ERROR_NOTHING_TO_TERMINATE,                        /* 00000122 (STATUS_NOTHING_TO_TERMINATE) */
    ERROR_PROCESS_NOT_IN_JOB,                          /* 00000123 (STATUS_PROCESS_NOT_IN_JOB) */
    ERROR_PROCESS_IN_JOB,                              /* 00000124 (STATUS_PROCESS_IN_JOB) */
    ERROR_VOLSNAP_HIBERNATE_READY,                     /* 00000125 (STATUS_VOLSNAP_HIBERNATE_READY) */
    ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY,          /* 00000126 (STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY) */
    ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED,          /* 00000127 (STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED) */
    ERROR_INTERRUPT_STILL_CONNECTED,                   /* 00000128 (STATUS_INTERRUPT_STILL_CONNECTED) */
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
    ERROR_DBG_EXCEPTION_HANDLED,                       /* 00010001 (DBG_EXCEPTION_HANDLED) */
    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) */
    ERROR_IMAGE_NOT_AT_BASE,                           /* 40000003 (STATUS_IMAGE_NOT_AT_BASE) */
    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) */
    ERROR_BAD_CURRENT_DIRECTORY,                       /* 40000007 (STATUS_BAD_CURRENT_DIRECTORY) */
    ERROR_MORE_WRITES,                                 /* 40000008 (STATUS_SERIAL_MORE_WRITES) */
    ERROR_REGISTRY_RECOVERED,                          /* 40000009 (STATUS_REGISTRY_RECOVERED) */
    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) */
    ERROR_RECEIVE_PARTIAL,                             /* 4000000f (STATUS_RECEIVE_PARTIAL) */
    ERROR_RECEIVE_EXPEDITED,                           /* 40000010 (STATUS_RECEIVE_EXPEDITED) */
    ERROR_RECEIVE_PARTIAL_EXPEDITED,                   /* 40000011 (STATUS_RECEIVE_PARTIAL_EXPEDITED) */
    ERROR_EVENT_DONE,                                  /* 40000012 (STATUS_EVENT_DONE) */
    ERROR_EVENT_PENDING,                               /* 40000013 (STATUS_EVENT_PENDING) */
    ERROR_CHECKING_FILE_SYSTEM,                        /* 40000014 (STATUS_CHECKING_FILE_SYSTEM) */
    ERROR_FATAL_APP_EXIT,                              /* 40000015 (STATUS_FATAL_APP_EXIT) */
    ERROR_PREDEFINED_HANDLE,                           /* 40000016 (STATUS_PREDEFINED_HANDLE) */
    ERROR_WAS_UNLOCKED,                                /* 40000017 (STATUS_WAS_UNLOCKED) */
    ERROR_SERVICE_NOTIFICATION,                        /* 40000018 (STATUS_SERVICE_NOTIFICATION) */
    ERROR_WAS_LOCKED,                                  /* 40000019 (STATUS_WAS_LOCKED) */
    ERROR_LOG_HARD_ERROR,                              /* 4000001a (STATUS_LOG_HARD_ERROR) */
    ERROR_ALREADY_WIN32,                               /* 4000001b (STATUS_ALREADY_WIN32) */
226 227 228 229 230 231 232
    ERROR_WX86_WARNING,                                /* 4000001c (STATUS_WX86_UNSIMULATE) */
    ERROR_WX86_WARNING,                                /* 4000001d (STATUS_WX86_CONTINUE) */
    ERROR_WX86_WARNING,                                /* 4000001e (STATUS_WX86_SINGLE_STEP) */
    ERROR_WX86_WARNING,                                /* 4000001f (STATUS_WX86_BREAKPOINT) */
    ERROR_WX86_WARNING,                                /* 40000020 (STATUS_WX86_EXCEPTION_CONTINUE) */
    ERROR_WX86_WARNING,                                /* 40000021 (STATUS_WX86_EXCEPTION_LASTCHANCE) */
    ERROR_WX86_WARNING,                                /* 40000022 (STATUS_WX86_EXCEPTION_CHAIN) */
233 234 235 236 237
    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) */
238
    ERROR_WX86_WARNING,                                /* 40000028 (STATUS_WX86_CREATEWX86TIB) */
239 240 241 242
    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) */
243 244 245 246 247 248 249 250 251 252
    ERROR_DRIVERS_LEAKING_LOCKED_PAGES,                /* 4000002d (STATUS_DRIVERS_LEAKING_LOCKED_PAGES) */
    ERROR_INTERNAL_ERROR,                              /* 4000002e (STATUS_MESSAGE_RETRIEVED) */
    ERROR_SYSTEM_POWERSTATE_TRANSITION,                /* 4000002f (STATUS_SYSTEM_POWERSTATE_TRANSITION) */
    ERROR_INTERNAL_ERROR,                              /* 40000030 (STATUS_ALPC_CHECK_COMPLETION_LIST) */
    ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION,        /* 40000031 (STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION) */
    ERROR_ACCESS_AUDIT_BY_POLICY,                      /* 40000032 (STATUS_ACCESS_AUDIT_BY_POLICY) */
    ERROR_ABANDON_HIBERFILE,                           /* 40000033 (STATUS_ABANDON_HIBERFILE) */
    ERROR_BIZRULES_NOT_ENABLED,                        /* 40000034 (STATUS_BIZRULES_NOT_ENABLED) */
    ERROR_MR_MID_NOT_FOUND,                            /* 40000035 (STATUS_FT_READ_FROM_COPY) */
    ERROR_IMAGE_AT_DIFFERENT_BASE,                     /* 40000036 (STATUS_IMAGE_AT_DIFFERENT_BASE) */
253 254
    ERROR_WAKE_SYSTEM,                                 /* 40000294 (STATUS_WAKE_SYSTEM) */
    ERROR_DS_SHUTTING_DOWN,                            /* 40000370 (STATUS_DS_SHUTTING_DOWN) */
255 256
    ERROR_DBG_REPLY_LATER,                             /* 40010001 (DBG_REPLY_LATER) */
    ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE,                /* 40010002 (DBG_UNABLE_TO_PROVIDE_HANDLE) */
257 258 259 260 261 262 263
    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) */
264
    ERROR_DBG_PRINTEXCEPTION_C,                        /* 4001000a (DBG_PRINTEXCEPTION_WIDE_C) */
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
    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) */
    STATUS_SINGLE_STEP,                                /* 80000004 (STATUS_SINGLE_STEP) */
    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) */
    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) */
    ERROR_PARTIAL_COPY,                                /* 8000000d (STATUS_PARTIAL_COPY) */
    ERROR_OUT_OF_PAPER,                                /* 8000000e (STATUS_DEVICE_PAPER_EMPTY) */
    ERROR_NOT_READY,                                   /* 8000000f (STATUS_DEVICE_POWERED_OFF) */
    ERROR_NOT_READY,                                   /* 80000010 (STATUS_DEVICE_OFF_LINE) */
    ERROR_BUSY,                                        /* 80000011 (STATUS_DEVICE_BUSY) */
    ERROR_NO_MORE_ITEMS,                               /* 80000012 (STATUS_NO_MORE_EAS) */
    ERROR_INVALID_EA_NAME,                             /* 80000013 (STATUS_INVALID_EA_NAME) */
    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) */
    ERROR_EXTRANEOUS_INFORMATION,                      /* 80000017 (STATUS_EXTRANEOUS_INFORMATION) */
    ERROR_RXACT_COMMIT_NECESSARY,                      /* 80000018 (STATUS_RXACT_COMMIT_NECESSARY) */
    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) */
    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) */
    ERROR_MEDIA_CHECK,                                 /* 80000020 (STATUS_MEDIA_CHECK) */
    ERROR_SETMARK_DETECTED,                            /* 80000021 (STATUS_SETMARK_DETECTED) */
    ERROR_NO_DATA_DETECTED,                            /* 80000022 (STATUS_NO_DATA_DETECTED) */
    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) */
    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) */
311 312 313 314 315 316
    ERROR_STOPPED_ON_SYMLINK,                          /* 8000002d (STATUS_STOPPED_ON_SYMLINK) */
    ERROR_CANNOT_GRANT_REQUESTED_OPLOCK,               /* 8000002e (STATUS_CANNOT_GRANT_REQUESTED_OPLOCK) */
    ERROR_NO_ACE_CONDITION,                            /* 8000002f (STATUS_NO_ACE_CONDITION) */
    ERROR_DEVICE_SUPPORT_IN_PROGRESS,                  /* 80000030 (STATUS_DEVICE_SUPPORT_IN_PROGRESS) */
    STG_S_POWER_CYCLE_REQUIRED,                        /* 80000031 (STATUS_DEVICE_POWER_CYCLE_REQUIRED) */
    ERROR_NO_WORK_DONE,                                /* 80000032 (STATUS_NO_WORK_DONE) */
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
    ERROR_DEVICE_REQUIRES_CLEANING,                    /* 80000288 (STATUS_DEVICE_REQUIRES_CLEANING) */
    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) */
    ERROR_BAD_NETPATH,                                 /* 80090303 (SEC_E_TARGET_UNKNOWN) */
    ERROR_INTERNAL_ERROR,                              /* 80090304 (SEC_E_INTERNAL_ERROR) */
    ERROR_NO_SUCH_PACKAGE,                             /* 80090305 (SEC_E_SECPKG_NOT_FOUND) */
    ERROR_NOT_OWNER,                                   /* 80090306 (SEC_E_NOT_OWNER) */
    ERROR_NO_SUCH_PACKAGE,                             /* 80090307 (SEC_E_CANNOT_INSTALL) */
    ERROR_INVALID_PARAMETER,                           /* 80090308 (SEC_E_INVALID_TOKEN) */
    ERROR_INVALID_PARAMETER,                           /* 80090309 (SEC_E_CANNOT_PACK) */
    ERROR_NOT_SUPPORTED,                               /* 8009030a (SEC_E_QOP_NOT_SUPPORTED) */
    ERROR_CANNOT_IMPERSONATE,                          /* 8009030b (SEC_E_NO_IMPERSONATION) */
    ERROR_LOGON_FAILURE,                               /* 8009030c (SEC_E_LOGON_DENIED) */
    ERROR_INVALID_PARAMETER,                           /* 8009030d (SEC_E_UNKNOWN_CREDENTIALS) */
    ERROR_NO_SUCH_LOGON_SESSION,                       /* 8009030e (SEC_E_NO_CREDENTIALS) */
    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) */
    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) */
    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) */
    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) */
    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) */
370 371 372 373 374 375 376 377 378 379
    ERROR_MR_MID_NOT_FOUND,                            /* 80090332 (SEC_E_SECURITY_QOS_FAILED) */
    ERROR_CONTEXT_EXPIRED,                             /* 80090333 (SEC_E_UNFINISHED_CONTEXT_DELETED) */
    ERROR_SHUTDOWN_IN_PROGRESS,                        /* 8009033f (SEC_E_SHUTDOWN_IN_PROGRESS) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090340 (SEC_E_KDC_INVALID_REQUEST) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090341 (SEC_E_KDC_UNABLE_TO_REFER) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090342 (SEC_E_KDC_UNKNOWN_ETYPE) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090343 (SEC_E_UNSUPPORTED_PREAUTH) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090344 */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090345 (SEC_E_DELEGATION_REQUIRED) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090346 (SEC_E_BAD_BINDINGS) */
380
    ERROR_CANNOT_IMPERSONATE,                          /* 80090347 (SEC_E_MULTIPLE_ACCOUNTS) */
381 382 383 384 385 386 387 388 389 390 391 392 393
    ERROR_MR_MID_NOT_FOUND,                            /* 80090348 (SEC_E_NO_KERB_KEY) */
    ERROR_BAD_TOKEN_TYPE,                              /* 80090349 (SEC_E_CERT_WRONG_USAGE) */
    ERROR_INVALID_PARAMETER,                           /* 8009035d (SEC_E_INVALID_PARAMETER) */
    ERROR_ACCESS_DENIED,                               /* 8009035e (SEC_E_DELEGATION_POLICY) */
    ERROR_ACCESS_DENIED,                               /* 8009035f (SEC_E_POLICY_NLTM_ONLY) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090360 */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090361 (SEC_E_NO_CONTEXT) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090362 (SEC_E_PKU2U_CERT_FAILURE) */
    ERROR_MUTUAL_AUTH_FAILED,                          /* 80090363 (SEC_E_MUTUAL_AUTH_FAILED) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090364 */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090365 (SEC_E_ONLY_HTTPS_ALLOWED) */
    ERROR_MR_MID_NOT_FOUND,                            /* 80090366 */
    ERROR_NOT_SUPPORTED,                               /* 80090367 (SEC_E_APPLICATION_PROTOCOL_MISMATCH) */
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
    ERROR_MUTUAL_AUTH_FAILED,                          /* 80092010 (CRYPT_E_REVOKED) */
    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) */
    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) */
    ERROR_GEN_FAILURE,                                 /* c0000001 (STATUS_UNSUCCESSFUL) */
    ERROR_INVALID_FUNCTION,                            /* c0000002 (STATUS_NOT_IMPLEMENTED) */
    ERROR_INVALID_PARAMETER,                           /* c0000003 (STATUS_INVALID_INFO_CLASS) */
    ERROR_BAD_LENGTH,                                  /* c0000004 (STATUS_INFO_LENGTH_MISMATCH) */
    ERROR_NOACCESS,                                    /* c0000005 (STATUS_ACCESS_VIOLATION) */
    ERROR_SWAPERROR,                                   /* c0000006 (STATUS_IN_PAGE_ERROR) */
    ERROR_PAGEFILE_QUOTA,                              /* c0000007 (STATUS_PAGEFILE_QUOTA) */
    ERROR_INVALID_HANDLE,                              /* c0000008 (STATUS_INVALID_HANDLE) */
    ERROR_STACK_OVERFLOW,                              /* c0000009 (STATUS_BAD_INITIAL_STACK) */
    ERROR_BAD_EXE_FORMAT,                              /* c000000a (STATUS_BAD_INITIAL_PC) */
    ERROR_INVALID_PARAMETER,                           /* c000000b (STATUS_INVALID_CID) */
415
    ERROR_TIMER_NOT_CANCELED,                          /* c000000c (STATUS_TIMER_NOT_CANCELED) */
416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
    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) */
    ERROR_INVALID_FUNCTION,                            /* c0000010 (STATUS_INVALID_DEVICE_REQUEST) */
    ERROR_HANDLE_EOF,                                  /* c0000011 (STATUS_END_OF_FILE) */
    ERROR_WRONG_DISK,                                  /* c0000012 (STATUS_WRONG_VOLUME) */
    ERROR_NOT_READY,                                   /* c0000013 (STATUS_NO_MEDIA_IN_DEVICE) */
    ERROR_UNRECOGNIZED_MEDIA,                          /* c0000014 (STATUS_UNRECOGNIZED_MEDIA) */
    ERROR_SECTOR_NOT_FOUND,                            /* c0000015 (STATUS_NONEXISTENT_SECTOR) */
    ERROR_MORE_DATA,                                   /* c0000016 (STATUS_MORE_PROCESSING_REQUIRED) */
    ERROR_NOT_ENOUGH_MEMORY,                           /* c0000017 (STATUS_NO_MEMORY) */
    ERROR_INVALID_ADDRESS,                             /* c0000018 (STATUS_CONFLICTING_ADDRESSES) */
    ERROR_INVALID_ADDRESS,                             /* c0000019 (STATUS_NOT_MAPPED_VIEW) */
    ERROR_INVALID_PARAMETER,                           /* c000001a (STATUS_UNABLE_TO_FREE_VM) */
    ERROR_INVALID_PARAMETER,                           /* c000001b (STATUS_UNABLE_TO_DELETE_SECTION) */
    ERROR_INVALID_FUNCTION,                            /* c000001c (STATUS_INVALID_SYSTEM_SERVICE) */
432
    STATUS_ILLEGAL_INSTRUCTION,                        /* c000001d (STATUS_ILLEGAL_INSTRUCTION) */
433 434 435 436 437 438 439 440 441
    ERROR_ACCESS_DENIED,                               /* c000001e (STATUS_INVALID_LOCK_SEQUENCE) */
    ERROR_ACCESS_DENIED,                               /* c000001f (STATUS_INVALID_VIEW_SIZE) */
    ERROR_BAD_EXE_FORMAT,                              /* c0000020 (STATUS_INVALID_FILE_FOR_SECTION) */
    ERROR_ACCESS_DENIED,                               /* c0000021 (STATUS_ALREADY_COMMITTED) */
    ERROR_ACCESS_DENIED,                               /* c0000022 (STATUS_ACCESS_DENIED) */
    ERROR_INSUFFICIENT_BUFFER,                         /* c0000023 (STATUS_BUFFER_TOO_SMALL) */
    ERROR_INVALID_HANDLE,                              /* c0000024 (STATUS_OBJECT_TYPE_MISMATCH) */
    STATUS_NONCONTINUABLE_EXCEPTION,                   /* c0000025 (STATUS_NONCONTINUABLE_EXCEPTION) */
    STATUS_INVALID_DISPOSITION,                        /* c0000026 (STATUS_INVALID_DISPOSITION) */
442 443 444
    ERROR_UNWIND,                                      /* c0000027 (STATUS_UNWIND) */
    ERROR_BAD_STACK,                                   /* c0000028 (STATUS_BAD_STACK) */
    ERROR_INVALID_UNWIND_TARGET,                       /* c0000029 (STATUS_INVALID_UNWIND_TARGET) */
445 446 447 448
    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) */
449 450
    ERROR_INVALID_PORT_ATTRIBUTES,                     /* c000002e (STATUS_INVALID_PORT_ATTRIBUTES) */
    ERROR_PORT_MESSAGE_TOO_LONG,                       /* c000002f (STATUS_PORT_MESSAGE_TOO_LONG) */
451
    ERROR_INVALID_PARAMETER,                           /* c0000030 (STATUS_INVALID_PARAMETER_MIX) */
452
    ERROR_INVALID_QUOTA_LOWER,                         /* c0000031 (STATUS_INVALID_QUOTA_LOWER) */
453 454 455 456
    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) */
457
    RPC_S_DO_NOT_DISTURB,                              /* c0000036 (STATUS_PORT_DO_NOT_DISTURB) */
458
    ERROR_INVALID_HANDLE,                              /* c0000037 (STATUS_PORT_DISCONNECTED) */
459
    ERROR_DEVICE_ALREADY_ATTACHED,                     /* c0000038 (STATUS_DEVICE_ALREADY_ATTACHED) */
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
    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) */
    ERROR_IO_DEVICE,                                   /* c000003c (STATUS_DATA_OVERRUN) */
    ERROR_IO_DEVICE,                                   /* c000003d (STATUS_DATA_LATE_ERROR) */
    ERROR_CRC,                                         /* c000003e (STATUS_DATA_ERROR) */
    ERROR_CRC,                                         /* c000003f (STATUS_CRC_ERROR) */
    ERROR_NOT_ENOUGH_MEMORY,                           /* c0000040 (STATUS_SECTION_TOO_BIG) */
    ERROR_ACCESS_DENIED,                               /* c0000041 (STATUS_PORT_CONNECTION_REFUSED) */
    ERROR_INVALID_HANDLE,                              /* c0000042 (STATUS_INVALID_PORT_HANDLE) */
    ERROR_SHARING_VIOLATION,                           /* c0000043 (STATUS_SHARING_VIOLATION) */
    ERROR_NOT_ENOUGH_QUOTA,                            /* c0000044 (STATUS_QUOTA_EXCEEDED) */
    ERROR_INVALID_PARAMETER,                           /* c0000045 (STATUS_INVALID_PAGE_PROTECTION) */
    ERROR_NOT_OWNER,                                   /* c0000046 (STATUS_MUTANT_NOT_OWNED) */
    ERROR_TOO_MANY_POSTS,                              /* c0000047 (STATUS_SEMAPHORE_LIMIT_EXCEEDED) */
    ERROR_INVALID_PARAMETER,                           /* c0000048 (STATUS_PORT_ALREADY_SET) */
    ERROR_INVALID_PARAMETER,                           /* c0000049 (STATUS_SECTION_NOT_IMAGE) */
    ERROR_SIGNAL_REFUSED,                              /* c000004a (STATUS_SUSPEND_COUNT_EXCEEDED) */
    ERROR_ACCESS_DENIED,                               /* c000004b (STATUS_THREAD_IS_TERMINATING) */
    ERROR_INVALID_PARAMETER,                           /* c000004c (STATUS_BAD_WORKING_SET_LIMIT) */
    ERROR_INVALID_PARAMETER,                           /* c000004d (STATUS_INCOMPATIBLE_FILE_MAP) */
    ERROR_INVALID_PARAMETER,                           /* c000004e (STATUS_SECTION_PROTECTION) */
    ERROR_EAS_NOT_SUPPORTED,                           /* c000004f (STATUS_EAS_NOT_SUPPORTED) */
    ERROR_EA_LIST_INCONSISTENT,                        /* c0000050 (STATUS_EA_TOO_LARGE) */
    ERROR_FILE_CORRUPT,                                /* c0000051 (STATUS_NONEXISTENT_EA_ENTRY) */
    ERROR_FILE_CORRUPT,                                /* c0000052 (STATUS_NO_EAS_ON_FILE) */
    ERROR_FILE_CORRUPT,                                /* c0000053 (STATUS_EA_CORRUPT_ERROR) */
    ERROR_LOCK_VIOLATION,                              /* c0000054 (STATUS_FILE_LOCK_CONFLICT) */
    ERROR_LOCK_VIOLATION,                              /* c0000055 (STATUS_LOCK_NOT_GRANTED) */
    ERROR_ACCESS_DENIED,                               /* c0000056 (STATUS_DELETE_PENDING) */
    ERROR_NOT_SUPPORTED,                               /* c0000057 (STATUS_CTL_FILE_NOT_SUPPORTED) */
    ERROR_UNKNOWN_REVISION,                            /* c0000058 (STATUS_UNKNOWN_REVISION) */
    ERROR_REVISION_MISMATCH,                           /* c0000059 (STATUS_REVISION_MISMATCH) */
    ERROR_INVALID_OWNER,                               /* c000005a (STATUS_INVALID_OWNER) */
    ERROR_INVALID_PRIMARY_GROUP,                       /* c000005b (STATUS_INVALID_PRIMARY_GROUP) */
    ERROR_NO_IMPERSONATION_TOKEN,                      /* c000005c (STATUS_NO_IMPERSONATION_TOKEN) */
    ERROR_CANT_DISABLE_MANDATORY,                      /* c000005d (STATUS_CANT_DISABLE_MANDATORY) */
    ERROR_NO_LOGON_SERVERS,                            /* c000005e (STATUS_NO_LOGON_SERVERS) */
    ERROR_NO_SUCH_LOGON_SESSION,                       /* c000005f (STATUS_NO_SUCH_LOGON_SESSION) */
    ERROR_NO_SUCH_PRIVILEGE,                           /* c0000060 (STATUS_NO_SUCH_PRIVILEGE) */
    ERROR_PRIVILEGE_NOT_HELD,                          /* c0000061 (STATUS_PRIVILEGE_NOT_HELD) */
    ERROR_INVALID_ACCOUNT_NAME,                        /* c0000062 (STATUS_INVALID_ACCOUNT_NAME) */
    ERROR_USER_EXISTS,                                 /* c0000063 (STATUS_USER_EXISTS) */
    ERROR_NO_SUCH_USER,                                /* c0000064 (STATUS_NO_SUCH_USER) */
    ERROR_GROUP_EXISTS,                                /* c0000065 (STATUS_GROUP_EXISTS) */
    ERROR_NO_SUCH_GROUP,                               /* c0000066 (STATUS_NO_SUCH_GROUP) */
    ERROR_MEMBER_IN_GROUP,                             /* c0000067 (STATUS_MEMBER_IN_GROUP) */
    ERROR_MEMBER_NOT_IN_GROUP,                         /* c0000068 (STATUS_MEMBER_NOT_IN_GROUP) */
    ERROR_LAST_ADMIN,                                  /* c0000069 (STATUS_LAST_ADMIN) */
    ERROR_INVALID_PASSWORD,                            /* c000006a (STATUS_WRONG_PASSWORD) */
    ERROR_ILL_FORMED_PASSWORD,                         /* c000006b (STATUS_ILL_FORMED_PASSWORD) */
    ERROR_PASSWORD_RESTRICTION,                        /* c000006c (STATUS_PASSWORD_RESTRICTION) */
    ERROR_LOGON_FAILURE,                               /* c000006d (STATUS_LOGON_FAILURE) */
    ERROR_ACCOUNT_RESTRICTION,                         /* c000006e (STATUS_ACCOUNT_RESTRICTION) */
    ERROR_INVALID_LOGON_HOURS,                         /* c000006f (STATUS_INVALID_LOGON_HOURS) */
    ERROR_INVALID_WORKSTATION,                         /* c0000070 (STATUS_INVALID_WORKSTATION) */
    ERROR_PASSWORD_EXPIRED,                            /* c0000071 (STATUS_PASSWORD_EXPIRED) */
    ERROR_ACCOUNT_DISABLED,                            /* c0000072 (STATUS_ACCOUNT_DISABLED) */
    ERROR_NONE_MAPPED,                                 /* c0000073 (STATUS_NONE_MAPPED) */
    ERROR_TOO_MANY_LUIDS_REQUESTED,                    /* c0000074 (STATUS_TOO_MANY_LUIDS_REQUESTED) */
    ERROR_LUIDS_EXHAUSTED,                             /* c0000075 (STATUS_LUIDS_EXHAUSTED) */
    ERROR_INVALID_SUB_AUTHORITY,                       /* c0000076 (STATUS_INVALID_SUB_AUTHORITY) */
    ERROR_INVALID_ACL,                                 /* c0000077 (STATUS_INVALID_ACL) */
    ERROR_INVALID_SID,                                 /* c0000078 (STATUS_INVALID_SID) */
    ERROR_INVALID_SECURITY_DESCR,                      /* c0000079 (STATUS_INVALID_SECURITY_DESCR) */
    ERROR_PROC_NOT_FOUND,                              /* c000007a (STATUS_PROCEDURE_NOT_FOUND) */
    ERROR_BAD_EXE_FORMAT,                              /* c000007b (STATUS_INVALID_IMAGE_FORMAT) */
    ERROR_NO_TOKEN,                                    /* c000007c (STATUS_NO_TOKEN) */
    ERROR_BAD_INHERITANCE_ACL,                         /* c000007d (STATUS_BAD_INHERITANCE_ACL) */
    ERROR_NOT_LOCKED,                                  /* c000007e (STATUS_RANGE_NOT_LOCKED) */
    ERROR_DISK_FULL,                                   /* c000007f (STATUS_DISK_FULL) */
    ERROR_SERVER_DISABLED,                             /* c0000080 (STATUS_SERVER_DISABLED) */
    ERROR_SERVER_NOT_DISABLED,                         /* c0000081 (STATUS_SERVER_NOT_DISABLED) */
    ERROR_TOO_MANY_NAMES,                              /* c0000082 (STATUS_TOO_MANY_GUIDS_REQUESTED) */
    ERROR_NO_MORE_ITEMS,                               /* c0000083 (STATUS_GUIDS_EXHAUSTED) */
    ERROR_INVALID_ID_AUTHORITY,                        /* c0000084 (STATUS_INVALID_ID_AUTHORITY) */
    ERROR_NO_MORE_ITEMS,                               /* c0000085 (STATUS_AGENTS_EXHAUSTED) */
    ERROR_LABEL_TOO_LONG,                              /* c0000086 (STATUS_INVALID_VOLUME_LABEL) */
    ERROR_OUTOFMEMORY,                                 /* c0000087 (STATUS_SECTION_NOT_EXTENDED) */
    ERROR_INVALID_ADDRESS,                             /* c0000088 (STATUS_NOT_MAPPED_DATA) */
    ERROR_RESOURCE_DATA_NOT_FOUND,                     /* c0000089 (STATUS_RESOURCE_DATA_NOT_FOUND) */
    ERROR_RESOURCE_TYPE_NOT_FOUND,                     /* c000008a (STATUS_RESOURCE_TYPE_NOT_FOUND) */
    ERROR_RESOURCE_NAME_NOT_FOUND,                     /* c000008b (STATUS_RESOURCE_NAME_NOT_FOUND) */
    STATUS_ARRAY_BOUNDS_EXCEEDED,                      /* c000008c (STATUS_ARRAY_BOUNDS_EXCEEDED) */
    STATUS_FLOAT_DENORMAL_OPERAND,                     /* c000008d (STATUS_FLOAT_DENORMAL_OPERAND) */
    STATUS_FLOAT_DIVIDE_BY_ZERO,                       /* c000008e (STATUS_FLOAT_DIVIDE_BY_ZERO) */
    STATUS_FLOAT_INEXACT_RESULT,                       /* c000008f (STATUS_FLOAT_INEXACT_RESULT) */
    STATUS_FLOAT_INVALID_OPERATION,                    /* c0000090 (STATUS_FLOAT_INVALID_OPERATION) */
    STATUS_FLOAT_OVERFLOW,                             /* c0000091 (STATUS_FLOAT_OVERFLOW) */
    STATUS_FLOAT_STACK_CHECK,                          /* c0000092 (STATUS_FLOAT_STACK_CHECK) */
    STATUS_FLOAT_UNDERFLOW,                            /* c0000093 (STATUS_FLOAT_UNDERFLOW) */
    STATUS_INTEGER_DIVIDE_BY_ZERO,                     /* c0000094 (STATUS_INTEGER_DIVIDE_BY_ZERO) */
    ERROR_ARITHMETIC_OVERFLOW,                         /* c0000095 (STATUS_INTEGER_OVERFLOW) */
    STATUS_PRIVILEGED_INSTRUCTION,                     /* c0000096 (STATUS_PRIVILEGED_INSTRUCTION) */
    ERROR_NOT_ENOUGH_MEMORY,                           /* c0000097 (STATUS_TOO_MANY_PAGING_FILES) */
    ERROR_FILE_INVALID,                                /* c0000098 (STATUS_FILE_INVALID) */
    ERROR_ALLOTTED_SPACE_EXCEEDED,                     /* c0000099 (STATUS_ALLOTTED_SPACE_EXCEEDED) */
    ERROR_NO_SYSTEM_RESOURCES,                         /* c000009a (STATUS_INSUFFICIENT_RESOURCES) */
    ERROR_PATH_NOT_FOUND,                              /* c000009b (STATUS_DFS_EXIT_PATH_FOUND) */
    ERROR_CRC,                                         /* c000009c (STATUS_DEVICE_DATA_ERROR) */
    ERROR_DEVICE_NOT_CONNECTED,                        /* c000009d (STATUS_DEVICE_NOT_CONNECTED) */
    ERROR_NOT_READY,                                   /* c000009e (STATUS_DEVICE_POWER_FAILURE) */
    ERROR_INVALID_ADDRESS,                             /* c000009f (STATUS_FREE_VM_NOT_AT_BASE) */
    ERROR_INVALID_ADDRESS,                             /* c00000a0 (STATUS_MEMORY_NOT_ALLOCATED) */
    ERROR_WORKING_SET_QUOTA,                           /* c00000a1 (STATUS_WORKING_SET_QUOTA) */
    ERROR_WRITE_PROTECT,                               /* c00000a2 (STATUS_MEDIA_WRITE_PROTECTED) */
    ERROR_NOT_READY,                                   /* c00000a3 (STATUS_DEVICE_NOT_READY) */
    ERROR_INVALID_GROUP_ATTRIBUTES,                    /* c00000a4 (STATUS_INVALID_GROUP_ATTRIBUTES) */
    ERROR_BAD_IMPERSONATION_LEVEL,                     /* c00000a5 (STATUS_BAD_IMPERSONATION_LEVEL) */
    ERROR_CANT_OPEN_ANONYMOUS,                         /* c00000a6 (STATUS_CANT_OPEN_ANONYMOUS) */
    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) */
573
    ERROR_INSTRUCTION_MISALIGNMENT,                    /* c00000aa (STATUS_INSTRUCTION_MISALIGNMENT) */
574 575 576 577 578 579 580 581 582 583 584 585
    ERROR_PIPE_BUSY,                                   /* c00000ab (STATUS_INSTANCE_NOT_AVAILABLE) */
    ERROR_PIPE_BUSY,                                   /* c00000ac (STATUS_PIPE_NOT_AVAILABLE) */
    ERROR_BAD_PIPE,                                    /* c00000ad (STATUS_INVALID_PIPE_STATE) */
    ERROR_PIPE_BUSY,                                   /* c00000ae (STATUS_PIPE_BUSY) */
    ERROR_INVALID_FUNCTION,                            /* c00000af (STATUS_ILLEGAL_FUNCTION) */
    ERROR_PIPE_NOT_CONNECTED,                          /* c00000b0 (STATUS_PIPE_DISCONNECTED) */
    ERROR_NO_DATA,                                     /* c00000b1 (STATUS_PIPE_CLOSING) */
    ERROR_PIPE_CONNECTED,                              /* c00000b2 (STATUS_PIPE_CONNECTED) */
    ERROR_PIPE_LISTENING,                              /* c00000b3 (STATUS_PIPE_LISTENING) */
    ERROR_BAD_PIPE,                                    /* c00000b4 (STATUS_INVALID_READ_MODE) */
    ERROR_SEM_TIMEOUT,                                 /* c00000b5 (STATUS_IO_TIMEOUT) */
    ERROR_HANDLE_EOF,                                  /* c00000b6 (STATUS_FILE_FORCED_CLOSED) */
586 587 588
    ERROR_PROFILING_NOT_STARTED,                       /* c00000b7 (STATUS_PROFILING_NOT_STARTED) */
    ERROR_PROFILING_NOT_STOPPED,                       /* c00000b8 (STATUS_PROFILING_NOT_STOPPED) */
    ERROR_COULD_NOT_INTERPRET,                         /* c00000b9 (STATUS_COULD_NOT_INTERPRET) */
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
    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) */
    ERROR_DUP_NAME,                                    /* c00000bd (STATUS_DUPLICATE_NAME) */
    ERROR_BAD_NETPATH,                                 /* c00000be (STATUS_BAD_NETWORK_PATH) */
    ERROR_NETWORK_BUSY,                                /* c00000bf (STATUS_NETWORK_BUSY) */
    ERROR_DEV_NOT_EXIST,                               /* c00000c0 (STATUS_DEVICE_DOES_NOT_EXIST) */
    ERROR_TOO_MANY_CMDS,                               /* c00000c1 (STATUS_TOO_MANY_COMMANDS) */
    ERROR_ADAP_HDW_ERR,                                /* c00000c2 (STATUS_ADAPTER_HARDWARE_ERROR) */
    ERROR_BAD_NET_RESP,                                /* c00000c3 (STATUS_INVALID_NETWORK_RESPONSE) */
    ERROR_UNEXP_NET_ERR,                               /* c00000c4 (STATUS_UNEXPECTED_NETWORK_ERROR) */
    ERROR_BAD_REM_ADAP,                                /* c00000c5 (STATUS_BAD_REMOTE_ADAPTER) */
    ERROR_PRINTQ_FULL,                                 /* c00000c6 (STATUS_PRINT_QUEUE_FULL) */
    ERROR_NO_SPOOL_SPACE,                              /* c00000c7 (STATUS_NO_SPOOL_SPACE) */
    ERROR_PRINT_CANCELLED,                             /* c00000c8 (STATUS_PRINT_CANCELLED) */
    ERROR_NETNAME_DELETED,                             /* c00000c9 (STATUS_NETWORK_NAME_DELETED) */
    ERROR_NETWORK_ACCESS_DENIED,                       /* c00000ca (STATUS_NETWORK_ACCESS_DENIED) */
    ERROR_BAD_DEV_TYPE,                                /* c00000cb (STATUS_BAD_DEVICE_TYPE) */
    ERROR_BAD_NET_NAME,                                /* c00000cc (STATUS_BAD_NETWORK_NAME) */
    ERROR_TOO_MANY_NAMES,                              /* c00000cd (STATUS_TOO_MANY_NAMES) */
    ERROR_TOO_MANY_SESS,                               /* c00000ce (STATUS_TOO_MANY_SESSIONS) */
    ERROR_SHARING_PAUSED,                              /* c00000cf (STATUS_SHARING_PAUSED) */
    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) */
614
    ERROR_PROFILING_AT_LIMIT,                          /* c00000d3 (STATUS_PROFILING_AT_LIMIT) */
615 616 617 618
    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) */
619
    ERROR_CANT_WAIT,                                   /* c00000d8 (STATUS_CANT_WAIT) */
620 621
    ERROR_NO_DATA,                                     /* c00000d9 (STATUS_PIPE_EMPTY) */
    ERROR_CANT_ACCESS_DOMAIN_INFO,                     /* c00000da (STATUS_CANT_ACCESS_DOMAIN_INFO) */
622
    ERROR_CANT_TERMINATE_SELF,                         /* c00000db (STATUS_CANT_TERMINATE_SELF) */
623 624 625 626 627 628 629 630 631 632 633 634 635
    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) */
    ERROR_NO_SUCH_DOMAIN,                              /* c00000df (STATUS_NO_SUCH_DOMAIN) */
    ERROR_DOMAIN_EXISTS,                               /* c00000e0 (STATUS_DOMAIN_EXISTS) */
    ERROR_DOMAIN_LIMIT_EXCEEDED,                       /* c00000e1 (STATUS_DOMAIN_LIMIT_EXCEEDED) */
    ERROR_OPLOCK_NOT_GRANTED,                          /* c00000e2 (STATUS_OPLOCK_NOT_GRANTED) */
    ERROR_INVALID_OPLOCK_PROTOCOL,                     /* c00000e3 (STATUS_INVALID_OPLOCK_PROTOCOL) */
    ERROR_INTERNAL_DB_CORRUPTION,                      /* c00000e4 (STATUS_INTERNAL_DB_CORRUPTION) */
    ERROR_INTERNAL_ERROR,                              /* c00000e5 (STATUS_INTERNAL_ERROR) */
    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) */
636 637 638 639
    ERROR_IO_DEVICE,                                   /* c00000e9 (STATUS_UNEXPECTED_IO_ERROR) */
    ERROR_UNEXPECTED_MM_CREATE_ERR,                    /* c00000ea (STATUS_UNEXPECTED_MM_CREATE_ERR) */
    ERROR_UNEXPECTED_MM_MAP_ERROR,                     /* c00000eb (STATUS_UNEXPECTED_MM_MAP_ERROR) */
    ERROR_UNEXPECTED_MM_EXTEND_ERR,                    /* c00000ec (STATUS_UNEXPECTED_MM_EXTEND_ERR) */
640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657
    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) */
    ERROR_INVALID_PARAMETER,                           /* c00000f0 (STATUS_INVALID_PARAMETER_2) */
    ERROR_INVALID_PARAMETER,                           /* c00000f1 (STATUS_INVALID_PARAMETER_3) */
    ERROR_INVALID_PARAMETER,                           /* c00000f2 (STATUS_INVALID_PARAMETER_4) */
    ERROR_INVALID_PARAMETER,                           /* c00000f3 (STATUS_INVALID_PARAMETER_5) */
    ERROR_INVALID_PARAMETER,                           /* c00000f4 (STATUS_INVALID_PARAMETER_6) */
    ERROR_INVALID_PARAMETER,                           /* c00000f5 (STATUS_INVALID_PARAMETER_7) */
    ERROR_INVALID_PARAMETER,                           /* c00000f6 (STATUS_INVALID_PARAMETER_8) */
    ERROR_INVALID_PARAMETER,                           /* c00000f7 (STATUS_INVALID_PARAMETER_9) */
    ERROR_INVALID_PARAMETER,                           /* c00000f8 (STATUS_INVALID_PARAMETER_10) */
    ERROR_INVALID_PARAMETER,                           /* c00000f9 (STATUS_INVALID_PARAMETER_11) */
    ERROR_INVALID_PARAMETER,                           /* c00000fa (STATUS_INVALID_PARAMETER_12) */
    ERROR_PATH_NOT_FOUND,                              /* c00000fb (STATUS_REDIRECTOR_NOT_STARTED) */
    ERROR_SERVICE_ALREADY_RUNNING,                     /* c00000fc (STATUS_REDIRECTOR_STARTED) */
    ERROR_STACK_OVERFLOW,                              /* c00000fd (STATUS_STACK_OVERFLOW) */
    ERROR_NO_SUCH_PACKAGE,                             /* c00000fe (STATUS_NO_SUCH_PACKAGE) */
658
    ERROR_BAD_FUNCTION_TABLE,                          /* c00000ff (STATUS_BAD_FUNCTION_TABLE) */
659 660 661 662 663 664 665 666 667 668 669 670
    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) */
    ERROR_DIRECTORY,                                   /* c0000103 (STATUS_NOT_A_DIRECTORY) */
    ERROR_BAD_LOGON_SESSION_STATE,                     /* c0000104 (STATUS_BAD_LOGON_SESSION_STATE) */
    ERROR_LOGON_SESSION_COLLISION,                     /* c0000105 (STATUS_LOGON_SESSION_COLLISION) */
    ERROR_FILENAME_EXCED_RANGE,                        /* c0000106 (STATUS_NAME_TOO_LONG) */
    ERROR_OPEN_FILES,                                  /* c0000107 (STATUS_FILES_OPEN) */
    ERROR_DEVICE_IN_USE,                               /* c0000108 (STATUS_CONNECTION_IN_USE) */
    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) */
671
    ERROR_NO_GUID_TRANSLATION,                         /* c000010c (STATUS_NO_GUID_TRANSLATION) */
672 673
    ERROR_CANNOT_IMPERSONATE,                          /* c000010d (STATUS_CANNOT_IMPERSONATE) */
    ERROR_SERVICE_ALREADY_RUNNING,                     /* c000010e (STATUS_IMAGE_ALREADY_LOADED) */
674 675 676 677 678 679 680 681
    ERROR_ABIOS_ERROR,                                 /* c000010f (STATUS_ABIOS_NOT_PRESENT) */
    ERROR_ABIOS_ERROR,                                 /* c0000110 (STATUS_ABIOS_LID_NOT_EXIST) */
    ERROR_ABIOS_ERROR,                                 /* c0000111 (STATUS_ABIOS_LID_ALREADY_OWNED) */
    ERROR_ABIOS_ERROR,                                 /* c0000112 (STATUS_ABIOS_NOT_LID_OWNER) */
    ERROR_ABIOS_ERROR,                                 /* c0000113 (STATUS_ABIOS_INVALID_COMMAND) */
    ERROR_ABIOS_ERROR,                                 /* c0000114 (STATUS_ABIOS_INVALID_LID) */
    ERROR_ABIOS_ERROR,                                 /* c0000115 (STATUS_ABIOS_SELECTOR_NOT_AVAILABLE) */
    ERROR_ABIOS_ERROR,                                 /* c0000116 (STATUS_ABIOS_INVALID_SELECTOR) */
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
    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) */
    ERROR_INVALID_LDT_DESCRIPTOR,                      /* c000011a (STATUS_INVALID_LDT_DESCRIPTOR) */
    ERROR_BAD_EXE_FORMAT,                              /* c000011b (STATUS_INVALID_IMAGE_NE_FORMAT) */
    ERROR_RXACT_INVALID_STATE,                         /* c000011c (STATUS_RXACT_INVALID_STATE) */
    ERROR_RXACT_COMMIT_FAILURE,                        /* c000011d (STATUS_RXACT_COMMIT_FAILURE) */
    ERROR_FILE_INVALID,                                /* c000011e (STATUS_MAPPED_FILE_SIZE_ZERO) */
    ERROR_TOO_MANY_OPEN_FILES,                         /* c000011f (STATUS_TOO_MANY_OPENED_FILES) */
    ERROR_OPERATION_ABORTED,                           /* c0000120 (STATUS_CANCELLED) */
    ERROR_ACCESS_DENIED,                               /* c0000121 (STATUS_CANNOT_DELETE) */
    ERROR_INVALID_COMPUTERNAME,                        /* c0000122 (STATUS_INVALID_COMPUTER_NAME) */
    ERROR_ACCESS_DENIED,                               /* c0000123 (STATUS_FILE_DELETED) */
    ERROR_SPECIAL_ACCOUNT,                             /* c0000124 (STATUS_SPECIAL_ACCOUNT) */
    ERROR_SPECIAL_GROUP,                               /* c0000125 (STATUS_SPECIAL_GROUP) */
    ERROR_SPECIAL_USER,                                /* c0000126 (STATUS_SPECIAL_USER) */
    ERROR_MEMBERS_PRIMARY_GROUP,                       /* c0000127 (STATUS_MEMBERS_PRIMARY_GROUP) */
    ERROR_INVALID_HANDLE,                              /* c0000128 (STATUS_FILE_CLOSED) */
    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) */
    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) */
    ERROR_LOGON_SERVER_CONFLICT,                       /* c0000132 (STATUS_LOGON_SERVER_CONFLICT) */
    ERROR_TIME_SKEW,                                   /* c0000133 (STATUS_TIME_DIFFERENCE_AT_DC) */
    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) */
    ERROR_INVALID_ORDINAL,                             /* c0000138 (STATUS_ORDINAL_NOT_FOUND) */
    ERROR_PROC_NOT_FOUND,                              /* c0000139 (STATUS_ENTRYPOINT_NOT_FOUND) */
    ERROR_CONTROL_C_EXIT,                              /* c000013a (STATUS_CONTROL_C_EXIT) */
    ERROR_NETNAME_DELETED,                             /* c000013b (STATUS_LOCAL_DISCONNECT) */
    ERROR_NETNAME_DELETED,                             /* c000013c (STATUS_REMOTE_DISCONNECT) */
    ERROR_REM_NOT_LIST,                                /* c000013d (STATUS_REMOTE_RESOURCES) */
    ERROR_UNEXP_NET_ERR,                               /* c000013e (STATUS_LINK_FAILED) */
    ERROR_UNEXP_NET_ERR,                               /* c000013f (STATUS_LINK_TIMEOUT) */
    ERROR_UNEXP_NET_ERR,                               /* c0000140 (STATUS_INVALID_CONNECTION) */
    ERROR_UNEXP_NET_ERR,                               /* c0000141 (STATUS_INVALID_ADDRESS) */
    ERROR_DLL_INIT_FAILED,                             /* c0000142 (STATUS_DLL_INIT_FAILED) */
    ERROR_MISSING_SYSTEMFILE,                          /* c0000143 (STATUS_MISSING_SYSTEMFILE) */
    ERROR_UNHANDLED_EXCEPTION,                         /* c0000144 (STATUS_UNHANDLED_EXCEPTION) */
    ERROR_APP_INIT_FAILURE,                            /* c0000145 (STATUS_APP_INIT_FAILURE) */
    ERROR_PAGEFILE_CREATE_FAILED,                      /* c0000146 (STATUS_PAGEFILE_CREATE_FAILED) */
    ERROR_NO_PAGEFILE,                                 /* c0000147 (STATUS_NO_PAGEFILE) */
    ERROR_INVALID_LEVEL,                               /* c0000148 (STATUS_INVALID_LEVEL) */
    ERROR_INVALID_PASSWORD,                            /* c0000149 (STATUS_WRONG_PASSWORD_CORE) */
    ERROR_ILLEGAL_FLOAT_CONTEXT,                       /* c000014a (STATUS_ILLEGAL_FLOAT_CONTEXT) */
    ERROR_BROKEN_PIPE,                                 /* c000014b (STATUS_PIPE_BROKEN) */
    ERROR_BADDB,                                       /* c000014c (STATUS_REGISTRY_CORRUPT) */
    ERROR_REGISTRY_IO_FAILED,                          /* c000014d (STATUS_REGISTRY_IO_FAILED) */
    ERROR_NO_EVENT_PAIR,                               /* c000014e (STATUS_NO_EVENT_PAIR) */
    ERROR_UNRECOGNIZED_VOLUME,                         /* c000014f (STATUS_UNRECOGNIZED_VOLUME) */
    ERROR_SERIAL_NO_DEVICE,                            /* c0000150 (STATUS_SERIAL_NO_DEVICE_INITED) */
    ERROR_NO_SUCH_ALIAS,                               /* c0000151 (STATUS_NO_SUCH_ALIAS) */
    ERROR_MEMBER_NOT_IN_ALIAS,                         /* c0000152 (STATUS_MEMBER_NOT_IN_ALIAS) */
    ERROR_MEMBER_IN_ALIAS,                             /* c0000153 (STATUS_MEMBER_IN_ALIAS) */
    ERROR_ALIAS_EXISTS,                                /* c0000154 (STATUS_ALIAS_EXISTS) */
    ERROR_LOGON_NOT_GRANTED,                           /* c0000155 (STATUS_LOGON_NOT_GRANTED) */
    ERROR_TOO_MANY_SECRETS,                            /* c0000156 (STATUS_TOO_MANY_SECRETS) */
    ERROR_SECRET_TOO_LONG,                             /* c0000157 (STATUS_SECRET_TOO_LONG) */
    ERROR_INTERNAL_DB_ERROR,                           /* c0000158 (STATUS_INTERNAL_DB_ERROR) */
    ERROR_FULLSCREEN_MODE,                             /* c0000159 (STATUS_FULLSCREEN_MODE) */
    ERROR_TOO_MANY_CONTEXT_IDS,                        /* c000015a (STATUS_TOO_MANY_CONTEXT_IDS) */
    ERROR_LOGON_TYPE_NOT_GRANTED,                      /* c000015b (STATUS_LOGON_TYPE_NOT_GRANTED) */
    ERROR_NOT_REGISTRY_FILE,                           /* c000015c (STATUS_NOT_REGISTRY_FILE) */
    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) */
755
    ERROR_SERVICE_NOT_FOUND,                           /* c0000160 (STATUS_ILL_FORMED_SERVICE_ENTRY) */
756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815
    ERROR_ILLEGAL_CHARACTER,                           /* c0000161 (STATUS_ILLEGAL_CHARACTER) */
    ERROR_NO_UNICODE_TRANSLATION,                      /* c0000162 (STATUS_UNMAPPABLE_CHARACTER) */
    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) */
    ERROR_FLOPPY_BAD_REGISTERS,                        /* c0000168 (STATUS_FLOPPY_BAD_REGISTERS) */
    ERROR_DISK_RECALIBRATE_FAILED,                     /* c0000169 (STATUS_DISK_RECALIBRATE_FAILED) */
    ERROR_DISK_OPERATION_FAILED,                       /* c000016a (STATUS_DISK_OPERATION_FAILED) */
    ERROR_DISK_RESET_FAILED,                           /* c000016b (STATUS_DISK_RESET_FAILED) */
    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) */
    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) */
    ERROR_UNABLE_TO_LOCK_MEDIA,                        /* c0000175 (STATUS_UNABLE_TO_LOCK_MEDIA) */
    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) */
    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) */
    ERROR_NO_LOG_SPACE,                                /* c000017d (STATUS_NO_LOG_SPACE) */
    ERROR_TOO_MANY_SIDS,                               /* c000017e (STATUS_TOO_MANY_SIDS) */
    ERROR_LM_CROSS_ENCRYPTION_REQUIRED,                /* c000017f (STATUS_LM_CROSS_ENCRYPTION_REQUIRED) */
    ERROR_KEY_HAS_CHILDREN,                            /* c0000180 (STATUS_KEY_HAS_CHILDREN) */
    ERROR_CHILD_MUST_BE_VOLATILE,                      /* c0000181 (STATUS_CHILD_MUST_BE_VOLATILE) */
    ERROR_INVALID_PARAMETER,                           /* c0000182 (STATUS_DEVICE_CONFIGURATION_ERROR) */
    ERROR_IO_DEVICE,                                   /* c0000183 (STATUS_DRIVER_INTERNAL_ERROR) */
    ERROR_BAD_COMMAND,                                 /* c0000184 (STATUS_INVALID_DEVICE_STATE) */
    ERROR_IO_DEVICE,                                   /* c0000185 (STATUS_IO_DEVICE_ERROR) */
    ERROR_IO_DEVICE,                                   /* c0000186 (STATUS_DEVICE_PROTOCOL_ERROR) */
    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) */
    ERROR_NO_TRUST_SAM_ACCOUNT,                        /* c000018b (STATUS_NO_TRUST_SAM_ACCOUNT) */
    ERROR_TRUSTED_DOMAIN_FAILURE,                      /* c000018c (STATUS_TRUSTED_DOMAIN_FAILURE) */
    ERROR_TRUSTED_RELATIONSHIP_FAILURE,                /* c000018d (STATUS_TRUSTED_RELATIONSHIP_FAILURE) */
    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) */
    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) */
    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_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) */
816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
    ERROR_SERVICE_ALREADY_RUNNING,                     /* c000019d (STATUS_IMAGE_ALREADY_LOADED_AS_DLL) */
    ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING, /* c000019e (STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING) */
    ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME,           /* c000019f (STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME) */
    ERROR_SECURITY_STREAM_IS_INCONSISTENT,             /* c00001a0 (STATUS_SECURITY_STREAM_IS_INCONSISTENT) */
    ERROR_INVALID_LOCK_RANGE,                          /* c00001a1 (STATUS_INVALID_LOCK_RANGE) */
    ERROR_INVALID_ACE_CONDITION,                       /* c00001a2 (STATUS_INVALID_ACE_CONDITION) */
    ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT,                 /* c00001a3 (STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT) */
    ERROR_NOTIFICATION_GUID_ALREADY_DEFINED,           /* c00001a4 (STATUS_NOTIFICATION_GUID_ALREADY_DEFINED) */
    ERROR_INVALID_EXCEPTION_HANDLER,                   /* c00001a5 (STATUS_INVALID_EXCEPTION_HANDLER) */
    ERROR_DUPLICATE_PRIVILEGES,                        /* c00001a6 (STATUS_DUPLICATE_PRIVILEGES) */
    ERROR_NOT_ALLOWED_ON_SYSTEM_FILE,                  /* c00001a7 (STATUS_NOT_ALLOWED_ON_SYSTEM_FILE) */
    ERROR_DATA_LOST_REPAIR,                            /* c00001a8 (STATUS_REPAIR_NEEDED) */
    ERROR_NOT_SUPPORTED,                               /* c00001a9 (STATUS_QUOTA_NOT_ENABLED) */
    APPMODEL_ERROR_NO_PACKAGE,                         /* c00001aa (STATUS_NO_APPLICATION_PACKAGE) */
    ERROR_FILE_METADATA_OPTIMIZATION_IN_PROGRESS,      /* c00001ab (STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS) */
    ERROR_NOT_SAME_OBJECT,                             /* c00001ac (STATUS_NOT_SAME_OBJECT) */
    ERROR_NOT_ENOUGH_MEMORY,                           /* c00001ad (STATUS_FATAL_MEMORY_EXHAUSTION) */
    ERROR_PROCESS_NOT_IN_JOB,                          /* c00001ae (STATUS_ERROR_PROCESS_NOT_IN_JOB) */
    ERROR_CPU_SET_INVALID,                             /* c00001af (STATUS_CPU_SET_INVALID) */
    ERROR_NETWORK_ACCESS_DENIED,                       /* c0000201 (STATUS_NETWORK_OPEN_RESTRICTION) */
836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
    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) */
    ERROR_NOT_ENOUGH_SERVER_MEMORY,                    /* c0000205 (STATUS_INSUFF_SERVER_RESOURCES) */
    ERROR_INVALID_USER_BUFFER,                         /* c0000206 (STATUS_INVALID_BUFFER_SIZE) */
    ERROR_INVALID_NETNAME,                             /* c0000207 (STATUS_INVALID_ADDRESS_COMPONENT) */
    ERROR_INVALID_NETNAME,                             /* c0000208 (STATUS_INVALID_ADDRESS_WILDCARD) */
    ERROR_TOO_MANY_NAMES,                              /* c0000209 (STATUS_TOO_MANY_ADDRESSES) */
    ERROR_DUP_NAME,                                    /* c000020a (STATUS_ADDRESS_ALREADY_EXISTS) */
    ERROR_NETNAME_DELETED,                             /* c000020b (STATUS_ADDRESS_CLOSED) */
    ERROR_NETNAME_DELETED,                             /* c000020c (STATUS_CONNECTION_DISCONNECTED) */
    ERROR_NETNAME_DELETED,                             /* c000020d (STATUS_CONNECTION_RESET) */
    ERROR_TOO_MANY_NAMES,                              /* c000020e (STATUS_TOO_MANY_NODES) */
    ERROR_UNEXP_NET_ERR,                               /* c000020f (STATUS_TRANSACTION_ABORTED) */
    ERROR_UNEXP_NET_ERR,                               /* c0000210 (STATUS_TRANSACTION_TIMED_OUT) */
    ERROR_UNEXP_NET_ERR,                               /* c0000211 (STATUS_TRANSACTION_NO_RELEASE) */
    ERROR_UNEXP_NET_ERR,                               /* c0000212 (STATUS_TRANSACTION_NO_MATCH) */
    ERROR_UNEXP_NET_ERR,                               /* c0000213 (STATUS_TRANSACTION_RESPONDED) */
    ERROR_UNEXP_NET_ERR,                               /* c0000214 (STATUS_TRANSACTION_INVALID_ID) */
    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) */
    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) */
    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) */
    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) */
    ERROR_NOT_TINY_STREAM,                             /* c0000226 (STATUS_NOT_TINY_STREAM) */
873
    ERROR_RECOVERY_FAILURE,                            /* c0000227 (STATUS_RECOVERY_FAILURE) */
874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944
    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) */
    ERROR_CONVERT_TO_LARGE,                            /* c000022c (STATUS_CONVERT_TO_LARGE) */
    ERROR_RETRY,                                       /* c000022d (STATUS_RETRY) */
    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) */
    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) */
    ERROR_CONNECTION_REFUSED,                          /* c0000236 (STATUS_CONNECTION_REFUSED) */
    ERROR_GRACEFUL_DISCONNECT,                         /* c0000237 (STATUS_GRACEFUL_DISCONNECT) */
    ERROR_ADDRESS_ALREADY_ASSOCIATED,                  /* c0000238 (STATUS_ADDRESS_ALREADY_ASSOCIATED) */
    ERROR_ADDRESS_NOT_ASSOCIATED,                      /* c0000239 (STATUS_ADDRESS_NOT_ASSOCIATED) */
    ERROR_CONNECTION_INVALID,                          /* c000023a (STATUS_CONNECTION_INVALID) */
    ERROR_CONNECTION_ACTIVE,                           /* c000023b (STATUS_CONNECTION_ACTIVE) */
    ERROR_NETWORK_UNREACHABLE,                         /* c000023c (STATUS_NETWORK_UNREACHABLE) */
    ERROR_HOST_UNREACHABLE,                            /* c000023d (STATUS_HOST_UNREACHABLE) */
    ERROR_PROTOCOL_UNREACHABLE,                        /* c000023e (STATUS_PROTOCOL_UNREACHABLE) */
    ERROR_PORT_UNREACHABLE,                            /* c000023f (STATUS_PORT_UNREACHABLE) */
    ERROR_REQUEST_ABORTED,                             /* c0000240 (STATUS_REQUEST_ABORTED) */
    ERROR_CONNECTION_ABORTED,                          /* c0000241 (STATUS_CONNECTION_ABORTED) */
    ERROR_BAD_COMPRESSION_BUFFER,                      /* c0000242 (STATUS_BAD_COMPRESSION_BUFFER) */
    ERROR_USER_MAPPED_FILE,                            /* c0000243 (STATUS_USER_MAPPED_FILE) */
    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) */
    ERROR_BAD_EXE_FORMAT,                              /* c0000249 (STATUS_IMAGE_MP_UP_MISMATCH) */
    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) */
    ERROR_CONNECTION_ABORTED,                          /* c0000253 (STATUS_LPC_REPLY_LOST) */
    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) */
    ERROR_NO_CALLBACK_ACTIVE,                          /* c0000258 (STATUS_NO_CALLBACK_ACTIVE) */
    ERROR_LICENSE_QUOTA_EXCEEDED,                      /* c0000259 (STATUS_LICENSE_QUOTA_EXCEEDED) */
    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) */
    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) */
    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) */
    ERROR_QUOTA_LIST_INCONSISTENT,                     /* c0000266 (STATUS_QUOTA_LIST_INCONSISTENT) */
    ERROR_FILE_OFFLINE,                                /* c0000267 (STATUS_FILE_IS_OFFLINE) */
    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) */
    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) */
945 946
    ERROR_WX86_ERROR,                                  /* c000026f (STATUS_WX86_INTERNAL_ERROR) */
    ERROR_WX86_ERROR,                                  /* c0000270 (STATUS_WX86_FLOAT_STACK_CHECK) */
947 948 949 950 951 952 953 954 955
    ERROR_VALIDATE_CONTINUE,                           /* c0000271 (STATUS_VALIDATE_CONTINUE) */
    ERROR_NO_MATCH,                                    /* c0000272 (STATUS_NO_MATCH) */
    ERROR_NO_MORE_MATCHES,                             /* c0000273 (STATUS_NO_MORE_MATCHES) */
    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) */
956 957 958
    ERROR_PWD_TOO_LONG,                                /* c000027a (STATUS_PWD_TOO_LONG) */
    ERROR_INTERNAL_ERROR,                              /* c000027b (STATUS_STOWED_EXCEPTION) */
    ERROR_INTERNAL_ERROR,                              /* c000027c (STATUS_CONTEXT_STOWED_EXCEPTION) */
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
    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) */
    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) */
    ERROR_MAGAZINE_NOT_PRESENT,                        /* c0000286 (STATUS_MAGAZINE_NOT_PRESENT) */
    ERROR_DEVICE_REINITIALIZATION_NEEDED,              /* c0000287 (STATUS_REINITIALIZATION_NEEDED) */
    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) */
    ERROR_ACCESS_DENIED,                               /* c000028d (STATUS_NO_RECOVERY_POLICY) */
    ERROR_ACCESS_DENIED,                               /* c000028e (STATUS_NO_EFS) */
    ERROR_ACCESS_DENIED,                               /* c000028f (STATUS_WRONG_EFS) */
    ERROR_ACCESS_DENIED,                               /* c0000290 (STATUS_NO_USER_KEYS) */
    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) */
    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) */
    ERROR_WMI_TRY_AGAIN,                               /* c0000298 (STATUS_WMI_TRY_AGAIN) */
    ERROR_SHARED_POLICY,                               /* c0000299 (STATUS_SHARED_POLICY) */
    ERROR_POLICY_OBJECT_NOT_FOUND,                     /* c000029a (STATUS_POLICY_OBJECT_NOT_FOUND) */
    ERROR_POLICY_ONLY_IN_DS,                           /* c000029b (STATUS_POLICY_ONLY_IN_DS) */
    ERROR_INVALID_FUNCTION,                            /* c000029c (STATUS_VOLUME_NOT_UPGRADED) */
    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) */
    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) */
    ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS,                /* c00002a4 (STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS) */
    ERROR_DS_BUSY,                                     /* c00002a5 (STATUS_DS_BUSY) */
    ERROR_DS_UNAVAILABLE,                              /* c00002a6 (STATUS_DS_UNAVAILABLE) */
    ERROR_DS_NO_RIDS_ALLOCATED,                        /* c00002a7 (STATUS_DS_NO_RIDS_ALLOCATED) */
    ERROR_DS_NO_MORE_RIDS,                             /* c00002a8 (STATUS_DS_NO_MORE_RIDS) */
    ERROR_DS_INCORRECT_ROLE_OWNER,                     /* c00002a9 (STATUS_DS_INCORRECT_ROLE_OWNER) */
    ERROR_DS_RIDMGR_INIT_ERROR,                        /* c00002aa (STATUS_DS_RIDMGR_INIT_ERROR) */
    ERROR_DS_OBJ_CLASS_VIOLATION,                      /* c00002ab (STATUS_DS_OBJ_CLASS_VIOLATION) */
    ERROR_DS_CANT_ON_NON_LEAF,                         /* c00002ac (STATUS_DS_CANT_ON_NON_LEAF) */
    ERROR_DS_CANT_ON_RDN,                              /* c00002ad (STATUS_DS_CANT_ON_RDN) */
    ERROR_DS_CANT_MOD_OBJ_CLASS,                       /* c00002ae (STATUS_DS_CANT_MOD_OBJ_CLASS) */
    ERROR_DS_CROSS_DOM_MOVE_ERROR,                     /* c00002af (STATUS_DS_CROSS_DOM_MOVE_FAILED) */
    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) */
    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) */
    ERROR_NOINTERFACE,                                 /* c00002b9 (STATUS_NOINTERFACE) */
1020
    ERROR_DS_RIDMGR_DISABLED,                          /* c00002ba (STATUS_DS_RIDMGR_DISABLED) */
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044
    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) */
    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) */
    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) */
    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) */
    ERROR_SYSTEM_IMAGE_BAD_SIGNATURE,                  /* c00002d1 (STATUS_SYSTEM_IMAGE_BAD_SIGNATURE) */
    ERROR_PNP_REBOOT_REQUIRED,                         /* c00002d2 (STATUS_PNP_REBOOT_REQUIRED) */
1045
    ERROR_NOT_READY,                                   /* c00002d3 (STATUS_POWER_STATE_INVALID) */
1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101
    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_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) */
    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) */
    ERROR_DS_INIT_FAILURE,                             /* c00002e2 (STATUS_DS_INIT_FAILURE) */
    ERROR_SAM_INIT_FAILURE,                            /* c00002e3 (STATUS_SAM_INIT_FAILURE) */
    ERROR_DS_GC_REQUIRED,                              /* c00002e4 (STATUS_DS_GC_REQUIRED) */
    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) */
    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) */
    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) */
    SEC_E_NO_TGT_REPLY,                                /* c00002ef (STATUS_NO_TGT_REPLY) */
    ERROR_FILE_NOT_FOUND,                              /* c00002f0 (STATUS_OBJECTID_NOT_FOUND) */
    SEC_E_NO_IP_ADDRESSES,                             /* c00002f1 (STATUS_NO_IP_ADDRESSES) */
    SEC_E_WRONG_CREDENTIAL_HANDLE,                     /* c00002f2 (STATUS_WRONG_CREDENTIAL_HANDLE) */
    SEC_E_CRYPTO_SYSTEM_INVALID,                       /* c00002f3 (STATUS_CRYPTO_SYSTEM_INVALID) */
    SEC_E_MAX_REFERRALS_EXCEEDED,                      /* c00002f4 (STATUS_MAX_REFERRALS_EXCEEDED) */
    SEC_E_MUST_BE_KDC,                                 /* c00002f5 (STATUS_MUST_BE_KDC) */
    SEC_E_STRONG_CRYPTO_NOT_SUPPORTED,                 /* c00002f6 (STATUS_STRONG_CRYPTO_NOT_SUPPORTED) */
    SEC_E_TOO_MANY_PRINCIPALS,                         /* c00002f7 (STATUS_TOO_MANY_PRINCIPALS) */
    SEC_E_NO_PA_DATA,                                  /* c00002f8 (STATUS_NO_PA_DATA) */
    SEC_E_PKINIT_NAME_MISMATCH,                        /* c00002f9 (STATUS_PKINIT_NAME_MISMATCH) */
    SEC_E_SMARTCARD_LOGON_REQUIRED,                    /* c00002fa (STATUS_SMARTCARD_LOGON_REQUIRED) */
    SEC_E_KDC_INVALID_REQUEST,                         /* c00002fb (STATUS_KDC_INVALID_REQUEST) */
    SEC_E_KDC_UNABLE_TO_REFER,                         /* c00002fc (STATUS_KDC_UNABLE_TO_REFER) */
    SEC_E_KDC_UNKNOWN_ETYPE,                           /* c00002fd (STATUS_KDC_UNKNOWN_ETYPE) */
    ERROR_SHUTDOWN_IN_PROGRESS,                        /* c00002fe (STATUS_SHUTDOWN_IN_PROGRESS) */
    ERROR_SERVER_SHUTDOWN_IN_PROGRESS,                 /* c00002ff (STATUS_SERVER_SHUTDOWN_IN_PROGRESS) */
    ERROR_NOT_SUPPORTED_ON_SBS,                        /* c0000300 (STATUS_NOT_SUPPORTED_ON_SBS) */
    ERROR_WMI_GUID_DISCONNECTED,                       /* c0000301 (STATUS_WMI_GUID_DISCONNECTED) */
    ERROR_WMI_ALREADY_DISABLED,                        /* c0000302 (STATUS_WMI_ALREADY_DISABLED) */
    ERROR_WMI_ALREADY_ENABLED,                         /* c0000303 (STATUS_WMI_ALREADY_ENABLED) */
    ERROR_DISK_TOO_FRAGMENTED,                         /* c0000304 (STATUS_MFT_TOO_FRAGMENTED) */
    STG_E_STATUS_COPY_PROTECTION_FAILURE,              /* c0000305 (STATUS_COPY_PROTECTION_FAILURE) */
    STG_E_CSS_AUTHENTICATION_FAILURE,                  /* c0000306 (STATUS_CSS_AUTHENTICATION_FAILURE) */
    STG_E_CSS_KEY_NOT_PRESENT,                         /* c0000307 (STATUS_CSS_KEY_NOT_PRESENT) */
    STG_E_CSS_KEY_NOT_ESTABLISHED,                     /* c0000308 (STATUS_CSS_KEY_NOT_ESTABLISHED) */
    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) */
1102 1103
    ERROR_PASSWORD_CHANGE_REQUIRED,                    /* c000030c (STATUS_PASSWORD_CHANGE_REQUIRED) */
    ERROR_LOST_MODE_LOGON_RESTRICTION,                 /* c000030d (STATUS_LOST_MODE_LOGON_RESTRICTION) */
1104 1105 1106 1107 1108 1109 1110
    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) */
    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) */
1111
    ERROR_DEBUGGER_INACTIVE,                           /* c0000354 (STATUS_DEBUGGER_INACTIVE) */
1112 1113 1114 1115 1116 1117 1118 1119
    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) */
    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) */
1120
    ERROR_APPHELP_BLOCK,                               /* c000035d (STATUS_APPHELP_BLOCK) */
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138
    ERROR_ALL_SIDS_FILTERED,                           /* c000035e (STATUS_ALL_SIDS_FILTERED) */
    ERROR_NOT_SAFE_MODE_DRIVER,                        /* c000035f (STATUS_NOT_SAFE_MODE_DRIVER) */
    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) */
    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) */
    ERROR_DRIVER_BLOCKED,                              /* c000036b (STATUS_DRIVER_BLOCKED_CRITICAL) */
    ERROR_DRIVER_BLOCKED,                              /* c000036c (STATUS_DRIVER_BLOCKED) */
    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) */
1139 1140 1141 1142 1143
    ERROR_MR_MID_NOT_FOUND,                            /* c0000370 */
    ERROR_NO_SECRETS,                                  /* c0000371 (STATUS_NO_SECRETS) */
    ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY,       /* c0000372 (STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY) */
    ERROR_NOT_ENOUGH_MEMORY,                           /* c0000373 (STATUS_FAILED_STACK_SWITCH) */
    ERROR_INTERNAL_ERROR,                              /* c0000374 (STATUS_HEAP_CORRUPTION) */
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
    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) */
    SCARD_E_NO_SMARTCARD,                              /* c0000383 (STATUS_SMARTCARD_NO_CARD) */
    NTE_NO_KEY,                                        /* c0000384 (STATUS_SMARTCARD_NO_KEY_CONTAINER) */
    SCARD_E_NO_SUCH_CERTIFICATE,                       /* c0000385 (STATUS_SMARTCARD_NO_CERTIFICATE) */
    NTE_BAD_KEYSET,                                    /* c0000386 (STATUS_SMARTCARD_NO_KEYSET) */
    SCARD_E_COMM_DATA_LOST,                            /* c0000387 (STATUS_SMARTCARD_IO_ERROR) */
    ERROR_DOWNGRADE_DETECTED,                          /* c0000388 (STATUS_DOWNGRADE_DETECTED) */
    SEC_E_SMARTCARD_CERT_REVOKED,                      /* c0000389 (STATUS_SMARTCARD_CERT_REVOKED) */
    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) */
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202
    ERROR_DRIVER_FAILED_PRIOR_UNLOAD,                  /* c000038e (STATUS_DRIVER_FAILED_PRIOR_UNLOAD) */
    NTE_SILENT_CONTEXT,                                /* c000038f (STATUS_SMARTCARD_SILENT_CONTEXT) */
    ERROR_PER_USER_TRUST_QUOTA_EXCEEDED,               /* c0000401 (STATUS_PER_USER_TRUST_QUOTA_EXCEEDED) */
    ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED,               /* c0000402 (STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED) */
    ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED,            /* c0000403 (STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED) */
    ERROR_DS_NAME_NOT_UNIQUE,                          /* c0000404 (STATUS_DS_NAME_NOT_UNIQUE) */
    ERROR_DS_DUPLICATE_ID_FOUND,                       /* c0000405 (STATUS_DS_DUPLICATE_ID_FOUND) */
    ERROR_DS_GROUP_CONVERSION_ERROR,                   /* c0000406 (STATUS_DS_GROUP_CONVERSION_ERROR) */
    ERROR_VOLSNAP_PREPARE_HIBERNATE,                   /* c0000407 (STATUS_VOLSNAP_PREPARE_HIBERNATE) */
    ERROR_LOGON_FAILURE,                               /* c0000408 (STATUS_USER2USER_REQUIRED) */
    ERROR_STACK_BUFFER_OVERRUN,                        /* c0000409 (STATUS_STACK_BUFFER_OVERRUN) */
    SEC_E_NO_S4U_PROT_SUPPORT,                         /* c000040a (STATUS_NO_S4U_PROT_SUPPORT) */
    SEC_E_CROSSREALM_DELEGATION_FAILURE,               /* c000040b (STATUS_CROSSREALM_DELEGATION_FAILURE) */
    SEC_E_REVOCATION_OFFLINE_KDC,                      /* c000040c (STATUS_REVOCATION_OFFLINE_KDC) */
    SEC_E_ISSUING_CA_UNTRUSTED_KDC,                    /* c000040d (STATUS_ISSUING_CA_UNTRUSTED_KDC) */
    SEC_E_KDC_CERT_EXPIRED,                            /* c000040e (STATUS_KDC_CERT_EXPIRED) */
    SEC_E_KDC_CERT_REVOKED,                            /* c000040f (STATUS_KDC_CERT_REVOKED) */
    ERROR_PARAMETER_QUOTA_EXCEEDED,                    /* c0000410 (STATUS_PARAMETER_QUOTA_EXCEEDED) */
    ERROR_HIBERNATION_FAILURE,                         /* c0000411 (STATUS_HIBERNATION_FAILURE) */
    ERROR_DELAY_LOAD_FAILED,                           /* c0000412 (STATUS_DELAY_LOAD_FAILED) */
    ERROR_AUTHENTICATION_FIREWALL_FAILED,              /* c0000413 (STATUS_AUTHENTICATION_FIREWALL_FAILED) */
    ERROR_VDM_DISALLOWED,                              /* c0000414 (STATUS_VDM_DISALLOWED) */
    ERROR_HUNG_DISPLAY_DRIVER_THREAD,                  /* c0000415 (STATUS_HUNG_DISPLAY_DRIVER_THREAD) */
    ERROR_NOT_ENOUGH_MEMORY,                           /* c0000416 (STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE) */
    ERROR_INVALID_CRUNTIME_PARAMETER,                  /* c0000417 (STATUS_INVALID_CRUNTIME_PARAMETER) */
    ERROR_NTLM_BLOCKED,                                /* c0000418 (STATUS_NTLM_BLOCKED) */
    ERROR_DS_SRC_SID_EXISTS_IN_FOREST,                 /* c0000419 (STATUS_DS_SRC_SID_EXISTS_IN_FOREST) */
    ERROR_DS_DOMAIN_NAME_EXISTS_IN_FOREST,             /* c000041a (STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST) */
    ERROR_DS_FLAT_NAME_EXISTS_IN_FOREST,               /* c000041b (STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST) */
    ERROR_INVALID_USER_PRINCIPAL_NAME,                 /* c000041c (STATUS_INVALID_USER_PRINCIPAL_NAME) */
    ERROR_FATAL_APP_EXIT,                              /* c000041d (STATUS_FATAL_USER_CALLBACK_EXCEPTION) */
    ERROR_MR_MID_NOT_FOUND,                            /* c000041e */
    ERROR_MR_MID_NOT_FOUND,                            /* c000041f */
    ERROR_ASSERTION_FAILURE,                           /* c0000420 (STATUS_ASSERTION_FAILURE) */
    ERROR_VERIFIER_STOP,                               /* c0000421 (STATUS_VERIFIER_STOP) */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000422 */
    ERROR_CALLBACK_POP_STACK,                          /* c0000423 (STATUS_CALLBACK_POP_STACK) */
    ERROR_DRIVER_BLOCKED,                              /* c0000424 (STATUS_INCOMPATIBLE_DRIVER_BLOCKED) */
    ERROR_KEY_DELETED,                                 /* c0000425 (STATUS_HIVE_UNLOADED) */
    ERROR_COMPRESSION_DISABLED,                        /* c0000426 (STATUS_COMPRESSION_DISABLED) */
    ERROR_FILE_SYSTEM_LIMITATION,                      /* c0000427 (STATUS_FILE_SYSTEM_LIMITATION) */
    ERROR_INVALID_IMAGE_HASH,                          /* c0000428 (STATUS_INVALID_IMAGE_HASH) */
    ERROR_NOT_CAPABLE,                                 /* c0000429 (STATUS_NOT_CAPABLE) */
    ERROR_REQUEST_OUT_OF_SEQUENCE,                     /* c000042a (STATUS_REQUEST_OUT_OF_SEQUENCE) */
    ERROR_IMPLEMENTATION_LIMIT,                        /* c000042b (STATUS_IMPLEMENTATION_LIMIT) */
1203
    ERROR_ELEVATION_REQUIRED,                          /* c000042c (STATUS_ELEVATION_REQUIRED) */
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384
    SEC_E_NO_CONTEXT,                                  /* c000042d (STATUS_NO_SECURITY_CONTEXT) */
    ERROR_MR_MID_NOT_FOUND,                            /* c000042e */
    SEC_E_PKU2U_CERT_FAILURE,                          /* c000042f (STATUS_PKU2U_CERT_FAILURE) */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000430 */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000431 */
    ERROR_BEYOND_VDL,                                  /* c0000432 (STATUS_BEYOND_VDL) */
    ERROR_BUSY,                                        /* c0000433 (STATUS_ENCOUNTERED_WRITE_IN_PROGRESS) */
    ERROR_BUSY,                                        /* c0000434 (STATUS_PTE_CHANGED) */
    ERROR_USER_MAPPED_FILE,                            /* c0000435 (STATUS_PURGE_FAILED) */
    ERROR_CRED_REQUIRES_CONFIRMATION,                  /* c0000440 (STATUS_CRED_REQUIRES_CONFIRMATION) */
    ERROR_CS_ENCRYPTION_INVALID_SERVER_RESPONSE,       /* c0000441 (STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE) */
    ERROR_CS_ENCRYPTION_UNSUPPORTED_SERVER,            /* c0000442 (STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER) */
    ERROR_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE,       /* c0000443 (STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE) */
    ERROR_CS_ENCRYPTION_NEW_ENCRYPTED_FILE,            /* c0000444 (STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE) */
    ERROR_CS_ENCRYPTION_FILE_NOT_CSE,                  /* c0000445 (STATUS_CS_ENCRYPTION_FILE_NOT_CSE) */
    ERROR_INVALID_LABEL,                               /* c0000446 (STATUS_INVALID_LABEL) */
    ERROR_DRIVER_PROCESS_TERMINATED,                   /* c0000450 (STATUS_DRIVER_PROCESS_TERMINATED) */
    ERROR_AMBIGUOUS_SYSTEM_DEVICE,                     /* c0000451 (STATUS_AMBIGUOUS_SYSTEM_DEVICE) */
    ERROR_SYSTEM_DEVICE_NOT_FOUND,                     /* c0000452 (STATUS_SYSTEM_DEVICE_NOT_FOUND) */
    ERROR_RESTART_APPLICATION,                         /* c0000453 (STATUS_RESTART_BOOT_APPLICATION) */
    ERROR_NO_NVRAM_RESOURCES,                          /* c0000454 (STATUS_INSUFFICIENT_NVRAM_RESOURCES) */
    ERROR_INVALID_HANDLE,                              /* c0000455 (STATUS_INVALID_SESSION) */
    ERROR_INVALID_PARAMETER,                           /* c0000456 (STATUS_THREAD_ALREADY_IN_SESSION) */
    ERROR_INVALID_PARAMETER,                           /* c0000457 (STATUS_THREAD_NOT_IN_SESSION) */
    ERROR_INVALID_PARAMETER,                           /* c0000458 (STATUS_INVALID_WEIGHT) */
    ERROR_REQUEST_PAUSED,                              /* c0000459 (STATUS_REQUEST_PAUSED) */
    ERROR_MR_MID_NOT_FOUND,                            /* c000045a */
    ERROR_MR_MID_NOT_FOUND,                            /* c000045b */
    ERROR_MR_MID_NOT_FOUND,                            /* c000045c */
    ERROR_MR_MID_NOT_FOUND,                            /* c000045d */
    ERROR_MR_MID_NOT_FOUND,                            /* c000045e */
    ERROR_MR_MID_NOT_FOUND,                            /* c000045f */
    ERROR_NO_RANGES_PROCESSED,                         /* c0000460 (STATUS_NO_RANGES_PROCESSED) */
    ERROR_DISK_RESOURCES_EXHAUSTED,                    /* c0000461 (STATUS_DISK_RESOURCES_EXHAUSTED) */
    ERROR_NEEDS_REMEDIATION,                           /* c0000462 (STATUS_NEEDS_REMEDIATION) */
    ERROR_DEVICE_FEATURE_NOT_SUPPORTED,                /* c0000463 (STATUS_DEVICE_FEATURE_NOT_SUPPORTED) */
    ERROR_DEVICE_UNREACHABLE,                          /* c0000464 (STATUS_DEVICE_UNREACHABLE) */
    ERROR_INVALID_TOKEN,                               /* c0000465 (STATUS_INVALID_TOKEN) */
    ERROR_NETNAME_DELETED,                             /* c0000466 (STATUS_SERVER_UNAVAILABLE) */
    ERROR_SHARING_VIOLATION,                           /* c0000467 (STATUS_FILE_NOT_AVAILABLE) */
    ERROR_DEVICE_NO_RESOURCES,                         /* c0000468 (STATUS_DEVICE_INSUFFICIENT_RESOURCES) */
    ERROR_PACKAGE_UPDATING,                            /* c0000469 (STATUS_PACKAGE_UPDATING) */
    ERROR_NOT_READ_FROM_COPY,                          /* c000046a (STATUS_NOT_READ_FROM_COPY) */
    ERROR_FT_WRITE_FAILURE,                            /* c000046b (STATUS_FT_WRITE_FAILURE) */
    ERROR_FT_DI_SCAN_REQUIRED,                         /* c000046c (STATUS_FT_DI_SCAN_REQUIRED) */
    ERROR_OBJECT_NOT_EXTERNALLY_BACKED,                /* c000046d (STATUS_OBJECT_NOT_EXTERNALLY_BACKED) */
    ERROR_EXTERNAL_BACKING_PROVIDER_UNKNOWN,           /* c000046e (STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN) */
    ERROR_COMPRESSION_NOT_BENEFICIAL,                  /* c000046f (STATUS_COMPRESSION_NOT_BENEFICIAL) */
    ERROR_DATA_CHECKSUM_ERROR,                         /* c0000470 (STATUS_DATA_CHECKSUM_ERROR) */
    ERROR_INTERMIXED_KERNEL_EA_OPERATION,              /* c0000471 (STATUS_INTERMIXED_KERNEL_EA_OPERATION) */
    ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED,               /* c0000472 (STATUS_TRIM_READ_ZERO_NOT_SUPPORTED) */
    ERROR_TOO_MANY_DESCRIPTORS,                        /* c0000473 (STATUS_TOO_MANY_SEGMENT_DESCRIPTORS) */
    ERROR_OFFSET_ALIGNMENT_VIOLATION,                  /* c0000474 (STATUS_INVALID_OFFSET_ALIGNMENT) */
    ERROR_INVALID_FIELD_IN_PARAMETER_LIST,             /* c0000475 (STATUS_INVALID_FIELD_IN_PARAMETER_LIST) */
    ERROR_OPERATION_IN_PROGRESS,                       /* c0000476 (STATUS_OPERATION_IN_PROGRESS) */
    ERROR_BAD_DEVICE_PATH,                             /* c0000477 (STATUS_INVALID_INITIATOR_TARGET_PATH) */
    ERROR_SCRUB_DATA_DISABLED,                         /* c0000478 (STATUS_SCRUB_DATA_DISABLED) */
    ERROR_NOT_REDUNDANT_STORAGE,                       /* c0000479 (STATUS_NOT_REDUNDANT_STORAGE) */
    ERROR_RESIDENT_FILE_NOT_SUPPORTED,                 /* c000047a (STATUS_RESIDENT_FILE_NOT_SUPPORTED) */
    ERROR_COMPRESSED_FILE_NOT_SUPPORTED,               /* c000047b (STATUS_COMPRESSED_FILE_NOT_SUPPORTED) */
    ERROR_DIRECTORY_NOT_SUPPORTED,                     /* c000047c (STATUS_DIRECTORY_NOT_SUPPORTED) */
    ERROR_TIMEOUT,                                     /* c000047d (STATUS_IO_OPERATION_TIMEOUT) */
    ERROR_SYSTEM_NEEDS_REMEDIATION,                    /* c000047e (STATUS_SYSTEM_NEEDS_REMEDIATION) */
    ERROR_APPX_INTEGRITY_FAILURE_CLR_NGEN,             /* c000047f (STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN) */
    ERROR_NETNAME_DELETED,                             /* c0000480 (STATUS_SHARE_UNAVAILABLE) */
    ERROR_MOD_NOT_FOUND,                               /* c0000481 (STATUS_APISET_NOT_HOSTED) */
    ERROR_MOD_NOT_FOUND,                               /* c0000482 (STATUS_APISET_NOT_PRESENT) */
    ERROR_DEVICE_HARDWARE_ERROR,                       /* c0000483 (STATUS_DEVICE_HARDWARE_ERROR) */
    STG_E_FIRMWARE_SLOT_INVALID,                       /* c0000484 (STATUS_FIRMWARE_SLOT_INVALID) */
    STG_E_FIRMWARE_IMAGE_INVALID,                      /* c0000485 (STATUS_FIRMWARE_IMAGE_INVALID) */
    ERROR_STORAGE_TOPOLOGY_ID_MISMATCH,                /* c0000486 (STATUS_STORAGE_TOPOLOGY_ID_MISMATCH) */
    ERROR_GEN_FAILURE,                                 /* c0000487 (STATUS_WIM_NOT_BOOTABLE) */
    ERROR_BLOCKED_BY_PARENTAL_CONTROLS,                /* c0000488 (STATUS_BLOCKED_BY_PARENTAL_CONTROLS) */
    ERROR_NEEDS_REGISTRATION,                          /* c0000489 (STATUS_NEEDS_REGISTRATION) */
    ERROR_QUOTA_ACTIVITY,                              /* c000048a (STATUS_QUOTA_ACTIVITY) */
    ERROR_CALLBACK_INVOKE_INLINE,                      /* c000048b (STATUS_CALLBACK_INVOKE_INLINE) */
    ERROR_BLOCK_TOO_MANY_REFERENCES,                   /* c000048c (STATUS_BLOCK_TOO_MANY_REFERENCES) */
    ERROR_MARKED_TO_DISALLOW_WRITES,                   /* c000048d (STATUS_MARKED_TO_DISALLOW_WRITES) */
    ERROR_NETWORK_ACCESS_DENIED_EDP,                   /* c000048e (STATUS_NETWORK_ACCESS_DENIED_EDP) */
    ERROR_ENCLAVE_FAILURE,                             /* c000048f (STATUS_ENCLAVE_FAILURE) */
    ERROR_NO_MATCH,                                    /* c0000490 (STATUS_PNP_NO_COMPAT_DRIVERS) */
    ERROR_FILE_NOT_FOUND,                              /* c0000491 (STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND) */
    ERROR_NOT_FOUND,                                   /* c0000492 (STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND) */
    ERROR_SET_NOT_FOUND,                               /* c0000493 (STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE) */
    ERROR_NOT_CAPABLE,                                 /* c0000494 (STATUS_PNP_FUNCTION_DRIVER_REQUIRED) */
    ERROR_NOT_READY,                                   /* c0000495 (STATUS_PNP_DEVICE_CONFIGURATION_PENDING) */
    ERROR_DEVICE_HINT_NAME_BUFFER_TOO_SMALL,           /* c0000496 (STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL) */
    APPMODEL_ERROR_PACKAGE_NOT_AVAILABLE,              /* c0000497 (STATUS_PACKAGE_NOT_AVAILABLE) */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000498 */
    ERROR_DEVICE_IN_MAINTENANCE,                       /* c0000499 (STATUS_DEVICE_IN_MAINTENANCE) */
    ERROR_NOT_SUPPORTED_ON_DAX,                        /* c000049a (STATUS_NOT_SUPPORTED_ON_DAX) */
    ERROR_DISK_TOO_FRAGMENTED,                         /* c000049b (STATUS_FREE_SPACE_TOO_FRAGMENTED) */
    ERROR_DAX_MAPPING_EXISTS,                          /* c000049c (STATUS_DAX_MAPPING_EXISTS) */
    ERROR_CHILD_PROCESS_BLOCKED,                       /* c000049d (STATUS_CHILD_PROCESS_BLOCKED) */
    ERROR_STORAGE_LOST_DATA_PERSISTENCE,               /* c000049e (STATUS_STORAGE_LOST_DATA_PERSISTENCE) */
    ERROR_VRF_CFG_ENABLED,                             /* c000049f (STATUS_VRF_CFG_ENABLED) */
    ERROR_PARTITION_TERMINATING,                       /* c00004a0 (STATUS_PARTITION_TERMINATING) */
    ERROR_EXTERNAL_SYSKEY_NOT_SUPPORTED,               /* c00004a1 (STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED) */
    ERROR_FAIL_FAST_EXCEPTION,                         /* c0000602 (STATUS_FAIL_FAST_EXCEPTION) */
    CERT_E_REVOKED,                                    /* c0000603 (STATUS_IMAGE_CERT_REVOKED) */
    ERROR_DYNAMIC_CODE_BLOCKED,                        /* c0000604 (STATUS_DYNAMIC_CODE_BLOCKED) */
    CERT_E_EXPIRED,                                    /* c0000605 (STATUS_IMAGE_CERT_EXPIRED) */
    ERROR_STRICT_CFG_VIOLATION,                        /* c0000606 (STATUS_STRICT_CFG_VIOLATION) */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000607 */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000608 */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000609 */
    ERROR_SET_CONTEXT_DENIED,                          /* c000060a (STATUS_SET_CONTEXT_DENIED) */
    ERROR_CROSS_PARTITION_VIOLATION,                   /* c000060b (STATUS_CROSS_PARTITION_VIOLATION) */
    ERROR_INTERNAL_ERROR,                              /* c0000700 (STATUS_PORT_CLOSED) */
    ERROR_INTERNAL_ERROR,                              /* c0000701 (STATUS_MESSAGE_LOST) */
    ERROR_INVALID_PARAMETER,                           /* c0000702 (STATUS_INVALID_MESSAGE) */
    ERROR_INTERNAL_ERROR,                              /* c0000703 (STATUS_REQUEST_CANCELED) */
    ERROR_NOT_SUPPORTED,                               /* c0000704 (STATUS_RECURSIVE_DISPATCH) */
    ERROR_INVALID_PARAMETER,                           /* c0000705 (STATUS_LPC_RECEIVE_BUFFER_EXPECTED) */
    ERROR_INVALID_PARAMETER,                           /* c0000706 (STATUS_LPC_INVALID_CONNECTION_USAGE) */
    ERROR_NOT_SUPPORTED,                               /* c0000707 (STATUS_LPC_REQUESTS_NOT_ALLOWED) */
    ERROR_INTERNAL_ERROR,                              /* c0000708 (STATUS_RESOURCE_IN_USE) */
    ERROR_MEMORY_HARDWARE,                             /* c0000709 (STATUS_HARDWARE_MEMORY_ERROR) */
    ERROR_INVALID_HANDLE,                              /* c000070a (STATUS_THREADPOOL_HANDLE_EXCEPTION) */
    ERROR_INVALID_HANDLE,                              /* c000070b (STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED) */
    ERROR_INVALID_HANDLE,                              /* c000070c (STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED) */
    ERROR_INVALID_HANDLE,                              /* c000070d (STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED) */
    ERROR_INVALID_HANDLE,                              /* c000070e (STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED) */
    ERROR_INVALID_HANDLE,                              /* c000070f (STATUS_THREADPOOL_RELEASED_DURING_OPERATION) */
    ERROR_INVALID_FUNCTION,                            /* c0000710 (STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING) */
    ERROR_INVALID_FUNCTION,                            /* c0000711 (STATUS_APC_RETURNED_WHILE_IMPERSONATING) */
    ERROR_PROCESS_IS_PROTECTED,                        /* c0000712 (STATUS_PROCESS_IS_PROTECTED) */
    ERROR_MCA_EXCEPTION,                               /* c0000713 (STATUS_MCA_EXCEPTION) */
    ERROR_LOGON_FAILURE,                               /* c0000714 (STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE) */
    ERROR_SYMLINK_CLASS_DISABLED,                      /* c0000715 (STATUS_SYMLINK_CLASS_DISABLED) */
    ERROR_INVALID_NAME,                                /* c0000716 (STATUS_INVALID_IDN_NORMALIZATION) */
    ERROR_NO_UNICODE_TRANSLATION,                      /* c0000717 (STATUS_NO_UNICODE_TRANSLATION) */
    ERROR_INTERNAL_ERROR,                              /* c0000718 (STATUS_ALREADY_REGISTERED) */
    ERROR_INTERNAL_ERROR,                              /* c0000719 (STATUS_CONTEXT_MISMATCH) */
    ERROR_INTERNAL_ERROR,                              /* c000071a (STATUS_PORT_ALREADY_HAS_COMPLETION_LIST) */
    ERROR_INVALID_FUNCTION,                            /* c000071b (STATUS_CALLBACK_RETURNED_THREAD_PRIORITY) */
    ERROR_INVALID_PARAMETER,                           /* c000071c (STATUS_INVALID_THREAD) */
    ERROR_INVALID_FUNCTION,                            /* c000071d (STATUS_CALLBACK_RETURNED_TRANSACTION) */
    ERROR_INVALID_FUNCTION,                            /* c000071e (STATUS_CALLBACK_RETURNED_LDR_LOCK) */
    ERROR_INVALID_FUNCTION,                            /* c000071f (STATUS_CALLBACK_RETURNED_LANG) */
    ERROR_INVALID_FUNCTION,                            /* c0000720 (STATUS_CALLBACK_RETURNED_PRI_BACK) */
    ERROR_INVALID_FUNCTION,                            /* c0000721 (STATUS_CALLBACK_RETURNED_THREAD_AFFINITY) */
    RPC_S_SYSTEM_HANDLE_COUNT_EXCEEDED,                /* c0000722 (STATUS_LPC_HANDLE_COUNT_EXCEEDED) */
    ERROR_GEN_FAILURE,                                 /* c0000723 (STATUS_EXECUTABLE_MEMORY_WRITE) */
    ERROR_GEN_FAILURE,                                 /* c0000724 (STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE) */
    ERROR_GEN_FAILURE,                                 /* c0000725 (STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE) */
    ERROR_GEN_FAILURE,                                 /* c0000726 (STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE) */
    ERROR_DISK_REPAIR_DISABLED,                        /* c0000800 (STATUS_DISK_REPAIR_DISABLED) */
    ERROR_DS_DOMAIN_RENAME_IN_PROGRESS,                /* c0000801 (STATUS_DS_DOMAIN_RENAME_IN_PROGRESS) */
    ERROR_DISK_QUOTA_EXCEEDED,                         /* c0000802 (STATUS_DISK_QUOTA_EXCEEDED) */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000803 */
    ERROR_CONTENT_BLOCKED,                             /* c0000804 (STATUS_CONTENT_BLOCKED) */
    ERROR_BAD_CLUSTERS,                                /* c0000805 (STATUS_BAD_CLUSTERS) */
    ERROR_VOLUME_DIRTY,                                /* c0000806 (STATUS_VOLUME_DIRTY) */
    ERROR_MR_MID_NOT_FOUND,                            /* c0000807 */
    ERROR_DISK_REPAIR_UNSUCCESSFUL,                    /* c0000808 (STATUS_DISK_REPAIR_UNSUCCESSFUL) */
    ERROR_CORRUPT_LOG_OVERFULL,                        /* c0000809 (STATUS_CORRUPT_LOG_OVERFULL) */
    ERROR_CORRUPT_LOG_CORRUPTED,                       /* c000080a (STATUS_CORRUPT_LOG_CORRUPTED) */
    ERROR_CORRUPT_LOG_UNAVAILABLE,                     /* c000080b (STATUS_CORRUPT_LOG_UNAVAILABLE) */
    ERROR_CORRUPT_LOG_DELETED_FULL,                    /* c000080c (STATUS_CORRUPT_LOG_DELETED_FULL) */
    ERROR_CORRUPT_LOG_CLEARED,                         /* c000080d (STATUS_CORRUPT_LOG_CLEARED) */
    ERROR_ORPHAN_NAME_EXHAUSTED,                       /* c000080e (STATUS_ORPHAN_NAME_EXHAUSTED) */
    ERROR_RETRY,                                       /* c000080f (STATUS_PROACTIVE_SCAN_IN_PROGRESS) */
    ERROR_ENCRYPTED_IO_NOT_POSSIBLE,                   /* c0000810 (STATUS_ENCRYPTED_IO_NOT_POSSIBLE) */
    ERROR_INTERNAL_ERROR,                              /* c0000811 (STATUS_CORRUPT_LOG_UPLEVEL_RECORDS) */
    ERROR_FILE_CHECKED_OUT,                            /* c0000901 (STATUS_FILE_CHECKED_OUT) */
    ERROR_CHECKOUT_REQUIRED,                           /* c0000902 (STATUS_CHECKOUT_REQUIRED) */
    ERROR_BAD_FILE_TYPE,                               /* c0000903 (STATUS_BAD_FILE_TYPE) */
    ERROR_FILE_TOO_LARGE,                              /* c0000904 (STATUS_FILE_TOO_LARGE) */
    ERROR_FORMS_AUTH_REQUIRED,                         /* c0000905 (STATUS_FORMS_AUTH_REQUIRED) */
    ERROR_VIRUS_INFECTED,                              /* c0000906 (STATUS_VIRUS_INFECTED) */
    ERROR_VIRUS_DELETED,                               /* c0000907 (STATUS_VIRUS_DELETED) */
    ERROR_BAD_MCFG_TABLE,                              /* c0000908 (STATUS_BAD_MCFG_TABLE) */
    ERROR_CANNOT_BREAK_OPLOCK,                         /* c0000909 (STATUS_CANNOT_BREAK_OPLOCK) */
    NTE_BAD_KEY,                                       /* c000090a (STATUS_BAD_KEY) */
    NTE_BAD_DATA,                                      /* c000090b (STATUS_BAD_DATA) */
    NTE_NO_KEY,                                        /* c000090c (STATUS_NO_KEY) */
    ERROR_MR_MID_NOT_FOUND,                            /* c000090d */
    ERROR_MR_MID_NOT_FOUND,                            /* c000090e */
    ERROR_MR_MID_NOT_FOUND,                            /* c000090f */
    ERROR_FILE_HANDLE_REVOKED,                         /* c0000910 (STATUS_FILE_HANDLE_REVOKED) */
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474
    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) */
    RPC_S_PROTSEQ_NOT_SUPPORTED,                       /* c0020004 (RPC_NT_PROTSEQ_NOT_SUPPORTED) */
    RPC_S_INVALID_RPC_PROTSEQ,                         /* c0020005 (RPC_NT_INVALID_RPC_PROTSEQ) */
    RPC_S_INVALID_STRING_UUID,                         /* c0020006 (RPC_NT_INVALID_STRING_UUID) */
    RPC_S_INVALID_ENDPOINT_FORMAT,                     /* c0020007 (RPC_NT_INVALID_ENDPOINT_FORMAT) */
    RPC_S_INVALID_NET_ADDR,                            /* c0020008 (RPC_NT_INVALID_NET_ADDR) */
    RPC_S_NO_ENDPOINT_FOUND,                           /* c0020009 (RPC_NT_NO_ENDPOINT_FOUND) */
    RPC_S_INVALID_TIMEOUT,                             /* c002000a (RPC_NT_INVALID_TIMEOUT) */
    RPC_S_OBJECT_NOT_FOUND,                            /* c002000b (RPC_NT_OBJECT_NOT_FOUND) */
    RPC_S_ALREADY_REGISTERED,                          /* c002000c (RPC_NT_ALREADY_REGISTERED) */
    RPC_S_TYPE_ALREADY_REGISTERED,                     /* c002000d (RPC_NT_TYPE_ALREADY_REGISTERED) */
    RPC_S_ALREADY_LISTENING,                           /* c002000e (RPC_NT_ALREADY_LISTENING) */
    RPC_S_NO_PROTSEQS_REGISTERED,                      /* c002000f (RPC_NT_NO_PROTSEQS_REGISTERED) */
    RPC_S_NOT_LISTENING,                               /* c0020010 (RPC_NT_NOT_LISTENING) */
    RPC_S_UNKNOWN_MGR_TYPE,                            /* c0020011 (RPC_NT_UNKNOWN_MGR_TYPE) */
    RPC_S_UNKNOWN_IF,                                  /* c0020012 (RPC_NT_UNKNOWN_IF) */
    RPC_S_NO_BINDINGS,                                 /* c0020013 (RPC_NT_NO_BINDINGS) */
    RPC_S_NO_PROTSEQS,                                 /* c0020014 (RPC_NT_NO_PROTSEQS) */
    RPC_S_CANT_CREATE_ENDPOINT,                        /* c0020015 (RPC_NT_CANT_CREATE_ENDPOINT) */
    RPC_S_OUT_OF_RESOURCES,                            /* c0020016 (RPC_NT_OUT_OF_RESOURCES) */
    RPC_S_SERVER_UNAVAILABLE,                          /* c0020017 (RPC_NT_SERVER_UNAVAILABLE) */
    RPC_S_SERVER_TOO_BUSY,                             /* c0020018 (RPC_NT_SERVER_TOO_BUSY) */
    RPC_S_INVALID_NETWORK_OPTIONS,                     /* c0020019 (RPC_NT_INVALID_NETWORK_OPTIONS) */
    RPC_S_NO_CALL_ACTIVE,                              /* c002001a (RPC_NT_NO_CALL_ACTIVE) */
    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) */
    ERROR_MR_MID_NOT_FOUND,                            /* c002001e */
    RPC_S_UNSUPPORTED_TRANS_SYN,                       /* c002001f (RPC_NT_UNSUPPORTED_TRANS_SYN) */
    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) */
    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) */
    RPC_S_MAX_CALLS_TOO_SMALL,                         /* c002002b (RPC_NT_MAX_CALLS_TOO_SMALL) */
    RPC_S_STRING_TOO_LONG,                             /* c002002c (RPC_NT_STRING_TOO_LONG) */
    RPC_S_PROTSEQ_NOT_FOUND,                           /* c002002d (RPC_NT_PROTSEQ_NOT_FOUND) */
    RPC_S_PROCNUM_OUT_OF_RANGE,                        /* c002002e (RPC_NT_PROCNUM_OUT_OF_RANGE) */
    RPC_S_BINDING_HAS_NO_AUTH,                         /* c002002f (RPC_NT_BINDING_HAS_NO_AUTH) */
    RPC_S_UNKNOWN_AUTHN_SERVICE,                       /* c0020030 (RPC_NT_UNKNOWN_AUTHN_SERVICE) */
    RPC_S_UNKNOWN_AUTHN_LEVEL,                         /* c0020031 (RPC_NT_UNKNOWN_AUTHN_LEVEL) */
    RPC_S_INVALID_AUTH_IDENTITY,                       /* c0020032 (RPC_NT_INVALID_AUTH_IDENTITY) */
    RPC_S_UNKNOWN_AUTHZ_SERVICE,                       /* c0020033 (RPC_NT_UNKNOWN_AUTHZ_SERVICE) */
    EPT_S_INVALID_ENTRY,                               /* c0020034 (EPT_NT_INVALID_ENTRY) */
    EPT_S_CANT_PERFORM_OP,                             /* c0020035 (EPT_NT_CANT_PERFORM_OP) */
    EPT_S_NOT_REGISTERED,                              /* c0020036 (EPT_NT_NOT_REGISTERED) */
    RPC_S_NOTHING_TO_EXPORT,                           /* c0020037 (RPC_NT_NOTHING_TO_EXPORT) */
    RPC_S_INCOMPLETE_NAME,                             /* c0020038 (RPC_NT_INCOMPLETE_NAME) */
    RPC_S_INVALID_VERS_OPTION,                         /* c0020039 (RPC_NT_INVALID_VERS_OPTION) */
    RPC_S_NO_MORE_MEMBERS,                             /* c002003a (RPC_NT_NO_MORE_MEMBERS) */
    RPC_S_NOT_ALL_OBJS_UNEXPORTED,                     /* c002003b (RPC_NT_NOT_ALL_OBJS_UNEXPORTED) */
    RPC_S_INTERFACE_NOT_FOUND,                         /* c002003c (RPC_NT_INTERFACE_NOT_FOUND) */
    RPC_S_ENTRY_ALREADY_EXISTS,                        /* c002003d (RPC_NT_ENTRY_ALREADY_EXISTS) */
    RPC_S_ENTRY_NOT_FOUND,                             /* c002003e (RPC_NT_ENTRY_NOT_FOUND) */
    RPC_S_NAME_SERVICE_UNAVAILABLE,                    /* c002003f (RPC_NT_NAME_SERVICE_UNAVAILABLE) */
    RPC_S_INVALID_NAF_ID,                              /* c0020040 (RPC_NT_INVALID_NAF_ID) */
    RPC_S_CANNOT_SUPPORT,                              /* c0020041 (RPC_NT_CANNOT_SUPPORT) */
    RPC_S_NO_CONTEXT_AVAILABLE,                        /* c0020042 (RPC_NT_NO_CONTEXT_AVAILABLE) */
    RPC_S_INTERNAL_ERROR,                              /* c0020043 (RPC_NT_INTERNAL_ERROR) */
    RPC_S_ZERO_DIVIDE,                                 /* c0020044 (RPC_NT_ZERO_DIVIDE) */
    RPC_S_ADDRESS_ERROR,                               /* c0020045 (RPC_NT_ADDRESS_ERROR) */
    RPC_S_FP_DIV_ZERO,                                 /* c0020046 (RPC_NT_FP_DIV_ZERO) */
    RPC_S_FP_UNDERFLOW,                                /* c0020047 (RPC_NT_FP_UNDERFLOW) */
    RPC_S_FP_OVERFLOW,                                 /* c0020048 (RPC_NT_FP_OVERFLOW) */
    RPC_S_CALL_IN_PROGRESS,                            /* c0020049 (RPC_NT_CALL_IN_PROGRESS) */
    RPC_S_NO_MORE_BINDINGS,                            /* c002004a (RPC_NT_NO_MORE_BINDINGS) */
    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) */
    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) */
    RPC_S_COMM_FAILURE,                                /* c0020052 (RPC_NT_COMM_FAILURE) */
    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) */
    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) */
    RPC_S_INVALID_ASYNC_HANDLE,                        /* c0020062 (RPC_NT_INVALID_ASYNC_HANDLE) */
    RPC_S_INVALID_ASYNC_CALL,                          /* c0020063 (RPC_NT_INVALID_ASYNC_CALL) */
1475 1476
    RPC_S_PROXY_ACCESS_DENIED,                         /* c0020064 (RPC_NT_PROXY_ACCESS_DENIED) */
    RPC_S_COOKIE_AUTH_FAILED,                          /* c0020065 (RPC_NT_COOKIE_AUTH_FAILED) */
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537
    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) */
    ERROR_INVALID_HANDLE,                              /* c0030004 (RPC_NT_SS_IN_NULL_CONTEXT) */
    ERROR_INVALID_HANDLE,                              /* c0030005 (RPC_NT_SS_CONTEXT_MISMATCH) */
    RPC_X_SS_CONTEXT_DAMAGED,                          /* c0030006 (RPC_NT_SS_CONTEXT_DAMAGED) */
    RPC_X_SS_HANDLES_MISMATCH,                         /* c0030007 (RPC_NT_SS_HANDLES_MISMATCH) */
    RPC_X_SS_CANNOT_GET_CALL_HANDLE,                   /* c0030008 (RPC_NT_SS_CANNOT_GET_CALL_HANDLE) */
    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) */
    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) */
    RPC_X_INVALID_PIPE_OBJECT,                         /* c003005c (RPC_NT_INVALID_PIPE_OBJECT) */
    RPC_X_WRONG_PIPE_ORDER,                            /* c003005d (RPC_NT_INVALID_PIPE_OPERATION) */
    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) */
    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) */
    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) */
    ERROR_CTX_INVALID_MODEMNAME,                       /* c00a0009 (STATUS_CTX_INVALID_MODEMNAME) */
    ERROR_CTX_MODEM_RESPONSE_ERROR,                    /* c00a000a (STATUS_CTX_RESPONSE_ERROR) */
    ERROR_CTX_MODEM_RESPONSE_TIMEOUT,                  /* c00a000b (STATUS_CTX_MODEM_RESPONSE_TIMEOUT) */
    ERROR_CTX_MODEM_RESPONSE_NO_CARRIER,               /* c00a000c (STATUS_CTX_MODEM_RESPONSE_NO_CARRIER) */
    ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE,              /* c00a000d (STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE) */
    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) */
    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) */
    ERROR_CTX_WINSTATION_NOT_FOUND,                    /* c00a0015 (STATUS_CTX_WINSTATION_NOT_FOUND) */
    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) */
    ERROR_CTX_GRAPHICS_INVALID,                        /* c00a0022 (STATUS_CTX_GRAPHICS_INVALID) */
    ERROR_MR_MID_NOT_FOUND,                            /* c00a0023 */
    ERROR_CTX_NOT_CONSOLE,                             /* c00a0024 (STATUS_CTX_NOT_CONSOLE) */
    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) */
    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) */
    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) */
1538
    ERROR_RDP_PROTOCOL_ERROR,                          /* c00a0032 (STATUS_RDP_PROTOCOL_ERROR) */
1539 1540 1541 1542
    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) */
1543 1544 1545 1546
    ERROR_CTX_LOGON_DISABLED,                          /* c00a0037 (STATUS_CTX_LOGON_DISABLED) */
    ERROR_CTX_SECURITY_LAYER_ERROR,                    /* c00a0038 (STATUS_CTX_SECURITY_LAYER_ERROR) */
    ERROR_TS_INCOMPATIBLE_SESSIONS,                    /* c00a0039 (STATUS_TS_INCOMPATIBLE_SESSIONS) */
    ERROR_TS_VIDEO_SUBSYSTEM_ERROR,                    /* c00a003a (STATUS_TS_VIDEO_SUBSYSTEM_ERROR) */
1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562
    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) */
    ERROR_CLUSTER_NODE_NOT_FOUND,                      /* c0130004 (STATUS_CLUSTER_NODE_NOT_FOUND) */
    ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND,                /* c0130005 (STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND) */
    ERROR_CLUSTER_NETWORK_EXISTS,                      /* c0130006 (STATUS_CLUSTER_NETWORK_EXISTS) */
    ERROR_CLUSTER_NETWORK_NOT_FOUND,                   /* c0130007 (STATUS_CLUSTER_NETWORK_NOT_FOUND) */
    ERROR_CLUSTER_NETINTERFACE_EXISTS,                 /* c0130008 (STATUS_CLUSTER_NETINTERFACE_EXISTS) */
    ERROR_CLUSTER_NETINTERFACE_NOT_FOUND,              /* c0130009 (STATUS_CLUSTER_NETINTERFACE_NOT_FOUND) */
    ERROR_CLUSTER_INVALID_REQUEST,                     /* c013000a (STATUS_CLUSTER_INVALID_REQUEST) */
    ERROR_CLUSTER_INVALID_NETWORK_PROVIDER,            /* c013000b (STATUS_CLUSTER_INVALID_NETWORK_PROVIDER) */
    ERROR_CLUSTER_NODE_DOWN,                           /* c013000c (STATUS_CLUSTER_NODE_DOWN) */
    ERROR_CLUSTER_NODE_UNREACHABLE,                    /* c013000d (STATUS_CLUSTER_NODE_UNREACHABLE) */
    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) */
1563
    ERROR_CLUSTER_NO_NET_ADAPTERS,                     /* c0130011 (STATUS_CLUSTER_NO_NET_ADAPTERS) */
1564 1565 1566 1567 1568
    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) */
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595
    ERROR_CLUSTER_POISONED,                            /* c0130017 (STATUS_CLUSTER_POISONED) */
    ERROR_NON_CSV_PATH,                                /* c0130018 (STATUS_CLUSTER_NON_CSV_PATH) */
    ERROR_CSV_VOLUME_NOT_LOCAL,                        /* c0130019 (STATUS_CLUSTER_CSV_VOLUME_NOT_LOCAL) */
    ERROR_MR_MID_NOT_FOUND,                            /* c013001a */
    ERROR_MR_MID_NOT_FOUND,                            /* c013001b */
    ERROR_MR_MID_NOT_FOUND,                            /* c013001c */
    ERROR_MR_MID_NOT_FOUND,                            /* c013001d */
    ERROR_MR_MID_NOT_FOUND,                            /* c013001e */
    ERROR_MR_MID_NOT_FOUND,                            /* c013001f */
    ERROR_RETRY,                                       /* c0130020 (STATUS_CLUSTER_CSV_READ_OPLOCK_BREAK_IN_PROGRESS) */
    ERROR_RETRY,                                       /* c0130021 (STATUS_CLUSTER_CSV_AUTO_PAUSE_ERROR) */
    ERROR_NOT_SUPPORTED,                               /* c0130022 (STATUS_CLUSTER_CSV_REDIRECTED) */
    ERROR_NOT_SUPPORTED,                               /* c0130023 (STATUS_CLUSTER_CSV_NOT_REDIRECTED) */
    ERROR_NOT_SUPPORTED,                               /* c0130024 (STATUS_CLUSTER_CSV_VOLUME_DRAINING) */
    ERROR_RETRY,                                       /* c0130025 (STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS) */
    ERROR_NOT_SUPPORTED,                               /* c0130026 (STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL) */
    ERROR_RETRY,                                       /* c0130027 (STATUS_CLUSTER_CSV_NO_SNAPSHOTS) */
    ERROR_CLUSTER_CSV_IO_PAUSE_TIMEOUT,                /* c0130028 (STATUS_CSV_IO_PAUSE_TIMEOUT) */
    ERROR_CLUSTER_CSV_INVALID_HANDLE,                  /* c0130029 (STATUS_CLUSTER_CSV_INVALID_HANDLE) */
    ERROR_MR_MID_NOT_FOUND,                            /* c013002a */
    ERROR_MR_MID_NOT_FOUND,                            /* c013002b */
    ERROR_MR_MID_NOT_FOUND,                            /* c013002c */
    ERROR_MR_MID_NOT_FOUND,                            /* c013002d */
    ERROR_MR_MID_NOT_FOUND,                            /* c013002e */
    ERROR_MR_MID_NOT_FOUND,                            /* c013002f */
    ERROR_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR,   /* c0130030 (STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR) */
    ERROR_ACCESS_DENIED,                               /* c0130031 (STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED) */
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634
    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) */
    ERROR_SXS_ASSEMBLY_NOT_FOUND,                      /* c0150004 (STATUS_SXS_ASSEMBLY_NOT_FOUND) */
    ERROR_SXS_MANIFEST_FORMAT_ERROR,                   /* c0150005 (STATUS_SXS_MANIFEST_FORMAT_ERROR) */
    ERROR_SXS_MANIFEST_PARSE_ERROR,                    /* c0150006 (STATUS_SXS_MANIFEST_PARSE_ERROR) */
    ERROR_SXS_ACTIVATION_CONTEXT_DISABLED,             /* c0150007 (STATUS_SXS_ACTIVATION_CONTEXT_DISABLED) */
    ERROR_SXS_KEY_NOT_FOUND,                           /* c0150008 (STATUS_SXS_KEY_NOT_FOUND) */
    ERROR_SXS_VERSION_CONFLICT,                        /* c0150009 (STATUS_SXS_VERSION_CONFLICT) */
    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) */
    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) */
    ERROR_SXS_MULTIPLE_DEACTIVATION,                   /* c0150011 (STATUS_SXS_MULTIPLE_DEACTIVATION) */
    ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY, /* c0150012 (STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY) */
    ERROR_SXS_PROCESS_TERMINATION_REQUESTED,           /* c0150013 (STATUS_SXS_PROCESS_TERMINATION_REQUESTED) */
    ERROR_SXS_CORRUPT_ACTIVATION_STACK,                /* c0150014 (STATUS_SXS_CORRUPT_ACTIVATION_STACK) */
    ERROR_SXS_CORRUPTION,                              /* c0150015 (STATUS_SXS_CORRUPTION) */
    ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE,        /* c0150016 (STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE) */
    ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME,         /* c0150017 (STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME) */
    ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE,            /* c0150018 (STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE) */
    ERROR_SXS_IDENTITY_PARSE_ERROR,                    /* c0150019 (STATUS_SXS_IDENTITY_PARSE_ERROR) */
    ERROR_SXS_COMPONENT_STORE_CORRUPT,                 /* c015001a (STATUS_SXS_COMPONENT_STORE_CORRUPT) */
    ERROR_SXS_FILE_HASH_MISMATCH,                      /* c015001b (STATUS_SXS_FILE_HASH_MISMATCH) */
    ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT, /* c015001c (STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT) */
    ERROR_SXS_IDENTITIES_DIFFERENT,                    /* c015001d (STATUS_SXS_IDENTITIES_DIFFERENT) */
    ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT,            /* c015001e (STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT) */
    ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY,               /* c015001f (STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY) */
    ERROR_ADVANCED_INSTALLER_FAILED,                   /* c0150020 (STATUS_ADVANCED_INSTALLER_FAILED) */
    ERROR_XML_ENCODING_MISMATCH,                       /* c0150021 (STATUS_XML_ENCODING_MISMATCH) */
    ERROR_SXS_MANIFEST_TOO_BIG,                        /* c0150022 (STATUS_SXS_MANIFEST_TOO_BIG) */
    ERROR_SXS_SETTING_NOT_REGISTERED,                  /* c0150023 (STATUS_SXS_SETTING_NOT_REGISTERED) */
    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) */
1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726
    ERROR_VOLMGR_DATABASE_FULL,                        /* c0380001 (STATUS_VOLMGR_DATABASE_FULL) */
    ERROR_VOLMGR_DISK_CONFIGURATION_CORRUPTED,         /* c0380002 (STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED) */
    ERROR_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC,       /* c0380003 (STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC) */
    ERROR_VOLMGR_PACK_CONFIG_UPDATE_FAILED,            /* c0380004 (STATUS_VOLMGR_PACK_CONFIG_UPDATE_FAILED) */
    ERROR_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME,      /* c0380005 (STATUS_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME) */
    ERROR_VOLMGR_DISK_DUPLICATE,                       /* c0380006 (STATUS_VOLMGR_DISK_DUPLICATE) */
    ERROR_VOLMGR_DISK_DYNAMIC,                         /* c0380007 (STATUS_VOLMGR_DISK_DYNAMIC) */
    ERROR_VOLMGR_DISK_ID_INVALID,                      /* c0380008 (STATUS_VOLMGR_DISK_ID_INVALID) */
    ERROR_VOLMGR_DISK_INVALID,                         /* c0380009 (STATUS_VOLMGR_DISK_INVALID) */
    ERROR_VOLMGR_DISK_LAST_VOTER,                      /* c038000a (STATUS_VOLMGR_DISK_LAST_VOTER) */
    ERROR_VOLMGR_DISK_LAYOUT_INVALID,                  /* c038000b (STATUS_VOLMGR_DISK_LAYOUT_INVALID) */
    ERROR_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS, /* c038000c (STATUS_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS) */
    ERROR_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED,     /* c038000d (STATUS_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED) */
    ERROR_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL,     /* c038000e (STATUS_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL) */
    ERROR_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS, /* c038000f (STATUS_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS) */
    ERROR_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS,      /* c0380010 (STATUS_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS) */
    ERROR_VOLMGR_DISK_MISSING,                         /* c0380011 (STATUS_VOLMGR_DISK_MISSING) */
    ERROR_VOLMGR_DISK_NOT_EMPTY,                       /* c0380012 (STATUS_VOLMGR_DISK_NOT_EMPTY) */
    ERROR_VOLMGR_DISK_NOT_ENOUGH_SPACE,                /* c0380013 (STATUS_VOLMGR_DISK_NOT_ENOUGH_SPACE) */
    ERROR_VOLMGR_DISK_REVECTORING_FAILED,              /* c0380014 (STATUS_VOLMGR_DISK_REVECTORING_FAILED) */
    ERROR_VOLMGR_DISK_SECTOR_SIZE_INVALID,             /* c0380015 (STATUS_VOLMGR_DISK_SECTOR_SIZE_INVALID) */
    ERROR_VOLMGR_DISK_SET_NOT_CONTAINED,               /* c0380016 (STATUS_VOLMGR_DISK_SET_NOT_CONTAINED) */
    ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS,        /* c0380017 (STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS) */
    ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES,         /* c0380018 (STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES) */
    ERROR_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED,           /* c0380019 (STATUS_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED) */
    ERROR_VOLMGR_EXTENT_ALREADY_USED,                  /* c038001a (STATUS_VOLMGR_EXTENT_ALREADY_USED) */
    ERROR_VOLMGR_EXTENT_NOT_CONTIGUOUS,                /* c038001b (STATUS_VOLMGR_EXTENT_NOT_CONTIGUOUS) */
    ERROR_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION,          /* c038001c (STATUS_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION) */
    ERROR_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED,            /* c038001d (STATUS_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED) */
    ERROR_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION,        /* c038001e (STATUS_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION) */
    ERROR_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH,   /* c038001f (STATUS_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH) */
    ERROR_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED,         /* c0380020 (STATUS_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED) */
    ERROR_VOLMGR_INTERLEAVE_LENGTH_INVALID,            /* c0380021 (STATUS_VOLMGR_INTERLEAVE_LENGTH_INVALID) */
    ERROR_VOLMGR_MAXIMUM_REGISTERED_USERS,             /* c0380022 (STATUS_VOLMGR_MAXIMUM_REGISTERED_USERS) */
    ERROR_VOLMGR_MEMBER_IN_SYNC,                       /* c0380023 (STATUS_VOLMGR_MEMBER_IN_SYNC) */
    ERROR_VOLMGR_MEMBER_INDEX_DUPLICATE,               /* c0380024 (STATUS_VOLMGR_MEMBER_INDEX_DUPLICATE) */
    ERROR_VOLMGR_MEMBER_INDEX_INVALID,                 /* c0380025 (STATUS_VOLMGR_MEMBER_INDEX_INVALID) */
    ERROR_VOLMGR_MEMBER_MISSING,                       /* c0380026 (STATUS_VOLMGR_MEMBER_MISSING) */
    ERROR_VOLMGR_MEMBER_NOT_DETACHED,                  /* c0380027 (STATUS_VOLMGR_MEMBER_NOT_DETACHED) */
    ERROR_VOLMGR_MEMBER_REGENERATING,                  /* c0380028 (STATUS_VOLMGR_MEMBER_REGENERATING) */
    ERROR_VOLMGR_ALL_DISKS_FAILED,                     /* c0380029 (STATUS_VOLMGR_ALL_DISKS_FAILED) */
    ERROR_VOLMGR_NO_REGISTERED_USERS,                  /* c038002a (STATUS_VOLMGR_NO_REGISTERED_USERS) */
    ERROR_VOLMGR_NO_SUCH_USER,                         /* c038002b (STATUS_VOLMGR_NO_SUCH_USER) */
    ERROR_VOLMGR_NOTIFICATION_RESET,                   /* c038002c (STATUS_VOLMGR_NOTIFICATION_RESET) */
    ERROR_VOLMGR_NUMBER_OF_MEMBERS_INVALID,            /* c038002d (STATUS_VOLMGR_NUMBER_OF_MEMBERS_INVALID) */
    ERROR_VOLMGR_NUMBER_OF_PLEXES_INVALID,             /* c038002e (STATUS_VOLMGR_NUMBER_OF_PLEXES_INVALID) */
    ERROR_VOLMGR_PACK_DUPLICATE,                       /* c038002f (STATUS_VOLMGR_PACK_DUPLICATE) */
    ERROR_VOLMGR_PACK_ID_INVALID,                      /* c0380030 (STATUS_VOLMGR_PACK_ID_INVALID) */
    ERROR_VOLMGR_PACK_INVALID,                         /* c0380031 (STATUS_VOLMGR_PACK_INVALID) */
    ERROR_VOLMGR_PACK_NAME_INVALID,                    /* c0380032 (STATUS_VOLMGR_PACK_NAME_INVALID) */
    ERROR_VOLMGR_PACK_OFFLINE,                         /* c0380033 (STATUS_VOLMGR_PACK_OFFLINE) */
    ERROR_VOLMGR_PACK_HAS_QUORUM,                      /* c0380034 (STATUS_VOLMGR_PACK_HAS_QUORUM) */
    ERROR_VOLMGR_PACK_WITHOUT_QUORUM,                  /* c0380035 (STATUS_VOLMGR_PACK_WITHOUT_QUORUM) */
    ERROR_VOLMGR_PARTITION_STYLE_INVALID,              /* c0380036 (STATUS_VOLMGR_PARTITION_STYLE_INVALID) */
    ERROR_VOLMGR_PARTITION_UPDATE_FAILED,              /* c0380037 (STATUS_VOLMGR_PARTITION_UPDATE_FAILED) */
    ERROR_VOLMGR_PLEX_IN_SYNC,                         /* c0380038 (STATUS_VOLMGR_PLEX_IN_SYNC) */
    ERROR_VOLMGR_PLEX_INDEX_DUPLICATE,                 /* c0380039 (STATUS_VOLMGR_PLEX_INDEX_DUPLICATE) */
    ERROR_VOLMGR_PLEX_INDEX_INVALID,                   /* c038003a (STATUS_VOLMGR_PLEX_INDEX_INVALID) */
    ERROR_VOLMGR_PLEX_LAST_ACTIVE,                     /* c038003b (STATUS_VOLMGR_PLEX_LAST_ACTIVE) */
    ERROR_VOLMGR_PLEX_MISSING,                         /* c038003c (STATUS_VOLMGR_PLEX_MISSING) */
    ERROR_VOLMGR_PLEX_REGENERATING,                    /* c038003d (STATUS_VOLMGR_PLEX_REGENERATING) */
    ERROR_VOLMGR_PLEX_TYPE_INVALID,                    /* c038003e (STATUS_VOLMGR_PLEX_TYPE_INVALID) */
    ERROR_VOLMGR_PLEX_NOT_RAID5,                       /* c038003f (STATUS_VOLMGR_PLEX_NOT_RAID5) */
    ERROR_VOLMGR_PLEX_NOT_SIMPLE,                      /* c0380040 (STATUS_VOLMGR_PLEX_NOT_SIMPLE) */
    ERROR_VOLMGR_STRUCTURE_SIZE_INVALID,               /* c0380041 (STATUS_VOLMGR_STRUCTURE_SIZE_INVALID) */
    ERROR_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS,       /* c0380042 (STATUS_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS) */
    ERROR_VOLMGR_TRANSACTION_IN_PROGRESS,              /* c0380043 (STATUS_VOLMGR_TRANSACTION_IN_PROGRESS) */
    ERROR_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE,        /* c0380044 (STATUS_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE) */
    ERROR_VOLMGR_VOLUME_CONTAINS_MISSING_DISK,         /* c0380045 (STATUS_VOLMGR_VOLUME_CONTAINS_MISSING_DISK) */
    ERROR_VOLMGR_VOLUME_ID_INVALID,                    /* c0380046 (STATUS_VOLMGR_VOLUME_ID_INVALID) */
    ERROR_VOLMGR_VOLUME_LENGTH_INVALID,                /* c0380047 (STATUS_VOLMGR_VOLUME_LENGTH_INVALID) */
    ERROR_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE, /* c0380048 (STATUS_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE) */
    ERROR_VOLMGR_VOLUME_NOT_MIRRORED,                  /* c0380049 (STATUS_VOLMGR_VOLUME_NOT_MIRRORED) */
    ERROR_VOLMGR_VOLUME_NOT_RETAINED,                  /* c038004a (STATUS_VOLMGR_VOLUME_NOT_RETAINED) */
    ERROR_VOLMGR_VOLUME_OFFLINE,                       /* c038004b (STATUS_VOLMGR_VOLUME_OFFLINE) */
    ERROR_VOLMGR_VOLUME_RETAINED,                      /* c038004c (STATUS_VOLMGR_VOLUME_RETAINED) */
    ERROR_VOLMGR_NUMBER_OF_EXTENTS_INVALID,            /* c038004d (STATUS_VOLMGR_NUMBER_OF_EXTENTS_INVALID) */
    ERROR_VOLMGR_DIFFERENT_SECTOR_SIZE,                /* c038004e (STATUS_VOLMGR_DIFFERENT_SECTOR_SIZE) */
    ERROR_VOLMGR_BAD_BOOT_DISK,                        /* c038004f (STATUS_VOLMGR_BAD_BOOT_DISK) */
    ERROR_VOLMGR_PACK_CONFIG_OFFLINE,                  /* c0380050 (STATUS_VOLMGR_PACK_CONFIG_OFFLINE) */
    ERROR_VOLMGR_PACK_CONFIG_ONLINE,                   /* c0380051 (STATUS_VOLMGR_PACK_CONFIG_ONLINE) */
    ERROR_VOLMGR_NOT_PRIMARY_PACK,                     /* c0380052 (STATUS_VOLMGR_NOT_PRIMARY_PACK) */
    ERROR_VOLMGR_PACK_LOG_UPDATE_FAILED,               /* c0380053 (STATUS_VOLMGR_PACK_LOG_UPDATE_FAILED) */
    ERROR_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID,      /* c0380054 (STATUS_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID) */
    ERROR_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID,    /* c0380055 (STATUS_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID) */
    ERROR_VOLMGR_VOLUME_MIRRORED,                      /* c0380056 (STATUS_VOLMGR_VOLUME_MIRRORED) */
    ERROR_VOLMGR_PLEX_NOT_SIMPLE_SPANNED,              /* c0380057 (STATUS_VOLMGR_PLEX_NOT_SIMPLE_SPANNED) */
    ERROR_VOLMGR_NO_VALID_LOG_COPIES,                  /* c0380058 (STATUS_VOLMGR_NO_VALID_LOG_COPIES) */
    ERROR_VOLMGR_PRIMARY_PACK_PRESENT,                 /* c0380059 (STATUS_VOLMGR_PRIMARY_PACK_PRESENT) */
    ERROR_VOLMGR_NUMBER_OF_DISKS_INVALID,              /* c038005a (STATUS_VOLMGR_NUMBER_OF_DISKS_INVALID) */
    ERROR_VOLMGR_MIRROR_NOT_SUPPORTED,                 /* c038005b (STATUS_VOLMGR_MIRROR_NOT_SUPPORTED) */
    ERROR_VOLMGR_RAID5_NOT_SUPPORTED,                  /* c038005c (STATUS_VOLMGR_RAID5_NOT_SUPPORTED) */
1727 1728
};

1729
static const struct { ULONG start, end, offset; } table[42] =
1730
{
1731 1732 1733 1734
    { 0x00000001, 0x00000003, 0 },
    { 0x0000003f, 0x0000003f, 3 },
    { 0x00000080, 0x00000080, 4 },
    { 0x000000bf, 0x000000c0, 5 },
1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772
    { 0x00000100, 0x00000128, 7 },
    { 0x00010001, 0x00010002, 48 },
    { 0x40000000, 0x40000036, 50 },
    { 0x40000294, 0x40000294, 105 },
    { 0x40000370, 0x40000370, 106 },
    { 0x40010001, 0x4001000a, 107 },
    { 0x40020056, 0x40020056, 117 },
    { 0x400200af, 0x400200af, 118 },
    { 0x80000001, 0x80000032, 119 },
    { 0x80000288, 0x80000289, 169 },
    { 0x80010001, 0x80010001, 171 },
    { 0x80090300, 0x80090333, 172 },
    { 0x8009033f, 0x80090349, 224 },
    { 0x8009035d, 0x80090367, 235 },
    { 0x80092010, 0x80092013, 246 },
    { 0x80096004, 0x80096004, 250 },
    { 0x80130001, 0x80130005, 251 },
    { 0xc0000001, 0xc00001af, 256 },
    { 0xc0000201, 0xc000030d, 687 },
    { 0xc0000320, 0xc0000322, 956 },
    { 0xc0000350, 0xc0000374, 959 },
    { 0xc0000380, 0xc000038f, 996 },
    { 0xc0000401, 0xc0000435, 1012 },
    { 0xc0000440, 0xc0000446, 1065 },
    { 0xc0000450, 0xc00004a1, 1072 },
    { 0xc0000602, 0xc000060b, 1154 },
    { 0xc0000700, 0xc0000726, 1164 },
    { 0xc0000800, 0xc0000811, 1203 },
    { 0xc0000901, 0xc0000910, 1221 },
    { 0xc0020001, 0xc0020058, 1237 },
    { 0xc0020062, 0xc0020065, 1325 },
    { 0xc0030001, 0xc003000c, 1329 },
    { 0xc0030059, 0xc0030061, 1341 },
    { 0xc00a0001, 0xc00a0018, 1350 },
    { 0xc00a0022, 0xc00a003a, 1374 },
    { 0xc0130001, 0xc0130031, 1399 },
    { 0xc0150001, 0xc0150027, 1448 },
    { 0xc0380001, 0xc038005c, 1487 },
1773 1774
};

1775
static ULONG map_status( NTSTATUS status )
1776
{
1777
    int low = 0, high = ARRAY_SIZE(table) - 1;
1778

1779 1780 1781 1782 1783 1784 1785 1786 1787
    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;
}