error.h (138278B)
1/** 2 * WinPR: Windows Portable Runtime 3 * Error Handling Functions 4 * 5 * Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com> 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 20#ifndef WINPR_ERROR_H 21#define WINPR_ERROR_H 22 23#include <winpr/winpr.h> 24#include <winpr/wtypes.h> 25 26#ifdef _WIN32 27 28#include <winerror.h> 29 30#else 31 32#ifndef NO_ERROR 33#define NO_ERROR 0 34#endif 35 36#define E_UNEXPECTED (HRESULT)0x8000FFFFL 37#define E_NOTIMPL (HRESULT)0x80004001L 38#define E_OUTOFMEMORY (HRESULT)0x8007000EL 39#define E_INVALIDARG (HRESULT)0x80070057L 40#define E_NOINTERFACE (HRESULT)0x80004002L 41#define E_POINTER (HRESULT)0x80004003L 42#define E_HANDLE (HRESULT)0x80070006L 43#define E_ABORT (HRESULT)0x80004004L 44#define E_FAIL (HRESULT)0x80004005L 45#define E_ACCESSDENIED (HRESULT)0x80070005L 46 47#define CO_E_INIT_TLS 0x80004006 48#define CO_E_INIT_SHARED_ALLOCATOR 0x80004007 49#define CO_E_INIT_MEMORY_ALLOCATOR 0x80004008 50#define CO_E_INIT_CLASS_CACHE 0x80004009 51#define CO_E_INIT_RPC_CHANNEL 0x8000400A 52#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL 0x8000400B 53#define CO_E_INIT_TLS_CHANNEL_CONTROL 0x8000400C 54#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR 0x8000400D 55#define CO_E_INIT_SCM_MUTEX_EXISTS 0x8000400E 56#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS 0x8000400F 57#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE 0x80004010 58#define CO_E_INIT_SCM_EXEC_FAILURE 0x80004011 59#define CO_E_INIT_ONLY_SINGLE_THREADED 0x80004012 60#define CO_E_CANT_REMOTE 0x80004013 61#define CO_E_BAD_SERVER_NAME 0x80004014 62#define CO_E_WRONG_SERVER_IDENTITY 0x80004015 63#define CO_E_OLE1DDE_DISABLED 0x80004016 64#define CO_E_RUNAS_SYNTAX 0x80004017 65#define CO_E_CREATEPROCESS_FAILURE 0x80004018 66#define CO_E_RUNAS_CREATEPROCESS_FAILURE 0x80004019 67#define CO_E_RUNAS_LOGON_FAILURE 0x8000401A 68#define CO_E_LAUNCH_PERMSSION_DENIED 0x8000401B 69#define CO_E_START_SERVICE_FAILURE 0x8000401C 70#define CO_E_REMOTE_COMMUNICATION_FAILURE 0x8000401D 71#define CO_E_SERVER_START_TIMEOUT 0x8000401E 72#define CO_E_CLSREG_INCONSISTENT 0x8000401F 73#define CO_E_IIDREG_INCONSISTENT 0x80004020 74#define CO_E_NOT_SUPPORTED 0x80004021 75#define CO_E_RELOAD_DLL 0x80004022 76#define CO_E_MSI_ERROR 0x80004023 77#define CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT 0x80004024 78#define CO_E_SERVER_PAUSED 0x80004025 79#define CO_E_SERVER_NOT_PAUSED 0x80004026 80#define CO_E_CLASS_DISABLED 0x80004027 81#define CO_E_CLRNOTAVAILABLE 0x80004028 82#define CO_E_ASYNC_WORK_REJECTED 0x80004029 83#define CO_E_SERVER_INIT_TIMEOUT 0x8000402A 84#define CO_E_NO_SECCTX_IN_ACTIVATE 0x8000402B 85#define CO_E_TRACKER_CONFIG 0x80004030 86#define CO_E_THREADPOOL_CONFIG 0x80004031 87#define CO_E_SXS_CONFIG 0x80004032 88#define CO_E_MALFORMED_SPN 0x80004033 89 90#define FACILITY_WINDOWSUPDATE 36 91#define FACILITY_WINDOWS_CE 24 92#define FACILITY_WINDOWS 8 93#define FACILITY_URT 19 94#define FACILITY_UMI 22 95#define FACILITY_SXS 23 96#define FACILITY_STORAGE 3 97#define FACILITY_STATE_MANAGEMENT 34 98#define FACILITY_SSPI 9 99#define FACILITY_SCARD 16 100#define FACILITY_SETUPAPI 15 101#define FACILITY_SECURITY 9 102#define FACILITY_RPC 1 103#define FACILITY_WIN32 7 104#define FACILITY_CONTROL 10 105#define FACILITY_NULL 0 106#define FACILITY_METADIRECTORY 35 107#define FACILITY_MSMQ 14 108#define FACILITY_MEDIASERVER 13 109#define FACILITY_INTERNET 12 110#define FACILITY_ITF 4 111#define FACILITY_HTTP 25 112#define FACILITY_DPLAY 21 113#define FACILITY_DISPATCH 2 114#define FACILITY_DIRECTORYSERVICE 37 115#define FACILITY_CONFIGURATION 33 116#define FACILITY_COMPLUS 17 117#define FACILITY_CERT 11 118#define FACILITY_BACKGROUNDCOPY 32 119#define FACILITY_ACS 20 120#define FACILITY_AAF 18 121 122#define FACILITY_NT_BIT 0x10000000 123 124#define SEVERITY_SUCCESS 0 125#define SEVERITY_ERROR 1 126 127#define HRESULT_CODE(hr) ((hr)&0xFFFF) 128#define HRESULT_FACILITY(hr) (((hr) >> 16) & 0x1FFF) 129 130#define HRESULT_FROM_NT(x) ((HRESULT)((x) | FACILITY_NT_BIT)) 131 132#define __HRESULT_FROM_WIN32(x) \ 133 ((HRESULT)(x) <= 0 ? ((HRESULT)(x)) \ 134 : ((HRESULT)(((x)&0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000))) 135#define HRESULT_FROM_WIN32(x) __HRESULT_FROM_WIN32(x) 136 137#define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x1) 138 139#define SUCCEEDED(hr) (((HRESULT)(hr)) >= 0) 140#define FAILED(hr) (((HRESULT)(hr)) < 0) 141#define IS_ERROR(Status) (((unsigned long)(Status)) >> 31 == SEVERITY_ERROR) 142 143#define MAKE_HRESULT(sev, fac, code) \ 144 ((HRESULT) (((unsigned long) (sev) << 31) | ((unsigned long) (fac) << 16) | ((unsigned long) (code))) 145 146#define SCODE_CODE(sc) ((sc)&0xFFFF) 147#define SCODE_FACILITY(sc) (((sc) >> 16) & 0x1FFF) 148#define SCODE_SEVERITY(sc) (((sc) >> 31) & 0x1) 149 150#define MAKE_SCODE(sev, fac, code) \ 151 ((SCODE)(((unsigned long)(sev) << 31) | ((unsigned long)(fac) << 16) | ((unsigned long)(code)))) 152 153#define S_OK ((HRESULT)0L) 154#define S_FALSE ((HRESULT)1L) 155 156/* System Error Codes (0-499) */ 157 158#define ERROR_SUCCESS 0x00000000 159#define ERROR_INVALID_FUNCTION 0x00000001 160#define ERROR_FILE_NOT_FOUND 0x00000002 161#define ERROR_PATH_NOT_FOUND 0x00000003 162#define ERROR_TOO_MANY_OPEN_FILES 0x00000004 163#define ERROR_ACCESS_DENIED 0x00000005 164#define ERROR_INVALID_HANDLE 0x00000006 165#define ERROR_ARENA_TRASHED 0x00000007 166#define ERROR_NOT_ENOUGH_MEMORY 0x00000008 167#define ERROR_INVALID_BLOCK 0x00000009 168#define ERROR_BAD_ENVIRONMENT 0x0000000A 169#define ERROR_BAD_FORMAT 0x0000000B 170#define ERROR_INVALID_ACCESS 0x0000000C 171#define ERROR_INVALID_DATA 0x0000000D 172#define ERROR_OUTOFMEMORY 0x0000000E 173#define ERROR_INVALID_DRIVE 0x0000000F 174#define ERROR_CURRENT_DIRECTORY 0x00000010 175#define ERROR_NOT_SAME_DEVICE 0x00000011 176#define ERROR_NO_MORE_FILES 0x00000012 177#define ERROR_WRITE_PROTECT 0x00000013 178#define ERROR_BAD_UNIT 0x00000014 179#define ERROR_NOT_READY 0x00000015 180#define ERROR_BAD_COMMAND 0x00000016 181#define ERROR_CRC 0x00000017 182#define ERROR_BAD_LENGTH 0x00000018 183#define ERROR_SEEK 0x00000019 184#define ERROR_NOT_DOS_DISK 0x0000001A 185#define ERROR_SECTOR_NOT_FOUND 0x0000001B 186#define ERROR_OUT_OF_PAPER 0x0000001C 187#define ERROR_WRITE_FAULT 0x0000001D 188#define ERROR_READ_FAULT 0x0000001E 189#define ERROR_GEN_FAILURE 0x0000001F 190#define ERROR_SHARING_VIOLATION 0x00000020 191#define ERROR_LOCK_VIOLATION 0x00000021 192#define ERROR_WRONG_DISK 0x00000022 193#define ERROR_SHARING_BUFFER_EXCEEDED 0x00000024 194#define ERROR_HANDLE_EOF 0x00000026 195#define ERROR_HANDLE_DISK_FULL 0x00000027 196#define ERROR_NOT_SUPPORTED 0x00000032 197#define ERROR_REM_NOT_LIST 0x00000033 198#define ERROR_DUP_NAME 0x00000034 199#define ERROR_BAD_NETPATH 0x00000035 200#define ERROR_NETWORK_BUSY 0x00000036 201#define ERROR_DEV_NOT_EXIST 0x00000037 202#define ERROR_TOO_MANY_CMDS 0x00000038 203#define ERROR_ADAP_HDW_ERR 0x00000039 204#define ERROR_BAD_NET_RESP 0x0000003A 205#define ERROR_UNEXP_NET_ERR 0x0000003B 206#define ERROR_BAD_REM_ADAP 0x0000003C 207#define ERROR_PRINTQ_FULL 0x0000003D 208#define ERROR_NO_SPOOL_SPACE 0x0000003E 209#define ERROR_PRINT_CANCELLED 0x0000003F 210#define ERROR_NETNAME_DELETED 0x00000040 211#define ERROR_NETWORK_ACCESS_DENIED 0x00000041 212#define ERROR_BAD_DEV_TYPE 0x00000042 213#define ERROR_BAD_NET_NAME 0x00000043 214#define ERROR_TOO_MANY_NAMES 0x00000044 215#define ERROR_TOO_MANY_SESS 0x00000045 216#define ERROR_SHARING_PAUSED 0x00000046 217#define ERROR_REQ_NOT_ACCEP 0x00000047 218#define ERROR_REDIR_PAUSED 0x00000048 219#define ERROR_FILE_EXISTS 0x00000050 220#define ERROR_CANNOT_MAKE 0x00000052 221#define ERROR_FAIL_I24 0x00000053 222#define ERROR_OUT_OF_STRUCTURES 0x00000054 223#define ERROR_ALREADY_ASSIGNED 0x00000055 224#define ERROR_INVALID_PASSWORD 0x00000056 225#define ERROR_INVALID_PARAMETER 0x00000057 226#define ERROR_NET_WRITE_FAULT 0x00000058 227#define ERROR_NO_PROC_SLOTS 0x00000059 228#define ERROR_TOO_MANY_SEMAPHORES 0x00000064 229#define ERROR_EXCL_SEM_ALREADY_OWNED 0x00000065 230#define ERROR_SEM_IS_SET 0x00000066 231#define ERROR_TOO_MANY_SEM_REQUESTS 0x00000067 232#define ERROR_INVALID_AT_INTERRUPT_TIME 0x00000068 233#define ERROR_SEM_OWNER_DIED 0x00000069 234#define ERROR_SEM_USER_LIMIT 0x0000006A 235#define ERROR_DISK_CHANGE 0x0000006B 236#define ERROR_DRIVE_LOCKED 0x0000006C 237#define ERROR_BROKEN_PIPE 0x0000006D 238#define ERROR_OPEN_FAILED 0x0000006E 239#define ERROR_BUFFER_OVERFLOW 0x0000006F 240#define ERROR_DISK_FULL 0x00000070 241#define ERROR_NO_MORE_SEARCH_HANDLES 0x00000071 242#define ERROR_INVALID_TARGET_HANDLE 0x00000072 243#define ERROR_INVALID_CATEGORY 0x00000075 244#define ERROR_INVALID_VERIFY_SWITCH 0x00000076 245#define ERROR_BAD_DRIVER_LEVEL 0x00000077 246#define ERROR_CALL_NOT_IMPLEMENTED 0x00000078 247#define ERROR_SEM_TIMEOUT 0x00000079 248#define ERROR_INSUFFICIENT_BUFFER 0x0000007A 249#define ERROR_INVALID_NAME 0x0000007B 250#define ERROR_INVALID_LEVEL 0x0000007C 251#define ERROR_NO_VOLUME_LABEL 0x0000007D 252#define ERROR_MOD_NOT_FOUND 0x0000007E 253#define ERROR_PROC_NOT_FOUND 0x0000007F 254#define ERROR_WAIT_NO_CHILDREN 0x00000080 255#define ERROR_CHILD_NOT_COMPLETE 0x00000081 256#define ERROR_DIRECT_ACCESS_HANDLE 0x00000082 257#define ERROR_NEGATIVE_SEEK 0x00000083 258#define ERROR_SEEK_ON_DEVICE 0x00000084 259#define ERROR_IS_JOIN_TARGET 0x00000085 260#define ERROR_IS_JOINED 0x00000086 261#define ERROR_IS_SUBSTED 0x00000087 262#define ERROR_NOT_JOINED 0x00000088 263#define ERROR_NOT_SUBSTED 0x00000089 264#define ERROR_JOIN_TO_JOIN 0x0000008A 265#define ERROR_SUBST_TO_SUBST 0x0000008B 266#define ERROR_JOIN_TO_SUBST 0x0000008C 267#define ERROR_SUBST_TO_JOIN 0x0000008D 268#define ERROR_BUSY_DRIVE 0x0000008E 269#define ERROR_SAME_DRIVE 0x0000008F 270#define ERROR_DIR_NOT_ROOT 0x00000090 271#define ERROR_DIR_NOT_EMPTY 0x00000091 272#define ERROR_IS_SUBST_PATH 0x00000092 273#define ERROR_IS_JOIN_PATH 0x00000093 274#define ERROR_PATH_BUSY 0x00000094 275#define ERROR_IS_SUBST_TARGET 0x00000095 276#define ERROR_SYSTEM_TRACE 0x00000096 277#define ERROR_INVALID_EVENT_COUNT 0x00000097 278#define ERROR_TOO_MANY_MUXWAITERS 0x00000098 279#define ERROR_INVALID_LIST_FORMAT 0x00000099 280#define ERROR_LABEL_TOO_LONG 0x0000009A 281#define ERROR_TOO_MANY_TCBS 0x0000009B 282#define ERROR_SIGNAL_REFUSED 0x0000009C 283#define ERROR_DISCARDED 0x0000009D 284#define ERROR_NOT_LOCKED 0x0000009E 285#define ERROR_BAD_THREADID_ADDR 0x0000009F 286#define ERROR_BAD_ARGUMENTS 0x000000A0 287#define ERROR_BAD_PATHNAME 0x000000A1 288#define ERROR_SIGNAL_PENDING 0x000000A2 289#define ERROR_MAX_THRDS_REACHED 0x000000A4 290#define ERROR_LOCK_FAILED 0x000000A7 291#define ERROR_BUSY 0x000000AA 292#define ERROR_DEVICE_SUPPORT_IN_PROGRESS 0x000000AB 293#define ERROR_CANCEL_VIOLATION 0x000000AD 294#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 0x000000AE 295#define ERROR_INVALID_SEGMENT_NUMBER 0x000000B4 296#define ERROR_INVALID_ORDINAL 0x000000B6 297#define ERROR_ALREADY_EXISTS 0x000000B7 298#define ERROR_INVALID_FLAG_NUMBER 0x000000BA 299#define ERROR_SEM_NOT_FOUND 0x000000BB 300#define ERROR_INVALID_STARTING_CODESEG 0x000000BC 301#define ERROR_INVALID_STACKSEG 0x000000BD 302#define ERROR_INVALID_MODULETYPE 0x000000BE 303#define ERROR_INVALID_EXE_SIGNATURE 0x000000BF 304#define ERROR_EXE_MARKED_INVALID 0x000000C0 305#define ERROR_BAD_EXE_FORMAT 0x000000C1 306#define ERROR_ITERATED_DATA_EXCEEDS_64k 0x000000C2 307#define ERROR_INVALID_MINALLOCSIZE 0x000000C3 308#define ERROR_DYNLINK_FROM_INVALID_RING 0x000000C4 309#define ERROR_IOPL_NOT_ENABLED 0x000000C5 310#define ERROR_INVALID_SEGDPL 0x000000C6 311#define ERROR_AUTODATASEG_EXCEEDS_64k 0x000000C7 312#define ERROR_RING2SEG_MUST_BE_MOVABLE 0x000000C8 313#define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 0x000000C9 314#define ERROR_INFLOOP_IN_RELOC_CHAIN 0x000000CA 315#define ERROR_ENVVAR_NOT_FOUND 0x000000CB 316#define ERROR_NO_SIGNAL_SENT 0x000000CD 317#define ERROR_FILENAME_EXCED_RANGE 0x000000CE 318#define ERROR_RING2_STACK_IN_USE 0x000000CF 319#define ERROR_META_EXPANSION_TOO_LONG 0x000000D0 320#define ERROR_INVALID_SIGNAL_NUMBER 0x000000D1 321#define ERROR_THREAD_1_INACTIVE 0x000000D2 322#define ERROR_LOCKED 0x000000D4 323#define ERROR_TOO_MANY_MODULES 0x000000D6 324#define ERROR_NESTING_NOT_ALLOWED 0x000000D7 325#define ERROR_EXE_MACHINE_TYPE_MISMATCH 0x000000D8 326#define ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY 0x000000D9 327#define ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY 0x000000DA 328#define ERROR_FILE_CHECKED_OUT 0x000000DC 329#define ERROR_CHECKOUT_REQUIRED 0x000000DD 330#define ERROR_BAD_FILE_TYPE 0x000000DE 331#define ERROR_FILE_TOO_LARGE 0x000000DF 332#define ERROR_FORMS_AUTH_REQUIRED 0x000000E0 333#define ERROR_VIRUS_INFECTED 0x000000E1 334#define ERROR_VIRUS_DELETED 0x000000E2 335#define ERROR_PIPE_LOCAL 0x000000E5 336#define ERROR_BAD_PIPE 0x000000E6 337#define ERROR_PIPE_BUSY 0x000000E7 338#define ERROR_NO_DATA 0x000000E8 339#define ERROR_PIPE_NOT_CONNECTED 0x000000E9 340#define ERROR_MORE_DATA 0x000000EA 341#define ERROR_VC_DISCONNECTED 0x000000F0 342#define ERROR_INVALID_EA_NAME 0x000000FE 343#define ERROR_EA_LIST_INCONSISTENT 0x000000FF 344#define WAIT_TIMEOUT 0x00000102 345#define ERROR_NO_MORE_ITEMS 0x00000103 346#define ERROR_CANNOT_COPY 0x0000010A 347#define ERROR_DIRECTORY 0x0000010B 348#define ERROR_EAS_DIDNT_FIT 0x00000113 349#define ERROR_EA_FILE_CORRUPT 0x00000114 350#define ERROR_EA_TABLE_FULL 0x00000115 351#define ERROR_INVALID_EA_HANDLE 0x00000116 352#define ERROR_EAS_NOT_SUPPORTED 0x0000011A 353#define ERROR_NOT_OWNER 0x00000120 354#define ERROR_TOO_MANY_POSTS 0x0000012A 355#define ERROR_PARTIAL_COPY 0x0000012B 356#define ERROR_OPLOCK_NOT_GRANTED 0x0000012C 357#define ERROR_INVALID_OPLOCK_PROTOCOL 0x0000012D 358#define ERROR_DISK_TOO_FRAGMENTED 0x0000012E 359#define ERROR_DELETE_PENDING 0x0000012F 360#define ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING 0x00000130 361#define ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME 0x00000131 362#define ERROR_SECURITY_STREAM_IS_INCONSISTENT 0x00000132 363#define ERROR_INVALID_LOCK_RANGE 0x00000133 364#define ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT 0x00000134 365#define ERROR_NOTIFICATION_GUID_ALREADY_DEFINED 0x00000135 366#define ERROR_INVALID_EXCEPTION_HANDLER 0x00000136 367#define ERROR_DUPLICATE_PRIVILEGES 0x00000137 368#define ERROR_NO_RANGES_PROCESSED 0x00000138 369#define ERROR_NOT_ALLOWED_ON_SYSTEM_FILE 0x00000139 370#define ERROR_DISK_RESOURCES_EXHAUSTED 0x0000013A 371#define ERROR_INVALID_TOKEN 0x0000013B 372#define ERROR_DEVICE_FEATURE_NOT_SUPPORTED 0x0000013C 373#define ERROR_MR_MID_NOT_FOUND 0x0000013D 374#define ERROR_SCOPE_NOT_FOUND 0x0000013E 375#define ERROR_UNDEFINED_SCOPE 0x0000013F 376#define ERROR_INVALID_CAP 0x00000140 377#define ERROR_DEVICE_UNREACHABLE 0x00000141 378#define ERROR_DEVICE_NO_RESOURCES 0x00000142 379#define ERROR_DATA_CHECKSUM_ERROR 0x00000143 380#define ERROR_INTERMIXED_KERNEL_EA_OPERATION 0x00000144 381#define ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED 0x00000146 382#define ERROR_OFFSET_ALIGNMENT_VIOLATION 0x00000147 383#define ERROR_INVALID_FIELD_IN_PARAMETER_LIST 0x00000148 384#define ERROR_OPERATION_IN_PROGRESS 0x00000149 385#define ERROR_BAD_DEVICE_PATH 0x0000014A 386#define ERROR_TOO_MANY_DESCRIPTORS 0x0000014B 387#define ERROR_SCRUB_DATA_DISABLED 0x0000014C 388#define ERROR_NOT_REDUNDANT_STORAGE 0x0000014D 389#define ERROR_RESIDENT_FILE_NOT_SUPPORTED 0x0000014E 390#define ERROR_COMPRESSED_FILE_NOT_SUPPORTED 0x0000014F 391#define ERROR_DIRECTORY_NOT_SUPPORTED 0x00000150 392#define ERROR_NOT_READ_FROM_COPY 0x00000151 393#define ERROR_FAIL_NOACTION_REBOOT 0x0000015E 394#define ERROR_FAIL_SHUTDOWN 0x0000015F 395#define ERROR_FAIL_RESTART 0x00000160 396#define ERROR_MAX_SESSIONS_REACHED 0x00000161 397#define ERROR_THREAD_MODE_ALREADY_BACKGROUND 0x00000190 398#define ERROR_THREAD_MODE_NOT_BACKGROUND 0x00000191 399#define ERROR_PROCESS_MODE_ALREADY_BACKGROUND 0x00000192 400#define ERROR_PROCESS_MODE_NOT_BACKGROUND 0x00000193 401#define ERROR_INVALID_ADDRESS 0x000001E7 402 403/* System Error Codes (500-999) */ 404 405#define ERROR_USER_PROFILE_LOAD 0x000001F4 406#define ERROR_ARITHMETIC_OVERFLOW 0x00000216 407#define ERROR_PIPE_CONNECTED 0x00000217 408#define ERROR_PIPE_LISTENING 0x00000218 409#define ERROR_VERIFIER_STOP 0x00000219 410#define ERROR_ABIOS_ERROR 0x0000021A 411#define ERROR_WX86_WARNING 0x0000021B 412#define ERROR_WX86_ERROR 0x0000021C 413#define ERROR_TIMER_NOT_CANCELED 0x0000021D 414#define ERROR_UNWIND 0x0000021E 415#define ERROR_BAD_STACK 0x0000021F 416#define ERROR_INVALID_UNWIND_TARGET 0x00000220 417#define ERROR_INVALID_PORT_ATTRIBUTES 0x00000221 418#define ERROR_PORT_MESSAGE_TOO_LONG 0x00000222 419#define ERROR_INVALID_QUOTA_LOWER 0x00000223 420#define ERROR_DEVICE_ALREADY_ATTACHED 0x00000224 421#define ERROR_INSTRUCTION_MISALIGNMENT 0x00000225 422#define ERROR_PROFILING_NOT_STARTED 0x00000226 423#define ERROR_PROFILING_NOT_STOPPED 0x00000227 424#define ERROR_COULD_NOT_INTERPRET 0x00000228 425#define ERROR_PROFILING_AT_LIMIT 0x00000229 426#define ERROR_CANT_WAIT 0x0000022A 427#define ERROR_CANT_TERMINATE_SELF 0x0000022B 428#define ERROR_UNEXPECTED_MM_CREATE_ERR 0x0000022C 429#define ERROR_UNEXPECTED_MM_MAP_ERROR 0x0000022D 430#define ERROR_UNEXPECTED_MM_EXTEND_ERR 0x0000022E 431#define ERROR_BAD_FUNCTION_TABLE 0x0000022F 432#define ERROR_NO_GUID_TRANSLATION 0x00000230 433#define ERROR_INVALID_LDT_SIZE 0x00000231 434#define ERROR_INVALID_LDT_OFFSET 0x00000233 435#define ERROR_INVALID_LDT_DESCRIPTOR 0x00000234 436#define ERROR_TOO_MANY_THREADS 0x00000235 437#define ERROR_THREAD_NOT_IN_PROCESS 0x00000236 438#define ERROR_PAGEFILE_QUOTA_EXCEEDED 0x00000237 439#define ERROR_LOGON_SERVER_CONFLICT 0x00000238 440#define ERROR_SYNCHRONIZATION_REQUIRED 0x00000239 441#define ERROR_NET_OPEN_FAILED 0x0000023A 442#define ERROR_IO_PRIVILEGE_FAILED 0x0000023B 443#define ERROR_CONTROL_C_EXIT 0x0000023C 444#define ERROR_MISSING_SYSTEMFILE 0x0000023D 445#define ERROR_UNHANDLED_EXCEPTION 0x0000023E 446#define ERROR_APP_INIT_FAILURE 0x0000023F 447#define ERROR_PAGEFILE_CREATE_FAILED 0x00000240 448#define ERROR_INVALID_IMAGE_HASH 0x00000241 449#define ERROR_NO_PAGEFILE 0x00000242 450#define ERROR_ILLEGAL_FLOAT_CONTEXT 0x00000243 451#define ERROR_NO_EVENT_PAIR 0x00000244 452#define ERROR_DOMAIN_CTRLR_CONFIG_ERROR 0x00000245 453#define ERROR_ILLEGAL_CHARACTER 0x00000246 454#define ERROR_UNDEFINED_CHARACTER 0x00000247 455#define ERROR_FLOPPY_VOLUME 0x00000248 456#define ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT 0x00000249 457#define ERROR_BACKUP_CONTROLLER 0x0000024A 458#define ERROR_MUTANT_LIMIT_EXCEEDED 0x0000024B 459#define ERROR_FS_DRIVER_REQUIRED 0x0000024C 460#define ERROR_CANNOT_LOAD_REGISTRY_FILE 0x0000024D 461#define ERROR_DEBUG_ATTACH_FAILED 0x0000024E 462#define ERROR_SYSTEM_PROCESS_TERMINATED 0x0000024F 463#define ERROR_DATA_NOT_ACCEPTED 0x00000250 464#define ERROR_VDM_HARD_ERROR 0x00000251 465#define ERROR_DRIVER_CANCEL_TIMEOUT 0x00000252 466#define ERROR_REPLY_MESSAGE_MISMATCH 0x00000253 467#define ERROR_LOST_WRITEBEHIND_DATA 0x00000254 468#define ERROR_CLIENT_SERVER_PARAMETERS_INVALID 0x00000255 469#define ERROR_NOT_TINY_STREAM 0x00000256 470#define ERROR_STACK_OVERFLOW_READ 0x00000257 471#define ERROR_CONVERT_TO_LARGE 0x00000258 472#define ERROR_FOUND_OUT_OF_SCOPE 0x00000259 473#define ERROR_ALLOCATE_BUCKET 0x0000025A 474#define ERROR_MARSHALL_OVERFLOW 0x0000025B 475#define ERROR_INVALID_VARIANT 0x0000025C 476#define ERROR_BAD_COMPRESSION_BUFFER 0x0000025D 477#define ERROR_AUDIT_FAILED 0x0000025E 478#define ERROR_TIMER_RESOLUTION_NOT_SET 0x0000025F 479#define ERROR_INSUFFICIENT_LOGON_INFO 0x00000260 480#define ERROR_BAD_DLL_ENTRYPOINT 0x00000261 481#define ERROR_BAD_SERVICE_ENTRYPOINT 0x00000262 482#define ERROR_IP_ADDRESS_CONFLICT1 0x00000263 483#define ERROR_IP_ADDRESS_CONFLICT2 0x00000264 484#define ERROR_REGISTRY_QUOTA_LIMIT 0x00000265 485#define ERROR_NO_CALLBACK_ACTIVE 0x00000266 486#define ERROR_PWD_TOO_SHORT 0x00000267 487#define ERROR_PWD_TOO_RECENT 0x00000268 488#define ERROR_PWD_HISTORY_CONFLICT 0x00000269 489#define ERROR_UNSUPPORTED_COMPRESSION 0x0000026A 490#define ERROR_INVALID_HW_PROFILE 0x0000026B 491#define ERROR_INVALID_PLUGPLAY_DEVICE_PATH 0x0000026C 492#define ERROR_QUOTA_LIST_INCONSISTENT 0x0000026D 493#define ERROR_EVALUATION_EXPIRATION 0x0000026E 494#define ERROR_ILLEGAL_DLL_RELOCATION 0x0000026F 495#define ERROR_DLL_INIT_FAILED_LOGOFF 0x00000270 496#define ERROR_VALIDATE_CONTINUE 0x00000271 497#define ERROR_NO_MORE_MATCHES 0x00000272 498#define ERROR_RANGE_LIST_CONFLICT 0x00000273 499#define ERROR_SERVER_SID_MISMATCH 0x00000274 500#define ERROR_CANT_ENABLE_DENY_ONLY 0x00000275 501#define ERROR_FLOAT_MULTIPLE_FAULTS 0x00000276 502#define ERROR_FLOAT_MULTIPLE_TRAPS 0x00000277 503#define ERROR_NOINTERFACE 0x00000278 504#define ERROR_DRIVER_FAILED_SLEEP 0x00000279 505#define ERROR_CORRUPT_SYSTEM_FILE 0x0000027A 506#define ERROR_COMMITMENT_MINIMUM 0x0000027B 507#define ERROR_PNP_RESTART_ENUMERATION 0x0000027C 508#define ERROR_SYSTEM_IMAGE_BAD_SIGNATURE 0x0000027D 509#define ERROR_PNP_REBOOT_REQUIRED 0x0000027E 510#define ERROR_INSUFFICIENT_POWER 0x0000027F 511#define ERROR_MULTIPLE_FAULT_VIOLATION 0x00000280 512#define ERROR_SYSTEM_SHUTDOWN 0x00000281 513#define ERROR_PORT_NOT_SET 0x00000282 514#define ERROR_DS_VERSION_CHECK_FAILURE 0x00000283 515#define ERROR_RANGE_NOT_FOUND 0x00000284 516#define ERROR_NOT_SAFE_MODE_DRIVER 0x00000286 517#define ERROR_FAILED_DRIVER_ENTRY 0x00000287 518#define ERROR_DEVICE_ENUMERATION_ERROR 0x00000288 519#define ERROR_MOUNT_POINT_NOT_RESOLVED 0x00000289 520#define ERROR_INVALID_DEVICE_OBJECT_PARAMETER 0x0000028A 521/* The following is not a typo. It's the same spelling as in the Microsoft headers */ 522#define ERROR_MCA_OCCURED 0x0000028B 523#define ERROR_DRIVER_DATABASE_ERROR 0x0000028C 524#define ERROR_SYSTEM_HIVE_TOO_LARGE 0x0000028D 525#define ERROR_DRIVER_FAILED_PRIOR_UNLOAD 0x0000028E 526#define ERROR_VOLSNAP_PREPARE_HIBERNATE 0x0000028F 527#define ERROR_HIBERNATION_FAILURE 0x00000290 528#define ERROR_PWD_TOO_LONG 0x00000291 529#define ERROR_FILE_SYSTEM_LIMITATION 0x00000299 530#define ERROR_ASSERTION_FAILURE 0x0000029C 531#define ERROR_ACPI_ERROR 0x0000029D 532#define ERROR_WOW_ASSERTION 0x0000029E 533#define ERROR_PNP_BAD_MPS_TABLE 0x0000029F 534#define ERROR_PNP_TRANSLATION_FAILED 0x000002A0 535#define ERROR_PNP_IRQ_TRANSLATION_FAILED 0x000002A1 536#define ERROR_PNP_INVALID_ID 0x000002A2 537#define ERROR_WAKE_SYSTEM_DEBUGGER 0x000002A3 538#define ERROR_HANDLES_CLOSED 0x000002A4 539#define ERROR_EXTRANEOUS_INFORMATION 0x000002A5 540#define ERROR_RXACT_COMMIT_NECESSARY 0x000002A6 541#define ERROR_MEDIA_CHECK 0x000002A7 542#define ERROR_GUID_SUBSTITUTION_MADE 0x000002A8 543#define ERROR_STOPPED_ON_SYMLINK 0x000002A9 544#define ERROR_LONGJUMP 0x000002AA 545#define ERROR_PLUGPLAY_QUERY_VETOED 0x000002AB 546#define ERROR_UNWIND_CONSOLIDATE 0x000002AC 547#define ERROR_REGISTRY_HIVE_RECOVERED 0x000002AD 548#define ERROR_DLL_MIGHT_BE_INSECURE 0x000002AE 549#define ERROR_DLL_MIGHT_BE_INCOMPATIBLE 0x000002AF 550#define ERROR_DBG_EXCEPTION_NOT_HANDLED 0x000002B0 551#define ERROR_DBG_REPLY_LATER 0x000002B1 552#define ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE 0x000002B2 553#define ERROR_DBG_TERMINATE_THREAD 0x000002B3 554#define ERROR_DBG_TERMINATE_PROCESS 0x000002B4 555#define ERROR_DBG_CONTROL_C 0x000002B5 556#define ERROR_DBG_PRINTEXCEPTION_C 0x000002B6 557#define ERROR_DBG_RIPEXCEPTION 0x000002B7 558#define ERROR_DBG_CONTROL_BREAK 0x000002B8 559#define ERROR_DBG_COMMAND_EXCEPTION 0x000002B9 560#define ERROR_OBJECT_NAME_EXISTS 0x000002BA 561#define ERROR_THREAD_WAS_SUSPENDED 0x000002BB 562#define ERROR_IMAGE_NOT_AT_BASE 0x000002BC 563#define ERROR_RXACT_STATE_CREATED 0x000002BD 564#define ERROR_SEGMENT_NOTIFICATION 0x000002BE 565#define ERROR_BAD_CURRENT_DIRECTORY 0x000002BF 566#define ERROR_FT_READ_RECOVERY_FROM_BACKUP 0x000002C0 567#define ERROR_FT_WRITE_RECOVERY 0x000002C1 568#define ERROR_IMAGE_MACHINE_TYPE_MISMATCH 0x000002C2 569#define ERROR_RECEIVE_PARTIAL 0x000002C3 570#define ERROR_RECEIVE_EXPEDITED 0x000002C4 571#define ERROR_RECEIVE_PARTIAL_EXPEDITED 0x000002C5 572#define ERROR_EVENT_DONE 0x000002C6 573#define ERROR_EVENT_PENDING 0x000002C7 574#define ERROR_CHECKING_FILE_SYSTEM 0x000002C8 575#define ERROR_FATAL_APP_EXIT 0x000002C9 576#define ERROR_PREDEFINED_HANDLE 0x000002CA 577#define ERROR_WAS_UNLOCKED 0x000002CB 578#define ERROR_SERVICE_NOTIFICATION 0x000002CC 579#define ERROR_WAS_LOCKED 0x000002CD 580#define ERROR_LOG_HARD_ERROR 0x000002CE 581#define ERROR_ALREADY_WIN32 0x000002CF 582#define ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE 0x000002D0 583#define ERROR_NO_YIELD_PERFORMED 0x000002D1 584#define ERROR_TIMER_RESUME_IGNORED 0x000002D2 585#define ERROR_ARBITRATION_UNHANDLED 0x000002D3 586#define ERROR_CARDBUS_NOT_SUPPORTED 0x000002D4 587#define ERROR_MP_PROCESSOR_MISMATCH 0x000002D5 588#define ERROR_HIBERNATED 0x000002D6 589#define ERROR_RESUME_HIBERNATION 0x000002D7 590#define ERROR_FIRMWARE_UPDATED 0x000002D8 591#define ERROR_DRIVERS_LEAKING_LOCKED_PAGES 0x000002D9 592#define ERROR_WAKE_SYSTEM 0x000002DA 593#define ERROR_WAIT_1 0x000002DB 594#define ERROR_WAIT_2 0x000002DC 595#define ERROR_WAIT_3 0x000002DD 596#define ERROR_WAIT_63 0x000002DE 597#define ERROR_ABANDONED_WAIT_0 0x000002DF 598#define ERROR_ABANDONED_WAIT_63 0x000002E0 599#define ERROR_USER_APC 0x000002E1 600#define ERROR_KERNEL_APC 0x000002E2 601#define ERROR_ALERTED 0x000002E3 602#define ERROR_ELEVATION_REQUIRED 0x000002E4 603#define ERROR_REPARSE 0x000002E5 604#define ERROR_OPLOCK_BREAK_IN_PROGRESS 0x000002E6 605#define ERROR_VOLUME_MOUNTED 0x000002E7 606#define ERROR_RXACT_COMMITTED 0x000002E8 607#define ERROR_NOTIFY_CLEANUP 0x000002E9 608#define ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED 0x000002EA 609#define ERROR_PAGE_FAULT_TRANSITION 0x000002EB 610#define ERROR_PAGE_FAULT_DEMAND_ZERO 0x000002EC 611#define ERROR_PAGE_FAULT_COPY_ON_WRITE 0x000002ED 612#define ERROR_PAGE_FAULT_GUARD_PAGE 0x000002EE 613#define ERROR_PAGE_FAULT_PAGING_FILE 0x000002EF 614#define ERROR_CACHE_PAGE_LOCKED 0x000002F0 615#define ERROR_CRASH_DUMP 0x000002F1 616#define ERROR_BUFFER_ALL_ZEROS 0x000002F2 617#define ERROR_REPARSE_OBJECT 0x000002F3 618#define ERROR_RESOURCE_REQUIREMENTS_CHANGED 0x000002F4 619#define ERROR_TRANSLATION_COMPLETE 0x000002F5 620#define ERROR_NOTHING_TO_TERMINATE 0x000002F6 621#define ERROR_PROCESS_NOT_IN_JOB 0x000002F7 622#define ERROR_PROCESS_IN_JOB 0x000002F8 623#define ERROR_VOLSNAP_HIBERNATE_READY 0x000002F9 624#define ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY 0x000002FA 625#define ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED 0x000002FB 626#define ERROR_INTERRUPT_STILL_CONNECTED 0x000002FC 627#define ERROR_WAIT_FOR_OPLOCK 0x000002FD 628#define ERROR_DBG_EXCEPTION_HANDLED 0x000002FE 629#define ERROR_DBG_CONTINUE 0x000002FF 630#define ERROR_CALLBACK_POP_STACK 0x00000300 631#define ERROR_COMPRESSION_DISABLED 0x00000301 632#define ERROR_CANTFETCHBACKWARDS 0x00000302 633#define ERROR_CANTSCROLLBACKWARDS 0x00000303 634#define ERROR_ROWSNOTRELEASED 0x00000304 635#define ERROR_BAD_ACCESSOR_FLAGS 0x00000305 636#define ERROR_ERRORS_ENCOUNTERED 0x00000306 637#define ERROR_NOT_CAPABLE 0x00000307 638#define ERROR_REQUEST_OUT_OF_SEQUENCE 0x00000308 639#define ERROR_VERSION_PARSE_ERROR 0x00000309 640#define ERROR_BADSTARTPOSITION 0x0000030A 641#define ERROR_MEMORY_HARDWARE 0x0000030B 642#define ERROR_DISK_REPAIR_DISABLED 0x0000030C 643#define ERROR_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE 0x0000030D 644#define ERROR_SYSTEM_POWERSTATE_TRANSITION 0x0000030E 645#define ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION 0x0000030F 646#define ERROR_MCA_EXCEPTION 0x00000310 647#define ERROR_ACCESS_AUDIT_BY_POLICY 0x00000311 648#define ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY 0x00000312 649#define ERROR_ABANDON_HIBERFILE 0x00000313 650#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED 0x00000314 651#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR 0x00000315 652#define ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR 0x00000316 653#define ERROR_BAD_MCFG_TABLE 0x00000317 654#define ERROR_DISK_REPAIR_REDIRECTED 0x00000318 655#define ERROR_DISK_REPAIR_UNSUCCESSFUL 0x00000319 656#define ERROR_CORRUPT_LOG_OVERFULL 0x0000031A 657#define ERROR_CORRUPT_LOG_CORRUPTED 0x0000031B 658#define ERROR_CORRUPT_LOG_UNAVAILABLE 0x0000031C 659#define ERROR_CORRUPT_LOG_DELETED_FULL 0x0000031D 660#define ERROR_CORRUPT_LOG_CLEARED 0x0000031E 661#define ERROR_ORPHAN_NAME_EXHAUSTED 0x0000031F 662#define ERROR_OPLOCK_SWITCHED_TO_NEW_HANDLE 0x00000320 663#define ERROR_CANNOT_GRANT_REQUESTED_OPLOCK 0x00000321 664#define ERROR_CANNOT_BREAK_OPLOCK 0x00000322 665#define ERROR_OPLOCK_HANDLE_CLOSED 0x00000323 666#define ERROR_NO_ACE_CONDITION 0x00000324 667#define ERROR_INVALID_ACE_CONDITION 0x00000325 668#define ERROR_FILE_HANDLE_REVOKED 0x00000326 669#define ERROR_IMAGE_AT_DIFFERENT_BASE 0x00000327 670#define ERROR_EA_ACCESS_DENIED 0x000003E2 671#define ERROR_OPERATION_ABORTED 0x000003E3 672#define ERROR_IO_INCOMPLETE 0x000003E4 673#define ERROR_IO_PENDING 0x000003E5 674#define ERROR_NOACCESS 0x000003E6 675#define ERROR_SWAPERROR 0x000003E7 676 677/* System Error Codes (1000-1299) */ 678 679#define ERROR_STACK_OVERFLOW 0x000003E9 680#define ERROR_INVALID_MESSAGE 0x000003EA 681#define ERROR_CAN_NOT_COMPLETE 0x000003EB 682#define ERROR_INVALID_FLAGS 0x000003EC 683#define ERROR_UNRECOGNIZED_VOLUME 0x000003ED 684#define ERROR_FILE_INVALID 0x000003EE 685#define ERROR_FULLSCREEN_MODE 0x000003EF 686#define ERROR_NO_TOKEN 0x000003F0 687#define ERROR_BADDB 0x000003F1 688#define ERROR_BADKEY 0x000003F2 689#define ERROR_CANTOPEN 0x000003F3 690#define ERROR_CANTREAD 0x000003F4 691#define ERROR_CANTWRITE 0x000003F5 692#define ERROR_REGISTRY_RECOVERED 0x000003F6 693#define ERROR_REGISTRY_CORRUPT 0x000003F7 694#define ERROR_REGISTRY_IO_FAILED 0x000003F8 695#define ERROR_NOT_REGISTRY_FILE 0x000003F9 696#define ERROR_KEY_DELETED 0x000003FA 697#define ERROR_NO_LOG_SPACE 0x000003FB 698#define ERROR_KEY_HAS_CHILDREN 0x000003FC 699#define ERROR_CHILD_MUST_BE_VOLATILE 0x000003FD 700#define ERROR_NOTIFY_ENUM_DIR 0x000003FE 701#define ERROR_DEPENDENT_SERVICES_RUNNING 0x0000041B 702#define ERROR_INVALID_SERVICE_CONTROL 0x0000041C 703#define ERROR_SERVICE_REQUEST_TIMEOUT 0x0000041D 704#define ERROR_SERVICE_NO_THREAD 0x0000041E 705#define ERROR_SERVICE_DATABASE_LOCKED 0x0000041F 706#define ERROR_SERVICE_ALREADY_RUNNING 0x00000420 707#define ERROR_INVALID_SERVICE_ACCOUNT 0x00000421 708#define ERROR_SERVICE_DISABLED 0x00000422 709#define ERROR_CIRCULAR_DEPENDENCY 0x00000423 710#define ERROR_SERVICE_DOES_NOT_EXIST 0x00000424 711#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 0x00000425 712#define ERROR_SERVICE_NOT_ACTIVE 0x00000426 713#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 0x00000427 714#define ERROR_EXCEPTION_IN_SERVICE 0x00000428 715#define ERROR_DATABASE_DOES_NOT_EXIST 0x00000429 716#define ERROR_SERVICE_SPECIFIC_ERROR 0x0000042A 717#define ERROR_PROCESS_ABORTED 0x0000042B 718#define ERROR_SERVICE_DEPENDENCY_FAIL 0x0000042C 719#define ERROR_SERVICE_LOGON_FAILED 0x0000042D 720#define ERROR_SERVICE_START_HANG 0x0000042E 721#define ERROR_INVALID_SERVICE_LOCK 0x0000042F 722#define ERROR_SERVICE_MARKED_FOR_DELETE 0x00000430 723#define ERROR_SERVICE_EXISTS 0x00000431 724#define ERROR_ALREADY_RUNNING_LKG 0x00000432 725#define ERROR_SERVICE_DEPENDENCY_DELETED 0x00000433 726#define ERROR_BOOT_ALREADY_ACCEPTED 0x00000434 727#define ERROR_SERVICE_NEVER_STARTED 0x00000435 728#define ERROR_DUPLICATE_SERVICE_NAME 0x00000436 729#define ERROR_DIFFERENT_SERVICE_ACCOUNT 0x00000437 730#define ERROR_CANNOT_DETECT_DRIVER_FAILURE 0x00000438 731#define ERROR_CANNOT_DETECT_PROCESS_ABORT 0x00000439 732#define ERROR_NO_RECOVERY_PROGRAM 0x0000043A 733#define ERROR_SERVICE_NOT_IN_EXE 0x0000043B 734#define ERROR_NOT_SAFEBOOT_SERVICE 0x0000043C 735#define ERROR_END_OF_MEDIA 0x0000044C 736#define ERROR_FILEMARK_DETECTED 0x0000044D 737#define ERROR_BEGINNING_OF_MEDIA 0x0000044E 738#define ERROR_SETMARK_DETECTED 0x0000044F 739#define ERROR_NO_DATA_DETECTED 0x00000450 740#define ERROR_PARTITION_FAILURE 0x00000451 741#define ERROR_INVALID_BLOCK_LENGTH 0x00000452 742#define ERROR_DEVICE_NOT_PARTITIONED 0x00000453 743#define ERROR_UNABLE_TO_LOCK_MEDIA 0x00000454 744#define ERROR_UNABLE_TO_UNLOAD_MEDIA 0x00000455 745#define ERROR_MEDIA_CHANGED 0x00000456 746#define ERROR_BUS_RESET 0x00000457 747#define ERROR_NO_MEDIA_IN_DRIVE 0x00000458 748#define ERROR_NO_UNICODE_TRANSLATION 0x00000459 749#define ERROR_DLL_INIT_FAILED 0x0000045A 750#define ERROR_SHUTDOWN_IN_PROGRESS 0x0000045B 751#define ERROR_NO_SHUTDOWN_IN_PROGRESS 0x0000045C 752#define ERROR_IO_DEVICE 0x0000045D 753#define ERROR_SERIAL_NO_DEVICE 0x0000045E 754#define ERROR_IRQ_BUSY 0x0000045F 755#define ERROR_MORE_WRITES 0x00000460 756#define ERROR_COUNTER_TIMEOUT 0x00000461 757#define ERROR_FLOPPY_ID_MARK_NOT_FOUND 0x00000462 758#define ERROR_FLOPPY_WRONG_CYLINDER 0x00000463 759#define ERROR_FLOPPY_UNKNOWN_ERROR 0x00000464 760#define ERROR_FLOPPY_BAD_REGISTERS 0x00000465 761#define ERROR_DISK_RECALIBRATE_FAILED 0x00000466 762#define ERROR_DISK_OPERATION_FAILED 0x00000467 763#define ERROR_DISK_RESET_FAILED 0x00000468 764#define ERROR_EOM_OVERFLOW 0x00000469 765#define ERROR_NOT_ENOUGH_SERVER_MEMORY 0x0000046A 766#define ERROR_POSSIBLE_DEADLOCK 0x0000046B 767#define ERROR_MAPPED_ALIGNMENT 0x0000046C 768#define ERROR_SET_POWER_STATE_VETOED 0x00000474 769#define ERROR_SET_POWER_STATE_FAILED 0x00000475 770#define ERROR_TOO_MANY_LINKS 0x00000476 771#define ERROR_OLD_WIN_VERSION 0x0000047E 772#define ERROR_APP_WRONG_OS 0x0000047F 773#define ERROR_SINGLE_INSTANCE_APP 0x00000480 774#define ERROR_RMODE_APP 0x00000481 775#define ERROR_INVALID_DLL 0x00000482 776#define ERROR_NO_ASSOCIATION 0x00000483 777#define ERROR_DDE_FAIL 0x00000484 778#define ERROR_DLL_NOT_FOUND 0x00000485 779#define ERROR_NO_MORE_USER_HANDLES 0x00000486 780#define ERROR_MESSAGE_SYNC_ONLY 0x00000487 781#define ERROR_SOURCE_ELEMENT_EMPTY 0x00000488 782#define ERROR_DESTINATION_ELEMENT_FULL 0x00000489 783#define ERROR_ILLEGAL_ELEMENT_ADDRESS 0x0000048A 784#define ERROR_MAGAZINE_NOT_PRESENT 0x0000048B 785#define ERROR_DEVICE_REINITIALIZATION_NEEDED 0x0000048C 786#define ERROR_DEVICE_REQUIRES_CLEANING 0x0000048D 787#define ERROR_DEVICE_DOOR_OPEN 0x0000048E 788#define ERROR_DEVICE_NOT_CONNECTED 0x0000048F 789#define ERROR_NOT_FOUND 0x00000490 790#define ERROR_NO_MATCH 0x00000491 791#define ERROR_SET_NOT_FOUND 0x00000492 792#define ERROR_POINT_NOT_FOUND 0x00000493 793#define ERROR_NO_TRACKING_SERVICE 0x00000494 794#define ERROR_NO_VOLUME_ID 0x00000495 795#define ERROR_UNABLE_TO_REMOVE_REPLACED 0x00000497 796#define ERROR_UNABLE_TO_MOVE_REPLACEMENT 0x00000498 797#define ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 0x00000499 798#define ERROR_JOURNAL_DELETE_IN_PROGRESS 0x0000049A 799#define ERROR_JOURNAL_NOT_ACTIVE 0x0000049B 800#define ERROR_POTENTIAL_FILE_FOUND 0x0000049C 801#define ERROR_JOURNAL_ENTRY_DELETED 0x0000049D 802#define ERROR_SHUTDOWN_IS_SCHEDULED 0x000004A6 803#define ERROR_SHUTDOWN_USERS_LOGGED_ON 0x000004A7 804#define ERROR_BAD_DEVICE 0x000004B0 805#define ERROR_CONNECTION_UNAVAIL 0x000004B1 806#define ERROR_DEVICE_ALREADY_REMEMBERED 0x000004B2 807#define ERROR_NO_NET_OR_BAD_PATH 0x000004B3 808#define ERROR_BAD_PROVIDER 0x000004B4 809#define ERROR_CANNOT_OPEN_PROFILE 0x000004B5 810#define ERROR_BAD_PROFILE 0x000004B6 811#define ERROR_NOT_CONTAINER 0x000004B7 812#define ERROR_EXTENDED_ERROR 0x000004B8 813#define ERROR_INVALID_GROUPNAME 0x000004B9 814#define ERROR_INVALID_COMPUTERNAME 0x000004BA 815#define ERROR_INVALID_EVENTNAME 0x000004BB 816#define ERROR_INVALID_DOMAINNAME 0x000004BC 817#define ERROR_INVALID_SERVICENAME 0x000004BD 818#define ERROR_INVALID_NETNAME 0x000004BE 819#define ERROR_INVALID_SHARENAME 0x000004BF 820#define ERROR_INVALID_PASSWORDNAME 0x000004C0 821#define ERROR_INVALID_MESSAGENAME 0x000004C1 822#define ERROR_INVALID_MESSAGEDEST 0x000004C2 823#define ERROR_SESSION_CREDENTIAL_CONFLICT 0x000004C3 824#define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 0x000004C4 825#define ERROR_DUP_DOMAINNAME 0x000004C5 826#define ERROR_NO_NETWORK 0x000004C6 827#define ERROR_CANCELLED 0x000004C7 828#define ERROR_USER_MAPPED_FILE 0x000004C8 829#define ERROR_CONNECTION_REFUSED 0x000004C9 830#define ERROR_GRACEFUL_DISCONNECT 0x000004CA 831#define ERROR_ADDRESS_ALREADY_ASSOCIATED 0x000004CB 832#define ERROR_ADDRESS_NOT_ASSOCIATED 0x000004CC 833#define ERROR_CONNECTION_INVALID 0x000004CD 834#define ERROR_CONNECTION_ACTIVE 0x000004CE 835#define ERROR_NETWORK_UNREACHABLE 0x000004CF 836#define ERROR_HOST_UNREACHABLE 0x000004D0 837#define ERROR_PROTOCOL_UNREACHABLE 0x000004D1 838#define ERROR_PORT_UNREACHABLE 0x000004D2 839#define ERROR_REQUEST_ABORTED 0x000004D3 840#define ERROR_CONNECTION_ABORTED 0x000004D4 841#define ERROR_RETRY 0x000004D5 842#define ERROR_CONNECTION_COUNT_LIMIT 0x000004D6 843#define ERROR_LOGIN_TIME_RESTRICTION 0x000004D7 844#define ERROR_LOGIN_WKSTA_RESTRICTION 0x000004D8 845#define ERROR_INCORRECT_ADDRESS 0x000004D9 846#define ERROR_ALREADY_REGISTERED 0x000004DA 847#define ERROR_SERVICE_NOT_FOUND 0x000004DB 848#define ERROR_NOT_AUTHENTICATED 0x000004DC 849#define ERROR_NOT_LOGGED_ON 0x000004DD 850#define ERROR_CONTINUE 0x000004DE 851#define ERROR_ALREADY_INITIALIZED 0x000004DF 852#define ERROR_NO_MORE_DEVICES 0x000004E0 853#define ERROR_NO_SUCH_SITE 0x000004E1 854#define ERROR_DOMAIN_CONTROLLER_EXISTS 0x000004E2 855#define ERROR_ONLY_IF_CONNECTED 0x000004E3 856#define ERROR_OVERRIDE_NOCHANGES 0x000004E4 857#define ERROR_BAD_USER_PROFILE 0x000004E5 858#define ERROR_NOT_SUPPORTED_ON_SBS 0x000004E6 859#define ERROR_SERVER_SHUTDOWN_IN_PROGRESS 0x000004E7 860#define ERROR_HOST_DOWN 0x000004E8 861#define ERROR_NON_ACCOUNT_SID 0x000004E9 862#define ERROR_NON_DOMAIN_SID 0x000004EA 863#define ERROR_APPHELP_BLOCK 0x000004EB 864#define ERROR_ACCESS_DISABLED_BY_POLICY 0x000004EC 865#define ERROR_REG_NAT_CONSUMPTION 0x000004ED 866#define ERROR_CSCSHARE_OFFLINE 0x000004EE 867#define ERROR_PKINIT_FAILURE 0x000004EF 868#define ERROR_SMARTCARD_SUBSYSTEM_FAILURE 0x000004F0 869#define ERROR_DOWNGRADE_DETECTED 0x000004F1 870#define ERROR_MACHINE_LOCKED 0x000004F7 871#define ERROR_CALLBACK_SUPPLIED_INVALID_DATA 0x000004F9 872#define ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED 0x000004FA 873#define ERROR_DRIVER_BLOCKED 0x000004FB 874#define ERROR_INVALID_IMPORT_OF_NON_DLL 0x000004FC 875#define ERROR_ACCESS_DISABLED_WEBBLADE 0x000004FD 876#define ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER 0x000004FE 877#define ERROR_RECOVERY_FAILURE 0x000004FF 878#define ERROR_ALREADY_FIBER 0x00000500 879#define ERROR_ALREADY_THREAD 0x00000501 880#define ERROR_STACK_BUFFER_OVERRUN 0x00000502 881#define ERROR_PARAMETER_QUOTA_EXCEEDED 0x00000503 882#define ERROR_DEBUGGER_INACTIVE 0x00000504 883#define ERROR_DELAY_LOAD_FAILED 0x00000505 884#define ERROR_VDM_DISALLOWED 0x00000506 885#define ERROR_UNIDENTIFIED_ERROR 0x00000507 886#define ERROR_INVALID_CRUNTIME_PARAMETER 0x00000508 887#define ERROR_BEYOND_VDL 0x00000509 888#define ERROR_INCOMPATIBLE_SERVICE_SID_TYPE 0x0000050A 889#define ERROR_DRIVER_PROCESS_TERMINATED 0x0000050B 890#define ERROR_IMPLEMENTATION_LIMIT 0x0000050C 891#define ERROR_PROCESS_IS_PROTECTED 0x0000050D 892#define ERROR_SERVICE_NOTIFY_CLIENT_LAGGING 0x0000050E 893#define ERROR_DISK_QUOTA_EXCEEDED 0x0000050F 894#define ERROR_CONTENT_BLOCKED 0x00000510 895#define ERROR_INCOMPATIBLE_SERVICE_PRIVILEGE 0x00000511 896#define ERROR_APP_HANG 0x00000512 897#define ERROR_INVALID_LABEL 0x00000513 898 899/* System Error Codes (1300-1699) */ 900#define ERROR_NOT_ALL_ASSIGNED 0x00000514 901#define ERROR_SOME_NOT_MAPPED 0x00000515 902#define ERROR_NO_QUOTAS_FOR_ACCOUNT 0x00000516 903#define ERROR_LOCAL_USER_SESSION_KEY 0x00000517 904#define ERROR_NULL_LM_PASSWORD 0x00000518 905#define ERROR_UNKNOWN_REVISION 0x00000519 906#define ERROR_REVISION_MISMATCH 0x0000051A 907#define ERROR_INVALID_OWNER 0x0000051B 908#define ERROR_INVALID_PRIMARY_GROUP 0x0000051C 909#define ERROR_NO_IMPERSONATION_TOKEN 0x0000051D 910#define ERROR_CANT_DISABLE_MANDATORY 0x0000051E 911#define ERROR_NO_LOGON_SERVERS 0x0000051F 912#define ERROR_NO_SUCH_LOGON_SESSION 0x00000520 913#define ERROR_NO_SUCH_PRIVILEGE 0x00000521 914#define ERROR_PRIVILEGE_NOT_HELD 0x00000522 915#define ERROR_INVALID_ACCOUNT_NAME 0x00000523 916#define ERROR_USER_EXISTS 0x00000524 917#define ERROR_NO_SUCH_USER 0x00000525 918#define ERROR_GROUP_EXISTS 0x00000526 919#define ERROR_NO_SUCH_GROUP 0x00000527 920#define ERROR_MEMBER_IN_GROUP 0x00000528 921#define ERROR_MEMBER_NOT_IN_GROUP 0x00000529 922#define ERROR_LAST_ADMIN 0x0000052A 923#define ERROR_WRONG_PASSWORD 0x0000052B 924#define ERROR_ILL_FORMED_PASSWORD 0x0000052C 925#define ERROR_PASSWORD_RESTRICTION 0x0000052D 926#define ERROR_LOGON_FAILURE 0x0000052E 927#define ERROR_ACCOUNT_RESTRICTION 0x0000052F 928#define ERROR_INVALID_LOGON_HOURS 0x00000530 929#define ERROR_INVALID_WORKSTATION 0x00000531 930#define ERROR_PASSWORD_EXPIRED 0x00000532 931#define ERROR_ACCOUNT_DISABLED 0x00000533 932#define ERROR_NONE_MAPPED 0x00000534 933#define ERROR_TOO_MANY_LUIDS_REQUESTED 0x00000535 934#define ERROR_LUIDS_EXHAUSTED 0x00000536 935#define ERROR_INVALID_SUB_AUTHORITY 0x00000537 936#define ERROR_INVALID_ACL 0x00000538 937#define ERROR_INVALID_SID 0x00000539 938#define ERROR_INVALID_SECURITY_DESCR 0x0000053A 939#define ERROR_BAD_INHERITANCE_ACL 0x0000053C 940#define ERROR_SERVER_DISABLED 0x0000053D 941#define ERROR_SERVER_NOT_DISABLED 0x0000053E 942#define ERROR_INVALID_ID_AUTHORITY 0x0000053F 943#define ERROR_ALLOTTED_SPACE_EXCEEDED 0x00000540 944#define ERROR_INVALID_GROUP_ATTRIBUTES 0x00000541 945#define ERROR_BAD_IMPERSONATION_LEVEL 0x00000542 946#define ERROR_CANT_OPEN_ANONYMOUS 0x00000543 947#define ERROR_BAD_VALIDATION_CLASS 0x00000544 948#define ERROR_BAD_TOKEN_TYPE 0x00000545 949#define ERROR_NO_SECURITY_ON_OBJECT 0x00000546 950#define ERROR_CANT_ACCESS_DOMAIN_INFO 0x00000547 951#define ERROR_INVALID_SERVER_STATE 0x00000548 952#define ERROR_INVALID_DOMAIN_STATE 0x00000549 953#define ERROR_INVALID_DOMAIN_ROLE 0x0000054A 954#define ERROR_NO_SUCH_DOMAIN 0x0000054B 955#define ERROR_DOMAIN_EXISTS 0x0000054C 956#define ERROR_DOMAIN_LIMIT_EXCEEDED 0x0000054D 957#define ERROR_INTERNAL_DB_CORRUPTION 0x0000054E 958#define ERROR_INTERNAL_ERROR 0x0000054F 959#define ERROR_GENERIC_NOT_MAPPED 0x00000550 960#define ERROR_BAD_DESCRIPTOR_FORMAT 0x00000551 961#define ERROR_NOT_LOGON_PROCESS 0x00000552 962#define ERROR_LOGON_SESSION_EXISTS 0x00000553 963#define ERROR_NO_SUCH_PACKAGE 0x00000554 964#define ERROR_BAD_LOGON_SESSION_STATE 0x00000555 965#define ERROR_LOGON_SESSION_COLLISION 0x00000556 966#define ERROR_INVALID_LOGON_TYPE 0x00000557 967#define ERROR_CANNOT_IMPERSONATE 0x00000558 968#define ERROR_RXACT_INVALID_STATE 0x00000559 969#define ERROR_RXACT_COMMIT_FAILURE 0x0000055A 970#define ERROR_SPECIAL_ACCOUNT 0x0000055B 971#define ERROR_SPECIAL_GROUP 0x0000055C 972#define ERROR_SPECIAL_USER 0x0000055D 973#define ERROR_MEMBERS_PRIMARY_GROUP 0x0000055E 974#define ERROR_TOKEN_ALREADY_IN_USE 0x0000055F 975#define ERROR_NO_SUCH_ALIAS 0x00000560 976#define ERROR_MEMBER_NOT_IN_ALIAS 0x00000561 977#define ERROR_MEMBER_IN_ALIAS 0x00000562 978#define ERROR_ALIAS_EXISTS 0x00000563 979#define ERROR_LOGON_NOT_GRANTED 0x00000564 980#define ERROR_TOO_MANY_SECRETS 0x00000565 981#define ERROR_SECRET_TOO_LONG 0x00000566 982#define ERROR_INTERNAL_DB_ERROR 0x00000567 983#define ERROR_TOO_MANY_CONTEXT_IDS 0x00000568 984#define ERROR_LOGON_TYPE_NOT_GRANTED 0x00000569 985#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 0x0000056A 986#define ERROR_NO_SUCH_MEMBER 0x0000056B 987#define ERROR_INVALID_MEMBER 0x0000056C 988#define ERROR_TOO_MANY_SIDS 0x0000056D 989#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 0x0000056E 990#define ERROR_NO_INHERITANCE 0x0000056F 991#define ERROR_FILE_CORRUPT 0x00000570 992#define ERROR_DISK_CORRUPT 0x00000571 993#define ERROR_NO_USER_SESSION_KEY 0x00000572 994#define ERROR_LICENSE_QUOTA_EXCEEDED 0x00000573 995#define ERROR_WRONG_TARGET_NAME 0x00000574 996#define ERROR_MUTUAL_AUTH_FAILED 0x00000575 997#define ERROR_TIME_SKEW 0x00000576 998#define ERROR_CURRENT_DOMAIN_NOT_ALLOWED 0x00000577 999#define ERROR_INVALID_WINDOW_HANDLE 0x00000578 1000#define ERROR_INVALID_MENU_HANDLE 0x00000579 1001#define ERROR_INVALID_CURSOR_HANDLE 0x0000057A 1002#define ERROR_INVALID_ACCEL_HANDLE 0x0000057B 1003#define ERROR_INVALID_HOOK_HANDLE 0x0000057C 1004#define ERROR_INVALID_DWP_HANDLE 0x0000057D 1005#define ERROR_TLW_WITH_WSCHILD 0x0000057E 1006#define ERROR_CANNOT_FIND_WND_CLASS 0x0000057F 1007#define ERROR_WINDOW_OF_OTHER_THREAD 0x00000580 1008#define ERROR_HOTKEY_ALREADY_REGISTERED 0x00000581 1009#define ERROR_CLASS_ALREADY_EXISTS 0x00000582 1010#define ERROR_CLASS_DOES_NOT_EXIST 0x00000583 1011#define ERROR_CLASS_HAS_WINDOWS 0x00000584 1012#define ERROR_INVALID_INDEX 0x00000585 1013#define ERROR_INVALID_ICON_HANDLE 0x00000586 1014#define ERROR_PRIVATE_DIALOG_INDEX 0x00000587 1015#define ERROR_LISTBOX_ID_NOT_FOUND 0x00000588 1016#define ERROR_NO_WILDCARD_CHARACTERS 0x00000589 1017#define ERROR_CLIPBOARD_NOT_OPEN 0x0000058A 1018#define ERROR_HOTKEY_NOT_REGISTERED 0x0000058B 1019#define ERROR_WINDOW_NOT_DIALOG 0x0000058C 1020#define ERROR_CONTROL_ID_NOT_FOUND 0x0000058D 1021#define ERROR_INVALID_COMBOBOX_MESSAGE 0x0000058E 1022#define ERROR_WINDOW_NOT_COMBOBOX 0x0000058F 1023#define ERROR_INVALID_EDIT_HEIGHT 0x00000590 1024#define ERROR_DC_NOT_FOUND 0x00000591 1025#define ERROR_INVALID_HOOK_FILTER 0x00000592 1026#define ERROR_INVALID_FILTER_PROC 0x00000593 1027#define ERROR_HOOK_NEEDS_HMOD 0x00000594 1028#define ERROR_GLOBAL_ONLY_HOOK 0x00000595 1029#define ERROR_JOURNAL_HOOK_SET 0x00000596 1030#define ERROR_HOOK_NOT_INSTALLED 0x00000597 1031#define ERROR_INVALID_LB_MESSAGE 0x00000598 1032#define ERROR_SETCOUNT_ON_BAD_LB 0x00000599 1033#define ERROR_LB_WITHOUT_TABSTOPS 0x0000059A 1034#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 0x0000059B 1035#define ERROR_CHILD_WINDOW_MENU 0x0000059C 1036#define ERROR_NO_SYSTEM_MENU 0x0000059D 1037#define ERROR_INVALID_MSGBOX_STYLE 0x0000059E 1038#define ERROR_INVALID_SPI_VALUE 0x0000059F 1039#define ERROR_SCREEN_ALREADY_LOCKED 0x000005A0 1040#define ERROR_HWNDS_HAVE_DIFF_PARENT 0x000005A1 1041#define ERROR_NOT_CHILD_WINDOW 0x000005A2 1042#define ERROR_INVALID_GW_COMMAND 0x000005A3 1043#define ERROR_INVALID_THREAD_ID 0x000005A4 1044#define ERROR_NON_MDICHILD_WINDOW 0x000005A5 1045#define ERROR_POPUP_ALREADY_ACTIVE 0x000005A6 1046#define ERROR_NO_SCROLLBARS 0x000005A7 1047#define ERROR_INVALID_SCROLLBAR_RANGE 0x000005A8 1048#define ERROR_INVALID_SHOWWIN_COMMAND 0x000005A9 1049#define ERROR_NO_SYSTEM_RESOURCES 0x000005AA 1050#define ERROR_NONPAGED_SYSTEM_RESOURCES 0x000005AB 1051#define ERROR_PAGED_SYSTEM_RESOURCES 0x000005AC 1052#define ERROR_WORKING_SET_QUOTA 0x000005AD 1053#define ERROR_PAGEFILE_QUOTA 0x000005AE 1054#define ERROR_COMMITMENT_LIMIT 0x000005AF 1055#define ERROR_MENU_ITEM_NOT_FOUND 0x000005B0 1056#define ERROR_INVALID_KEYBOARD_HANDLE 0x000005B1 1057#define ERROR_HOOK_TYPE_NOT_ALLOWED 0x000005B2 1058#define ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION 0x000005B3 1059#define ERROR_TIMEOUT 0x000005B4 1060#define ERROR_INVALID_MONITOR_HANDLE 0x000005B5 1061#define ERROR_INCORRECT_SIZE 0x000005B6 1062#define ERROR_SYMLINK_CLASS_DISABLED 0x000005B7 1063#define ERROR_SYMLINK_NOT_SUPPORTED 0x000005B8 1064#define ERROR_XML_PARSE_ERROR 0x000005B9 1065#define ERROR_XMLDSIG_ERROR 0x000005BA 1066#define ERROR_RESTART_APPLICATION 0x000005BB 1067#define ERROR_WRONG_COMPARTMENT 0x000005BC 1068#define ERROR_AUTHIP_FAILURE 0x000005BD 1069#define ERROR_NO_NVRAM_RESOURCES 0x000005BE 1070#define ERROR_NOT_GUI_PROCESS 0x000005BF 1071#define ERROR_EVENTLOG_FILE_CORRUPT 0x000005DC 1072#define ERROR_EVENTLOG_CANT_START 0x000005DD 1073#define ERROR_LOG_FILE_FULL 0x000005DE 1074#define ERROR_EVENTLOG_FILE_CHANGED 0x000005DF 1075#define ERROR_INVALID_TASK_NAME 0x0000060E 1076#define ERROR_INVALID_TASK_INDEX 0x0000060F 1077#define ERROR_THREAD_ALREADY_IN_TASK 0x00000610 1078#define ERROR_INSTALL_SERVICE_FAILURE 0x00000641 1079#define ERROR_INSTALL_USEREXIT 0x00000642 1080#define ERROR_INSTALL_FAILURE 0x00000643 1081#define ERROR_INSTALL_SUSPEND 0x00000644 1082#define ERROR_UNKNOWN_PRODUCT 0x00000645 1083#define ERROR_UNKNOWN_FEATURE 0x00000646 1084#define ERROR_UNKNOWN_COMPONENT 0x00000647 1085#define ERROR_UNKNOWN_PROPERTY 0x00000648 1086#define ERROR_INVALID_HANDLE_STATE 0x00000649 1087#define ERROR_BAD_CONFIGURATION 0x0000064A 1088#define ERROR_INDEX_ABSENT 0x0000064B 1089#define ERROR_INSTALL_SOURCE_ABSENT 0x0000064C 1090#define ERROR_INSTALL_PACKAGE_VERSION 0x0000064D 1091#define ERROR_PRODUCT_UNINSTALLED 0x0000064E 1092#define ERROR_BAD_QUERY_SYNTAX 0x0000064F 1093#define ERROR_INVALID_FIELD 0x00000650 1094#define ERROR_DEVICE_REMOVED 0x00000651 1095#define ERROR_INSTALL_ALREADY_RUNNING 0x00000652 1096#define ERROR_INSTALL_PACKAGE_OPEN_FAILED 0x00000653 1097#define ERROR_INSTALL_PACKAGE_INVALID 0x00000654 1098#define ERROR_INSTALL_UI_FAILURE 0x00000655 1099#define ERROR_INSTALL_LOG_FAILURE 0x00000656 1100#define ERROR_INSTALL_LANGUAGE_UNSUPPORTED 0x00000657 1101#define ERROR_INSTALL_TRANSFORM_FAILURE 0x00000658 1102#define ERROR_INSTALL_PACKAGE_REJECTED 0x00000659 1103#define ERROR_FUNCTION_NOT_CALLED 0x0000065A 1104#define ERROR_FUNCTION_FAILED 0x0000065B 1105#define ERROR_INVALID_TABLE 0x0000065C 1106#define ERROR_DATATYPE_MISMATCH 0x0000065D 1107#define ERROR_UNSUPPORTED_TYPE 0x0000065E 1108#define ERROR_CREATE_FAILED 0x0000065F 1109#define ERROR_INSTALL_TEMP_UNWRITABLE 0x00000660 1110#define ERROR_INSTALL_PLATFORM_UNSUPPORTED 0x00000661 1111#define ERROR_INSTALL_NOTUSED 0x00000662 1112#define ERROR_PATCH_PACKAGE_OPEN_FAILED 0x00000663 1113#define ERROR_PATCH_PACKAGE_INVALID 0x00000664 1114#define ERROR_PATCH_PACKAGE_UNSUPPORTED 0x00000665 1115#define ERROR_PRODUCT_VERSION 0x00000666 1116#define ERROR_INVALID_COMMAND_LINE 0x00000667 1117#define ERROR_INSTALL_REMOTE_DISALLOWED 0x00000668 1118#define ERROR_SUCCESS_REBOOT_INITIATED 0x00000669 1119#define ERROR_PATCH_TARGET_NOT_FOUND 0x0000066A 1120#define ERROR_PATCH_PACKAGE_REJECTED 0x0000066B 1121#define ERROR_INSTALL_TRANSFORM_REJECTED 0x0000066C 1122#define ERROR_INSTALL_REMOTE_PROHIBITED 0x0000066D 1123#define ERROR_PATCH_REMOVAL_UNSUPPORTED 0x0000066E 1124#define ERROR_UNKNOWN_PATCH 0x0000066F 1125#define ERROR_PATCH_NO_SEQUENCE 0x00000670 1126#define ERROR_PATCH_REMOVAL_DISALLOWED 0x00000671 1127#define ERROR_INVALID_PATCH_XML 0x00000672 1128#define ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT 0x00000673 1129#define ERROR_INSTALL_SERVICE_SAFEBOOT 0x00000674 1130#define ERROR_FAIL_FAST_EXCEPTION 0x00000675 1131#define ERROR_INSTALL_REJECTED 0x00000676 1132 1133/* System Error Codes (1700-3999) */ 1134 1135#define RPC_S_INVALID_STRING_BINDING 0x000006A4 1136#define RPC_S_WRONG_KIND_OF_BINDING 0x000006A5 1137#define RPC_S_INVALID_BINDING 0x000006A6 1138#define RPC_S_PROTSEQ_NOT_SUPPORTED 0x000006A7 1139#define RPC_S_INVALID_RPC_PROTSEQ 0x000006A8 1140#define RPC_S_INVALID_STRING_UUID 0x000006A9 1141#define RPC_S_INVALID_ENDPOINT_FORMAT 0x000006AA 1142#define RPC_S_INVALID_NET_ADDR 0x000006AB 1143#define RPC_S_NO_ENDPOINT_FOUND 0x000006AC 1144#define RPC_S_INVALID_TIMEOUT 0x000006AD 1145#define RPC_S_OBJECT_NOT_FOUND 0x000006AE 1146#define RPC_S_ALREADY_REGISTERED 0x000006AF 1147#define RPC_S_TYPE_ALREADY_REGISTERED 0x000006B0 1148#define RPC_S_ALREADY_LISTENING 0x000006B1 1149#define RPC_S_NO_PROTSEQS_REGISTERED 0x000006B2 1150#define RPC_S_NOT_LISTENING 0x000006B3 1151#define RPC_S_UNKNOWN_MGR_TYPE 0x000006B4 1152#define RPC_S_UNKNOWN_IF 0x000006B5 1153#define RPC_S_NO_BINDINGS 0x000006B6 1154#define RPC_S_NO_PROTSEQS 0x000006B7 1155#define RPC_S_CANT_CREATE_ENDPOINT 0x000006B8 1156#define RPC_S_OUT_OF_RESOURCES 0x000006B9 1157#define RPC_S_SERVER_UNAVAILABLE 0x000006BA 1158#define RPC_S_SERVER_TOO_BUSY 0x000006BB 1159#define RPC_S_INVALID_NETWORK_OPTIONS 0x000006BC 1160#define RPC_S_NO_CALL_ACTIVE 0x000006BD 1161#define RPC_S_CALL_FAILED 0x000006BE 1162#define RPC_S_CALL_FAILED_DNE 0x000006BF 1163#define RPC_S_PROTOCOL_ERROR 0x000006C0 1164#define RPC_S_PROXY_ACCESS_DENIED 0x000006C1 1165#define RPC_S_UNSUPPORTED_TRANS_SYN 0x000006C2 1166#define RPC_S_UNSUPPORTED_TYPE 0x000006C4 1167#define RPC_S_INVALID_TAG 0x000006C5 1168#define RPC_S_INVALID_BOUND 0x000006C6 1169#define RPC_S_NO_ENTRY_NAME 0x000006C7 1170#define RPC_S_INVALID_NAME_SYNTAX 0x000006C8 1171#define RPC_S_UNSUPPORTED_NAME_SYNTAX 0x000006C9 1172#define RPC_S_UUID_NO_ADDRESS 0x000006CB 1173#define RPC_S_DUPLICATE_ENDPOINT 0x000006CC 1174#define RPC_S_UNKNOWN_AUTHN_TYPE 0x000006CD 1175#define RPC_S_MAX_CALLS_TOO_SMALL 0x000006CE 1176#define RPC_S_STRING_TOO_LONG 0x000006CF 1177#define RPC_S_PROTSEQ_NOT_FOUND 0x000006D0 1178#define RPC_S_PROCNUM_OUT_OF_RANGE 0x000006D1 1179#define RPC_S_BINDING_HAS_NO_AUTH 0x000006D2 1180#define RPC_S_UNKNOWN_AUTHN_SERVICE 0x000006D3 1181#define RPC_S_UNKNOWN_AUTHN_LEVEL 0x000006D4 1182#define RPC_S_INVALID_AUTH_IDENTITY 0x000006D5 1183#define RPC_S_UNKNOWN_AUTHZ_SERVICE 0x000006D6 1184#define EPT_S_INVALID_ENTRY 0x000006D7 1185#define EPT_S_CANT_PERFORM_OP 0x000006D8 1186#define EPT_S_NOT_REGISTERED 0x000006D9 1187#define RPC_S_NOTHING_TO_EXPORT 0x000006DA 1188#define RPC_S_INCOMPLETE_NAME 0x000006DB 1189#define RPC_S_INVALID_VERS_OPTION 0x000006DC 1190#define RPC_S_NO_MORE_MEMBERS 0x000006DD 1191#define RPC_S_NOT_ALL_OBJS_UNEXPORTED 0x000006DE 1192#define RPC_S_INTERFACE_NOT_FOUND 0x000006DF 1193#define RPC_S_ENTRY_ALREADY_EXISTS 0x000006E0 1194#define RPC_S_ENTRY_NOT_FOUND 0x000006E1 1195#define RPC_S_NAME_SERVICE_UNAVAILABLE 0x000006E2 1196#define RPC_S_INVALID_NAF_ID 0x000006E3 1197#define RPC_S_CANNOT_SUPPORT 0x000006E4 1198#define RPC_S_NO_CONTEXT_AVAILABLE 0x000006E5 1199#define RPC_S_INTERNAL_ERROR 0x000006E6 1200#define RPC_S_ZERO_DIVIDE 0x000006E7 1201#define RPC_S_ADDRESS_ERROR 0x000006E8 1202#define RPC_S_FP_DIV_ZERO 0x000006E9 1203#define RPC_S_FP_UNDERFLOW 0x000006EA 1204#define RPC_S_FP_OVERFLOW 0x000006EB 1205#define RPC_X_NO_MORE_ENTRIES 0x000006EC 1206#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 0x000006ED 1207#define RPC_X_SS_CHAR_TRANS_SHORT_FILE 0x000006EE 1208#define RPC_X_SS_IN_NULL_CONTEXT 0x000006EF 1209#define RPC_X_SS_CONTEXT_DAMAGED 0x000006F1 1210#define RPC_X_SS_HANDLES_MISMATCH 0x000006F2 1211#define RPC_X_SS_CANNOT_GET_CALL_HANDLE 0x000006F3 1212#define RPC_X_NULL_REF_POINTER 0x000006F4 1213#define RPC_X_ENUM_VALUE_OUT_OF_RANGE 0x000006F5 1214#define RPC_X_BYTE_COUNT_TOO_SMALL 0x000006F6 1215#define RPC_X_BAD_STUB_DATA 0x000006F7 1216#define ERROR_INVALID_USER_BUFFER 0x000006F8 1217#define ERROR_UNRECOGNIZED_MEDIA 0x000006F9 1218#define ERROR_NO_TRUST_LSA_SECRET 0x000006FA 1219#define ERROR_NO_TRUST_SAM_ACCOUNT 0x000006FB 1220#define ERROR_TRUSTED_DOMAIN_FAILURE 0x000006FC 1221#define ERROR_TRUSTED_RELATIONSHIP_FAILURE 0x000006FD 1222#define ERROR_TRUST_FAILURE 0x000006FE 1223#define RPC_S_CALL_IN_PROGRESS 0x000006FF 1224#define ERROR_NETLOGON_NOT_STARTED 0x00000700 1225#define ERROR_ACCOUNT_EXPIRED 0x00000701 1226#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 0x00000702 1227#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 0x00000703 1228#define ERROR_UNKNOWN_PORT 0x00000704 1229#define ERROR_UNKNOWN_PRINTER_DRIVER 0x00000705 1230#define ERROR_UNKNOWN_PRINTPROCESSOR 0x00000706 1231#define ERROR_INVALID_SEPARATOR_FILE 0x00000707 1232#define ERROR_INVALID_PRIORITY 0x00000708 1233#define ERROR_INVALID_PRINTER_NAME 0x00000709 1234#define ERROR_PRINTER_ALREADY_EXISTS 0x0000070A 1235#define ERROR_INVALID_PRINTER_COMMAND 0x0000070B 1236#define ERROR_INVALID_DATATYPE 0x0000070C 1237#define ERROR_INVALID_ENVIRONMENT 0x0000070D 1238#define RPC_S_NO_MORE_BINDINGS 0x0000070E 1239#define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 0x0000070F 1240#define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 0x00000710 1241#define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 0x00000711 1242#define ERROR_DOMAIN_TRUST_INCONSISTENT 0x00000712 1243#define ERROR_SERVER_HAS_OPEN_HANDLES 0x00000713 1244#define ERROR_RESOURCE_DATA_NOT_FOUND 0x00000714 1245#define ERROR_RESOURCE_TYPE_NOT_FOUND 0x00000715 1246#define ERROR_RESOURCE_NAME_NOT_FOUND 0x00000716 1247#define ERROR_RESOURCE_LANG_NOT_FOUND 0x00000717 1248#define ERROR_NOT_ENOUGH_QUOTA 0x00000718 1249#define RPC_S_NO_INTERFACES 0x00000719 1250#define RPC_S_CALL_CANCELLED 0x0000071A 1251#define RPC_S_BINDING_INCOMPLETE 0x0000071B 1252#define RPC_S_COMM_FAILURE 0x0000071C 1253#define RPC_S_UNSUPPORTED_AUTHN_LEVEL 0x0000071D 1254#define RPC_S_NO_PRINC_NAME 0x0000071E 1255#define RPC_S_NOT_RPC_ERROR 0x0000071F 1256#define RPC_S_UUID_LOCAL_ONLY 0x00000720 1257#define RPC_S_SEC_PKG_ERROR 0x00000721 1258#define RPC_S_NOT_CANCELLED 0x00000722 1259#define RPC_X_INVALID_ES_ACTION 0x00000723 1260#define RPC_X_WRONG_ES_VERSION 0x00000724 1261#define RPC_X_WRONG_STUB_VERSION 0x00000725 1262#define RPC_X_INVALID_PIPE_OBJECT 0x00000726 1263#define RPC_X_WRONG_PIPE_ORDER 0x00000727 1264#define RPC_X_WRONG_PIPE_VERSION 0x00000728 1265#define RPC_S_COOKIE_AUTH_FAILED 0x00000729 1266#define RPC_S_GROUP_MEMBER_NOT_FOUND 0x0000076A 1267#define EPT_S_CANT_CREATE 0x0000076B 1268#define RPC_S_INVALID_OBJECT 0x0000076C 1269#define ERROR_INVALID_TIME 0x0000076D 1270#define ERROR_INVALID_FORM_NAME 0x0000076E 1271#define ERROR_INVALID_FORM_SIZE 0x0000076F 1272#define ERROR_ALREADY_WAITING 0x00000770 1273#define ERROR_PRINTER_DELETED 0x00000771 1274#define ERROR_INVALID_PRINTER_STATE 0x00000772 1275#define ERROR_PASSWORD_MUST_CHANGE 0x00000773 1276#define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 0x00000774 1277#define ERROR_ACCOUNT_LOCKED_OUT 0x00000775 1278#define OR_INVALID_OXID 0x00000776 1279#define OR_INVALID_OID 0x00000777 1280#define OR_INVALID_SET 0x00000778 1281#define RPC_S_SEND_INCOMPLETE 0x00000779 1282#define RPC_S_INVALID_ASYNC_HANDLE 0x0000077A 1283#define RPC_S_INVALID_ASYNC_CALL 0x0000077B 1284#define RPC_X_PIPE_CLOSED 0x0000077C 1285#define RPC_X_PIPE_DISCIPLINE_ERROR 0x0000077D 1286#define RPC_X_PIPE_EMPTY 0x0000077E 1287#define ERROR_NO_SITENAME 0x0000077F 1288#define ERROR_CANT_ACCESS_FILE 0x00000780 1289#define ERROR_CANT_RESOLVE_FILENAME 0x00000781 1290#define RPC_S_ENTRY_TYPE_MISMATCH 0x00000782 1291#define RPC_S_NOT_ALL_OBJS_EXPORTED 0x00000783 1292#define RPC_S_INTERFACE_NOT_EXPORTED 0x00000784 1293#define RPC_S_PROFILE_NOT_ADDED 0x00000785 1294#define RPC_S_PRF_ELT_NOT_ADDED 0x00000786 1295#define RPC_S_PRF_ELT_NOT_REMOVED 0x00000787 1296#define RPC_S_GRP_ELT_NOT_ADDED 0x00000788 1297#define RPC_S_GRP_ELT_NOT_REMOVED 0x00000789 1298#define ERROR_KM_DRIVER_BLOCKED 0x0000078A 1299#define ERROR_CONTEXT_EXPIRED 0x0000078B 1300#define ERROR_PER_USER_TRUST_QUOTA_EXCEEDED 0x0000078C 1301#define ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED 0x0000078D 1302#define ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED 0x0000078E 1303#define ERROR_AUTHENTICATION_FIREWALL_FAILED 0x0000078F 1304#define ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED 0x00000790 1305#define ERROR_NTLM_BLOCKED 0x00000791 1306#define ERROR_PASSWORD_CHANGE_REQUIRED 0x00000792 1307#define ERROR_INVALID_PIXEL_FORMAT 0x000007D0 1308#define ERROR_BAD_DRIVER 0x000007D1 1309#define ERROR_INVALID_WINDOW_STYLE 0x000007D2 1310#define ERROR_METAFILE_NOT_SUPPORTED 0x000007D3 1311#define ERROR_TRANSFORM_NOT_SUPPORTED 0x000007D4 1312#define ERROR_CLIPPING_NOT_SUPPORTED 0x000007D5 1313#define ERROR_INVALID_CMM 0x000007DA 1314#define ERROR_INVALID_PROFILE 0x000007DB 1315#define ERROR_TAG_NOT_FOUND 0x000007DC 1316#define ERROR_TAG_NOT_PRESENT 0x000007DD 1317#define ERROR_DUPLICATE_TAG 0x000007DE 1318#define ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE 0x000007DF 1319#define ERROR_PROFILE_NOT_FOUND 0x000007E0 1320#define ERROR_INVALID_COLORSPACE 0x000007E1 1321#define ERROR_ICM_NOT_ENABLED 0x000007E2 1322#define ERROR_DELETING_ICM_XFORM 0x000007E3 1323#define ERROR_INVALID_TRANSFORM 0x000007E4 1324#define ERROR_COLORSPACE_MISMATCH 0x000007E5 1325#define ERROR_INVALID_COLORINDEX 0x000007E6 1326#define ERROR_PROFILE_DOES_NOT_MATCH_DEVICE 0x000007E7 1327#define ERROR_CONNECTED_OTHER_PASSWORD 0x0000083C 1328#define ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT 0x0000083D 1329#define ERROR_BAD_USERNAME 0x0000089A 1330#define ERROR_NOT_CONNECTED 0x000008CA 1331#define ERROR_OPEN_FILES 0x00000961 1332#define ERROR_ACTIVE_CONNECTIONS 0x00000962 1333#define ERROR_DEVICE_IN_USE 0x00000964 1334#define ERROR_UNKNOWN_PRINT_MONITOR 0x00000BB8 1335#define ERROR_PRINTER_DRIVER_IN_USE 0x00000BB9 1336#define ERROR_SPOOL_FILE_NOT_FOUND 0x00000BBA 1337#define ERROR_SPL_NO_STARTDOC 0x00000BBB 1338#define ERROR_SPL_NO_ADDJOB 0x00000BBC 1339#define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 0x00000BBD 1340#define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 0x00000BBE 1341#define ERROR_INVALID_PRINT_MONITOR 0x00000BBF 1342#define ERROR_PRINT_MONITOR_IN_USE 0x00000BC0 1343#define ERROR_PRINTER_HAS_JOBS_QUEUED 0x00000BC1 1344#define ERROR_SUCCESS_REBOOT_REQUIRED 0x00000BC2 1345#define ERROR_SUCCESS_RESTART_REQUIRED 0x00000BC3 1346#define ERROR_PRINTER_NOT_FOUND 0x00000BC4 1347#define ERROR_PRINTER_DRIVER_WARNED 0x00000BC5 1348#define ERROR_PRINTER_DRIVER_BLOCKED 0x00000BC6 1349#define ERROR_PRINTER_DRIVER_PACKAGE_IN_USE 0x00000BC7 1350#define ERROR_CORE_DRIVER_PACKAGE_NOT_FOUND 0x00000BC8 1351#define ERROR_FAIL_REBOOT_REQUIRED 0x00000BC9 1352#define ERROR_FAIL_REBOOT_INITIATED 0x00000BCA 1353#define ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED 0x00000BCB 1354#define ERROR_PRINT_JOB_RESTART_REQUIRED 0x00000BCC 1355#define ERROR_INVALID_PRINTER_DRIVER_MANIFEST 0x00000BCD 1356#define ERROR_PRINTER_NOT_SHAREABLE 0x00000BCE 1357#define ERROR_REQUEST_PAUSED 0x00000BEA 1358#define ERROR_IO_REISSUE_AS_CACHED 0x00000F6E 1359 1360/* System Error Codes (4000-5999) */ 1361 1362#define ERROR_WINS_INTERNAL 0x00000FA0 1363#define ERROR_CAN_NOT_DEL_LOCAL_WINS 0x00000FA1 1364#define ERROR_STATIC_INIT 0x00000FA2 1365#define ERROR_INC_BACKUP 0x00000FA3 1366#define ERROR_FULL_BACKUP 0x00000FA4 1367#define ERROR_REC_NON_EXISTENT 0x00000FA5 1368#define ERROR_RPL_NOT_ALLOWED 0x00000FA6 1369#define PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED 0x00000FD2 1370#define PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO 0x00000FD3 1371#define PEERDIST_ERROR_MISSING_DATA 0x00000FD4 1372#define PEERDIST_ERROR_NO_MORE 0x00000FD5 1373#define PEERDIST_ERROR_NOT_INITIALIZED 0x00000FD6 1374#define PEERDIST_ERROR_ALREADY_INITIALIZED 0x00000FD7 1375#define PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS 0x00000FD8 1376#define PEERDIST_ERROR_INVALIDATED 0x00000FD9 1377#define PEERDIST_ERROR_ALREADY_EXISTS 0x00000FDA 1378#define PEERDIST_ERROR_OPERATION_NOTFOUND 0x00000FDB 1379#define PEERDIST_ERROR_ALREADY_COMPLETED 0x00000FDC 1380#define PEERDIST_ERROR_OUT_OF_BOUNDS 0x00000FDD 1381#define PEERDIST_ERROR_VERSION_UNSUPPORTED 0x00000FDE 1382#define PEERDIST_ERROR_INVALID_CONFIGURATION 0x00000FDF 1383#define PEERDIST_ERROR_NOT_LICENSED 0x00000FE0 1384#define PEERDIST_ERROR_SERVICE_UNAVAILABLE 0x00000FE1 1385#define PEERDIST_ERROR_TRUST_FAILURE 0x00000FE2 1386#define ERROR_DHCP_ADDRESS_CONFLICT 0x00001004 1387#define ERROR_WMI_GUID_NOT_FOUND 0x00001068 1388#define ERROR_WMI_INSTANCE_NOT_FOUND 0x00001069 1389#define ERROR_WMI_ITEMID_NOT_FOUND 0x0000106A 1390#define ERROR_WMI_TRY_AGAIN 0x0000106B 1391#define ERROR_WMI_DP_NOT_FOUND 0x0000106C 1392#define ERROR_WMI_UNRESOLVED_INSTANCE_REF 0x0000106D 1393#define ERROR_WMI_ALREADY_ENABLED 0x0000106E 1394#define ERROR_WMI_GUID_DISCONNECTED 0x0000106F 1395#define ERROR_WMI_SERVER_UNAVAILABLE 0x00001070 1396#define ERROR_WMI_DP_FAILED 0x00001071 1397#define ERROR_WMI_INVALID_MOF 0x00001072 1398#define ERROR_WMI_INVALID_REGINFO 0x00001073 1399#define ERROR_WMI_ALREADY_DISABLED 0x00001074 1400#define ERROR_WMI_READ_ONLY 0x00001075 1401#define ERROR_WMI_SET_FAILURE 0x00001076 1402#define ERROR_NOT_APPCONTAINER 0x0000109A 1403#define ERROR_APPCONTAINER_REQUIRED 0x0000109B 1404#define ERROR_NOT_SUPPORTED_IN_APPCONTAINER 0x0000109C 1405#define ERROR_INVALID_PACKAGE_SID_LENGTH 0x0000109D 1406#define ERROR_INVALID_MEDIA 0x000010CC 1407#define ERROR_INVALID_LIBRARY 0x000010CD 1408#define ERROR_INVALID_MEDIA_POOL 0x000010CE 1409#define ERROR_DRIVE_MEDIA_MISMATCH 0x000010CF 1410#define ERROR_MEDIA_OFFLINE 0x000010D0 1411#define ERROR_LIBRARY_OFFLINE 0x000010D1 1412#define ERROR_EMPTY 0x000010D2 1413#define ERROR_NOT_EMPTY 0x000010D3 1414#define ERROR_MEDIA_UNAVAILABLE 0x000010D4 1415#define ERROR_RESOURCE_DISABLED 0x000010D5 1416#define ERROR_INVALID_CLEANER 0x000010D6 1417#define ERROR_UNABLE_TO_CLEAN 0x000010D7 1418#define ERROR_OBJECT_NOT_FOUND 0x000010D8 1419#define ERROR_DATABASE_FAILURE 0x000010D9 1420#define ERROR_DATABASE_FULL 0x000010DA 1421#define ERROR_MEDIA_INCOMPATIBLE 0x000010DB 1422#define ERROR_RESOURCE_NOT_PRESENT 0x000010DC 1423#define ERROR_INVALID_OPERATION 0x000010DD 1424#define ERROR_MEDIA_NOT_AVAILABLE 0x000010DE 1425#define ERROR_DEVICE_NOT_AVAILABLE 0x000010DF 1426#define ERROR_REQUEST_REFUSED 0x000010E0 1427#define ERROR_INVALID_DRIVE_OBJECT 0x000010E1 1428#define ERROR_LIBRARY_FULL 0x000010E2 1429#define ERROR_MEDIUM_NOT_ACCESSIBLE 0x000010E3 1430#define ERROR_UNABLE_TO_LOAD_MEDIUM 0x000010E4 1431#define ERROR_UNABLE_TO_INVENTORY_DRIVE 0x000010E5 1432#define ERROR_UNABLE_TO_INVENTORY_SLOT 0x000010E6 1433#define ERROR_UNABLE_TO_INVENTORY_TRANSPORT 0x000010E7 1434#define ERROR_TRANSPORT_FULL 0x000010E8 1435#define ERROR_CONTROLLING_IEPORT 0x000010E9 1436#define ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA 0x000010EA 1437#define ERROR_CLEANER_SLOT_SET 0x000010EB 1438#define ERROR_CLEANER_SLOT_NOT_SET 0x000010EC 1439#define ERROR_CLEANER_CARTRIDGE_SPENT 0x000010ED 1440#define ERROR_UNEXPECTED_OMID 0x000010EE 1441#define ERROR_CANT_DELETE_LAST_ITEM 0x000010EF 1442#define ERROR_MESSAGE_EXCEEDS_MAX_SIZE 0x000010F0 1443#define ERROR_VOLUME_CONTAINS_SYS_FILES 0x000010F1 1444#define ERROR_INDIGENOUS_TYPE 0x000010F2 1445#define ERROR_NO_SUPPORTING_DRIVES 0x000010F3 1446#define ERROR_CLEANER_CARTRIDGE_INSTALLED 0x000010F4 1447#define ERROR_IEPORT_FULL 0x000010F5 1448#define ERROR_FILE_OFFLINE 0x000010FE 1449#define ERROR_REMOTE_STORAGE_NOT_ACTIVE 0x000010FF 1450#define ERROR_REMOTE_STORAGE_MEDIA_ERROR 0x00001100 1451#define ERROR_NOT_A_REPARSE_POINT 0x00001126 1452#define ERROR_REPARSE_ATTRIBUTE_CONFLICT 0x00001127 1453#define ERROR_INVALID_REPARSE_DATA 0x00001128 1454#define ERROR_REPARSE_TAG_INVALID 0x00001129 1455#define ERROR_REPARSE_TAG_MISMATCH 0x0000112A 1456#define ERROR_APP_DATA_NOT_FOUND 0x00001130 1457#define ERROR_APP_DATA_EXPIRED 0x00001131 1458#define ERROR_APP_DATA_CORRUPT 0x00001132 1459#define ERROR_APP_DATA_LIMIT_EXCEEDED 0x00001133 1460#define ERROR_APP_DATA_REBOOT_REQUIRED 0x00001134 1461#define ERROR_SECUREBOOT_ROLLBACK_DETECTED 0x00001144 1462#define ERROR_SECUREBOOT_POLICY_VIOLATION 0x00001145 1463#define ERROR_SECUREBOOT_INVALID_POLICY 0x00001146 1464#define ERROR_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND 0x00001147 1465#define ERROR_SECUREBOOT_POLICY_NOT_SIGNED 0x00001148 1466#define ERROR_SECUREBOOT_NOT_ENABLED 0x00001149 1467#define ERROR_SECUREBOOT_FILE_REPLACED 0x0000114A 1468#define ERROR_OFFLOAD_READ_FLT_NOT_SUPPORTED 0x00001158 1469#define ERROR_OFFLOAD_WRITE_FLT_NOT_SUPPORTED 0x00001159 1470#define ERROR_OFFLOAD_READ_FILE_NOT_SUPPORTED 0x0000115A 1471#define ERROR_OFFLOAD_WRITE_FILE_NOT_SUPPORTED 0x0000115B 1472#define ERROR_VOLUME_NOT_SIS_ENABLED 0x00001194 1473#define ERROR_DEPENDENT_RESOURCE_EXISTS 0x00001389 1474#define ERROR_DEPENDENCY_NOT_FOUND 0x0000138A 1475#define ERROR_DEPENDENCY_ALREADY_EXISTS 0x0000138B 1476#define ERROR_RESOURCE_NOT_ONLINE 0x0000138C 1477#define ERROR_HOST_NODE_NOT_AVAILABLE 0x0000138D 1478#define ERROR_RESOURCE_NOT_AVAILABLE 0x0000138E 1479#define ERROR_RESOURCE_NOT_FOUND 0x0000138F 1480#define ERROR_SHUTDOWN_CLUSTER 0x00001390 1481#define ERROR_CANT_EVICT_ACTIVE_NODE 0x00001391 1482#define ERROR_OBJECT_ALREADY_EXISTS 0x00001392 1483#define ERROR_OBJECT_IN_LIST 0x00001393 1484#define ERROR_GROUP_NOT_AVAILABLE 0x00001394 1485#define ERROR_GROUP_NOT_FOUND 0x00001395 1486#define ERROR_GROUP_NOT_ONLINE 0x00001396 1487#define ERROR_HOST_NODE_NOT_RESOURCE_OWNER 0x00001397 1488#define ERROR_HOST_NODE_NOT_GROUP_OWNER 0x00001398 1489#define ERROR_RESMON_CREATE_FAILED 0x00001399 1490#define ERROR_RESMON_ONLINE_FAILED 0x0000139A 1491#define ERROR_RESOURCE_ONLINE 0x0000139B 1492#define ERROR_QUORUM_RESOURCE 0x0000139C 1493#define ERROR_NOT_QUORUM_CAPABLE 0x0000139D 1494#define ERROR_CLUSTER_SHUTTING_DOWN 0x0000139E 1495#define ERROR_INVALID_STATE 0x0000139F 1496#define ERROR_RESOURCE_PROPERTIES_STORED 0x000013A0 1497#define ERROR_NOT_QUORUM_CLASS 0x000013A1 1498#define ERROR_CORE_RESOURCE 0x000013A2 1499#define ERROR_QUORUM_RESOURCE_ONLINE_FAILED 0x000013A3 1500#define ERROR_QUORUMLOG_OPEN_FAILED 0x000013A4 1501#define ERROR_CLUSTERLOG_CORRUPT 0x000013A5 1502#define ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE 0x000013A6 1503#define ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE 0x000013A7 1504#define ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND 0x000013A8 1505#define ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE 0x000013A9 1506#define ERROR_QUORUM_OWNER_ALIVE 0x000013AA 1507#define ERROR_NETWORK_NOT_AVAILABLE 0x000013AB 1508#define ERROR_NODE_NOT_AVAILABLE 0x000013AC 1509#define ERROR_ALL_NODES_NOT_AVAILABLE 0x000013AD 1510#define ERROR_RESOURCE_FAILED 0x000013AE 1511#define ERROR_CLUSTER_INVALID_NODE 0x000013AF 1512#define ERROR_CLUSTER_NODE_EXISTS 0x000013B0 1513#define ERROR_CLUSTER_JOIN_IN_PROGRESS 0x000013B1 1514#define ERROR_CLUSTER_NODE_NOT_FOUND 0x000013B2 1515#define ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND 0x000013B3 1516#define ERROR_CLUSTER_NETWORK_EXISTS 0x000013B4 1517#define ERROR_CLUSTER_NETWORK_NOT_FOUND 0x000013B5 1518#define ERROR_CLUSTER_NETINTERFACE_EXISTS 0x000013B6 1519#define ERROR_CLUSTER_NETINTERFACE_NOT_FOUND 0x000013B7 1520#define ERROR_CLUSTER_INVALID_REQUEST 0x000013B8 1521#define ERROR_CLUSTER_INVALID_NETWORK_PROVIDER 0x000013B9 1522#define ERROR_CLUSTER_NODE_DOWN 0x000013BA 1523#define ERROR_CLUSTER_NODE_UNREACHABLE 0x000013BB 1524#define ERROR_CLUSTER_NODE_NOT_MEMBER 0x000013BC 1525#define ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS 0x000013BD 1526#define ERROR_CLUSTER_INVALID_NETWORK 0x000013BE 1527#define ERROR_CLUSTER_NODE_UP 0x000013C0 1528#define ERROR_CLUSTER_IPADDR_IN_USE 0x000013C1 1529#define ERROR_CLUSTER_NODE_NOT_PAUSED 0x000013C2 1530#define ERROR_CLUSTER_NO_SECURITY_CONTEXT 0x000013C3 1531#define ERROR_CLUSTER_NETWORK_NOT_INTERNAL 0x000013C4 1532#define ERROR_CLUSTER_NODE_ALREADY_UP 0x000013C5 1533#define ERROR_CLUSTER_NODE_ALREADY_DOWN 0x000013C6 1534#define ERROR_CLUSTER_NETWORK_ALREADY_ONLINE 0x000013C7 1535#define ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE 0x000013C8 1536#define ERROR_CLUSTER_NODE_ALREADY_MEMBER 0x000013C9 1537#define ERROR_CLUSTER_LAST_INTERNAL_NETWORK 0x000013CA 1538#define ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS 0x000013CB 1539#define ERROR_INVALID_OPERATION_ON_QUORUM 0x000013CC 1540#define ERROR_DEPENDENCY_NOT_ALLOWED 0x000013CD 1541#define ERROR_CLUSTER_NODE_PAUSED 0x000013CE 1542#define ERROR_NODE_CANT_HOST_RESOURCE 0x000013CF 1543#define ERROR_CLUSTER_NODE_NOT_READY 0x000013D0 1544#define ERROR_CLUSTER_NODE_SHUTTING_DOWN 0x000013D1 1545#define ERROR_CLUSTER_JOIN_ABORTED 0x000013D2 1546#define ERROR_CLUSTER_INCOMPATIBLE_VERSIONS 0x000013D3 1547#define ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED 0x000013D4 1548#define ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED 0x000013D5 1549#define ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND 0x000013D6 1550#define ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED 0x000013D7 1551#define ERROR_CLUSTER_RESNAME_NOT_FOUND 0x000013D8 1552#define ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED 0x000013D9 1553#define ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST 0x000013DA 1554#define ERROR_CLUSTER_DATABASE_SEQMISMATCH 0x000013DB 1555#define ERROR_RESMON_INVALID_STATE 0x000013DC 1556#define ERROR_CLUSTER_GUM_NOT_LOCKER 0x000013DD 1557#define ERROR_QUORUM_DISK_NOT_FOUND 0x000013DE 1558#define ERROR_DATABASE_BACKUP_CORRUPT 0x000013DF 1559#define ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT 0x000013E0 1560#define ERROR_RESOURCE_PROPERTY_UNCHANGEABLE 0x000013E1 1561#define ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE 0x00001702 1562#define ERROR_CLUSTER_QUORUMLOG_NOT_FOUND 0x00001703 1563#define ERROR_CLUSTER_MEMBERSHIP_HALT 0x00001704 1564#define ERROR_CLUSTER_INSTANCE_ID_MISMATCH 0x00001705 1565#define ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP 0x00001706 1566#define ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH 0x00001707 1567#define ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP 0x00001708 1568#define ERROR_CLUSTER_PARAMETER_MISMATCH 0x00001709 1569#define ERROR_NODE_CANNOT_BE_CLUSTERED 0x0000170A 1570#define ERROR_CLUSTER_WRONG_OS_VERSION 0x0000170B 1571#define ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME 0x0000170C 1572#define ERROR_CLUSCFG_ALREADY_COMMITTED 0x0000170D 1573#define ERROR_CLUSCFG_ROLLBACK_FAILED 0x0000170E 1574#define ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT 0x0000170F 1575#define ERROR_CLUSTER_OLD_VERSION 0x00001710 1576#define ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME 0x00001711 1577#define ERROR_CLUSTER_NO_NET_ADAPTERS 0x00001712 1578#define ERROR_CLUSTER_POISONED 0x00001713 1579#define ERROR_CLUSTER_GROUP_MOVING 0x00001714 1580#define ERROR_CLUSTER_RESOURCE_TYPE_BUSY 0x00001715 1581#define ERROR_RESOURCE_CALL_TIMED_OUT 0x00001716 1582#define ERROR_INVALID_CLUSTER_IPV6_ADDRESS 0x00001717 1583#define ERROR_CLUSTER_INTERNAL_INVALID_FUNCTION 0x00001718 1584#define ERROR_CLUSTER_PARAMETER_OUT_OF_BOUNDS 0x00001719 1585#define ERROR_CLUSTER_PARTIAL_SEND 0x0000171A 1586#define ERROR_CLUSTER_REGISTRY_INVALID_FUNCTION 0x0000171B 1587#define ERROR_CLUSTER_INVALID_STRING_TERMINATION 0x0000171C 1588#define ERROR_CLUSTER_INVALID_STRING_FORMAT 0x0000171D 1589#define ERROR_CLUSTER_DATABASE_TRANSACTION_IN_PROGRESS 0x0000171E 1590#define ERROR_CLUSTER_DATABASE_TRANSACTION_NOT_IN_PROGRESS 0x0000171F 1591#define ERROR_CLUSTER_NULL_DATA 0x00001720 1592#define ERROR_CLUSTER_PARTIAL_READ 0x00001721 1593#define ERROR_CLUSTER_PARTIAL_WRITE 0x00001722 1594#define ERROR_CLUSTER_CANT_DESERIALIZE_DATA 0x00001723 1595#define ERROR_DEPENDENT_RESOURCE_PROPERTY_CONFLICT 0x00001724 1596#define ERROR_CLUSTER_NO_QUORUM 0x00001725 1597#define ERROR_CLUSTER_INVALID_IPV6_NETWORK 0x00001726 1598#define ERROR_CLUSTER_INVALID_IPV6_TUNNEL_NETWORK 0x00001727 1599#define ERROR_QUORUM_NOT_ALLOWED_IN_THIS_GROUP 0x00001728 1600#define ERROR_DEPENDENCY_TREE_TOO_COMPLEX 0x00001729 1601#define ERROR_EXCEPTION_IN_RESOURCE_CALL 0x0000172A 1602#define ERROR_CLUSTER_RHS_FAILED_INITIALIZATION 0x0000172B 1603#define ERROR_CLUSTER_NOT_INSTALLED 0x0000172C 1604#define ERROR_CLUSTER_RESOURCES_MUST_BE_ONLINE_ON_THE_SAME_NODE 0x0000172D 1605#define ERROR_CLUSTER_MAX_NODES_IN_CLUSTER 0x0000172E 1606#define ERROR_CLUSTER_TOO_MANY_NODES 0x0000172F 1607#define ERROR_CLUSTER_OBJECT_ALREADY_USED 0x00001730 1608#define ERROR_NONCORE_GROUPS_FOUND 0x00001731 1609#define ERROR_FILE_SHARE_RESOURCE_CONFLICT 0x00001732 1610#define ERROR_CLUSTER_EVICT_INVALID_REQUEST 0x00001733 1611#define ERROR_CLUSTER_SINGLETON_RESOURCE 0x00001734 1612#define ERROR_CLUSTER_GROUP_SINGLETON_RESOURCE 0x00001735 1613#define ERROR_CLUSTER_RESOURCE_PROVIDER_FAILED 0x00001736 1614#define ERROR_CLUSTER_RESOURCE_CONFIGURATION_ERROR 0x00001737 1615#define ERROR_CLUSTER_GROUP_BUSY 0x00001738 1616#define ERROR_CLUSTER_NOT_SHARED_VOLUME 0x00001739 1617#define ERROR_CLUSTER_INVALID_SECURITY_DESCRIPTOR 0x0000173A 1618#define ERROR_CLUSTER_SHARED_VOLUMES_IN_USE 0x0000173B 1619#define ERROR_CLUSTER_USE_SHARED_VOLUMES_API 0x0000173C 1620#define ERROR_CLUSTER_BACKUP_IN_PROGRESS 0x0000173D 1621#define ERROR_NON_CSV_PATH 0x0000173E 1622#define ERROR_CSV_VOLUME_NOT_LOCAL 0x0000173F 1623#define ERROR_CLUSTER_WATCHDOG_TERMINATING 0x00001740 1624#define ERROR_CLUSTER_RESOURCE_VETOED_MOVE_INCOMPATIBLE_NODES 0x00001741 1625#define ERROR_CLUSTER_INVALID_NODE_WEIGHT 0x00001742 1626#define ERROR_CLUSTER_RESOURCE_VETOED_CALL 0x00001743 1627#define ERROR_RESMON_SYSTEM_RESOURCES_LACKING 0x00001744 1628#define ERROR_CLUSTER_RESOURCE_VETOED_MOVE_NOT_ENOUGH_RESOURCES_ON_DESTINATION 0x00001745 1629#define ERROR_CLUSTER_RESOURCE_VETOED_MOVE_NOT_ENOUGH_RESOURCES_ON_SOURCE 0x00001746 1630#define ERROR_CLUSTER_GROUP_QUEUED 0x00001747 1631#define ERROR_CLUSTER_RESOURCE_LOCKED_STATUS 0x00001748 1632#define ERROR_CLUSTER_SHARED_VOLUME_FAILOVER_NOT_ALLOWED 0x00001749 1633#define ERROR_CLUSTER_NODE_DRAIN_IN_PROGRESS 0x0000174A 1634#define ERROR_CLUSTER_DISK_NOT_CONNECTED 0x0000174B 1635#define ERROR_DISK_NOT_CSV_CAPABLE 0x0000174C 1636#define ERROR_RESOURCE_NOT_IN_AVAILABLE_STORAGE 0x0000174D 1637#define ERROR_CLUSTER_SHARED_VOLUME_REDIRECTED 0x0000174E 1638#define ERROR_CLUSTER_SHARED_VOLUME_NOT_REDIRECTED 0x0000174F 1639#define ERROR_CLUSTER_CANNOT_RETURN_PROPERTIES 0x00001750 1640#define ERROR_CLUSTER_RESOURCE_CONTAINS_UNSUPPORTED_DIFF_AREA_FOR_SHARED_VOLUMES 0x00001751 1641#define ERROR_CLUSTER_RESOURCE_IS_IN_MAINTENANCE_MODE 0x00001752 1642#define ERROR_CLUSTER_AFFINITY_CONFLICT 0x00001753 1643#define ERROR_CLUSTER_RESOURCE_IS_REPLICA_VIRTUAL_MACHINE 0x00001754 1644 1645/* System Error Codes (6000-8199) */ 1646 1647#define ERROR_ENCRYPTION_FAILED 0x00001770 1648#define ERROR_DECRYPTION_FAILED 0x00001771 1649#define ERROR_FILE_ENCRYPTED 0x00001772 1650#define ERROR_NO_RECOVERY_POLICY 0x00001773 1651#define ERROR_NO_EFS 0x00001774 1652#define ERROR_WRONG_EFS 0x00001775 1653#define ERROR_NO_USER_KEYS 0x00001776 1654#define ERROR_FILE_NOT_ENCRYPTED 0x00001777 1655#define ERROR_NOT_EXPORT_FORMAT 0x00001778 1656#define ERROR_FILE_READ_ONLY 0x00001779 1657#define ERROR_DIR_EFS_DISALLOWED 0x0000177A 1658#define ERROR_EFS_SERVER_NOT_TRUSTED 0x0000177B 1659#define ERROR_BAD_RECOVERY_POLICY 0x0000177C 1660#define ERROR_EFS_ALG_BLOB_TOO_BIG 0x0000177D 1661#define ERROR_VOLUME_NOT_SUPPORT_EFS 0x0000177E 1662#define ERROR_EFS_DISABLED 0x0000177F 1663#define ERROR_EFS_VERSION_NOT_SUPPORT 0x00001780 1664#define ERROR_CS_ENCRYPTION_INVALID_SERVER_RESPONSE 0x00001781 1665#define ERROR_CS_ENCRYPTION_UNSUPPORTED_SERVER 0x00001782 1666#define ERROR_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE 0x00001783 1667#define ERROR_CS_ENCRYPTION_NEW_ENCRYPTED_FILE 0x00001784 1668#define ERROR_CS_ENCRYPTION_FILE_NOT_CSE 0x00001785 1669#define ERROR_ENCRYPTION_POLICY_DENIES_OPERATION 0x00001786 1670#define ERROR_NO_BROWSER_SERVERS_FOUND 0x000017E6 1671#define SCHED_E_SERVICE_NOT_LOCALSYSTEM 0x00001838 1672#define ERROR_LOG_SECTOR_INVALID 0x000019C8 1673#define ERROR_LOG_SECTOR_PARITY_INVALID 0x000019C9 1674#define ERROR_LOG_SECTOR_REMAPPED 0x000019CA 1675#define ERROR_LOG_BLOCK_INCOMPLETE 0x000019CB 1676#define ERROR_LOG_INVALID_RANGE 0x000019CC 1677#define ERROR_LOG_BLOCKS_EXHAUSTED 0x000019CD 1678#define ERROR_LOG_READ_CONTEXT_INVALID 0x000019CE 1679#define ERROR_LOG_RESTART_INVALID 0x000019CF 1680#define ERROR_LOG_BLOCK_VERSION 0x000019D0 1681#define ERROR_LOG_BLOCK_INVALID 0x000019D1 1682#define ERROR_LOG_READ_MODE_INVALID 0x000019D2 1683#define ERROR_LOG_NO_RESTART 0x000019D3 1684#define ERROR_LOG_METADATA_CORRUPT 0x000019D4 1685#define ERROR_LOG_METADATA_INVALID 0x000019D5 1686#define ERROR_LOG_METADATA_INCONSISTENT 0x000019D6 1687#define ERROR_LOG_RESERVATION_INVALID 0x000019D7 1688#define ERROR_LOG_CANT_DELETE 0x000019D8 1689#define ERROR_LOG_CONTAINER_LIMIT_EXCEEDED 0x000019D9 1690#define ERROR_LOG_START_OF_LOG 0x000019DA 1691#define ERROR_LOG_POLICY_ALREADY_INSTALLED 0x000019DB 1692#define ERROR_LOG_POLICY_NOT_INSTALLED 0x000019DC 1693#define ERROR_LOG_POLICY_INVALID 0x000019DD 1694#define ERROR_LOG_POLICY_CONFLICT 0x000019DE 1695#define ERROR_LOG_PINNED_ARCHIVE_TAIL 0x000019DF 1696#define ERROR_LOG_RECORD_NONEXISTENT 0x000019E0 1697#define ERROR_LOG_RECORDS_RESERVED_INVALID 0x000019E1 1698#define ERROR_LOG_SPACE_RESERVED_INVALID 0x000019E2 1699#define ERROR_LOG_TAIL_INVALID 0x000019E3 1700#define ERROR_LOG_FULL 0x000019E4 1701#define ERROR_COULD_NOT_RESIZE_LOG 0x000019E5 1702#define ERROR_LOG_MULTIPLEXED 0x000019E6 1703#define ERROR_LOG_DEDICATED 0x000019E7 1704#define ERROR_LOG_ARCHIVE_NOT_IN_PROGRESS 0x000019E8 1705#define ERROR_LOG_ARCHIVE_IN_PROGRESS 0x000019E9 1706#define ERROR_LOG_EPHEMERAL 0x000019EA 1707#define ERROR_LOG_NOT_ENOUGH_CONTAINERS 0x000019EB 1708#define ERROR_LOG_CLIENT_ALREADY_REGISTERED 0x000019EC 1709#define ERROR_LOG_CLIENT_NOT_REGISTERED 0x000019ED 1710#define ERROR_LOG_FULL_HANDLER_IN_PROGRESS 0x000019EE 1711#define ERROR_LOG_CONTAINER_READ_FAILED 0x000019EF 1712#define ERROR_LOG_CONTAINER_WRITE_FAILED 0x000019F0 1713#define ERROR_LOG_CONTAINER_OPEN_FAILED 0x000019F1 1714#define ERROR_LOG_CONTAINER_STATE_INVALID 0x000019F2 1715#define ERROR_LOG_STATE_INVALID 0x000019F3 1716#define ERROR_LOG_PINNED 0x000019F4 1717#define ERROR_LOG_METADATA_FLUSH_FAILED 0x000019F5 1718#define ERROR_LOG_INCONSISTENT_SECURITY 0x000019F6 1719#define ERROR_LOG_APPENDED_FLUSH_FAILED 0x000019F7 1720#define ERROR_LOG_PINNED_RESERVATION 0x000019F8 1721#define ERROR_INVALID_TRANSACTION 0x00001A2C 1722#define ERROR_TRANSACTION_NOT_ACTIVE 0x00001A2D 1723#define ERROR_TRANSACTION_REQUEST_NOT_VALID 0x00001A2E 1724#define ERROR_TRANSACTION_NOT_REQUESTED 0x00001A2F 1725#define ERROR_TRANSACTION_ALREADY_ABORTED 0x00001A30 1726#define ERROR_TRANSACTION_ALREADY_COMMITTED 0x00001A31 1727#define ERROR_TM_INITIALIZATION_FAILED 0x00001A32 1728#define ERROR_RESOURCEMANAGER_READ_ONLY 0x00001A33 1729#define ERROR_TRANSACTION_NOT_JOINED 0x00001A34 1730#define ERROR_TRANSACTION_SUPERIOR_EXISTS 0x00001A35 1731#define ERROR_CRM_PROTOCOL_ALREADY_EXISTS 0x00001A36 1732#define ERROR_TRANSACTION_PROPAGATION_FAILED 0x00001A37 1733#define ERROR_CRM_PROTOCOL_NOT_FOUND 0x00001A38 1734#define ERROR_TRANSACTION_INVALID_MARSHALL_BUFFER 0x00001A39 1735#define ERROR_CURRENT_TRANSACTION_NOT_VALID 0x00001A3A 1736#define ERROR_TRANSACTION_NOT_FOUND 0x00001A3B 1737#define ERROR_RESOURCEMANAGER_NOT_FOUND 0x00001A3C 1738#define ERROR_ENLISTMENT_NOT_FOUND 0x00001A3D 1739#define ERROR_TRANSACTIONMANAGER_NOT_FOUND 0x00001A3E 1740#define ERROR_TRANSACTIONMANAGER_NOT_ONLINE 0x00001A3F 1741#define ERROR_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION 0x00001A40 1742#define ERROR_TRANSACTION_NOT_ROOT 0x00001A41 1743#define ERROR_TRANSACTION_OBJECT_EXPIRED 0x00001A42 1744#define ERROR_TRANSACTION_RESPONSE_NOT_ENLISTED 0x00001A43 1745#define ERROR_TRANSACTION_RECORD_TOO_LONG 0x00001A44 1746#define ERROR_IMPLICIT_TRANSACTION_NOT_SUPPORTED 0x00001A45 1747#define ERROR_TRANSACTION_INTEGRITY_VIOLATED 0x00001A46 1748#define ERROR_TRANSACTIONMANAGER_IDENTITY_MISMATCH 0x00001A47 1749#define ERROR_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT 0x00001A48 1750#define ERROR_TRANSACTION_MUST_WRITETHROUGH 0x00001A49 1751#define ERROR_TRANSACTION_NO_SUPERIOR 0x00001A4A 1752#define ERROR_HEURISTIC_DAMAGE_POSSIBLE 0x00001A4B 1753#define ERROR_TRANSACTIONAL_CONFLICT 0x00001A90 1754#define ERROR_RM_NOT_ACTIVE 0x00001A91 1755#define ERROR_RM_METADATA_CORRUPT 0x00001A92 1756#define ERROR_DIRECTORY_NOT_RM 0x00001A93 1757#define ERROR_TRANSACTIONS_UNSUPPORTED_REMOTE 0x00001A95 1758#define ERROR_LOG_RESIZE_INVALID_SIZE 0x00001A96 1759#define ERROR_OBJECT_NO_LONGER_EXISTS 0x00001A97 1760#define ERROR_STREAM_MINIVERSION_NOT_FOUND 0x00001A98 1761#define ERROR_STREAM_MINIVERSION_NOT_VALID 0x00001A99 1762#define ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION 0x00001A9A 1763#define ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT 0x00001A9B 1764#define ERROR_CANT_CREATE_MORE_STREAM_MINIVERSIONS 0x00001A9C 1765#define ERROR_REMOTE_FILE_VERSION_MISMATCH 0x00001A9E 1766#define ERROR_HANDLE_NO_LONGER_VALID 0x00001A9F 1767#define ERROR_NO_TXF_METADATA 0x00001AA0 1768#define ERROR_LOG_CORRUPTION_DETECTED 0x00001AA1 1769#define ERROR_CANT_RECOVER_WITH_HANDLE_OPEN 0x00001AA2 1770#define ERROR_RM_DISCONNECTED 0x00001AA3 1771#define ERROR_ENLISTMENT_NOT_SUPERIOR 0x00001AA4 1772#define ERROR_RECOVERY_NOT_NEEDED 0x00001AA5 1773#define ERROR_RM_ALREADY_STARTED 0x00001AA6 1774#define ERROR_FILE_IDENTITY_NOT_PERSISTENT 0x00001AA7 1775#define ERROR_CANT_BREAK_TRANSACTIONAL_DEPENDENCY 0x00001AA8 1776#define ERROR_CANT_CROSS_RM_BOUNDARY 0x00001AA9 1777#define ERROR_TXF_DIR_NOT_EMPTY 0x00001AAA 1778#define ERROR_INDOUBT_TRANSACTIONS_EXIST 0x00001AAB 1779#define ERROR_TM_VOLATILE 0x00001AAC 1780#define ERROR_ROLLBACK_TIMER_EXPIRED 0x00001AAD 1781#define ERROR_TXF_ATTRIBUTE_CORRUPT 0x00001AAE 1782#define ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION 0x00001AAF 1783#define ERROR_TRANSACTIONAL_OPEN_NOT_ALLOWED 0x00001AB0 1784#define ERROR_LOG_GROWTH_FAILED 0x00001AB1 1785#define ERROR_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE 0x00001AB2 1786#define ERROR_TXF_METADATA_ALREADY_PRESENT 0x00001AB3 1787#define ERROR_TRANSACTION_SCOPE_CALLBACKS_NOT_SET 0x00001AB4 1788#define ERROR_TRANSACTION_REQUIRED_PROMOTION 0x00001AB5 1789#define ERROR_CANNOT_EXECUTE_FILE_IN_TRANSACTION 0x00001AB6 1790#define ERROR_TRANSACTIONS_NOT_FROZEN 0x00001AB7 1791#define ERROR_TRANSACTION_FREEZE_IN_PROGRESS 0x00001AB8 1792#define ERROR_NOT_SNAPSHOT_VOLUME 0x00001AB9 1793#define ERROR_NO_SAVEPOINT_WITH_OPEN_FILES 0x00001ABA 1794#define ERROR_DATA_LOST_REPAIR 0x00001ABB 1795#define ERROR_SPARSE_NOT_ALLOWED_IN_TRANSACTION 0x00001ABC 1796#define ERROR_TM_IDENTITY_MISMATCH 0x00001ABD 1797#define ERROR_FLOATED_SECTION 0x00001ABE 1798#define ERROR_CANNOT_ACCEPT_TRANSACTED_WORK 0x00001ABF 1799#define ERROR_CANNOT_ABORT_TRANSACTIONS 0x00001AC0 1800#define ERROR_BAD_CLUSTERS 0x00001AC1 1801#define ERROR_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION 0x00001AC2 1802#define ERROR_VOLUME_DIRTY 0x00001AC3 1803#define ERROR_NO_LINK_TRACKING_IN_TRANSACTION 0x00001AC4 1804#define ERROR_OPERATION_NOT_SUPPORTED_IN_TRANSACTION 0x00001AC5 1805#define ERROR_EXPIRED_HANDLE 0x00001AC6 1806#define ERROR_TRANSACTION_NOT_ENLISTED 0x00001AC7 1807#define ERROR_CTX_WINSTATION_NAME_INVALID 0x00001B59 1808#define ERROR_CTX_INVALID_PD 0x00001B5A 1809#define ERROR_CTX_PD_NOT_FOUND 0x00001B5B 1810#define ERROR_CTX_WD_NOT_FOUND 0x00001B5C 1811#define ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY 0x00001B5D 1812#define ERROR_CTX_SERVICE_NAME_COLLISION 0x00001B5E 1813#define ERROR_CTX_CLOSE_PENDING 0x00001B5F 1814#define ERROR_CTX_NO_OUTBUF 0x00001B60 1815#define ERROR_CTX_MODEM_INF_NOT_FOUND 0x00001B61 1816#define ERROR_CTX_INVALID_MODEMNAME 0x00001B62 1817#define ERROR_CTX_MODEM_RESPONSE_ERROR 0x00001B63 1818#define ERROR_CTX_MODEM_RESPONSE_TIMEOUT 0x00001B64 1819#define ERROR_CTX_MODEM_RESPONSE_NO_CARRIER 0x00001B65 1820#define ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE 0x00001B66 1821#define ERROR_CTX_MODEM_RESPONSE_BUSY 0x00001B67 1822#define ERROR_CTX_MODEM_RESPONSE_VOICE 0x00001B68 1823#define ERROR_CTX_TD_ERROR 0x00001B69 1824#define ERROR_CTX_WINSTATION_NOT_FOUND 0x00001B6E 1825#define ERROR_CTX_WINSTATION_ALREADY_EXISTS 0x00001B6F 1826#define ERROR_CTX_WINSTATION_BUSY 0x00001B70 1827#define ERROR_CTX_BAD_VIDEO_MODE 0x00001B71 1828#define ERROR_CTX_GRAPHICS_INVALID 0x00001B7B 1829#define ERROR_CTX_LOGON_DISABLED 0x00001B7D 1830#define ERROR_CTX_NOT_CONSOLE 0x00001B7E 1831#define ERROR_CTX_CLIENT_QUERY_TIMEOUT 0x00001B80 1832#define ERROR_CTX_CONSOLE_DISCONNECT 0x00001B81 1833#define ERROR_CTX_CONSOLE_CONNECT 0x00001B82 1834#define ERROR_CTX_SHADOW_DENIED 0x00001B84 1835#define ERROR_CTX_WINSTATION_ACCESS_DENIED 0x00001B85 1836#define ERROR_CTX_INVALID_WD 0x00001B89 1837#define ERROR_CTX_SHADOW_INVALID 0x00001B8A 1838#define ERROR_CTX_SHADOW_DISABLED 0x00001B8B 1839#define ERROR_CTX_CLIENT_LICENSE_IN_USE 0x00001B8C 1840#define ERROR_CTX_CLIENT_LICENSE_NOT_SET 0x00001B8D 1841#define ERROR_CTX_LICENSE_NOT_AVAILABLE 0x00001B8E 1842#define ERROR_CTX_LICENSE_CLIENT_INVALID 0x00001B8F 1843#define ERROR_CTX_LICENSE_EXPIRED 0x00001B90 1844#define ERROR_CTX_SHADOW_NOT_RUNNING 0x00001B91 1845#define ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE 0x00001B92 1846#define ERROR_ACTIVATION_COUNT_EXCEEDED 0x00001B93 1847#define ERROR_CTX_WINSTATIONS_DISABLED 0x00001B94 1848#define ERROR_CTX_ENCRYPTION_LEVEL_REQUIRED 0x00001B95 1849#define ERROR_CTX_SESSION_IN_USE 0x00001B96 1850#define ERROR_CTX_NO_FORCE_LOGOFF 0x00001B97 1851#define ERROR_CTX_ACCOUNT_RESTRICTION 0x00001B98 1852#define ERROR_RDP_PROTOCOL_ERROR 0x00001B99 1853#define ERROR_CTX_CDM_CONNECT 0x00001B9A 1854#define ERROR_CTX_CDM_DISCONNECT 0x00001B9B 1855#define ERROR_CTX_SECURITY_LAYER_ERROR 0x00001B9C 1856#define ERROR_TS_INCOMPATIBLE_SESSIONS 0x00001B9D 1857#define ERROR_TS_VIDEO_SUBSYSTEM_ERROR 0x00001B9E 1858#define FRS_ERR_INVALID_API_SEQUENCE 0x00001F41 1859#define FRS_ERR_STARTING_SERVICE 0x00001F42 1860#define FRS_ERR_STOPPING_SERVICE 0x00001F43 1861#define FRS_ERR_INTERNAL_API 0x00001F44 1862#define FRS_ERR_INTERNAL 0x00001F45 1863#define FRS_ERR_SERVICE_COMM 0x00001F46 1864#define FRS_ERR_INSUFFICIENT_PRIV 0x00001F47 1865#define FRS_ERR_AUTHENTICATION 0x00001F48 1866#define FRS_ERR_PARENT_INSUFFICIENT_PRIV 0x00001F49 1867#define FRS_ERR_PARENT_AUTHENTICATION 0x00001F4A 1868#define FRS_ERR_CHILD_TO_PARENT_COMM 0x00001F4B 1869#define FRS_ERR_PARENT_TO_CHILD_COMM 0x00001F4C 1870#define FRS_ERR_SYSVOL_POPULATE 0x00001F4D 1871#define FRS_ERR_SYSVOL_POPULATE_TIMEOUT 0x00001F4E 1872#define FRS_ERR_SYSVOL_IS_BUSY 0x00001F4F 1873#define FRS_ERR_SYSVOL_DEMOTE 0x00001F50 1874#define FRS_ERR_INVALID_SERVICE_PARAMETER 0x00001F51 1875 1876/* System Error Codes (8200-8999) */ 1877 1878#define ERROR_DS_NOT_INSTALLED 0x00002008 1879#define ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY 0x00002009 1880#define ERROR_DS_NO_ATTRIBUTE_OR_VALUE 0x0000200A 1881#define ERROR_DS_INVALID_ATTRIBUTE_SYNTAX 0x0000200B 1882#define ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED 0x0000200C 1883#define ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS 0x0000200D 1884#define ERROR_DS_BUSY 0x0000200E 1885#define ERROR_DS_UNAVAILABLE 0x0000200F 1886#define ERROR_DS_NO_RIDS_ALLOCATED 0x00002010 1887#define ERROR_DS_NO_MORE_RIDS 0x00002011 1888#define ERROR_DS_INCORRECT_ROLE_OWNER 0x00002012 1889#define ERROR_DS_RIDMGR_INIT_ERROR 0x00002013 1890#define ERROR_DS_OBJ_CLASS_VIOLATION 0x00002014 1891#define ERROR_DS_CANT_ON_NON_LEAF 0x00002015 1892#define ERROR_DS_CANT_ON_RDN 0x00002016 1893#define ERROR_DS_CANT_MOD_OBJ_CLASS 0x00002017 1894#define ERROR_DS_CROSS_DOM_MOVE_ERROR 0x00002018 1895#define ERROR_DS_GC_NOT_AVAILABLE 0x00002019 1896#define ERROR_SHARED_POLICY 0x0000201A 1897#define ERROR_POLICY_OBJECT_NOT_FOUND 0x0000201B 1898#define ERROR_POLICY_ONLY_IN_DS 0x0000201C 1899#define ERROR_PROMOTION_ACTIVE 0x0000201D 1900#define ERROR_NO_PROMOTION_ACTIVE 0x0000201E 1901#define ERROR_DS_OPERATIONS_ERROR 0x00002020 1902#define ERROR_DS_PROTOCOL_ERROR 0x00002021 1903#define ERROR_DS_TIMELIMIT_EXCEEDED 0x00002022 1904#define ERROR_DS_SIZELIMIT_EXCEEDED 0x00002023 1905#define ERROR_DS_ADMIN_LIMIT_EXCEEDED 0x00002024 1906#define ERROR_DS_COMPARE_FALSE 0x00002025 1907#define ERROR_DS_COMPARE_TRUE 0x00002026 1908#define ERROR_DS_AUTH_METHOD_NOT_SUPPORTED 0x00002027 1909#define ERROR_DS_STRONG_AUTH_REQUIRED 0x00002028 1910#define ERROR_DS_INAPPROPRIATE_AUTH 0x00002029 1911#define ERROR_DS_AUTH_UNKNOWN 0x0000202A 1912#define ERROR_DS_REFERRAL 0x0000202B 1913#define ERROR_DS_UNAVAILABLE_CRIT_EXTENSION 0x0000202C 1914#define ERROR_DS_CONFIDENTIALITY_REQUIRED 0x0000202D 1915#define ERROR_DS_INAPPROPRIATE_MATCHING 0x0000202E 1916#define ERROR_DS_CONSTRAINT_VIOLATION 0x0000202F 1917#define ERROR_DS_NO_SUCH_OBJECT 0x00002030 1918#define ERROR_DS_ALIAS_PROBLEM 0x00002031 1919#define ERROR_DS_INVALID_DN_SYNTAX 0x00002032 1920#define ERROR_DS_IS_LEAF 0x00002033 1921#define ERROR_DS_ALIAS_DEREF_PROBLEM 0x00002034 1922#define ERROR_DS_UNWILLING_TO_PERFORM 0x00002035 1923#define ERROR_DS_LOOP_DETECT 0x00002036 1924#define ERROR_DS_NAMING_VIOLATION 0x00002037 1925#define ERROR_DS_OBJECT_RESULTS_TOO_LARGE 0x00002038 1926#define ERROR_DS_AFFECTS_MULTIPLE_DSAS 0x00002039 1927#define ERROR_DS_SERVER_DOWN 0x0000203A 1928#define ERROR_DS_LOCAL_ERROR 0x0000203B 1929#define ERROR_DS_ENCODING_ERROR 0x0000203C 1930#define ERROR_DS_DECODING_ERROR 0x0000203D 1931#define ERROR_DS_FILTER_UNKNOWN 0x0000203E 1932#define ERROR_DS_PARAM_ERROR 0x0000203F 1933#define ERROR_DS_NOT_SUPPORTED 0x00002040 1934#define ERROR_DS_NO_RESULTS_RETURNED 0x00002041 1935#define ERROR_DS_CONTROL_NOT_FOUND 0x00002042 1936#define ERROR_DS_CLIENT_LOOP 0x00002043 1937#define ERROR_DS_REFERRAL_LIMIT_EXCEEDED 0x00002044 1938#define ERROR_DS_SORT_CONTROL_MISSING 0x00002045 1939#define ERROR_DS_OFFSET_RANGE_ERROR 0x00002046 1940#define ERROR_DS_RIDMGR_DISABLED 0x00002047 1941#define ERROR_DS_ROOT_MUST_BE_NC 0x0000206D 1942#define ERROR_DS_ADD_REPLICA_INHIBITED 0x0000206E 1943#define ERROR_DS_ATT_NOT_DEF_IN_SCHEMA 0x0000206F 1944#define ERROR_DS_MAX_OBJ_SIZE_EXCEEDED 0x00002070 1945#define ERROR_DS_OBJ_STRING_NAME_EXISTS 0x00002071 1946#define ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA 0x00002072 1947#define ERROR_DS_RDN_DOESNT_MATCH_SCHEMA 0x00002073 1948#define ERROR_DS_NO_REQUESTED_ATTS_FOUND 0x00002074 1949#define ERROR_DS_USER_BUFFER_TO_SMALL 0x00002075 1950#define ERROR_DS_ATT_IS_NOT_ON_OBJ 0x00002076 1951#define ERROR_DS_ILLEGAL_MOD_OPERATION 0x00002077 1952#define ERROR_DS_OBJ_TOO_LARGE 0x00002078 1953#define ERROR_DS_BAD_INSTANCE_TYPE 0x00002079 1954#define ERROR_DS_MASTERDSA_REQUIRED 0x0000207A 1955#define ERROR_DS_OBJECT_CLASS_REQUIRED 0x0000207B 1956#define ERROR_DS_MISSING_REQUIRED_ATT 0x0000207C 1957#define ERROR_DS_ATT_NOT_DEF_FOR_CLASS 0x0000207D 1958#define ERROR_DS_ATT_ALREADY_EXISTS 0x0000207E 1959#define ERROR_DS_CANT_ADD_ATT_VALUES 0x00002080 1960#define ERROR_DS_SINGLE_VALUE_CONSTRAINT 0x00002081 1961#define ERROR_DS_RANGE_CONSTRAINT 0x00002082 1962#define ERROR_DS_ATT_VAL_ALREADY_EXISTS 0x00002083 1963#define ERROR_DS_CANT_REM_MISSING_ATT 0x00002084 1964#define ERROR_DS_CANT_REM_MISSING_ATT_VAL 0x00002085 1965#define ERROR_DS_ROOT_CANT_BE_SUBREF 0x00002086 1966#define ERROR_DS_NO_CHAINING 0x00002087 1967#define ERROR_DS_NO_CHAINED_EVAL 0x00002088 1968#define ERROR_DS_NO_PARENT_OBJECT 0x00002089 1969#define ERROR_DS_PARENT_IS_AN_ALIAS 0x0000208A 1970#define ERROR_DS_CANT_MIX_MASTER_AND_REPS 0x0000208B 1971#define ERROR_DS_CHILDREN_EXIST 0x0000208C 1972#define ERROR_DS_OBJ_NOT_FOUND 0x0000208D 1973#define ERROR_DS_ALIASED_OBJ_MISSING 0x0000208E 1974#define ERROR_DS_BAD_NAME_SYNTAX 0x0000208F 1975#define ERROR_DS_ALIAS_POINTS_TO_ALIAS 0x00002090 1976#define ERROR_DS_CANT_DEREF_ALIAS 0x00002091 1977#define ERROR_DS_OUT_OF_SCOPE 0x00002092 1978#define ERROR_DS_OBJECT_BEING_REMOVED 0x00002093 1979#define ERROR_DS_CANT_DELETE_DSA_OBJ 0x00002094 1980#define ERROR_DS_GENERIC_ERROR 0x00002095 1981#define ERROR_DS_DSA_MUST_BE_INT_MASTER 0x00002096 1982#define ERROR_DS_CLASS_NOT_DSA 0x00002097 1983#define ERROR_DS_INSUFF_ACCESS_RIGHTS 0x00002098 1984#define ERROR_DS_ILLEGAL_SUPERIOR 0x00002099 1985#define ERROR_DS_ATTRIBUTE_OWNED_BY_SAM 0x0000209A 1986#define ERROR_DS_NAME_TOO_MANY_PARTS 0x0000209B 1987#define ERROR_DS_NAME_TOO_LONG 0x0000209C 1988#define ERROR_DS_NAME_VALUE_TOO_LONG 0x0000209D 1989#define ERROR_DS_NAME_UNPARSEABLE 0x0000209E 1990#define ERROR_DS_NAME_TYPE_UNKNOWN 0x0000209F 1991#define ERROR_DS_NOT_AN_OBJECT 0x000020A0 1992#define ERROR_DS_SEC_DESC_TOO_SHORT 0x000020A1 1993#define ERROR_DS_SEC_DESC_INVALID 0x000020A2 1994#define ERROR_DS_NO_DELETED_NAME 0x000020A3 1995#define ERROR_DS_SUBREF_MUST_HAVE_PARENT 0x000020A4 1996#define ERROR_DS_NCNAME_MUST_BE_NC 0x000020A5 1997#define ERROR_DS_CANT_ADD_SYSTEM_ONLY 0x000020A6 1998#define ERROR_DS_CLASS_MUST_BE_CONCRETE 0x000020A7 1999#define ERROR_DS_INVALID_DMD 0x000020A8 2000#define ERROR_DS_OBJ_GUID_EXISTS 0x000020A9 2001#define ERROR_DS_NOT_ON_BACKLINK 0x000020AA 2002#define ERROR_DS_NO_CROSSREF_FOR_NC 0x000020AB 2003#define ERROR_DS_SHUTTING_DOWN 0x000020AC 2004#define ERROR_DS_UNKNOWN_OPERATION 0x000020AD 2005#define ERROR_DS_INVALID_ROLE_OWNER 0x000020AE 2006#define ERROR_DS_COULDNT_CONTACT_FSMO 0x000020AF 2007#define ERROR_DS_CROSS_NC_DN_RENAME 0x000020B0 2008#define ERROR_DS_CANT_MOD_SYSTEM_ONLY 0x000020B1 2009#define ERROR_DS_REPLICATOR_ONLY 0x000020B2 2010#define ERROR_DS_OBJ_CLASS_NOT_DEFINED 0x000020B3 2011#define ERROR_DS_OBJ_CLASS_NOT_SUBCLASS 0x000020B4 2012#define ERROR_DS_NAME_REFERENCE_INVALID 0x000020B5 2013#define ERROR_DS_CROSS_REF_EXISTS 0x000020B6 2014#define ERROR_DS_CANT_DEL_MASTER_CROSSREF 0x000020B7 2015#define ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD 0x000020B8 2016#define ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX 0x000020B9 2017#define ERROR_DS_DUP_RDN 0x000020BA 2018#define ERROR_DS_DUP_OID 0x000020BB 2019#define ERROR_DS_DUP_MAPI_ID 0x000020BC 2020#define ERROR_DS_DUP_SCHEMA_ID_GUID 0x000020BD 2021#define ERROR_DS_DUP_LDAP_DISPLAY_NAME 0x000020BE 2022#define ERROR_DS_SEMANTIC_ATT_TEST 0x000020BF 2023#define ERROR_DS_SYNTAX_MISMATCH 0x000020C0 2024#define ERROR_DS_EXISTS_IN_MUST_HAVE 0x000020C1 2025#define ERROR_DS_EXISTS_IN_MAY_HAVE 0x000020C2 2026#define ERROR_DS_NONEXISTENT_MAY_HAVE 0x000020C3 2027#define ERROR_DS_NONEXISTENT_MUST_HAVE 0x000020C4 2028#define ERROR_DS_AUX_CLS_TEST_FAIL 0x000020C5 2029#define ERROR_DS_NONEXISTENT_POSS_SUP 0x000020C6 2030#define ERROR_DS_SUB_CLS_TEST_FAIL 0x000020C7 2031#define ERROR_DS_BAD_RDN_ATT_ID_SYNTAX 0x000020C8 2032#define ERROR_DS_EXISTS_IN_AUX_CLS 0x000020C9 2033#define ERROR_DS_EXISTS_IN_SUB_CLS 0x000020CA 2034#define ERROR_DS_EXISTS_IN_POSS_SUP 0x000020CB 2035#define ERROR_DS_RECALCSCHEMA_FAILED 0x000020CC 2036#define ERROR_DS_TREE_DELETE_NOT_FINISHED 0x000020CD 2037#define ERROR_DS_CANT_DELETE 0x000020CE 2038#define ERROR_DS_ATT_SCHEMA_REQ_ID 0x000020CF 2039#define ERROR_DS_BAD_ATT_SCHEMA_SYNTAX 0x000020D0 2040#define ERROR_DS_CANT_CACHE_ATT 0x000020D1 2041#define ERROR_DS_CANT_CACHE_CLASS 0x000020D2 2042#define ERROR_DS_CANT_REMOVE_ATT_CACHE 0x000020D3 2043#define ERROR_DS_CANT_REMOVE_CLASS_CACHE 0x000020D4 2044#define ERROR_DS_CANT_RETRIEVE_DN 0x000020D5 2045#define ERROR_DS_MISSING_SUPREF 0x000020D6 2046#define ERROR_DS_CANT_RETRIEVE_INSTANCE 0x000020D7 2047#define ERROR_DS_CODE_INCONSISTENCY 0x000020D8 2048#define ERROR_DS_DATABASE_ERROR 0x000020D9 2049#define ERROR_DS_GOVERNSID_MISSING 0x000020DA 2050#define ERROR_DS_MISSING_EXPECTED_ATT 0x000020DB 2051#define ERROR_DS_NCNAME_MISSING_CR_REF 0x000020DC 2052#define ERROR_DS_SECURITY_CHECKING_ERROR 0x000020DD 2053#define ERROR_DS_SCHEMA_NOT_LOADED 0x000020DE 2054#define ERROR_DS_SCHEMA_ALLOC_FAILED 0x000020DF 2055#define ERROR_DS_ATT_SCHEMA_REQ_SYNTAX 0x000020E0 2056#define ERROR_DS_GCVERIFY_ERROR 0x000020E1 2057#define ERROR_DS_DRA_SCHEMA_MISMATCH 0x000020E2 2058#define ERROR_DS_CANT_FIND_DSA_OBJ 0x000020E3 2059#define ERROR_DS_CANT_FIND_EXPECTED_NC 0x000020E4 2060#define ERROR_DS_CANT_FIND_NC_IN_CACHE 0x000020E5 2061#define ERROR_DS_CANT_RETRIEVE_CHILD 0x000020E6 2062#define ERROR_DS_SECURITY_ILLEGAL_MODIFY 0x000020E7 2063#define ERROR_DS_CANT_REPLACE_HIDDEN_REC 0x000020E8 2064#define ERROR_DS_BAD_HIERARCHY_FILE 0x000020E9 2065#define ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED 0x000020EA 2066#define ERROR_DS_CONFIG_PARAM_MISSING 0x000020EB 2067#define ERROR_DS_COUNTING_AB_INDICES_FAILED 0x000020EC 2068#define ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED 0x000020ED 2069#define ERROR_DS_INTERNAL_FAILURE 0x000020EE 2070#define ERROR_DS_UNKNOWN_ERROR 0x000020EF 2071#define ERROR_DS_ROOT_REQUIRES_CLASS_TOP 0x000020F0 2072#define ERROR_DS_REFUSING_FSMO_ROLES 0x000020F1 2073#define ERROR_DS_MISSING_FSMO_SETTINGS 0x000020F2 2074#define ERROR_DS_UNABLE_TO_SURRENDER_ROLES 0x000020F3 2075#define ERROR_DS_DRA_GENERIC 0x000020F4 2076#define ERROR_DS_DRA_INVALID_PARAMETER 0x000020F5 2077#define ERROR_DS_DRA_BUSY 0x000020F6 2078#define ERROR_DS_DRA_BAD_DN 0x000020F7 2079#define ERROR_DS_DRA_BAD_NC 0x000020F8 2080#define ERROR_DS_DRA_DN_EXISTS 0x000020F9 2081#define ERROR_DS_DRA_INTERNAL_ERROR 0x000020FA 2082#define ERROR_DS_DRA_INCONSISTENT_DIT 0x000020FB 2083#define ERROR_DS_DRA_CONNECTION_FAILED 0x000020FC 2084#define ERROR_DS_DRA_BAD_INSTANCE_TYPE 0x000020FD 2085#define ERROR_DS_DRA_OUT_OF_MEM 0x000020FE 2086#define ERROR_DS_DRA_MAIL_PROBLEM 0x000020FF 2087#define ERROR_DS_DRA_REF_ALREADY_EXISTS 0x00002100 2088#define ERROR_DS_DRA_REF_NOT_FOUND 0x00002101 2089#define ERROR_DS_DRA_OBJ_IS_REP_SOURCE 0x00002102 2090#define ERROR_DS_DRA_DB_ERROR 0x00002103 2091#define ERROR_DS_DRA_NO_REPLICA 0x00002104 2092#define ERROR_DS_DRA_ACCESS_DENIED 0x00002105 2093#define ERROR_DS_DRA_NOT_SUPPORTED 0x00002106 2094#define ERROR_DS_DRA_RPC_CANCELLED 0x00002107 2095#define ERROR_DS_DRA_SOURCE_DISABLED 0x00002108 2096#define ERROR_DS_DRA_SINK_DISABLED 0x00002109 2097#define ERROR_DS_DRA_NAME_COLLISION 0x0000210A 2098#define ERROR_DS_DRA_SOURCE_REINSTALLED 0x0000210B 2099#define ERROR_DS_DRA_MISSING_PARENT 0x0000210C 2100#define ERROR_DS_DRA_PREEMPTED 0x0000210D 2101#define ERROR_DS_DRA_ABANDON_SYNC 0x0000210E 2102#define ERROR_DS_DRA_SHUTDOWN 0x0000210F 2103#define ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET 0x00002110 2104#define ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA 0x00002111 2105#define ERROR_DS_DRA_EXTN_CONNECTION_FAILED 0x00002112 2106#define ERROR_DS_INSTALL_SCHEMA_MISMATCH 0x00002113 2107#define ERROR_DS_DUP_LINK_ID 0x00002114 2108#define ERROR_DS_NAME_ERROR_RESOLVING 0x00002115 2109#define ERROR_DS_NAME_ERROR_NOT_FOUND 0x00002116 2110#define ERROR_DS_NAME_ERROR_NOT_UNIQUE 0x00002117 2111#define ERROR_DS_NAME_ERROR_NO_MAPPING 0x00002118 2112#define ERROR_DS_NAME_ERROR_DOMAIN_ONLY 0x00002119 2113#define ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING 0x0000211A 2114#define ERROR_DS_CONSTRUCTED_ATT_MOD 0x0000211B 2115#define ERROR_DS_WRONG_OM_OBJ_CLASS 0x0000211C 2116#define ERROR_DS_DRA_REPL_PENDING 0x0000211D 2117#define ERROR_DS_DS_REQUIRED 0x0000211E 2118#define ERROR_DS_INVALID_LDAP_DISPLAY_NAME 0x0000211F 2119#define ERROR_DS_NON_BASE_SEARCH 0x00002120 2120#define ERROR_DS_CANT_RETRIEVE_ATTS 0x00002121 2121#define ERROR_DS_BACKLINK_WITHOUT_LINK 0x00002122 2122#define ERROR_DS_EPOCH_MISMATCH 0x00002123 2123#define ERROR_DS_SRC_NAME_MISMATCH 0x00002124 2124#define ERROR_DS_SRC_AND_DST_NC_IDENTICAL 0x00002125 2125#define ERROR_DS_DST_NC_MISMATCH 0x00002126 2126#define ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC 0x00002127 2127#define ERROR_DS_SRC_GUID_MISMATCH 0x00002128 2128#define ERROR_DS_CANT_MOVE_DELETED_OBJECT 0x00002129 2129#define ERROR_DS_PDC_OPERATION_IN_PROGRESS 0x0000212A 2130#define ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD 0x0000212B 2131#define ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION 0x0000212C 2132#define ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS 0x0000212D 2133#define ERROR_DS_NC_MUST_HAVE_NC_PARENT 0x0000212E 2134#define ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE 0x0000212F 2135#define ERROR_DS_DST_DOMAIN_NOT_NATIVE 0x00002130 2136#define ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER 0x00002131 2137#define ERROR_DS_CANT_MOVE_ACCOUNT_GROUP 0x00002132 2138#define ERROR_DS_CANT_MOVE_RESOURCE_GROUP 0x00002133 2139#define ERROR_DS_INVALID_SEARCH_FLAG 0x00002134 2140#define ERROR_DS_NO_TREE_DELETE_ABOVE_NC 0x00002135 2141#define ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE 0x00002136 2142#define ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE 0x00002137 2143#define ERROR_DS_SAM_INIT_FAILURE 0x00002138 2144#define ERROR_DS_SENSITIVE_GROUP_VIOLATION 0x00002139 2145#define ERROR_DS_CANT_MOD_PRIMARYGROUPID 0x0000213A 2146#define ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD 0x0000213B 2147#define ERROR_DS_NONSAFE_SCHEMA_CHANGE 0x0000213C 2148#define ERROR_DS_SCHEMA_UPDATE_DISALLOWED 0x0000213D 2149#define ERROR_DS_CANT_CREATE_UNDER_SCHEMA 0x0000213E 2150#define ERROR_DS_INSTALL_NO_SRC_SCH_VERSION 0x0000213F 2151#define ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE 0x00002140 2152#define ERROR_DS_INVALID_GROUP_TYPE 0x00002141 2153#define ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN 0x00002142 2154#define ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN 0x00002143 2155#define ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER 0x00002144 2156#define ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER 0x00002145 2157#define ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER 0x00002146 2158#define ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER 0x00002147 2159#define ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER 0x00002148 2160#define ERROR_DS_HAVE_PRIMARY_MEMBERS 0x00002149 2161#define ERROR_DS_STRING_SD_CONVERSION_FAILED 0x0000214A 2162#define ERROR_DS_NAMING_MASTER_GC 0x0000214B 2163#define ERROR_DS_DNS_LOOKUP_FAILURE 0x0000214C 2164#define ERROR_DS_COULDNT_UPDATE_SPNS 0x0000214D 2165#define ERROR_DS_CANT_RETRIEVE_SD 0x0000214E 2166#define ERROR_DS_KEY_NOT_UNIQUE 0x0000214F 2167#define ERROR_DS_WRONG_LINKED_ATT_SYNTAX 0x00002150 2168#define ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD 0x00002151 2169#define ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY 0x00002152 2170#define ERROR_DS_CANT_START 0x00002153 2171#define ERROR_DS_INIT_FAILURE 0x00002154 2172#define ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION 0x00002155 2173#define ERROR_DS_SOURCE_DOMAIN_IN_FOREST 0x00002156 2174#define ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST 0x00002157 2175#define ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED 0x00002158 2176#define ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN 0x00002159 2177#define ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER 0x0000215A 2178#define ERROR_DS_SRC_SID_EXISTS_IN_FOREST 0x0000215B 2179#define ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH 0x0000215C 2180#define ERROR_SAM_INIT_FAILURE 0x0000215D 2181#define ERROR_DS_DRA_SCHEMA_INFO_SHIP 0x0000215E 2182#define ERROR_DS_DRA_SCHEMA_CONFLICT 0x0000215F 2183#define ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT 0x00002160 2184#define ERROR_DS_DRA_OBJ_NC_MISMATCH 0x00002161 2185#define ERROR_DS_NC_STILL_HAS_DSAS 0x00002162 2186#define ERROR_DS_GC_REQUIRED 0x00002163 2187#define ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY 0x00002164 2188#define ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS 0x00002165 2189#define ERROR_DS_CANT_ADD_TO_GC 0x00002166 2190#define ERROR_DS_NO_CHECKPOINT_WITH_PDC 0x00002167 2191#define ERROR_DS_SOURCE_AUDITING_NOT_ENABLED 0x00002168 2192#define ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC 0x00002169 2193#define ERROR_DS_INVALID_NAME_FOR_SPN 0x0000216A 2194#define ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS 0x0000216B 2195#define ERROR_DS_UNICODEPWD_NOT_IN_QUOTES 0x0000216C 2196#define ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED 0x0000216D 2197#define ERROR_DS_MUST_BE_RUN_ON_DST_DC 0x0000216E 2198#define ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER 0x0000216F 2199#define ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ 0x00002170 2200#define ERROR_DS_INIT_FAILURE_CONSOLE 0x00002171 2201#define ERROR_DS_SAM_INIT_FAILURE_CONSOLE 0x00002172 2202#define ERROR_DS_FOREST_VERSION_TOO_HIGH 0x00002173 2203#define ERROR_DS_DOMAIN_VERSION_TOO_HIGH 0x00002174 2204#define ERROR_DS_FOREST_VERSION_TOO_LOW 0x00002175 2205#define ERROR_DS_DOMAIN_VERSION_TOO_LOW 0x00002176 2206#define ERROR_DS_INCOMPATIBLE_VERSION 0x00002177 2207#define ERROR_DS_LOW_DSA_VERSION 0x00002178 2208#define ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN 0x00002179 2209#define ERROR_DS_NOT_SUPPORTED_SORT_ORDER 0x0000217A 2210#define ERROR_DS_NAME_NOT_UNIQUE 0x0000217B 2211#define ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 0x0000217C 2212#define ERROR_DS_OUT_OF_VERSION_STORE 0x0000217D 2213#define ERROR_DS_INCOMPATIBLE_CONTROLS_USED 0x0000217E 2214#define ERROR_DS_NO_REF_DOMAIN 0x0000217F 2215#define ERROR_DS_RESERVED_LINK_ID 0x00002180 2216#define ERROR_DS_LINK_ID_NOT_AVAILABLE 0x00002181 2217#define ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER 0x00002182 2218#define ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE 0x00002183 2219#define ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC 0x00002184 2220#define ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG 0x00002185 2221#define ERROR_DS_MODIFYDN_WRONG_GRANDPARENT 0x00002186 2222#define ERROR_DS_NAME_ERROR_TRUST_REFERRAL 0x00002187 2223#define ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER 0x00002188 2224#define ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD 0x00002189 2225#define ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 0x0000218A 2226#define ERROR_DS_THREAD_LIMIT_EXCEEDED 0x0000218B 2227#define ERROR_DS_NOT_CLOSEST 0x0000218C 2228#define ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF 0x0000218D 2229#define ERROR_DS_SINGLE_USER_MODE_FAILED 0x0000218E 2230#define ERROR_DS_NTDSCRIPT_SYNTAX_ERROR 0x0000218F 2231#define ERROR_DS_NTDSCRIPT_PROCESS_ERROR 0x00002190 2232#define ERROR_DS_DIFFERENT_REPL_EPOCHS 0x00002191 2233#define ERROR_DS_DRS_EXTENSIONS_CHANGED 0x00002192 2234#define ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR 0x00002193 2235#define ERROR_DS_NO_MSDS_INTID 0x00002194 2236#define ERROR_DS_DUP_MSDS_INTID 0x00002195 2237#define ERROR_DS_EXISTS_IN_RDNATTID 0x00002196 2238#define ERROR_DS_AUTHORIZATION_FAILED 0x00002197 2239#define ERROR_DS_INVALID_SCRIPT 0x00002198 2240#define ERROR_DS_REMOTE_CROSSREF_OP_FAILED 0x00002199 2241#define ERROR_DS_CROSS_REF_BUSY 0x0000219A 2242#define ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN 0x0000219B 2243#define ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC 0x0000219C 2244#define ERROR_DS_DUPLICATE_ID_FOUND 0x0000219D 2245#define ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT 0x0000219E 2246#define ERROR_DS_GROUP_CONVERSION_ERROR 0x0000219F 2247#define ERROR_DS_CANT_MOVE_APP_BASIC_GROUP 0x000021A0 2248#define ERROR_DS_CANT_MOVE_APP_QUERY_GROUP 0x000021A1 2249#define ERROR_DS_ROLE_NOT_VERIFIED 0x000021A2 2250#define ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL 0x000021A3 2251#define ERROR_DS_DOMAIN_RENAME_IN_PROGRESS 0x000021A4 2252#define ERROR_DS_EXISTING_AD_CHILD_NC 0x000021A5 2253#define ERROR_DS_REPL_LIFETIME_EXCEEDED 0x000021A6 2254#define ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER 0x000021A7 2255#define ERROR_DS_LDAP_SEND_QUEUE_FULL 0x000021A8 2256#define ERROR_DS_DRA_OUT_SCHEDULE_WINDOW 0x000021A9 2257#define ERROR_DS_POLICY_NOT_KNOWN 0x000021AA 2258#define ERROR_NO_SITE_SETTINGS_OBJECT 0x000021AB 2259#define ERROR_NO_SECRETS 0x000021AC 2260#define ERROR_NO_WRITABLE_DC_FOUND 0x000021AD 2261#define ERROR_DS_NO_SERVER_OBJECT 0x000021AE 2262#define ERROR_DS_NO_NTDSA_OBJECT 0x000021AF 2263#define ERROR_DS_NON_ASQ_SEARCH 0x000021B0 2264#define ERROR_DS_AUDIT_FAILURE 0x000021B1 2265#define ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE 0x000021B2 2266#define ERROR_DS_INVALID_SEARCH_FLAG_TUPLE 0x000021B3 2267#define ERROR_DS_HIERARCHY_TABLE_TOO_DEEP 0x000021B4 2268#define ERROR_DS_DRA_CORRUPT_UTD_VECTOR 0x000021B5 2269#define ERROR_DS_DRA_SECRETS_DENIED 0x000021B6 2270#define ERROR_DS_RESERVED_MAPI_ID 0x000021B7 2271#define ERROR_DS_MAPI_ID_NOT_AVAILABLE 0x000021B8 2272#define ERROR_DS_DRA_MISSING_KRBTGT_SECRET 0x000021B9 2273#define ERROR_DS_DOMAIN_NAME_EXISTS_IN_FOREST 0x000021BA 2274#define ERROR_DS_FLAT_NAME_EXISTS_IN_FOREST 0x000021BB 2275#define ERROR_INVALID_USER_PRINCIPAL_NAME 0x000021BC 2276#define ERROR_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS 0x000021BD 2277#define ERROR_DS_OID_NOT_FOUND 0x000021BE 2278#define ERROR_DS_DRA_RECYCLED_TARGET 0x000021BF 2279#define ERROR_DS_DISALLOWED_NC_REDIRECT 0x000021C0 2280#define ERROR_DS_HIGH_ADLDS_FFL 0x000021C1 2281#define ERROR_DS_HIGH_DSA_VERSION 0x000021C2 2282#define ERROR_DS_LOW_ADLDS_FFL 0x000021C3 2283#define ERROR_DOMAIN_SID_SAME_AS_LOCAL_WORKSTATION 0x000021C4 2284#define ERROR_DS_UNDELETE_SAM_VALIDATION_FAILED 0x000021C5 2285#define ERROR_INCORRECT_ACCOUNT_TYPE 0x000021C6 2286 2287/* System Error Codes (9000-11999) */ 2288 2289#define DNS_ERROR_RCODE_FORMAT_ERROR 0x00002329 2290#define DNS_ERROR_RCODE_SERVER_FAILURE 0x0000232A 2291#define DNS_ERROR_RCODE_NAME_ERROR 0x0000232B 2292#define DNS_ERROR_RCODE_NOT_IMPLEMENTED 0x0000232C 2293#define DNS_ERROR_RCODE_REFUSED 0x0000232D 2294#define DNS_ERROR_RCODE_YXDOMAIN 0x0000232E 2295#define DNS_ERROR_RCODE_YXRRSET 0x0000232F 2296#define DNS_ERROR_RCODE_NXRRSET 0x00002330 2297#define DNS_ERROR_RCODE_NOTAUTH 0x00002331 2298#define DNS_ERROR_RCODE_NOTZONE 0x00002332 2299#define DNS_ERROR_RCODE_BADSIG 0x00002338 2300#define DNS_ERROR_RCODE_BADKEY 0x00002339 2301#define DNS_ERROR_RCODE_BADTIME 0x0000233A 2302#define DNS_ERROR_KEYMASTER_REQUIRED 0x0000238D 2303#define DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE 0x0000238E 2304#define DNS_ERROR_NSEC3_INCOMPATIBLE_WITH_RSA_SHA1 0x0000238F 2305#define DNS_ERROR_NOT_ENOUGH_SIGNING_KEY_DESCRIPTORS 0x00002390 2306#define DNS_ERROR_UNSUPPORTED_ALGORITHM 0x00002391 2307#define DNS_ERROR_INVALID_KEY_SIZE 0x00002392 2308#define DNS_ERROR_SIGNING_KEY_NOT_ACCESSIBLE 0x00002393 2309#define DNS_ERROR_KSP_DOES_NOT_SUPPORT_PROTECTION 0x00002394 2310#define DNS_ERROR_UNEXPECTED_DATA_PROTECTION_ERROR 0x00002395 2311#define DNS_ERROR_UNEXPECTED_CNG_ERROR 0x00002396 2312#define DNS_ERROR_UNKNOWN_SIGNING_PARAMETER_VERSION 0x00002397 2313#define DNS_ERROR_KSP_NOT_ACCESSIBLE 0x00002398 2314#define DNS_ERROR_TOO_MANY_SKDS 0x00002399 2315#define DNS_ERROR_INVALID_ROLLOVER_PERIOD 0x0000239A 2316#define DNS_ERROR_INVALID_INITIAL_ROLLOVER_OFFSET 0x0000239B 2317#define DNS_ERROR_ROLLOVER_IN_PROGRESS 0x0000239C 2318#define DNS_ERROR_STANDBY_KEY_NOT_PRESENT 0x0000239D 2319#define DNS_ERROR_NOT_ALLOWED_ON_ZSK 0x0000239E 2320#define DNS_ERROR_NOT_ALLOWED_ON_ACTIVE_SKD 0x0000239F 2321#define DNS_ERROR_ROLLOVER_ALREADY_QUEUED 0x000023A0 2322#define DNS_ERROR_NOT_ALLOWED_ON_UNSIGNED_ZONE 0x000023A1 2323#define DNS_ERROR_BAD_KEYMASTER 0x000023A2 2324#define DNS_ERROR_INVALID_SIGNATURE_VALIDITY_PERIOD 0x000023A3 2325#define DNS_ERROR_INVALID_NSEC3_ITERATION_COUNT 0x000023A4 2326#define DNS_ERROR_DNSSEC_IS_DISABLED 0x000023A5 2327#define DNS_ERROR_INVALID_XML 0x000023A6 2328#define DNS_ERROR_NO_VALID_TRUST_ANCHORS 0x000023A7 2329#define DNS_ERROR_ROLLOVER_NOT_POKEABLE 0x000023A8 2330#define DNS_ERROR_NSEC3_NAME_COLLISION 0x000023A9 2331#define DNS_ERROR_NSEC_INCOMPATIBLE_WITH_NSEC3_RSA_SHA1 0x000023AA 2332#define DNS_INFO_NO_RECORDS 0x0000251D 2333#define DNS_ERROR_BAD_PACKET 0x0000251E 2334#define DNS_ERROR_NO_PACKET 0x0000251F 2335#define DNS_ERROR_RCODE 0x00002520 2336#define DNS_ERROR_UNSECURE_PACKET 0x00002521 2337#define DNS_REQUEST_PENDING 0x00002522 2338#define DNS_ERROR_INVALID_TYPE 0x0000254F 2339#define DNS_ERROR_INVALID_IP_ADDRESS 0x00002550 2340#define DNS_ERROR_INVALID_PROPERTY 0x00002551 2341#define DNS_ERROR_TRY_AGAIN_LATER 0x00002552 2342#define DNS_ERROR_NOT_UNIQUE 0x00002553 2343#define DNS_ERROR_NON_RFC_NAME 0x00002554 2344#define DNS_STATUS_FQDN 0x00002555 2345#define DNS_STATUS_DOTTED_NAME 0x00002556 2346#define DNS_STATUS_SINGLE_PART_NAME 0x00002557 2347#define DNS_ERROR_INVALID_NAME_CHAR 0x00002558 2348#define DNS_ERROR_NUMERIC_NAME 0x00002559 2349#define DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER 0x0000255A 2350#define DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION 0x0000255B 2351#define DNS_ERROR_CANNOT_FIND_ROOT_HINTS 0x0000255C 2352#define DNS_ERROR_INCONSISTENT_ROOT_HINTS 0x0000255D 2353#define DNS_ERROR_DWORD_VALUE_TOO_SMALL 0x0000255E 2354#define DNS_ERROR_DWORD_VALUE_TOO_LARGE 0x0000255F 2355#define DNS_ERROR_BACKGROUND_LOADING 0x00002560 2356#define DNS_ERROR_NOT_ALLOWED_ON_RODC 0x00002561 2357#define DNS_ERROR_NOT_ALLOWED_UNDER_DNAME 0x00002562 2358#define DNS_ERROR_DELEGATION_REQUIRED 0x00002563 2359#define DNS_ERROR_INVALID_POLICY_TABLE 0x00002564 2360#define DNS_ERROR_ZONE_DOES_NOT_EXIST 0x00002581 2361#define DNS_ERROR_NO_ZONE_INFO 0x00002582 2362#define DNS_ERROR_INVALID_ZONE_OPERATION 0x00002583 2363#define DNS_ERROR_ZONE_CONFIGURATION_ERROR 0x00002584 2364#define DNS_ERROR_ZONE_HAS_NO_SOA_RECORD 0x00002585 2365#define DNS_ERROR_ZONE_HAS_NO_NS_RECORDS 0x00002586 2366#define DNS_ERROR_ZONE_LOCKED 0x00002587 2367#define DNS_ERROR_ZONE_CREATION_FAILED 0x00002588 2368#define DNS_ERROR_ZONE_ALREADY_EXISTS 0x00002589 2369#define DNS_ERROR_AUTOZONE_ALREADY_EXISTS 0x0000258A 2370#define DNS_ERROR_INVALID_ZONE_TYPE 0x0000258B 2371#define DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP 0x0000258C 2372#define DNS_ERROR_ZONE_NOT_SECONDARY 0x0000258D 2373#define DNS_ERROR_NEED_SECONDARY_ADDRESSES 0x0000258E 2374#define DNS_ERROR_WINS_INIT_FAILED 0x0000258F 2375#define DNS_ERROR_NEED_WINS_SERVERS 0x00002590 2376#define DNS_ERROR_NBSTAT_INIT_FAILED 0x00002591 2377#define DNS_ERROR_SOA_DELETE_INVALID 0x00002592 2378#define DNS_ERROR_FORWARDER_ALREADY_EXISTS 0x00002593 2379#define DNS_ERROR_ZONE_REQUIRES_MASTER_IP 0x00002594 2380#define DNS_ERROR_ZONE_IS_SHUTDOWN 0x00002595 2381#define DNS_ERROR_ZONE_LOCKED_FOR_SIGNING 0x00002596 2382#define DNS_ERROR_PRIMARY_REQUIRES_DATAFILE 0x000025B3 2383#define DNS_ERROR_INVALID_DATAFILE_NAME 0x000025B4 2384#define DNS_ERROR_DATAFILE_OPEN_FAILURE 0x000025B5 2385#define DNS_ERROR_FILE_WRITEBACK_FAILED 0x000025B6 2386#define DNS_ERROR_DATAFILE_PARSING 0x000025B7 2387#define DNS_ERROR_RECORD_DOES_NOT_EXIST 0x000025E5 2388#define DNS_ERROR_RECORD_FORMAT 0x000025E6 2389#define DNS_ERROR_NODE_CREATION_FAILED 0x000025E7 2390#define DNS_ERROR_UNKNOWN_RECORD_TYPE 0x000025E8 2391#define DNS_ERROR_RECORD_TIMED_OUT 0x000025E9 2392#define DNS_ERROR_NAME_NOT_IN_ZONE 0x000025EA 2393#define DNS_ERROR_CNAME_LOOP 0x000025EB 2394#define DNS_ERROR_NODE_IS_CNAME 0x000025EC 2395#define DNS_ERROR_CNAME_COLLISION 0x000025ED 2396#define DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT 0x000025EE 2397#define DNS_ERROR_RECORD_ALREADY_EXISTS 0x000025EF 2398#define DNS_ERROR_SECONDARY_DATA 0x000025F0 2399#define DNS_ERROR_NO_CREATE_CACHE_DATA 0x000025F1 2400#define DNS_ERROR_NAME_DOES_NOT_EXIST 0x000025F2 2401#define DNS_WARNING_PTR_CREATE_FAILED 0x000025F3 2402#define DNS_WARNING_DOMAIN_UNDELETED 0x000025F4 2403#define DNS_ERROR_DS_UNAVAILABLE 0x000025F5 2404#define DNS_ERROR_DS_ZONE_ALREADY_EXISTS 0x000025F6 2405#define DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE 0x000025F7 2406#define DNS_ERROR_NODE_IS_DNAME 0x000025F8 2407#define DNS_ERROR_DNAME_COLLISION 0x000025F9 2408#define DNS_ERROR_ALIAS_LOOP 0x000025FA 2409#define DNS_INFO_AXFR_COMPLETE 0x00002617 2410#define DNS_ERROR_AXFR 0x00002618 2411#define DNS_INFO_ADDED_LOCAL_WINS 0x00002619 2412#define DNS_STATUS_CONTINUE_NEEDED 0x00002649 2413#define DNS_ERROR_NO_TCPIP 0x0000267B 2414#define DNS_ERROR_NO_DNS_SERVERS 0x0000267C 2415#define DNS_ERROR_DP_DOES_NOT_EXIST 0x000026AD 2416#define DNS_ERROR_DP_ALREADY_EXISTS 0x000026AE 2417#define DNS_ERROR_DP_NOT_ENLISTED 0x000026AF 2418#define DNS_ERROR_DP_ALREADY_ENLISTED 0x000026B0 2419#define DNS_ERROR_DP_NOT_AVAILABLE 0x000026B1 2420#define DNS_ERROR_DP_FSMO_ERROR 0x000026B2 2421#define WSAEINTR 0x00002714 2422#define WSAEBADF 0x00002719 2423#define WSAEACCES 0x0000271D 2424#define WSAEFAULT 0x0000271E 2425#define WSAEINVAL 0x00002726 2426#define WSAEMFILE 0x00002728 2427#define WSAEWOULDBLOCK 0x00002733 2428#define WSAEINPROGRESS 0x00002734 2429#define WSAEALREADY 0x00002735 2430#define WSAENOTSOCK 0x00002736 2431#define WSAEDESTADDRREQ 0x00002737 2432#define WSAEMSGSIZE 0x00002738 2433#define WSAEPROTOTYPE 0x00002739 2434#define WSAENOPROTOOPT 0x0000273A 2435#define WSAEPROTONOSUPPORT 0x0000273B 2436#define WSAESOCKTNOSUPPORT 0x0000273C 2437#define WSAEOPNOTSUPP 0x0000273D 2438#define WSAEPFNOSUPPORT 0x0000273E 2439#define WSAEAFNOSUPPORT 0x0000273F 2440#define WSAEADDRINUSE 0x00002740 2441#define WSAEADDRNOTAVAIL 0x00002741 2442#define WSAENETDOWN 0x00002742 2443#define WSAENETUNREACH 0x00002743 2444#define WSAENETRESET 0x00002744 2445#define WSAECONNABORTED 0x00002745 2446#define WSAECONNRESET 0x00002746 2447#define WSAENOBUFS 0x00002747 2448#define WSAEISCONN 0x00002748 2449#define WSAENOTCONN 0x00002749 2450#define WSAESHUTDOWN 0x0000274A 2451#define WSAETOOMANYREFS 0x0000274B 2452#define WSAETIMEDOUT 0x0000274C 2453#define WSAECONNREFUSED 0x0000274D 2454#define WSAELOOP 0x0000274E 2455#define WSAENAMETOOLONG 0x0000274F 2456#define WSAEHOSTDOWN 0x00002750 2457#define WSAEHOSTUNREACH 0x00002751 2458#define WSAENOTEMPTY 0x00002752 2459#define WSAEPROCLIM 0x00002753 2460#define WSAEUSERS 0x00002754 2461#define WSAEDQUOT 0x00002755 2462#define WSAESTALE 0x00002756 2463#define WSAEREMOTE 0x00002757 2464#define WSASYSNOTREADY 0x0000276B 2465#define WSAVERNOTSUPPORTED 0x0000276C 2466#define WSANOTINITIALISED 0x0000276D 2467#define WSAEDISCON 0x00002775 2468#define WSAENOMORE 0x00002776 2469#define WSAECANCELLED 0x00002777 2470#define WSAEINVALIDPROCTABLE 0x00002778 2471#define WSAEINVALIDPROVIDER 0x00002779 2472#define WSAEPROVIDERFAILEDINIT 0x0000277A 2473#define WSASYSCALLFAILURE 0x0000277B 2474#define WSASERVICE_NOT_FOUND 0x0000277C 2475#define WSATYPE_NOT_FOUND 0x0000277D 2476#define WSA_E_NO_MORE 0x0000277E 2477#define WSA_E_CANCELLED 0x0000277F 2478#define WSAEREFUSED 0x00002780 2479#define WSAHOST_NOT_FOUND 0x00002AF9 2480#define WSATRY_AGAIN 0x00002AFA 2481#define WSANO_RECOVERY 0x00002AFB 2482#define WSANO_DATA 0x00002AFC 2483#define WSA_QOS_RECEIVERS 0x00002AFD 2484#define WSA_QOS_SENDERS 0x00002AFE 2485#define WSA_QOS_NO_SENDERS 0x00002AFF 2486#define WSA_QOS_NO_RECEIVERS 0x00002B00 2487#define WSA_QOS_REQUEST_CONFIRMED 0x00002B01 2488#define WSA_QOS_ADMISSION_FAILURE 0x00002B02 2489#define WSA_QOS_POLICY_FAILURE 0x00002B03 2490#define WSA_QOS_BAD_STYLE 0x00002B04 2491#define WSA_QOS_BAD_OBJECT 0x00002B05 2492#define WSA_QOS_TRAFFIC_CTRL_ERROR 0x00002B06 2493#define WSA_QOS_GENERIC_ERROR 0x00002B07 2494#define WSA_QOS_ESERVICETYPE 0x00002B08 2495#define WSA_QOS_EFLOWSPEC 0x00002B09 2496#define WSA_QOS_EPROVSPECBUF 0x00002B0A 2497#define WSA_QOS_EFILTERSTYLE 0x00002B0B 2498#define WSA_QOS_EFILTERTYPE 0x00002B0C 2499#define WSA_QOS_EFILTERCOUNT 0x00002B0D 2500#define WSA_QOS_EOBJLENGTH 0x00002B0E 2501#define WSA_QOS_EFLOWCOUNT 0x00002B0F 2502#define WSA_QOS_EUNKOWNPSOBJ 0x00002B10 2503#define WSA_QOS_EPOLICYOBJ 0x00002B11 2504#define WSA_QOS_EFLOWDESC 0x00002B12 2505#define WSA_QOS_EPSFLOWSPEC 0x00002B13 2506#define WSA_QOS_EPSFILTERSPEC 0x00002B14 2507#define WSA_QOS_ESDMODEOBJ 0x00002B15 2508#define WSA_QOS_ESHAPERATEOBJ 0x00002B16 2509#define WSA_QOS_RESERVED_PETYPE 0x00002B17 2510#define WSA_SECURE_HOST_NOT_FOUND 0x00002B18 2511#define WSA_IPSEC_NAME_POLICY_ERROR 0x00002B19 2512 2513/* System Error Codes (12000-15999) */ 2514 2515/* ERROR_INTERNET_* : (12000 - 12175) defined in WinInet.h */ 2516 2517#define ERROR_IPSEC_QM_POLICY_EXISTS 0x000032C8 2518#define ERROR_IPSEC_QM_POLICY_NOT_FOUND 0x000032C9 2519#define ERROR_IPSEC_QM_POLICY_IN_USE 0x000032CA 2520#define ERROR_IPSEC_MM_POLICY_EXISTS 0x000032CB 2521#define ERROR_IPSEC_MM_POLICY_NOT_FOUND 0x000032CC 2522#define ERROR_IPSEC_MM_POLICY_IN_USE 0x000032CD 2523#define ERROR_IPSEC_MM_FILTER_EXISTS 0x000032CE 2524#define ERROR_IPSEC_MM_FILTER_NOT_FOUND 0x000032CF 2525#define ERROR_IPSEC_TRANSPORT_FILTER_EXISTS 0x000032D0 2526#define ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND 0x000032D1 2527#define ERROR_IPSEC_MM_AUTH_EXISTS 0x000032D2 2528#define ERROR_IPSEC_MM_AUTH_NOT_FOUND 0x000032D3 2529#define ERROR_IPSEC_MM_AUTH_IN_USE 0x000032D4 2530#define ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND 0x000032D5 2531#define ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND 0x000032D6 2532#define ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND 0x000032D7 2533#define ERROR_IPSEC_TUNNEL_FILTER_EXISTS 0x000032D8 2534#define ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND 0x000032D9 2535#define ERROR_IPSEC_MM_FILTER_PENDING_DELETION 0x000032DA 2536#define ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION 0x000032DB 2537#define ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION 0x000032DC 2538#define ERROR_IPSEC_MM_POLICY_PENDING_DELETION 0x000032DD 2539#define ERROR_IPSEC_MM_AUTH_PENDING_DELETION 0x000032DE 2540#define ERROR_IPSEC_QM_POLICY_PENDING_DELETION 0x000032DF 2541#define WARNING_IPSEC_MM_POLICY_PRUNED 0x000032E0 2542#define WARNING_IPSEC_QM_POLICY_PRUNED 0x000032E1 2543#define ERROR_IPSEC_IKE_NEG_STATUS_BEGIN 0x000035E8 2544#define ERROR_IPSEC_IKE_AUTH_FAIL 0x000035E9 2545#define ERROR_IPSEC_IKE_ATTRIB_FAIL 0x000035EA 2546#define ERROR_IPSEC_IKE_NEGOTIATION_PENDING 0x000035EB 2547#define ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR 0x000035EC 2548#define ERROR_IPSEC_IKE_TIMED_OUT 0x000035ED 2549#define ERROR_IPSEC_IKE_NO_CERT 0x000035EE 2550#define ERROR_IPSEC_IKE_SA_DELETED 0x000035EF 2551#define ERROR_IPSEC_IKE_SA_REAPED 0x000035F0 2552#define ERROR_IPSEC_IKE_MM_ACQUIRE_DROP 0x000035F1 2553#define ERROR_IPSEC_IKE_QM_ACQUIRE_DROP 0x000035F2 2554#define ERROR_IPSEC_IKE_QUEUE_DROP_MM 0x000035F3 2555#define ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM 0x000035F4 2556#define ERROR_IPSEC_IKE_DROP_NO_RESPONSE 0x000035F5 2557#define ERROR_IPSEC_IKE_MM_DELAY_DROP 0x000035F6 2558#define ERROR_IPSEC_IKE_QM_DELAY_DROP 0x000035F7 2559#define ERROR_IPSEC_IKE_ERROR 0x000035F8 2560#define ERROR_IPSEC_IKE_CRL_FAILED 0x000035F9 2561#define ERROR_IPSEC_IKE_INVALID_KEY_USAGE 0x000035FA 2562#define ERROR_IPSEC_IKE_INVALID_CERT_TYPE 0x000035FB 2563#define ERROR_IPSEC_IKE_NO_PRIVATE_KEY 0x000035FC 2564#define ERROR_IPSEC_IKE_SIMULTANEOUS_REKEY 0x000035FD 2565#define ERROR_IPSEC_IKE_DH_FAIL 0x000035FE 2566#define ERROR_IPSEC_IKE_CRITICAL_PAYLOAD_NOT_RECOGNIZED 0x000035FF 2567#define ERROR_IPSEC_IKE_INVALID_HEADER 0x00003600 2568#define ERROR_IPSEC_IKE_NO_POLICY 0x00003601 2569#define ERROR_IPSEC_IKE_INVALID_SIGNATURE 0x00003602 2570#define ERROR_IPSEC_IKE_KERBEROS_ERROR 0x00003603 2571#define ERROR_IPSEC_IKE_NO_PUBLIC_KEY 0x00003604 2572#define ERROR_IPSEC_IKE_PROCESS_ERR 0x00003605 2573#define ERROR_IPSEC_IKE_PROCESS_ERR_SA 0x00003606 2574#define ERROR_IPSEC_IKE_PROCESS_ERR_PROP 0x00003607 2575#define ERROR_IPSEC_IKE_PROCESS_ERR_TRANS 0x00003608 2576#define ERROR_IPSEC_IKE_PROCESS_ERR_KE 0x00003609 2577#define ERROR_IPSEC_IKE_PROCESS_ERR_ID 0x0000360A 2578#define ERROR_IPSEC_IKE_PROCESS_ERR_CERT 0x0000360B 2579#define ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ 0x0000360C 2580#define ERROR_IPSEC_IKE_PROCESS_ERR_HASH 0x0000360D 2581#define ERROR_IPSEC_IKE_PROCESS_ERR_SIG 0x0000360E 2582#define ERROR_IPSEC_IKE_PROCESS_ERR_NONCE 0x0000360F 2583#define ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY 0x00003610 2584#define ERROR_IPSEC_IKE_PROCESS_ERR_DELETE 0x00003611 2585#define ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR 0x00003612 2586#define ERROR_IPSEC_IKE_INVALID_PAYLOAD 0x00003613 2587#define ERROR_IPSEC_IKE_LOAD_SOFT_SA 0x00003614 2588#define ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN 0x00003615 2589#define ERROR_IPSEC_IKE_INVALID_COOKIE 0x00003616 2590#define ERROR_IPSEC_IKE_NO_PEER_CERT 0x00003617 2591#define ERROR_IPSEC_IKE_PEER_CRL_FAILED 0x00003618 2592#define ERROR_IPSEC_IKE_POLICY_CHANGE 0x00003619 2593#define ERROR_IPSEC_IKE_NO_MM_POLICY 0x0000361A 2594#define ERROR_IPSEC_IKE_NOTCBPRIV 0x0000361B 2595#define ERROR_IPSEC_IKE_SECLOADFAIL 0x0000361C 2596#define ERROR_IPSEC_IKE_FAILSSPINIT 0x0000361D 2597#define ERROR_IPSEC_IKE_FAILQUERYSSP 0x0000361E 2598#define ERROR_IPSEC_IKE_SRVACQFAIL 0x0000361F 2599#define ERROR_IPSEC_IKE_SRVQUERYCRED 0x00003620 2600#define ERROR_IPSEC_IKE_GETSPIFAIL 0x00003621 2601#define ERROR_IPSEC_IKE_INVALID_FILTER 0x00003622 2602#define ERROR_IPSEC_IKE_OUT_OF_MEMORY 0x00003623 2603#define ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED 0x00003624 2604#define ERROR_IPSEC_IKE_INVALID_POLICY 0x00003625 2605#define ERROR_IPSEC_IKE_UNKNOWN_DOI 0x00003626 2606#define ERROR_IPSEC_IKE_INVALID_SITUATION 0x00003627 2607#define ERROR_IPSEC_IKE_DH_FAILURE 0x00003628 2608#define ERROR_IPSEC_IKE_INVALID_GROUP 0x00003629 2609#define ERROR_IPSEC_IKE_ENCRYPT 0x0000362A 2610#define ERROR_IPSEC_IKE_DECRYPT 0x0000362B 2611#define ERROR_IPSEC_IKE_POLICY_MATCH 0x0000362C 2612#define ERROR_IPSEC_IKE_UNSUPPORTED_ID 0x0000362D 2613#define ERROR_IPSEC_IKE_INVALID_HASH 0x0000362E 2614#define ERROR_IPSEC_IKE_INVALID_HASH_ALG 0x0000362F 2615#define ERROR_IPSEC_IKE_INVALID_HASH_SIZE 0x00003630 2616#define ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG 0x00003631 2617#define ERROR_IPSEC_IKE_INVALID_AUTH_ALG 0x00003632 2618#define ERROR_IPSEC_IKE_INVALID_SIG 0x00003633 2619#define ERROR_IPSEC_IKE_LOAD_FAILED 0x00003634 2620#define ERROR_IPSEC_IKE_RPC_DELETE 0x00003635 2621#define ERROR_IPSEC_IKE_BENIGN_REINIT 0x00003636 2622#define ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY 0x00003637 2623#define ERROR_IPSEC_IKE_INVALID_MAJOR_VERSION 0x00003638 2624#define ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN 0x00003639 2625#define ERROR_IPSEC_IKE_MM_LIMIT 0x0000363A 2626#define ERROR_IPSEC_IKE_NEGOTIATION_DISABLED 0x0000363B 2627#define ERROR_IPSEC_IKE_QM_LIMIT 0x0000363C 2628#define ERROR_IPSEC_IKE_MM_EXPIRED 0x0000363D 2629#define ERROR_IPSEC_IKE_PEER_MM_ASSUMED_INVALID 0x0000363E 2630#define ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH 0x0000363F 2631#define ERROR_IPSEC_IKE_UNEXPECTED_MESSAGE_ID 0x00003640 2632#define ERROR_IPSEC_IKE_INVALID_AUTH_PAYLOAD 0x00003641 2633#define ERROR_IPSEC_IKE_DOS_COOKIE_SENT 0x00003642 2634#define ERROR_IPSEC_IKE_SHUTTING_DOWN 0x00003643 2635#define ERROR_IPSEC_IKE_CGA_AUTH_FAILED 0x00003644 2636#define ERROR_IPSEC_IKE_PROCESS_ERR_NATOA 0x00003645 2637#define ERROR_IPSEC_IKE_INVALID_MM_FOR_QM 0x00003646 2638#define ERROR_IPSEC_IKE_QM_EXPIRED 0x00003647 2639#define ERROR_IPSEC_IKE_TOO_MANY_FILTERS 0x00003648 2640#define ERROR_IPSEC_IKE_NEG_STATUS_END 0x00003649 2641#define ERROR_IPSEC_IKE_KILL_DUMMY_NAP_TUNNEL 0x0000364A 2642#define ERROR_IPSEC_IKE_INNER_IP_ASSIGNMENT_FAILURE 0x0000364B 2643#define ERROR_IPSEC_IKE_REQUIRE_CP_PAYLOAD_MISSING 0x0000364C 2644#define ERROR_IPSEC_KEY_MODULE_IMPERSONATION_NEGOTIATION_PENDING 0x0000364D 2645#define ERROR_IPSEC_IKE_COEXISTENCE_SUPPRESS 0x0000364E 2646#define ERROR_IPSEC_IKE_RATELIMIT_DROP 0x0000364F 2647#define ERROR_IPSEC_IKE_PEER_DOESNT_SUPPORT_MOBIKE 0x00003650 2648#define ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE 0x00003651 2649#define ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_FAILURE 0x00003652 2650#define ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE_WITH_OPTIONAL_RETRY 0x00003653 2651#define ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_AND_CERTMAP_FAILURE 0x00003654 2652#define ERROR_IPSEC_IKE_NEG_STATUS_EXTENDED_END 0x00003655 2653#define ERROR_IPSEC_BAD_SPI 0x00003656 2654#define ERROR_IPSEC_SA_LIFETIME_EXPIRED 0x00003657 2655#define ERROR_IPSEC_WRONG_SA 0x00003658 2656#define ERROR_IPSEC_REPLAY_CHECK_FAILED 0x00003659 2657#define ERROR_IPSEC_INVALID_PACKET 0x0000365A 2658#define ERROR_IPSEC_INTEGRITY_CHECK_FAILED 0x0000365B 2659#define ERROR_IPSEC_CLEAR_TEXT_DROP 0x0000365C 2660#define ERROR_IPSEC_AUTH_FIREWALL_DROP 0x0000365D 2661#define ERROR_IPSEC_THROTTLE_DROP 0x0000365E 2662#define ERROR_IPSEC_DOSP_BLOCK 0x00003665 2663#define ERROR_IPSEC_DOSP_RECEIVED_MULTICAST 0x00003666 2664#define ERROR_IPSEC_DOSP_INVALID_PACKET 0x00003667 2665#define ERROR_IPSEC_DOSP_STATE_LOOKUP_FAILED 0x00003668 2666#define ERROR_IPSEC_DOSP_MAX_ENTRIES 0x00003669 2667#define ERROR_IPSEC_DOSP_KEYMOD_NOT_ALLOWED 0x0000366A 2668#define ERROR_IPSEC_DOSP_NOT_INSTALLED 0x0000366B 2669#define ERROR_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES 0x0000366C 2670#define ERROR_SXS_SECTION_NOT_FOUND 0x000036B0 2671#define ERROR_SXS_CANT_GEN_ACTCTX 0x000036B1 2672#define ERROR_SXS_INVALID_ACTCTXDATA_FORMAT 0x000036B2 2673#define ERROR_SXS_ASSEMBLY_NOT_FOUND 0x000036B3 2674#define ERROR_SXS_MANIFEST_FORMAT_ERROR 0x000036B4 2675#define ERROR_SXS_MANIFEST_PARSE_ERROR 0x000036B5 2676#define ERROR_SXS_ACTIVATION_CONTEXT_DISABLED 0x000036B6 2677#define ERROR_SXS_KEY_NOT_FOUND 0x000036B7 2678#define ERROR_SXS_VERSION_CONFLICT 0x000036B8 2679#define ERROR_SXS_WRONG_SECTION_TYPE 0x000036B9 2680#define ERROR_SXS_THREAD_QUERIES_DISABLED 0x000036BA 2681#define ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET 0x000036BB 2682#define ERROR_SXS_UNKNOWN_ENCODING_GROUP 0x000036BC 2683#define ERROR_SXS_UNKNOWN_ENCODING 0x000036BD 2684#define ERROR_SXS_INVALID_XML_NAMESPACE_URI 0x000036BE 2685#define ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED 0x000036BF 2686#define ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED 0x000036C0 2687#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE 0x000036C1 2688#define ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE 0x000036C2 2689#define ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE 0x000036C3 2690#define ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT 0x000036C4 2691#define ERROR_SXS_DUPLICATE_DLL_NAME 0x000036C5 2692#define ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME 0x000036C6 2693#define ERROR_SXS_DUPLICATE_CLSID 0x000036C7 2694#define ERROR_SXS_DUPLICATE_IID 0x000036C8 2695#define ERROR_SXS_DUPLICATE_TLBID 0x000036C9 2696#define ERROR_SXS_DUPLICATE_PROGID 0x000036CA 2697#define ERROR_SXS_DUPLICATE_ASSEMBLY_NAME 0x000036CB 2698#define ERROR_SXS_FILE_HASH_MISMATCH 0x000036CC 2699#define ERROR_SXS_POLICY_PARSE_ERROR 0x000036CD 2700#define ERROR_SXS_XML_E_MISSINGQUOTE 0x000036CE 2701#define ERROR_SXS_XML_E_COMMENTSYNTAX 0x000036CF 2702#define ERROR_SXS_XML_E_BADSTARTNAMECHAR 0x000036D0 2703#define ERROR_SXS_XML_E_BADNAMECHAR 0x000036D1 2704#define ERROR_SXS_XML_E_BADCHARINSTRING 0x000036D2 2705#define ERROR_SXS_XML_E_XMLDECLSYNTAX 0x000036D3 2706#define ERROR_SXS_XML_E_BADCHARDATA 0x000036D4 2707#define ERROR_SXS_XML_E_MISSINGWHITESPACE 0x000036D5 2708#define ERROR_SXS_XML_E_EXPECTINGTAGEND 0x000036D6 2709#define ERROR_SXS_XML_E_MISSINGSEMICOLON 0x000036D7 2710#define ERROR_SXS_XML_E_UNBALANCEDPAREN 0x000036D8 2711#define ERROR_SXS_XML_E_INTERNALERROR 0x000036D9 2712#define ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE 0x000036DA 2713#define ERROR_SXS_XML_E_INCOMPLETE_ENCODING 0x000036DB 2714#define ERROR_SXS_XML_E_MISSING_PAREN 0x000036DC 2715#define ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE 0x000036DD 2716#define ERROR_SXS_XML_E_MULTIPLE_COLONS 0x000036DE 2717#define ERROR_SXS_XML_E_INVALID_DECIMAL 0x000036DF 2718#define ERROR_SXS_XML_E_INVALID_HEXIDECIMAL 0x000036E0 2719#define ERROR_SXS_XML_E_INVALID_UNICODE 0x000036E1 2720#define ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK 0x000036E2 2721#define ERROR_SXS_XML_E_UNEXPECTEDENDTAG 0x000036E3 2722#define ERROR_SXS_XML_E_UNCLOSEDTAG 0x000036E4 2723#define ERROR_SXS_XML_E_DUPLICATEATTRIBUTE 0x000036E5 2724#define ERROR_SXS_XML_E_MULTIPLEROOTS 0x000036E6 2725#define ERROR_SXS_XML_E_INVALIDATROOTLEVEL 0x000036E7 2726#define ERROR_SXS_XML_E_BADXMLDECL 0x000036E8 2727#define ERROR_SXS_XML_E_MISSINGROOT 0x000036E9 2728#define ERROR_SXS_XML_E_UNEXPECTEDEOF 0x000036EA 2729#define ERROR_SXS_XML_E_BADPEREFINSUBSET 0x000036EB 2730#define ERROR_SXS_XML_E_UNCLOSEDSTARTTAG 0x000036EC 2731#define ERROR_SXS_XML_E_UNCLOSEDENDTAG 0x000036ED 2732#define ERROR_SXS_XML_E_UNCLOSEDSTRING 0x000036EE 2733#define ERROR_SXS_XML_E_UNCLOSEDCOMMENT 0x000036EF 2734#define ERROR_SXS_XML_E_UNCLOSEDDECL 0x000036F0 2735#define ERROR_SXS_XML_E_UNCLOSEDCDATA 0x000036F1 2736#define ERROR_SXS_XML_E_RESERVEDNAMESPACE 0x000036F2 2737#define ERROR_SXS_XML_E_INVALIDENCODING 0x000036F3 2738#define ERROR_SXS_XML_E_INVALIDSWITCH 0x000036F4 2739#define ERROR_SXS_XML_E_BADXMLCASE 0x000036F5 2740#define ERROR_SXS_XML_E_INVALID_STANDALONE 0x000036F6 2741#define ERROR_SXS_XML_E_UNEXPECTED_STANDALONE 0x000036F7 2742#define ERROR_SXS_XML_E_INVALID_VERSION 0x000036F8 2743#define ERROR_SXS_XML_E_MISSINGEQUALS 0x000036F9 2744#define ERROR_SXS_PROTECTION_RECOVERY_FAILED 0x000036FA 2745#define ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT 0x000036FB 2746#define ERROR_SXS_PROTECTION_CATALOG_NOT_VALID 0x000036FC 2747#define ERROR_SXS_UNTRANSLATABLE_HRESULT 0x000036FD 2748#define ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING 0x000036FE 2749#define ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE 0x000036FF 2750#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME 0x00003700 2751#define ERROR_SXS_ASSEMBLY_MISSING 0x00003701 2752#define ERROR_SXS_CORRUPT_ACTIVATION_STACK 0x00003702 2753#define ERROR_SXS_CORRUPTION 0x00003703 2754#define ERROR_SXS_EARLY_DEACTIVATION 0x00003704 2755#define ERROR_SXS_INVALID_DEACTIVATION 0x00003705 2756#define ERROR_SXS_MULTIPLE_DEACTIVATION 0x00003706 2757#define ERROR_SXS_PROCESS_TERMINATION_REQUESTED 0x00003707 2758#define ERROR_SXS_RELEASE_ACTIVATION_CONTEXT 0x00003708 2759#define ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY 0x00003709 2760#define ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE 0x0000370A 2761#define ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME 0x0000370B 2762#define ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE 0x0000370C 2763#define ERROR_SXS_IDENTITY_PARSE_ERROR 0x0000370D 2764#define ERROR_MALFORMED_SUBSTITUTION_STRING 0x0000370E 2765#define ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN 0x0000370F 2766#define ERROR_UNMAPPED_SUBSTITUTION_STRING 0x00003710 2767#define ERROR_SXS_ASSEMBLY_NOT_LOCKED 0x00003711 2768#define ERROR_SXS_COMPONENT_STORE_CORRUPT 0x00003712 2769#define ERROR_ADVANCED_INSTALLER_FAILED 0x00003713 2770#define ERROR_XML_ENCODING_MISMATCH 0x00003714 2771#define ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT 0x00003715 2772#define ERROR_SXS_IDENTITIES_DIFFERENT 0x00003716 2773#define ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT 0x00003717 2774#define ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY 0x00003718 2775#define ERROR_SXS_MANIFEST_TOO_BIG 0x00003719 2776#define ERROR_SXS_SETTING_NOT_REGISTERED 0x0000371A 2777#define ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE 0x0000371B 2778#define ERROR_SMI_PRIMITIVE_INSTALLER_FAILED 0x0000371C 2779#define ERROR_GENERIC_COMMAND_FAILED 0x0000371D 2780#define ERROR_SXS_FILE_HASH_MISSING 0x0000371E 2781#define ERROR_EVT_INVALID_CHANNEL_PATH 0x00003A98 2782#define ERROR_EVT_INVALID_QUERY 0x00003A99 2783#define ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND 0x00003A9A 2784#define ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND 0x00003A9B 2785#define ERROR_EVT_INVALID_PUBLISHER_NAME 0x00003A9C 2786#define ERROR_EVT_INVALID_EVENT_DATA 0x00003A9D 2787#define ERROR_EVT_CHANNEL_NOT_FOUND 0x00003A9F 2788#define ERROR_EVT_MALFORMED_XML_TEXT 0x00003AA0 2789#define ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL 0x00003AA1 2790#define ERROR_EVT_CONFIGURATION_ERROR 0x00003AA2 2791#define ERROR_EVT_QUERY_RESULT_STALE 0x00003AA3 2792#define ERROR_EVT_QUERY_RESULT_INVALID_POSITION 0x00003AA4 2793#define ERROR_EVT_NON_VALIDATING_MSXML 0x00003AA5 2794#define ERROR_EVT_FILTER_ALREADYSCOPED 0x00003AA6 2795#define ERROR_EVT_FILTER_NOTELTSET 0x00003AA7 2796#define ERROR_EVT_FILTER_INVARG 0x00003AA8 2797#define ERROR_EVT_FILTER_INVTEST 0x00003AA9 2798#define ERROR_EVT_FILTER_INVTYPE 0x00003AAA 2799#define ERROR_EVT_FILTER_PARSEERR 0x00003AAB 2800#define ERROR_EVT_FILTER_UNSUPPORTEDOP 0x00003AAC 2801#define ERROR_EVT_FILTER_UNEXPECTEDTOKEN 0x00003AAD 2802#define ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL 0x00003AAE 2803#define ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE 0x00003AAF 2804#define ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE 0x00003AB0 2805#define ERROR_EVT_CHANNEL_CANNOT_ACTIVATE 0x00003AB1 2806#define ERROR_EVT_FILTER_TOO_COMPLEX 0x00003AB2 2807#define ERROR_EVT_MESSAGE_NOT_FOUND 0x00003AB3 2808#define ERROR_EVT_MESSAGE_ID_NOT_FOUND 0x00003AB4 2809#define ERROR_EVT_UNRESOLVED_VALUE_INSERT 0x00003AB5 2810#define ERROR_EVT_UNRESOLVED_PARAMETER_INSERT 0x00003AB6 2811#define ERROR_EVT_MAX_INSERTS_REACHED 0x00003AB7 2812#define ERROR_EVT_EVENT_DEFINITION_NOT_FOUND 0x00003AB8 2813#define ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND 0x00003AB9 2814#define ERROR_EVT_VERSION_TOO_OLD 0x00003ABA 2815#define ERROR_EVT_VERSION_TOO_NEW 0x00003ABB 2816#define ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY 0x00003ABC 2817#define ERROR_EVT_PUBLISHER_DISABLED 0x00003ABD 2818#define ERROR_EVT_FILTER_OUT_OF_RANGE 0x00003ABE 2819#define ERROR_EC_SUBSCRIPTION_CANNOT_ACTIVATE 0x00003AE8 2820#define ERROR_EC_LOG_DISABLED 0x00003AE9 2821#define ERROR_EC_CIRCULAR_FORWARDING 0x00003AEA 2822#define ERROR_EC_CREDSTORE_FULL 0x00003AEB 2823#define ERROR_EC_CRED_NOT_FOUND 0x00003AEC 2824#define ERROR_EC_NO_ACTIVE_CHANNEL 0x00003AED 2825#define ERROR_MUI_FILE_NOT_FOUND 0x00003AFC 2826#define ERROR_MUI_INVALID_FILE 0x00003AFD 2827#define ERROR_MUI_INVALID_RC_CONFIG 0x00003AFE 2828#define ERROR_MUI_INVALID_LOCALE_NAME 0x00003AFF 2829#define ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME 0x00003B00 2830#define ERROR_MUI_FILE_NOT_LOADED 0x00003B01 2831#define ERROR_RESOURCE_ENUM_USER_STOP 0x00003B02 2832#define ERROR_MUI_INTLSETTINGS_UILANG_NOT_INSTALLED 0x00003B03 2833#define ERROR_MUI_INTLSETTINGS_INVALID_LOCALE_NAME 0x00003B04 2834#define ERROR_MRM_RUNTIME_NO_DEFAULT_OR_NEUTRAL_RESOURCE 0x00003B06 2835#define ERROR_MRM_INVALID_PRICONFIG 0x00003B07 2836#define ERROR_MRM_INVALID_FILE_TYPE 0x00003B08 2837#define ERROR_MRM_UNKNOWN_QUALIFIER 0x00003B09 2838#define ERROR_MRM_INVALID_QUALIFIER_VALUE 0x00003B0A 2839#define ERROR_MRM_NO_CANDIDATE 0x00003B0B 2840#define ERROR_MRM_NO_MATCH_OR_DEFAULT_CANDIDATE 0x00003B0C 2841#define ERROR_MRM_RESOURCE_TYPE_MISMATCH 0x00003B0D 2842#define ERROR_MRM_DUPLICATE_MAP_NAME 0x00003B0E 2843#define ERROR_MRM_DUPLICATE_ENTRY 0x00003B0F 2844#define ERROR_MRM_INVALID_RESOURCE_IDENTIFIER 0x00003B10 2845#define ERROR_MRM_FILEPATH_TOO_LONG 0x00003B11 2846#define ERROR_MRM_UNSUPPORTED_DIRECTORY_TYPE 0x00003B12 2847#define ERROR_MRM_INVALID_PRI_FILE 0x00003B16 2848#define ERROR_MRM_NAMED_RESOURCE_NOT_FOUND 0x00003B17 2849#define ERROR_MRM_MAP_NOT_FOUND 0x00003B1F 2850#define ERROR_MRM_UNSUPPORTED_PROFILE_TYPE 0x00003B20 2851#define ERROR_MRM_INVALID_QUALIFIER_OPERATOR 0x00003B21 2852#define ERROR_MRM_INDETERMINATE_QUALIFIER_VALUE 0x00003B22 2853#define ERROR_MRM_AUTOMERGE_ENABLED 0x00003B23 2854#define ERROR_MRM_TOO_MANY_RESOURCES 0x00003B24 2855#define ERROR_MCA_INVALID_CAPABILITIES_STRING 0x00003B60 2856#define ERROR_MCA_INVALID_VCP_VERSION 0x00003B61 2857#define ERROR_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION 0x00003B62 2858#define ERROR_MCA_MCCS_VERSION_MISMATCH 0x00003B63 2859#define ERROR_MCA_UNSUPPORTED_MCCS_VERSION 0x00003B64 2860#define ERROR_MCA_INTERNAL_ERROR 0x00003B65 2861#define ERROR_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED 0x00003B66 2862#define ERROR_MCA_UNSUPPORTED_COLOR_TEMPERATURE 0x00003B67 2863#define ERROR_AMBIGUOUS_SYSTEM_DEVICE 0x00003B92 2864#define ERROR_SYSTEM_DEVICE_NOT_FOUND 0x00003BC3 2865#define ERROR_HASH_NOT_SUPPORTED 0x00003BC4 2866#define ERROR_HASH_NOT_PRESENT 0x00003BC5 2867#define ERROR_SECONDARY_IC_PROVIDER_NOT_REGISTERED 0x00003BD9 2868#define ERROR_GPIO_CLIENT_INFORMATION_INVALID 0x00003BDA 2869#define ERROR_GPIO_VERSION_NOT_SUPPORTED 0x00003BDB 2870#define ERROR_GPIO_INVALID_REGISTRATION_PACKET 0x00003BDC 2871#define ERROR_GPIO_OPERATION_DENIED 0x00003BDD 2872#define ERROR_GPIO_INCOMPATIBLE_CONNECT_MODE 0x00003BDE 2873#define ERROR_GPIO_INTERRUPT_ALREADY_UNMASKED 0x00003BDF 2874#define ERROR_CANNOT_SWITCH_RUNLEVEL 0x00003C28 2875#define ERROR_INVALID_RUNLEVEL_SETTING 0x00003C29 2876#define ERROR_RUNLEVEL_SWITCH_TIMEOUT 0x00003C2A 2877#define ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT 0x00003C2B 2878#define ERROR_RUNLEVEL_SWITCH_IN_PROGRESS 0x00003C2C 2879#define ERROR_SERVICES_FAILED_AUTOSTART 0x00003C2D 2880#define ERROR_COM_TASK_STOP_PENDING 0x00003C8D 2881#define ERROR_INSTALL_OPEN_PACKAGE_FAILED 0x00003CF0 2882#define ERROR_INSTALL_PACKAGE_NOT_FOUND 0x00003CF1 2883#define ERROR_INSTALL_INVALID_PACKAGE 0x00003CF2 2884#define ERROR_INSTALL_RESOLVE_DEPENDENCY_FAILED 0x00003CF3 2885#define ERROR_INSTALL_OUT_OF_DISK_SPACE 0x00003CF4 2886#define ERROR_INSTALL_NETWORK_FAILURE 0x00003CF5 2887#define ERROR_INSTALL_REGISTRATION_FAILURE 0x00003CF6 2888#define ERROR_INSTALL_DEREGISTRATION_FAILURE 0x00003CF7 2889#define ERROR_INSTALL_CANCEL 0x00003CF8 2890#define ERROR_INSTALL_FAILED 0x00003CF9 2891#define ERROR_REMOVE_FAILED 0x00003CFA 2892#define ERROR_PACKAGE_ALREADY_EXISTS 0x00003CFB 2893#define ERROR_NEEDS_REMEDIATION 0x00003CFC 2894#define ERROR_INSTALL_PREREQUISITE_FAILED 0x00003CFD 2895#define ERROR_PACKAGE_REPOSITORY_CORRUPTED 0x00003CFE 2896#define ERROR_INSTALL_POLICY_FAILURE 0x00003CFF 2897#define ERROR_PACKAGE_UPDATING 0x00003D00 2898#define ERROR_DEPLOYMENT_BLOCKED_BY_POLICY 0x00003D01 2899#define ERROR_PACKAGES_IN_USE 0x00003D02 2900#define ERROR_RECOVERY_FILE_CORRUPT 0x00003D03 2901#define ERROR_INVALID_STAGED_SIGNATURE 0x00003D04 2902#define ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED 0x00003D05 2903#define ERROR_INSTALL_PACKAGE_DOWNGRADE 0x00003D06 2904#define ERROR_SYSTEM_NEEDS_REMEDIATION 0x00003D07 2905#define ERROR_APPX_INTEGRITY_FAILURE_CLR_NGEN 0x00003D08 2906#define ERROR_RESILIENCY_FILE_CORRUPT 0x00003D09 2907#define ERROR_INSTALL_FIREWALL_SERVICE_NOT_RUNNING 0x00003D0A 2908#define APPMODEL_ERROR_NO_PACKAGE 0x00003D54 2909#define APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT 0x00003D55 2910#define APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT 0x00003D56 2911#define APPMODEL_ERROR_NO_APPLICATION 0x00003D57 2912#define ERROR_STATE_LOAD_STORE_FAILED 0x00003DB8 2913#define ERROR_STATE_GET_VERSION_FAILED 0x00003DB9 2914#define ERROR_STATE_SET_VERSION_FAILED 0x00003DBA 2915#define ERROR_STATE_STRUCTURED_RESET_FAILED 0x00003DBB 2916#define ERROR_STATE_OPEN_CONTAINER_FAILED 0x00003DBC 2917#define ERROR_STATE_CREATE_CONTAINER_FAILED 0x00003DBD 2918#define ERROR_STATE_DELETE_CONTAINER_FAILED 0x00003DBE 2919#define ERROR_STATE_READ_SETTING_FAILED 0x00003DBF 2920#define ERROR_STATE_WRITE_SETTING_FAILED 0x00003DC0 2921#define ERROR_STATE_DELETE_SETTING_FAILED 0x00003DC1 2922#define ERROR_STATE_QUERY_SETTING_FAILED 0x00003DC2 2923#define ERROR_STATE_READ_COMPOSITE_SETTING_FAILED 0x00003DC3 2924#define ERROR_STATE_WRITE_COMPOSITE_SETTING_FAILED 0x00003DC4 2925#define ERROR_STATE_ENUMERATE_CONTAINER_FAILED 0x00003DC5 2926#define ERROR_STATE_ENUMERATE_SETTINGS_FAILED 0x00003DC6 2927#define ERROR_STATE_COMPOSITE_SETTING_VALUE_SIZE_LIMIT_EXCEEDED 0x00003DC7 2928#define ERROR_STATE_SETTING_VALUE_SIZE_LIMIT_EXCEEDED 0x00003DC8 2929#define ERROR_STATE_SETTING_NAME_SIZE_LIMIT_EXCEEDED 0x00003DC9 2930#define ERROR_STATE_CONTAINER_NAME_SIZE_LIMIT_EXCEEDED 0x00003DCA 2931#define ERROR_API_UNAVAILABLE 0x00003DE1 2932 2933#ifndef FACILITY_WEBSERVICES 2934#define FACILITY_WEBSERVICES 61 2935#define WS_S_ASYNC 0x003D0000 2936#define WS_S_END 0x003D0001 2937#define WS_E_INVALID_FORMAT 0x803D0000 2938#define WS_E_OBJECT_FAULTED 0x803D0001 2939#define WS_E_NUMERIC_OVERFLOW 0x803D0002 2940#define WS_E_INVALID_OPERATION 0x803D0003 2941#define WS_E_OPERATION_ABORTED 0x803D0004 2942#define WS_E_ENDPOINT_ACCESS_DENIED 0x803D0005 2943#define WS_E_OPERATION_TIMED_OUT 0x803D0006 2944#define WS_E_OPERATION_ABANDONED 0x803D0007 2945#define WS_E_QUOTA_EXCEEDED 0x803D0008 2946#define WS_E_NO_TRANSLATION_AVAILABLE 0x803D0009 2947#define WS_E_SECURITY_VERIFICATION_FAILURE 0x803D000A 2948#define WS_E_ADDRESS_IN_USE 0x803D000B 2949#define WS_E_ADDRESS_NOT_AVAILABLE 0x803D000C 2950#define WS_E_ENDPOINT_NOT_FOUND 0x803D000D 2951#define WS_E_ENDPOINT_NOT_AVAILABLE 0x803D000E 2952#define WS_E_ENDPOINT_FAILURE 0x803D000F 2953#define WS_E_ENDPOINT_UNREACHABLE 0x803D0010 2954#define WS_E_ENDPOINT_ACTION_NOT_SUPPORTED 0x803D0011 2955#define WS_E_ENDPOINT_TOO_BUSY 0x803D0012 2956#define WS_E_ENDPOINT_FAULT_RECEIVED 0x803D0013 2957#define WS_E_ENDPOINT_DISCONNECTED 0x803D0014 2958#define WS_E_PROXY_FAILURE 0x803D0015 2959#define WS_E_PROXY_ACCESS_DENIED 0x803D0016 2960#define WS_E_NOT_SUPPORTED 0x803D0017 2961#define WS_E_PROXY_REQUIRES_BASIC_AUTH 0x803D0018 2962#define WS_E_PROXY_REQUIRES_DIGEST_AUTH 0x803D0019 2963#define WS_E_PROXY_REQUIRES_NTLM_AUTH 0x803D001A 2964#define WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH 0x803D001B 2965#define WS_E_SERVER_REQUIRES_BASIC_AUTH 0x803D001C 2966#define WS_E_SERVER_REQUIRES_DIGEST_AUTH 0x803D001D 2967#define WS_E_SERVER_REQUIRES_NTLM_AUTH 0x803D001E 2968#define WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH 0x803D001F 2969#define WS_E_INVALID_ENDPOINT_URL 0x803D0020 2970#define WS_E_OTHER 0x803D0021 2971#define WS_E_SECURITY_TOKEN_EXPIRED 0x803D0022 2972#define WS_E_SECURITY_SYSTEM_FAILURE 0x803D0023 2973#endif 2974 2975#define EXCEPTION_MAXIMUM_PARAMETERS 15 2976 2977typedef struct _EXCEPTION_RECORD EXCEPTION_RECORD; 2978typedef struct _EXCEPTION_RECORD* PEXCEPTION_RECORD; 2979 2980struct _EXCEPTION_RECORD 2981{ 2982 DWORD ExceptionCode; 2983 DWORD ExceptionFlags; 2984 PEXCEPTION_RECORD ExceptionRecord; 2985 PVOID ExceptionAddress; 2986 DWORD NumberParameters; 2987 ULONG_PTR ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS]; 2988}; 2989 2990typedef void* PCONTEXT; 2991 2992typedef struct _EXCEPTION_POINTERS 2993{ 2994 PEXCEPTION_RECORD ExceptionRecord; 2995 PCONTEXT ContextRecord; 2996} EXCEPTION_POINTERS, *PEXCEPTION_POINTERS; 2997 2998typedef LONG (*PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS ExceptionInfo); 2999typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER; 3000 3001typedef LONG (*PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionInfo); 3002 3003#ifdef __cplusplus 3004extern "C" 3005{ 3006#endif 3007 3008 WINPR_API UINT GetErrorMode(void); 3009 3010 WINPR_API UINT SetErrorMode(UINT uMode); 3011 3012 WINPR_API DWORD GetLastError(void); 3013 3014 WINPR_API VOID SetLastError(DWORD dwErrCode); 3015 3016 WINPR_API VOID RestoreLastError(DWORD dwErrCode); 3017 3018 WINPR_API VOID RaiseException(DWORD dwExceptionCode, DWORD dwExceptionFlags, 3019 DWORD nNumberOfArguments, CONST ULONG_PTR* lpArguments); 3020 3021 WINPR_API LONG UnhandledExceptionFilter(PEXCEPTION_POINTERS ExceptionInfo); 3022 3023 WINPR_API LPTOP_LEVEL_EXCEPTION_FILTER 3024 SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter); 3025 3026 WINPR_API PVOID AddVectoredExceptionHandler(ULONG First, PVECTORED_EXCEPTION_HANDLER Handler); 3027 3028 WINPR_API ULONG RemoveVectoredExceptionHandler(PVOID Handle); 3029 3030 WINPR_API PVOID AddVectoredContinueHandler(ULONG First, PVECTORED_EXCEPTION_HANDLER Handler); 3031 3032 WINPR_API ULONG RemoveVectoredContinueHandler(PVOID Handle); 3033 3034#ifdef __cplusplus 3035} 3036#endif 3037 3038#endif 3039 3040#endif /* WINPR_ERROR_H */