1/** 2 * Windows API header module 3 * 4 * Translated from MinGW Windows headers 5 * 6 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) 7 * Source: $(DRUNTIMESRC core/sys/windows/_winerror.d) 8 */ 9module core.sys.windows.winerror; 10version (Windows): 11@system: 12 13/* Comments from the Mingw header: 14 * WAIT_TIMEOUT is also defined in winbase.h 15 */ 16 17import core.sys.windows.windef; 18 19alias int SCODE; // was in core.sys.windows.wtypes. 20 21enum : uint { 22 ERROR_SUCCESS = 0, 23 NO_ERROR = 0, 24 ERROR_INVALID_FUNCTION, 25 ERROR_FILE_NOT_FOUND, 26 ERROR_PATH_NOT_FOUND, 27 ERROR_TOO_MANY_OPEN_FILES, 28 ERROR_ACCESS_DENIED, 29 ERROR_INVALID_HANDLE, 30 ERROR_ARENA_TRASHED, 31 ERROR_NOT_ENOUGH_MEMORY, 32 ERROR_INVALID_BLOCK, 33 ERROR_BAD_ENVIRONMENT, 34 ERROR_BAD_FORMAT, 35 ERROR_INVALID_ACCESS, 36 ERROR_INVALID_DATA, 37 ERROR_OUTOFMEMORY, 38 ERROR_INVALID_DRIVE, 39 ERROR_CURRENT_DIRECTORY, 40 ERROR_NOT_SAME_DEVICE, 41 ERROR_NO_MORE_FILES, 42 ERROR_WRITE_PROTECT, 43 ERROR_BAD_UNIT, 44 ERROR_NOT_READY, 45 ERROR_BAD_COMMAND, 46 ERROR_CRC, 47 ERROR_BAD_LENGTH, 48 ERROR_SEEK, 49 ERROR_NOT_DOS_DISK, 50 ERROR_SECTOR_NOT_FOUND, 51 ERROR_OUT_OF_PAPER, 52 ERROR_WRITE_FAULT, 53 ERROR_READ_FAULT, 54 ERROR_GEN_FAILURE, 55 ERROR_SHARING_VIOLATION, 56 ERROR_LOCK_VIOLATION, 57 ERROR_WRONG_DISK, // = 34 58 ERROR_SHARING_BUFFER_EXCEEDED = 36, 59 ERROR_HANDLE_EOF = 38, 60 ERROR_HANDLE_DISK_FULL, // = 39 61 ERROR_NOT_SUPPORTED = 50, 62 ERROR_REM_NOT_LIST, 63 ERROR_DUP_NAME, 64 ERROR_BAD_NETPATH, 65 ERROR_NETWORK_BUSY, 66 ERROR_DEV_NOT_EXIST, 67 ERROR_TOO_MANY_CMDS, 68 ERROR_ADAP_HDW_ERR, 69 ERROR_BAD_NET_RESP, 70 ERROR_UNEXP_NET_ERR, 71 ERROR_BAD_REM_ADAP, 72 ERROR_PRINTQ_FULL, 73 ERROR_NO_SPOOL_SPACE, 74 ERROR_PRINT_CANCELLED, 75 ERROR_NETNAME_DELETED, 76 ERROR_NETWORK_ACCESS_DENIED, 77 ERROR_BAD_DEV_TYPE, 78 ERROR_BAD_NET_NAME, 79 ERROR_TOO_MANY_NAMES, 80 ERROR_TOO_MANY_SESS, 81 ERROR_SHARING_PAUSED, 82 ERROR_REQ_NOT_ACCEP, 83 ERROR_REDIR_PAUSED, // = 72 84 ERROR_FILE_EXISTS = 80, 85 ERROR_CANNOT_MAKE = 82, 86 ERROR_FAIL_I24, 87 ERROR_OUT_OF_STRUCTURES, 88 ERROR_ALREADY_ASSIGNED, 89 ERROR_INVALID_PASSWORD, 90 ERROR_INVALID_PARAMETER, 91 ERROR_NET_WRITE_FAULT, 92 ERROR_NO_PROC_SLOTS, // = 89 93 ERROR_TOO_MANY_SEMAPHORES = 100, 94 ERROR_EXCL_SEM_ALREADY_OWNED, 95 ERROR_SEM_IS_SET, 96 ERROR_TOO_MANY_SEM_REQUESTS, 97 ERROR_INVALID_AT_INTERRUPT_TIME, 98 ERROR_SEM_OWNER_DIED, 99 ERROR_SEM_USER_LIMIT, 100 ERROR_DISK_CHANGE, 101 ERROR_DRIVE_LOCKED, 102 ERROR_BROKEN_PIPE, 103 ERROR_OPEN_FAILED, 104 ERROR_BUFFER_OVERFLOW, 105 ERROR_DISK_FULL, 106 ERROR_NO_MORE_SEARCH_HANDLES, 107 ERROR_INVALID_TARGET_HANDLE, // = 114 108 ERROR_INVALID_CATEGORY = 117, 109 ERROR_INVALID_VERIFY_SWITCH, 110 ERROR_BAD_DRIVER_LEVEL, 111 ERROR_CALL_NOT_IMPLEMENTED, 112 ERROR_SEM_TIMEOUT, 113 ERROR_INSUFFICIENT_BUFFER, 114 ERROR_INVALID_NAME, 115 ERROR_INVALID_LEVEL, 116 ERROR_NO_VOLUME_LABEL, 117 ERROR_MOD_NOT_FOUND, 118 ERROR_PROC_NOT_FOUND, 119 ERROR_WAIT_NO_CHILDREN, 120 ERROR_CHILD_NOT_COMPLETE, 121 ERROR_DIRECT_ACCESS_HANDLE, 122 ERROR_NEGATIVE_SEEK, 123 ERROR_SEEK_ON_DEVICE, 124 ERROR_IS_JOIN_TARGET, 125 ERROR_IS_JOINED, 126 ERROR_IS_SUBSTED, 127 ERROR_NOT_JOINED, 128 ERROR_NOT_SUBSTED, 129 ERROR_JOIN_TO_JOIN, 130 ERROR_SUBST_TO_SUBST, 131 ERROR_JOIN_TO_SUBST, 132 ERROR_SUBST_TO_JOIN, 133 ERROR_BUSY_DRIVE, 134 ERROR_SAME_DRIVE, 135 ERROR_DIR_NOT_ROOT, 136 ERROR_DIR_NOT_EMPTY, 137 ERROR_IS_SUBST_PATH, 138 ERROR_IS_JOIN_PATH, 139 ERROR_PATH_BUSY, 140 ERROR_IS_SUBST_TARGET, 141 ERROR_SYSTEM_TRACE, 142 ERROR_INVALID_EVENT_COUNT, 143 ERROR_TOO_MANY_MUXWAITERS, 144 ERROR_INVALID_LIST_FORMAT, 145 ERROR_LABEL_TOO_LONG, 146 ERROR_TOO_MANY_TCBS, 147 ERROR_SIGNAL_REFUSED, 148 ERROR_DISCARDED, 149 ERROR_NOT_LOCKED, 150 ERROR_BAD_THREADID_ADDR, 151 ERROR_BAD_ARGUMENTS, 152 ERROR_BAD_PATHNAME, 153 ERROR_SIGNAL_PENDING, // = 162 154 ERROR_MAX_THRDS_REACHED = 164, 155 ERROR_LOCK_FAILED = 167, 156 ERROR_BUSY = 170, 157 ERROR_CANCEL_VIOLATION = 173, 158 ERROR_ATOMIC_LOCKS_NOT_SUPPORTED, // = 174 159 ERROR_INVALID_SEGMENT_NUMBER = 180, 160 ERROR_INVALID_ORDINAL = 182, 161 ERROR_ALREADY_EXISTS, // = 183 162 ERROR_INVALID_FLAG_NUMBER = 186, 163 ERROR_SEM_NOT_FOUND, 164 ERROR_INVALID_STARTING_CODESEG, 165 ERROR_INVALID_STACKSEG, 166 ERROR_INVALID_MODULETYPE, 167 ERROR_INVALID_EXE_SIGNATURE, 168 ERROR_EXE_MARKED_INVALID, 169 ERROR_BAD_EXE_FORMAT, 170 ERROR_ITERATED_DATA_EXCEEDS_64k, 171 ERROR_INVALID_MINALLOCSIZE, 172 ERROR_DYNLINK_FROM_INVALID_RING, 173 ERROR_IOPL_NOT_ENABLED, 174 ERROR_INVALID_SEGDPL, 175 ERROR_AUTODATASEG_EXCEEDS_64k, 176 ERROR_RING2SEG_MUST_BE_MOVABLE, 177 ERROR_RELOC_CHAIN_XEEDS_SEGLIM, 178 ERROR_INFLOOP_IN_RELOC_CHAIN, 179 ERROR_ENVVAR_NOT_FOUND, // = 203 180 ERROR_NO_SIGNAL_SENT = 205, 181 ERROR_FILENAME_EXCED_RANGE, 182 ERROR_RING2_STACK_IN_USE, 183 ERROR_META_EXPANSION_TOO_LONG, 184 ERROR_INVALID_SIGNAL_NUMBER, 185 ERROR_THREAD_1_INACTIVE, // = 210 186 ERROR_LOCKED = 212, 187 ERROR_TOO_MANY_MODULES = 214, 188 ERROR_NESTING_NOT_ALLOWED, 189 ERROR_EXE_MACHINE_TYPE_MISMATCH, 190 ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY, 191 ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY, // = 218 192 ERROR_BAD_PIPE = 230, 193 ERROR_PIPE_BUSY, 194 ERROR_NO_DATA, 195 ERROR_PIPE_NOT_CONNECTED, 196 ERROR_MORE_DATA, // = 234 197 ERROR_VC_DISCONNECTED = 240, 198 ERROR_INVALID_EA_NAME = 254, 199 ERROR_EA_LIST_INCONSISTENT, // = 255 200 WAIT_TIMEOUT = 258, 201 ERROR_NO_MORE_ITEMS, // = 259 202 ERROR_CANNOT_COPY = 266, 203 ERROR_DIRECTORY, // = 267 204 ERROR_EAS_DIDNT_FIT = 275, 205 ERROR_EA_FILE_CORRUPT, 206 ERROR_EA_TABLE_FULL, 207 ERROR_INVALID_EA_HANDLE, // = 278 208 ERROR_EAS_NOT_SUPPORTED = 282, 209 ERROR_NOT_OWNER = 288, 210 ERROR_TOO_MANY_POSTS = 298, 211 ERROR_PARTIAL_COPY, 212 ERROR_OPLOCK_NOT_GRANTED, 213 ERROR_INVALID_OPLOCK_PROTOCOL, 214 ERROR_DISK_TOO_FRAGMENTED, 215 ERROR_DELETE_PENDING, // = 303 216 ERROR_MR_MID_NOT_FOUND = 317, 217 ERROR_SCOPE_NOT_FOUND, // = 318 218 ERROR_INVALID_ADDRESS = 487, 219 ERROR_ARITHMETIC_OVERFLOW = 534, 220 ERROR_PIPE_CONNECTED, 221 ERROR_PIPE_LISTENING, // = 536 222 ERROR_EA_ACCESS_DENIED = 994, 223 ERROR_OPERATION_ABORTED, 224 ERROR_IO_INCOMPLETE, 225 ERROR_IO_PENDING, 226 ERROR_NOACCESS, 227 ERROR_SWAPERROR, // = 999 228 ERROR_STACK_OVERFLOW = 1001, 229 ERROR_INVALID_MESSAGE, 230 ERROR_CAN_NOT_COMPLETE, 231 ERROR_INVALID_FLAGS, 232 ERROR_UNRECOGNIZED_VOLUME, 233 ERROR_FILE_INVALID, 234 ERROR_FULLSCREEN_MODE, 235 ERROR_NO_TOKEN, 236 ERROR_BADDB, 237 ERROR_BADKEY, 238 ERROR_CANTOPEN, 239 ERROR_CANTREAD, 240 ERROR_CANTWRITE, 241 ERROR_REGISTRY_RECOVERED, 242 ERROR_REGISTRY_CORRUPT, 243 ERROR_REGISTRY_IO_FAILED, 244 ERROR_NOT_REGISTRY_FILE, 245 ERROR_KEY_DELETED, 246 ERROR_NO_LOG_SPACE, 247 ERROR_KEY_HAS_CHILDREN, 248 ERROR_CHILD_MUST_BE_VOLATILE, 249 ERROR_NOTIFY_ENUM_DIR, // = 1022 250 ERROR_DEPENDENT_SERVICES_RUNNING = 1051, 251 ERROR_INVALID_SERVICE_CONTROL, 252 ERROR_SERVICE_REQUEST_TIMEOUT, 253 ERROR_SERVICE_NO_THREAD, 254 ERROR_SERVICE_DATABASE_LOCKED, 255 ERROR_SERVICE_ALREADY_RUNNING, 256 ERROR_INVALID_SERVICE_ACCOUNT, 257 ERROR_SERVICE_DISABLED, 258 ERROR_CIRCULAR_DEPENDENCY, 259 ERROR_SERVICE_DOES_NOT_EXIST, 260 ERROR_SERVICE_CANNOT_ACCEPT_CTRL, 261 ERROR_SERVICE_NOT_ACTIVE, 262 ERROR_FAILED_SERVICE_CONTROLLER_CONNECT, 263 ERROR_EXCEPTION_IN_SERVICE, 264 ERROR_DATABASE_DOES_NOT_EXIST, 265 ERROR_SERVICE_SPECIFIC_ERROR, 266 ERROR_PROCESS_ABORTED, 267 ERROR_SERVICE_DEPENDENCY_FAIL, 268 ERROR_SERVICE_LOGON_FAILED, 269 ERROR_SERVICE_START_HANG, 270 ERROR_INVALID_SERVICE_LOCK, 271 ERROR_SERVICE_MARKED_FOR_DELETE, 272 ERROR_SERVICE_EXISTS, 273 ERROR_ALREADY_RUNNING_LKG, 274 ERROR_SERVICE_DEPENDENCY_DELETED, 275 ERROR_BOOT_ALREADY_ACCEPTED, 276 ERROR_SERVICE_NEVER_STARTED, 277 ERROR_DUPLICATE_SERVICE_NAME, 278 ERROR_DIFFERENT_SERVICE_ACCOUNT, 279 ERROR_CANNOT_DETECT_DRIVER_FAILURE, 280 ERROR_CANNOT_DETECT_PROCESS_ABORT, 281 ERROR_NO_RECOVERY_PROGRAM, 282 ERROR_SERVICE_NOT_IN_EXE, 283 ERROR_NOT_SAFEBOOT_SERVICE, // = 1084 284 ERROR_END_OF_MEDIA = 1100, 285 ERROR_FILEMARK_DETECTED, 286 ERROR_BEGINNING_OF_MEDIA, 287 ERROR_SETMARK_DETECTED, 288 ERROR_NO_DATA_DETECTED, 289 ERROR_PARTITION_FAILURE, 290 ERROR_INVALID_BLOCK_LENGTH, 291 ERROR_DEVICE_NOT_PARTITIONED, 292 ERROR_UNABLE_TO_LOCK_MEDIA, 293 ERROR_UNABLE_TO_UNLOAD_MEDIA, 294 ERROR_MEDIA_CHANGED, 295 ERROR_BUS_RESET, 296 ERROR_NO_MEDIA_IN_DRIVE, 297 ERROR_NO_UNICODE_TRANSLATION, 298 ERROR_DLL_INIT_FAILED, 299 ERROR_SHUTDOWN_IN_PROGRESS, 300 ERROR_NO_SHUTDOWN_IN_PROGRESS, 301 ERROR_IO_DEVICE, 302 ERROR_SERIAL_NO_DEVICE, 303 ERROR_IRQ_BUSY, 304 ERROR_MORE_WRITES, 305 ERROR_COUNTER_TIMEOUT, 306 ERROR_FLOPPY_ID_MARK_NOT_FOUND, 307 ERROR_FLOPPY_WRONG_CYLINDER, 308 ERROR_FLOPPY_UNKNOWN_ERROR, 309 ERROR_FLOPPY_BAD_REGISTERS, 310 ERROR_DISK_RECALIBRATE_FAILED, 311 ERROR_DISK_OPERATION_FAILED, 312 ERROR_DISK_RESET_FAILED, 313 ERROR_EOM_OVERFLOW, 314 ERROR_NOT_ENOUGH_SERVER_MEMORY, 315 ERROR_POSSIBLE_DEADLOCK, 316 ERROR_MAPPED_ALIGNMENT, // = 1132 317 ERROR_SET_POWER_STATE_VETOED = 1140, 318 ERROR_SET_POWER_STATE_FAILED, 319 ERROR_TOO_MANY_LINKS, // = 1142 320 ERROR_OLD_WIN_VERSION = 1150, 321 ERROR_APP_WRONG_OS, 322 ERROR_SINGLE_INSTANCE_APP, 323 ERROR_RMODE_APP, 324 ERROR_INVALID_DLL, 325 ERROR_NO_ASSOCIATION, 326 ERROR_DDE_FAIL, 327 ERROR_DLL_NOT_FOUND, 328 ERROR_NO_MORE_USER_HANDLES, 329 ERROR_MESSAGE_SYNC_ONLY, 330 ERROR_SOURCE_ELEMENT_EMPTY, 331 ERROR_DESTINATION_ELEMENT_FULL, 332 ERROR_ILLEGAL_ELEMENT_ADDRESS, 333 ERROR_MAGAZINE_NOT_PRESENT, 334 ERROR_DEVICE_REINITIALIZATION_NEEDED, 335 ERROR_DEVICE_REQUIRES_CLEANING, 336 ERROR_DEVICE_DOOR_OPEN, 337 ERROR_DEVICE_NOT_CONNECTED, 338 ERROR_NOT_FOUND, 339 ERROR_NO_MATCH, 340 ERROR_SET_NOT_FOUND, 341 ERROR_POINT_NOT_FOUND, 342 ERROR_NO_TRACKING_SERVICE, 343 ERROR_NO_VOLUME_ID, // = 1173 344 ERROR_UNABLE_TO_REMOVE_REPLACED = 1175, 345 ERROR_UNABLE_TO_MOVE_REPLACEMENT, 346 ERROR_UNABLE_TO_MOVE_REPLACEMENT_2, 347 ERROR_JOURNAL_DELETE_IN_PROGRESS, 348 ERROR_JOURNAL_NOT_ACTIVE, 349 ERROR_POTENTIAL_FILE_FOUND, 350 ERROR_JOURNAL_ENTRY_DELETED, // = 1181 351 ERROR_BAD_DEVICE = 1200, 352 ERROR_CONNECTION_UNAVAIL, 353 ERROR_DEVICE_ALREADY_REMEMBERED, 354 ERROR_NO_NET_OR_BAD_PATH, 355 ERROR_BAD_PROVIDER, 356 ERROR_CANNOT_OPEN_PROFILE, 357 ERROR_BAD_PROFILE, 358 ERROR_NOT_CONTAINER, 359 ERROR_EXTENDED_ERROR, 360 ERROR_INVALID_GROUPNAME, 361 ERROR_INVALID_COMPUTERNAME, 362 ERROR_INVALID_EVENTNAME, 363 ERROR_INVALID_DOMAINNAME, 364 ERROR_INVALID_SERVICENAME, 365 ERROR_INVALID_NETNAME, 366 ERROR_INVALID_SHARENAME, 367 ERROR_INVALID_PASSWORDNAME, 368 ERROR_INVALID_MESSAGENAME, 369 ERROR_INVALID_MESSAGEDEST, 370 ERROR_SESSION_CREDENTIAL_CONFLICT, 371 ERROR_REMOTE_SESSION_LIMIT_EXCEEDED, 372 ERROR_DUP_DOMAINNAME, 373 ERROR_NO_NETWORK, 374 ERROR_CANCELLED, 375 ERROR_USER_MAPPED_FILE, 376 ERROR_CONNECTION_REFUSED, 377 ERROR_GRACEFUL_DISCONNECT, 378 ERROR_ADDRESS_ALREADY_ASSOCIATED, 379 ERROR_ADDRESS_NOT_ASSOCIATED, 380 ERROR_CONNECTION_INVALID, 381 ERROR_CONNECTION_ACTIVE, 382 ERROR_NETWORK_UNREACHABLE, 383 ERROR_HOST_UNREACHABLE, 384 ERROR_PROTOCOL_UNREACHABLE, 385 ERROR_PORT_UNREACHABLE, 386 ERROR_REQUEST_ABORTED, 387 ERROR_CONNECTION_ABORTED, 388 ERROR_RETRY, 389 ERROR_CONNECTION_COUNT_LIMIT, 390 ERROR_LOGIN_TIME_RESTRICTION, 391 ERROR_LOGIN_WKSTA_RESTRICTION, 392 ERROR_INCORRECT_ADDRESS, 393 ERROR_ALREADY_REGISTERED, 394 ERROR_SERVICE_NOT_FOUND, 395 ERROR_NOT_AUTHENTICATED, 396 ERROR_NOT_LOGGED_ON, 397 ERROR_CONTINUE, 398 ERROR_ALREADY_INITIALIZED, 399 ERROR_NO_MORE_DEVICES, 400 ERROR_NO_SUCH_SITE, 401 ERROR_DOMAIN_CONTROLLER_EXISTS, 402 ERROR_ONLY_IF_CONNECTED, 403 ERROR_OVERRIDE_NOCHANGES, 404 ERROR_BAD_USER_PROFILE, 405 ERROR_NOT_SUPPORTED_ON_SBS, 406 ERROR_SERVER_SHUTDOWN_IN_PROGRESS, 407 ERROR_HOST_DOWN, 408 ERROR_NON_ACCOUNT_SID, 409 ERROR_NON_DOMAIN_SID, 410 ERROR_APPHELP_BLOCK, 411 ERROR_ACCESS_DISABLED_BY_POLICY, 412 ERROR_REG_NAT_CONSUMPTION, 413 ERROR_CSCSHARE_OFFLINE, 414 ERROR_PKINIT_FAILURE, 415 ERROR_SMARTCARD_SUBSYSTEM_FAILURE, 416 ERROR_DOWNGRADE_DETECTED, 417 SEC_E_SMARTCARD_CERT_REVOKED, 418 SEC_E_ISSUING_CA_UNTRUSTED, 419 SEC_E_REVOCATION_OFFLINE_C, 420 SEC_E_PKINIT_CLIENT_FAILUR, 421 SEC_E_SMARTCARD_CERT_EXPIRED, 422 ERROR_MACHINE_LOCKED, // = 1271 423 ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 1273, 424 ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED, 425 ERROR_DRIVER_BLOCKED, 426 ERROR_INVALID_IMPORT_OF_NON_DLL, 427 ERROR_ACCESS_DISABLED_WEBBLADE, 428 ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER, 429 ERROR_RECOVERY_FAILURE, 430 ERROR_ALREADY_FIBER, 431 ERROR_ALREADY_THREAD, 432 ERROR_STACK_BUFFER_OVERRUN, 433 ERROR_PARAMETER_QUOTA_EXCEEDED, 434 ERROR_DEBUGGER_INACTIVE, // = 1284 435 ERROR_NOT_ALL_ASSIGNED = 1300, 436 ERROR_SOME_NOT_MAPPED, 437 ERROR_NO_QUOTAS_FOR_ACCOUNT, 438 ERROR_LOCAL_USER_SESSION_KEY, 439 ERROR_NULL_LM_PASSWORD, 440 ERROR_UNKNOWN_REVISION, 441 ERROR_REVISION_MISMATCH, 442 ERROR_INVALID_OWNER, 443 ERROR_INVALID_PRIMARY_GROUP, 444 ERROR_NO_IMPERSONATION_TOKEN, 445 ERROR_CANT_DISABLE_MANDATORY, 446 ERROR_NO_LOGON_SERVERS, 447 ERROR_NO_SUCH_LOGON_SESSION, 448 ERROR_NO_SUCH_PRIVILEGE, 449 ERROR_PRIVILEGE_NOT_HELD, 450 ERROR_INVALID_ACCOUNT_NAME, 451 ERROR_USER_EXISTS, 452 ERROR_NO_SUCH_USER, 453 ERROR_GROUP_EXISTS, 454 ERROR_NO_SUCH_GROUP, 455 ERROR_MEMBER_IN_GROUP, 456 ERROR_MEMBER_NOT_IN_GROUP, 457 ERROR_LAST_ADMIN, 458 ERROR_WRONG_PASSWORD, 459 ERROR_ILL_FORMED_PASSWORD, 460 ERROR_PASSWORD_RESTRICTION, 461 ERROR_LOGON_FAILURE, 462 ERROR_ACCOUNT_RESTRICTION, 463 ERROR_INVALID_LOGON_HOURS, 464 ERROR_INVALID_WORKSTATION, 465 ERROR_PASSWORD_EXPIRED, 466 ERROR_ACCOUNT_DISABLED, 467 ERROR_NONE_MAPPED, 468 ERROR_TOO_MANY_LUIDS_REQUESTED, 469 ERROR_LUIDS_EXHAUSTED, 470 ERROR_INVALID_SUB_AUTHORITY, 471 ERROR_INVALID_ACL, 472 ERROR_INVALID_SID, 473 ERROR_INVALID_SECURITY_DESCR, // = 1338 474 ERROR_BAD_INHERITANCE_ACL = 1340, 475 ERROR_SERVER_DISABLED, 476 ERROR_SERVER_NOT_DISABLED, 477 ERROR_INVALID_ID_AUTHORITY, 478 ERROR_ALLOTTED_SPACE_EXCEEDED, 479 ERROR_INVALID_GROUP_ATTRIBUTES, 480 ERROR_BAD_IMPERSONATION_LEVEL, 481 ERROR_CANT_OPEN_ANONYMOUS, 482 ERROR_BAD_VALIDATION_CLASS, 483 ERROR_BAD_TOKEN_TYPE, 484 ERROR_NO_SECURITY_ON_OBJECT, 485 ERROR_CANT_ACCESS_DOMAIN_INFO, 486 ERROR_INVALID_SERVER_STATE, 487 ERROR_INVALID_DOMAIN_STATE, 488 ERROR_INVALID_DOMAIN_ROLE, 489 ERROR_NO_SUCH_DOMAIN, 490 ERROR_DOMAIN_EXISTS, 491 ERROR_DOMAIN_LIMIT_EXCEEDED, 492 ERROR_INTERNAL_DB_CORRUPTION, 493 ERROR_INTERNAL_ERROR, 494 ERROR_GENERIC_NOT_MAPPED, 495 ERROR_BAD_DESCRIPTOR_FORMAT, 496 ERROR_NOT_LOGON_PROCESS, 497 ERROR_LOGON_SESSION_EXISTS, 498 ERROR_NO_SUCH_PACKAGE, 499 ERROR_BAD_LOGON_SESSION_STATE, 500 ERROR_LOGON_SESSION_COLLISION, 501 ERROR_INVALID_LOGON_TYPE, 502 ERROR_CANNOT_IMPERSONATE, 503 ERROR_RXACT_INVALID_STATE, 504 ERROR_RXACT_COMMIT_FAILURE, 505 ERROR_SPECIAL_ACCOUNT, 506 ERROR_SPECIAL_GROUP, 507 ERROR_SPECIAL_USER, 508 ERROR_MEMBERS_PRIMARY_GROUP, 509 ERROR_TOKEN_ALREADY_IN_USE, 510 ERROR_NO_SUCH_ALIAS, 511 ERROR_MEMBER_NOT_IN_ALIAS, 512 ERROR_MEMBER_IN_ALIAS, 513 ERROR_ALIAS_EXISTS, 514 ERROR_LOGON_NOT_GRANTED, 515 ERROR_TOO_MANY_SECRETS, 516 ERROR_SECRET_TOO_LONG, 517 ERROR_INTERNAL_DB_ERROR, 518 ERROR_TOO_MANY_CONTEXT_IDS, 519 ERROR_LOGON_TYPE_NOT_GRANTED, 520 ERROR_NT_CROSS_ENCRYPTION_REQUIRED, 521 ERROR_NO_SUCH_MEMBER, 522 ERROR_INVALID_MEMBER, 523 ERROR_TOO_MANY_SIDS, 524 ERROR_LM_CROSS_ENCRYPTION_REQUIRED, 525 ERROR_NO_INHERITANCE, 526 ERROR_FILE_CORRUPT, 527 ERROR_DISK_CORRUPT, 528 ERROR_NO_USER_SESSION_KEY, 529 ERROR_LICENSE_QUOTA_EXCEEDED, 530 ERROR_WRONG_TARGET_NAME, 531 ERROR_MUTUAL_AUTH_FAILED, 532 ERROR_TIME_SKEW, 533 ERROR_CURRENT_DOMAIN_NOT_ALLOWED, 534 ERROR_INVALID_WINDOW_HANDLE, 535 ERROR_INVALID_MENU_HANDLE, 536 ERROR_INVALID_CURSOR_HANDLE, 537 ERROR_INVALID_ACCEL_HANDLE, 538 ERROR_INVALID_HOOK_HANDLE, 539 ERROR_INVALID_DWP_HANDLE, 540 ERROR_TLW_WITH_WSCHILD, 541 ERROR_CANNOT_FIND_WND_CLASS, 542 ERROR_WINDOW_OF_OTHER_THREAD, 543 ERROR_HOTKEY_ALREADY_REGISTERED, 544 ERROR_CLASS_ALREADY_EXISTS, 545 ERROR_CLASS_DOES_NOT_EXIST, 546 ERROR_CLASS_HAS_WINDOWS, 547 ERROR_INVALID_INDEX, 548 ERROR_INVALID_ICON_HANDLE, 549 ERROR_PRIVATE_DIALOG_INDEX, 550 ERROR_LISTBOX_ID_NOT_FOUND, 551 ERROR_NO_WILDCARD_CHARACTERS, 552 ERROR_CLIPBOARD_NOT_OPEN, 553 ERROR_HOTKEY_NOT_REGISTERED, 554 ERROR_WINDOW_NOT_DIALOG, 555 ERROR_CONTROL_ID_NOT_FOUND, 556 ERROR_INVALID_COMBOBOX_MESSAGE, 557 ERROR_WINDOW_NOT_COMBOBOX, 558 ERROR_INVALID_EDIT_HEIGHT, 559 ERROR_DC_NOT_FOUND, 560 ERROR_INVALID_HOOK_FILTER, 561 ERROR_INVALID_FILTER_PROC, 562 ERROR_HOOK_NEEDS_HMOD, 563 ERROR_GLOBAL_ONLY_HOOK, 564 ERROR_JOURNAL_HOOK_SET, 565 ERROR_HOOK_NOT_INSTALLED, 566 ERROR_INVALID_LB_MESSAGE, 567 ERROR_SETCOUNT_ON_BAD_LB, 568 ERROR_LB_WITHOUT_TABSTOPS, 569 ERROR_DESTROY_OBJECT_OF_OTHER_THREAD, 570 ERROR_CHILD_WINDOW_MENU, 571 ERROR_NO_SYSTEM_MENU, 572 ERROR_INVALID_MSGBOX_STYLE, 573 ERROR_INVALID_SPI_VALUE, 574 ERROR_SCREEN_ALREADY_LOCKED, 575 ERROR_HWNDS_HAVE_DIFF_PARENT, 576 ERROR_NOT_CHILD_WINDOW, 577 ERROR_INVALID_GW_COMMAND, 578 ERROR_INVALID_THREAD_ID, 579 ERROR_NON_MDICHILD_WINDOW, 580 ERROR_POPUP_ALREADY_ACTIVE, 581 ERROR_NO_SCROLLBARS, 582 ERROR_INVALID_SCROLLBAR_RANGE, 583 ERROR_INVALID_SHOWWIN_COMMAND, 584 ERROR_NO_SYSTEM_RESOURCES, 585 ERROR_NONPAGED_SYSTEM_RESOURCES, 586 ERROR_PAGED_SYSTEM_RESOURCES, 587 ERROR_WORKING_SET_QUOTA, 588 ERROR_PAGEFILE_QUOTA, 589 ERROR_COMMITMENT_LIMIT, 590 ERROR_MENU_ITEM_NOT_FOUND, 591 ERROR_INVALID_KEYBOARD_HANDLE, 592 ERROR_HOOK_TYPE_NOT_ALLOWED, 593 ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION, 594 ERROR_TIMEOUT, 595 ERROR_INVALID_MONITOR_HANDLE, // = 1461 596 ERROR_EVENTLOG_FILE_CORRUPT = 1500, 597 ERROR_EVENTLOG_CANT_START, 598 ERROR_LOG_FILE_FULL, 599 ERROR_EVENTLOG_FILE_CHANGED, // = 1503 600 ERROR_INSTALL_SERVICE_FAILURE = 1601, 601 ERROR_INSTALL_USEREXIT, 602 ERROR_INSTALL_FAILURE, 603 ERROR_INSTALL_SUSPEND, 604 ERROR_UNKNOWN_PRODUCT, 605 ERROR_UNKNOWN_FEATURE, 606 ERROR_UNKNOWN_COMPONENT, 607 ERROR_UNKNOWN_PROPERTY, 608 ERROR_INVALID_HANDLE_STATE, 609 ERROR_BAD_CONFIGURATION, 610 ERROR_INDEX_ABSENT, 611 ERROR_INSTALL_SOURCE_ABSENT, 612 ERROR_INSTALL_PACKAGE_VERSION, 613 ERROR_PRODUCT_UNINSTALLED, 614 ERROR_BAD_QUERY_SYNTAX, 615 ERROR_INVALID_FIELD, 616 ERROR_DEVICE_REMOVED, 617 ERROR_INSTALL_ALREADY_RUNNING, 618 ERROR_INSTALL_PACKAGE_OPEN_FAILED, 619 ERROR_INSTALL_PACKAGE_INVALID, 620 ERROR_INSTALL_UI_FAILURE, 621 ERROR_INSTALL_LOG_FAILURE, 622 ERROR_INSTALL_LANGUAGE_UNSUPPORTED, 623 ERROR_INSTALL_TRANSFORM_FAILURE, 624 ERROR_INSTALL_PACKAGE_REJECTED, 625 ERROR_FUNCTION_NOT_CALLED, 626 ERROR_FUNCTION_FAILED, 627 ERROR_INVALID_TABLE, 628 ERROR_DATATYPE_MISMATCH, 629 ERROR_UNSUPPORTED_TYPE, 630 ERROR_CREATE_FAILED, 631 ERROR_INSTALL_TEMP_UNWRITABLE, 632 ERROR_INSTALL_PLATFORM_UNSUPPORTED, 633 ERROR_INSTALL_NOTUSED, 634 ERROR_PATCH_PACKAGE_OPEN_FAILED, 635 ERROR_PATCH_PACKAGE_INVALID, 636 ERROR_PATCH_PACKAGE_UNSUPPORTED, 637 ERROR_PRODUCT_VERSION, 638 ERROR_INVALID_COMMAND_LINE, 639 ERROR_INSTALL_REMOTE_DISALLOWED, 640 ERROR_SUCCESS_REBOOT_INITIATED, 641 ERROR_PATCH_TARGET_NOT_FOUND, 642 ERROR_PATCH_PACKAGE_REJECTED, 643 ERROR_INSTALL_TRANSFORM_REJECTED, 644 ERROR_INSTALL_REMOTE_PROHIBITED, // = 1645 645 RPC_S_INVALID_STRING_BINDING = 1700, 646 RPC_S_WRONG_KIND_OF_BINDING, 647 RPC_S_INVALID_BINDING, 648 RPC_S_PROTSEQ_NOT_SUPPORTED, 649 RPC_S_INVALID_RPC_PROTSEQ, 650 RPC_S_INVALID_STRING_UUID, 651 RPC_S_INVALID_ENDPOINT_FORMAT, 652 RPC_S_INVALID_NET_ADDR, 653 RPC_S_NO_ENDPOINT_FOUND, 654 RPC_S_INVALID_TIMEOUT, 655 RPC_S_OBJECT_NOT_FOUND, 656 RPC_S_ALREADY_REGISTERED, 657 RPC_S_TYPE_ALREADY_REGISTERED, 658 RPC_S_ALREADY_LISTENING, 659 RPC_S_NO_PROTSEQS_REGISTERED, 660 RPC_S_NOT_LISTENING, 661 RPC_S_UNKNOWN_MGR_TYPE, 662 RPC_S_UNKNOWN_IF, 663 RPC_S_NO_BINDINGS, 664 RPC_S_NO_PROTSEQS, 665 RPC_S_CANT_CREATE_ENDPOINT, 666 RPC_S_OUT_OF_RESOURCES, 667 RPC_S_SERVER_UNAVAILABLE, 668 RPC_S_SERVER_TOO_BUSY, 669 RPC_S_INVALID_NETWORK_OPTIONS, 670 RPC_S_NO_CALL_ACTIVE, 671 RPC_S_CALL_FAILED, 672 RPC_S_CALL_FAILED_DNE, 673 RPC_S_PROTOCOL_ERROR, // = 1728 674 RPC_S_UNSUPPORTED_TRANS_SYN = 1730, 675 RPC_S_UNSUPPORTED_TYPE = 1732, 676 RPC_S_INVALID_TAG, 677 RPC_S_INVALID_BOUND, 678 RPC_S_NO_ENTRY_NAME, 679 RPC_S_INVALID_NAME_SYNTAX, 680 RPC_S_UNSUPPORTED_NAME_SYNTAX, // = 1737 681 RPC_S_UUID_NO_ADDRESS = 1739, 682 RPC_S_DUPLICATE_ENDPOINT, 683 RPC_S_UNKNOWN_AUTHN_TYPE, 684 RPC_S_MAX_CALLS_TOO_SMALL, 685 RPC_S_STRING_TOO_LONG, 686 RPC_S_PROTSEQ_NOT_FOUND, 687 RPC_S_PROCNUM_OUT_OF_RANGE, 688 RPC_S_BINDING_HAS_NO_AUTH, 689 RPC_S_UNKNOWN_AUTHN_SERVICE, 690 RPC_S_UNKNOWN_AUTHN_LEVEL, 691 RPC_S_INVALID_AUTH_IDENTITY, 692 RPC_S_UNKNOWN_AUTHZ_SERVICE, 693 EPT_S_INVALID_ENTRY, 694 EPT_S_CANT_PERFORM_OP, 695 EPT_S_NOT_REGISTERED, 696 RPC_S_NOTHING_TO_EXPORT, 697 RPC_S_INCOMPLETE_NAME, 698 RPC_S_INVALID_VERS_OPTION, 699 RPC_S_NO_MORE_MEMBERS, 700 RPC_S_NOT_ALL_OBJS_UNEXPORTED, 701 RPC_S_INTERFACE_NOT_FOUND, 702 RPC_S_ENTRY_ALREADY_EXISTS, 703 RPC_S_ENTRY_NOT_FOUND, 704 RPC_S_NAME_SERVICE_UNAVAILABLE, 705 RPC_S_INVALID_NAF_ID, 706 RPC_S_CANNOT_SUPPORT, 707 RPC_S_NO_CONTEXT_AVAILABLE, 708 RPC_S_INTERNAL_ERROR, 709 RPC_S_ZERO_DIVIDE, 710 RPC_S_ADDRESS_ERROR, 711 RPC_S_FP_DIV_ZERO, 712 RPC_S_FP_UNDERFLOW, 713 RPC_S_FP_OVERFLOW, 714 RPC_X_NO_MORE_ENTRIES, 715 RPC_X_SS_CHAR_TRANS_OPEN_FAIL, 716 RPC_X_SS_CHAR_TRANS_SHORT_FILE, 717 RPC_X_SS_IN_NULL_CONTEXT, // = 1775 718 RPC_X_SS_CONTEXT_DAMAGED = 1777, 719 RPC_X_SS_HANDLES_MISMATCH, 720 RPC_X_SS_CANNOT_GET_CALL_HANDLE, 721 RPC_X_NULL_REF_POINTER, 722 RPC_X_ENUM_VALUE_OUT_OF_RANGE, 723 RPC_X_BYTE_COUNT_TOO_SMALL, 724 RPC_X_BAD_STUB_DATA, 725 ERROR_INVALID_USER_BUFFER, 726 ERROR_UNRECOGNIZED_MEDIA, 727 ERROR_NO_TRUST_LSA_SECRET, 728 ERROR_NO_TRUST_SAM_ACCOUNT, 729 ERROR_TRUSTED_DOMAIN_FAILURE, 730 ERROR_TRUSTED_RELATIONSHIP_FAILURE, 731 ERROR_TRUST_FAILURE, 732 RPC_S_CALL_IN_PROGRESS, 733 ERROR_NETLOGON_NOT_STARTED, 734 ERROR_ACCOUNT_EXPIRED, 735 ERROR_REDIRECTOR_HAS_OPEN_HANDLES, 736 ERROR_PRINTER_DRIVER_ALREADY_INSTALLED, 737 ERROR_UNKNOWN_PORT, 738 ERROR_UNKNOWN_PRINTER_DRIVER, 739 ERROR_UNKNOWN_PRINTPROCESSOR, 740 ERROR_INVALID_SEPARATOR_FILE, 741 ERROR_INVALID_PRIORITY, 742 ERROR_INVALID_PRINTER_NAME, 743 ERROR_PRINTER_ALREADY_EXISTS, 744 ERROR_INVALID_PRINTER_COMMAND, 745 ERROR_INVALID_DATATYPE, 746 ERROR_INVALID_ENVIRONMENT, 747 RPC_S_NO_MORE_BINDINGS, 748 ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT, 749 ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT, 750 ERROR_NOLOGON_SERVER_TRUST_ACCOUNT, 751 ERROR_DOMAIN_TRUST_INCONSISTENT, 752 ERROR_SERVER_HAS_OPEN_HANDLES, 753 ERROR_RESOURCE_DATA_NOT_FOUND, 754 ERROR_RESOURCE_TYPE_NOT_FOUND, 755 ERROR_RESOURCE_NAME_NOT_FOUND, 756 ERROR_RESOURCE_LANG_NOT_FOUND, 757 ERROR_NOT_ENOUGH_QUOTA, 758 RPC_S_NO_INTERFACES, 759 RPC_S_CALL_CANCELLED, 760 RPC_S_BINDING_INCOMPLETE, 761 RPC_S_COMM_FAILURE, 762 RPC_S_UNSUPPORTED_AUTHN_LEVEL, 763 RPC_S_NO_PRINC_NAME, 764 RPC_S_NOT_RPC_ERROR, 765 RPC_S_UUID_LOCAL_ONLY, 766 RPC_S_SEC_PKG_ERROR, 767 RPC_S_NOT_CANCELLED, 768 RPC_X_INVALID_ES_ACTION, 769 RPC_X_WRONG_ES_VERSION, 770 RPC_X_WRONG_STUB_VERSION, 771 RPC_X_INVALID_PIPE_OBJECT, 772 RPC_X_WRONG_PIPE_ORDER, 773 RPC_X_WRONG_PIPE_VERSION, // = 1832 774 RPC_S_GROUP_MEMBER_NOT_FOUND = 1898, 775 EPT_S_CANT_CREATE, 776 RPC_S_INVALID_OBJECT, 777 ERROR_INVALID_TIME, 778 ERROR_INVALID_FORM_NAME, 779 ERROR_INVALID_FORM_SIZE, 780 ERROR_ALREADY_WAITING, 781 ERROR_PRINTER_DELETED, 782 ERROR_INVALID_PRINTER_STATE, 783 ERROR_PASSWORD_MUST_CHANGE, 784 ERROR_DOMAIN_CONTROLLER_NOT_FOUND, 785 ERROR_ACCOUNT_LOCKED_OUT, 786 OR_INVALID_OXID, 787 OR_INVALID_OID, 788 OR_INVALID_SET, 789 RPC_S_SEND_INCOMPLETE, 790 RPC_S_INVALID_ASYNC_HANDLE, 791 RPC_S_INVALID_ASYNC_CALL, 792 RPC_X_PIPE_CLOSED, 793 RPC_X_PIPE_DISCIPLINE_ERROR, 794 RPC_X_PIPE_EMPTY, 795 ERROR_NO_SITENAME, 796 ERROR_CANT_ACCESS_FILE, 797 ERROR_CANT_RESOLVE_FILENAME, 798 RPC_S_ENTRY_TYPE_MISMATCH, 799 RPC_S_NOT_ALL_OBJS_EXPORTED, 800 RPC_S_INTERFACE_NOT_EXPORTED, 801 RPC_S_PROFILE_NOT_ADDED, 802 RPC_S_PRF_ELT_NOT_ADDED, 803 RPC_S_PRF_ELT_NOT_REMOVED, 804 RPC_S_GRP_ELT_NOT_ADDED, 805 RPC_S_GRP_ELT_NOT_REMOVED, 806 ERROR_KM_DRIVER_BLOCKED, 807 ERROR_CONTEXT_EXPIRED, 808 ERROR_PER_USER_TRUST_QUOTA_EXCEEDED, 809 ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED, 810 ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED, // = 1934 811 ERROR_INVALID_PIXEL_FORMAT = 2000, 812 ERROR_BAD_DRIVER, 813 ERROR_INVALID_WINDOW_STYLE, 814 ERROR_METAFILE_NOT_SUPPORTED, 815 ERROR_TRANSFORM_NOT_SUPPORTED, 816 ERROR_CLIPPING_NOT_SUPPORTED, // = 2005 817 ERROR_INVALID_CMM = 2010, 818 ERROR_INVALID_PROFILE, 819 ERROR_TAG_NOT_FOUND, 820 ERROR_TAG_NOT_PRESENT, 821 ERROR_DUPLICATE_TAG, 822 ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE, 823 ERROR_PROFILE_NOT_FOUND, 824 ERROR_INVALID_COLORSPACE, 825 ERROR_ICM_NOT_ENABLED, 826 ERROR_DELETING_ICM_XFORM, 827 ERROR_INVALID_TRANSFORM, 828 ERROR_COLORSPACE_MISMATCH, 829 ERROR_INVALID_COLORINDEX, // = 2022 830 ERROR_CONNECTED_OTHER_PASSWORD = 2108, 831 ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT, // = 2109 832 ERROR_BAD_USERNAME = 2202, 833 ERROR_NOT_CONNECTED = 2250, 834 ERROR_OPEN_FILES = 2401, 835 ERROR_ACTIVE_CONNECTIONS, // = 2402 836 ERROR_DEVICE_IN_USE = 2404, 837 ERROR_UNKNOWN_PRINT_MONITOR = 3000, 838 ERROR_PRINTER_DRIVER_IN_USE, 839 ERROR_SPOOL_FILE_NOT_FOUND, 840 ERROR_SPL_NO_STARTDOC, 841 ERROR_SPL_NO_ADDJOB, 842 ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED, 843 ERROR_PRINT_MONITOR_ALREADY_INSTALLED, 844 ERROR_INVALID_PRINT_MONITOR, 845 ERROR_PRINT_MONITOR_IN_USE, 846 ERROR_PRINTER_HAS_JOBS_QUEUED, 847 ERROR_SUCCESS_REBOOT_REQUIRED, 848 ERROR_SUCCESS_RESTART_REQUIRED, 849 ERROR_PRINTER_NOT_FOUND, 850 ERROR_PRINTER_DRIVER_WARNED, 851 ERROR_PRINTER_DRIVER_BLOCKED, // = 3014 852 ERROR_WINS_INTERNAL = 4000, 853 ERROR_CAN_NOT_DEL_LOCAL_WINS, 854 ERROR_STATIC_INIT, 855 ERROR_INC_BACKUP, 856 ERROR_FULL_BACKUP, 857 ERROR_REC_NON_EXISTENT, 858 ERROR_RPL_NOT_ALLOWED, // = 4006 859 ERROR_DHCP_ADDRESS_CONFLICT = 4100, 860 ERROR_WMI_GUID_NOT_FOUND = 4200, 861 ERROR_WMI_INSTANCE_NOT_FOUND, 862 ERROR_WMI_ITEMID_NOT_FOUND, 863 ERROR_WMI_TRY_AGAIN, 864 ERROR_WMI_DP_NOT_FOUND, 865 ERROR_WMI_UNRESOLVED_INSTANCE_REF, 866 ERROR_WMI_ALREADY_ENABLED, 867 ERROR_WMI_GUID_DISCONNECTED, 868 ERROR_WMI_SERVER_UNAVAILABLE, 869 ERROR_WMI_DP_FAILED, 870 ERROR_WMI_INVALID_MOF, 871 ERROR_WMI_INVALID_REGINFO, 872 ERROR_WMI_ALREADY_DISABLED, 873 ERROR_WMI_READ_ONLY, 874 ERROR_WMI_SET_FAILURE, // = 4214 875 ERROR_INVALID_MEDIA = 4300, 876 ERROR_INVALID_LIBRARY, 877 ERROR_INVALID_MEDIA_POOL, 878 ERROR_DRIVE_MEDIA_MISMATCH, 879 ERROR_MEDIA_OFFLINE, 880 ERROR_LIBRARY_OFFLINE, 881 ERROR_EMPTY, 882 ERROR_NOT_EMPTY, 883 ERROR_MEDIA_UNAVAILABLE, 884 ERROR_RESOURCE_DISABLED, 885 ERROR_INVALID_CLEANER, 886 ERROR_UNABLE_TO_CLEAN, 887 ERROR_OBJECT_NOT_FOUND, 888 ERROR_DATABASE_FAILURE, 889 ERROR_DATABASE_FULL, 890 ERROR_MEDIA_INCOMPATIBLE, 891 ERROR_RESOURCE_NOT_PRESENT, 892 ERROR_INVALID_OPERATION, 893 ERROR_MEDIA_NOT_AVAILABLE, 894 ERROR_DEVICE_NOT_AVAILABLE, 895 ERROR_REQUEST_REFUSED, 896 ERROR_INVALID_DRIVE_OBJECT, 897 ERROR_LIBRARY_FULL, 898 ERROR_MEDIUM_NOT_ACCESSIBLE, 899 ERROR_UNABLE_TO_LOAD_MEDIUM, 900 ERROR_UNABLE_TO_INVENTORY_DRIVE, 901 ERROR_UNABLE_TO_INVENTORY_SLOT, 902 ERROR_UNABLE_TO_INVENTORY_TRANSPORT, 903 ERROR_TRANSPORT_FULL, 904 ERROR_CONTROLLING_IEPORT, 905 ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA, 906 ERROR_CLEANER_SLOT_SET, 907 ERROR_CLEANER_SLOT_NOT_SET, 908 ERROR_CLEANER_CARTRIDGE_SPENT, 909 ERROR_UNEXPECTED_OMID, 910 ERROR_CANT_DELETE_LAST_ITEM, 911 ERROR_MESSAGE_EXCEEDS_MAX_SIZE, 912 ERROR_VOLUME_CONTAINS_SYS_FILES, 913 ERROR_INDIGENOUS_TYPE, 914 ERROR_NO_SUPPORTING_DRIVES, 915 ERROR_CLEANER_CARTRIDGE_INSTALLED, // = 4340 916 ERROR_FILE_OFFLINE = 4350, 917 ERROR_REMOTE_STORAGE_NOT_ACTIVE, 918 ERROR_REMOTE_STORAGE_MEDIA_ERROR, // = 4352 919 ERROR_NOT_A_REPARSE_POINT = 4390, 920 ERROR_REPARSE_ATTRIBUTE_CONFLICT, 921 ERROR_INVALID_REPARSE_DATA, 922 ERROR_REPARSE_TAG_INVALID, 923 ERROR_REPARSE_TAG_MISMATCH, // = 4394 924 ERROR_VOLUME_NOT_SIS_ENABLED = 4500, 925 ERROR_DEPENDENT_RESOURCE_EXISTS = 5001, 926 ERROR_DEPENDENCY_NOT_FOUND, 927 ERROR_DEPENDENCY_ALREADY_EXISTS, 928 ERROR_RESOURCE_NOT_ONLINE, 929 ERROR_HOST_NODE_NOT_AVAILABLE, 930 ERROR_RESOURCE_NOT_AVAILABLE, 931 ERROR_RESOURCE_NOT_FOUND, 932 ERROR_SHUTDOWN_CLUSTER, 933 ERROR_CANT_EVICT_ACTIVE_NODE, 934 ERROR_OBJECT_ALREADY_EXISTS, 935 ERROR_OBJECT_IN_LIST, 936 ERROR_GROUP_NOT_AVAILABLE, 937 ERROR_GROUP_NOT_FOUND, 938 ERROR_GROUP_NOT_ONLINE, 939 ERROR_HOST_NODE_NOT_RESOURCE_OWNER, 940 ERROR_HOST_NODE_NOT_GROUP_OWNER, 941 ERROR_RESMON_CREATE_FAILED, 942 ERROR_RESMON_ONLINE_FAILED, 943 ERROR_RESOURCE_ONLINE, 944 ERROR_QUORUM_RESOURCE, 945 ERROR_NOT_QUORUM_CAPABLE, 946 ERROR_CLUSTER_SHUTTING_DOWN, 947 ERROR_INVALID_STATE, 948 ERROR_RESOURCE_PROPERTIES_STORED, 949 ERROR_NOT_QUORUM_CLASS, 950 ERROR_CORE_RESOURCE, 951 ERROR_QUORUM_RESOURCE_ONLINE_FAILED, 952 ERROR_QUORUMLOG_OPEN_FAILED, 953 ERROR_CLUSTERLOG_CORRUPT, 954 ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE, 955 ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE, 956 ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND, 957 ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE, 958 ERROR_QUORUM_OWNER_ALIVE, 959 ERROR_NETWORK_NOT_AVAILABLE, 960 ERROR_NODE_NOT_AVAILABLE, 961 ERROR_ALL_NODES_NOT_AVAILABLE, 962 ERROR_RESOURCE_FAILED, 963 ERROR_CLUSTER_INVALID_NODE, 964 ERROR_CLUSTER_NODE_EXISTS, 965 ERROR_CLUSTER_JOIN_IN_PROGRESS, 966 ERROR_CLUSTER_NODE_NOT_FOUND, 967 ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND, 968 ERROR_CLUSTER_NETWORK_EXISTS, 969 ERROR_CLUSTER_NETWORK_NOT_FOUND, 970 ERROR_CLUSTER_NETINTERFACE_EXISTS, 971 ERROR_CLUSTER_NETINTERFACE_NOT_FOUND, 972 ERROR_CLUSTER_INVALID_REQUEST, 973 ERROR_CLUSTER_INVALID_NETWORK_PROVIDER, 974 ERROR_CLUSTER_NODE_DOWN, 975 ERROR_CLUSTER_NODE_UNREACHABLE, 976 ERROR_CLUSTER_NODE_NOT_MEMBER, 977 ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS, 978 ERROR_CLUSTER_INVALID_NETWORK, // = 5054 979 ERROR_CLUSTER_NODE_UP = 5056, 980 ERROR_CLUSTER_IPADDR_IN_USE, 981 ERROR_CLUSTER_NODE_NOT_PAUSED, 982 ERROR_CLUSTER_NO_SECURITY_CONTEXT, 983 ERROR_CLUSTER_NETWORK_NOT_INTERNAL, 984 ERROR_CLUSTER_NODE_ALREADY_UP, 985 ERROR_CLUSTER_NODE_ALREADY_DOWN, 986 ERROR_CLUSTER_NETWORK_ALREADY_ONLINE, 987 ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE, 988 ERROR_CLUSTER_NODE_ALREADY_MEMBER, 989 ERROR_CLUSTER_LAST_INTERNAL_NETWORK, 990 ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS, 991 ERROR_INVALID_OPERATION_ON_QUORUM, 992 ERROR_DEPENDENCY_NOT_ALLOWED, 993 ERROR_CLUSTER_NODE_PAUSED, 994 ERROR_NODE_CANT_HOST_RESOURCE, 995 ERROR_CLUSTER_NODE_NOT_READY, 996 ERROR_CLUSTER_NODE_SHUTTING_DOWN, 997 ERROR_CLUSTER_JOIN_ABORTED, 998 ERROR_CLUSTER_INCOMPATIBLE_VERSIONS, 999 ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED, 1000 ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED, 1001 ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND, 1002 ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED, 1003 ERROR_CLUSTER_RESNAME_NOT_FOUND, 1004 ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED, 1005 ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST, 1006 ERROR_CLUSTER_DATABASE_SEQMISMATCH, 1007 ERROR_RESMON_INVALID_STATE, 1008 ERROR_CLUSTER_GUM_NOT_LOCKER, 1009 ERROR_QUORUM_DISK_NOT_FOUND, 1010 ERROR_DATABASE_BACKUP_CORRUPT, 1011 ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT, 1012 ERROR_RESOURCE_PROPERTY_UNCHANGEABLE, // = 5089 1013 ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE = 5890, 1014 ERROR_CLUSTER_QUORUMLOG_NOT_FOUND, 1015 ERROR_CLUSTER_MEMBERSHIP_HALT, 1016 ERROR_CLUSTER_INSTANCE_ID_MISMATCH, 1017 ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP, 1018 ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH, 1019 ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP, 1020 ERROR_CLUSTER_PARAMETER_MISMATCH, 1021 ERROR_NODE_CANNOT_BE_CLUSTERED, 1022 ERROR_CLUSTER_WRONG_OS_VERSION, 1023 ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME, 1024 ERROR_CLUSCFG_ALREADY_COMMITTED, 1025 ERROR_CLUSCFG_ROLLBACK_FAILED, 1026 ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT, 1027 ERROR_CLUSTER_OLD_VERSION, 1028 ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME, // = 5905 1029 ERROR_ENCRYPTION_FAILED = 6000, 1030 ERROR_DECRYPTION_FAILED, 1031 ERROR_FILE_ENCRYPTED, 1032 ERROR_NO_RECOVERY_POLICY, 1033 ERROR_NO_EFS, 1034 ERROR_WRONG_EFS, 1035 ERROR_NO_USER_KEYS, 1036 ERROR_FILE_NOT_ENCRYPTED, 1037 ERROR_NOT_EXPORT_FORMAT, 1038 ERROR_FILE_READ_ONLY, 1039 ERROR_DIR_EFS_DISALLOWED, 1040 ERROR_EFS_SERVER_NOT_TRUSTED, 1041 ERROR_BAD_RECOVERY_POLICY, 1042 ERROR_EFS_ALG_BLOB_TOO_BIG, 1043 ERROR_VOLUME_NOT_SUPPORT_EFS, 1044 ERROR_EFS_DISABLED, 1045 ERROR_EFS_VERSION_NOT_SUPPORT, // = 6016 1046 ERROR_NO_BROWSER_SERVERS_FOUND = 6118, 1047 SCHED_E_SERVICE_NOT_LOCALSYSTEM = 6200, 1048 1049 ERROR_CTX_WINSTATION_NAME_INVALID = 7001, 1050 ERROR_CTX_INVALID_PD, 1051 ERROR_CTX_PD_NOT_FOUND, 1052 ERROR_CTX_WD_NOT_FOUND, 1053 ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY, 1054 ERROR_CTX_SERVICE_NAME_COLLISION, 1055 ERROR_CTX_CLOSE_PENDING, 1056 ERROR_CTX_NO_OUTBUF, 1057 ERROR_CTX_MODEM_INF_NOT_FOUND, 1058 ERROR_CTX_INVALID_MODEMNAME, 1059 ERROR_CTX_MODEM_RESPONSE_ERROR, 1060 ERROR_CTX_MODEM_RESPONSE_TIMEOUT, 1061 ERROR_CTX_MODEM_RESPONSE_NO_CARRIER, 1062 ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE, 1063 ERROR_CTX_MODEM_RESPONSE_BUSY, 1064 ERROR_CTX_MODEM_RESPONSE_VOICE, 1065 ERROR_CTX_TD_ERROR, // = 7017 1066 ERROR_CTX_WINSTATION_NOT_FOUND = 7022, 1067 ERROR_CTX_WINSTATION_ALREADY_EXISTS, 1068 ERROR_CTX_WINSTATION_BUSY, 1069 ERROR_CTX_BAD_VIDEO_MODE, // = 7025 1070 ERROR_CTX_GRAPHICS_INVALID = 7035, 1071 ERROR_CTX_LOGON_DISABLED = 7037, 1072 ERROR_CTX_NOT_CONSOLE, // = 7038 1073 ERROR_CTX_CLIENT_QUERY_TIMEOUT = 7040, 1074 ERROR_CTX_CONSOLE_DISCONNECT, 1075 ERROR_CTX_CONSOLE_CONNECT, // = 7042 1076 ERROR_CTX_SHADOW_DENIED = 7044, 1077 ERROR_CTX_WINSTATION_ACCESS_DENIED, // = 7045 1078 ERROR_CTX_INVALID_WD = 7049, 1079 ERROR_CTX_SHADOW_INVALID, 1080 ERROR_CTX_SHADOW_DISABLED, 1081 ERROR_CTX_CLIENT_LICENSE_IN_USE, 1082 ERROR_CTX_CLIENT_LICENSE_NOT_SET, 1083 ERROR_CTX_LICENSE_NOT_AVAILABLE, 1084 ERROR_CTX_LICENSE_CLIENT_INVALID, 1085 ERROR_CTX_LICENSE_EXPIRED, 1086 ERROR_CTX_SHADOW_NOT_RUNNING, 1087 ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE, 1088 ERROR_ACTIVATION_COUNT_EXCEEDED, // = 7059 1089 1090 FRS_ERR_INVALID_API_SEQUENCE = 8001, 1091 FRS_ERR_STARTING_SERVICE, 1092 FRS_ERR_STOPPING_SERVICE, 1093 FRS_ERR_INTERNAL_API, 1094 FRS_ERR_INTERNAL, 1095 FRS_ERR_SERVICE_COMM, 1096 FRS_ERR_INSUFFICIENT_PRIV, 1097 FRS_ERR_AUTHENTICATION, 1098 FRS_ERR_PARENT_INSUFFICIENT_PRIV, 1099 FRS_ERR_PARENT_AUTHENTICATION, 1100 FRS_ERR_CHILD_TO_PARENT_COMM, 1101 FRS_ERR_PARENT_TO_CHILD_COMM, 1102 FRS_ERR_SYSVOL_POPULATE, 1103 FRS_ERR_SYSVOL_POPULATE_TIMEOUT, 1104 FRS_ERR_SYSVOL_IS_BUSY, 1105 FRS_ERR_SYSVOL_DEMOTE, 1106 FRS_ERR_INVALID_SERVICE_PARAMETER, // = 8017 1107 ERROR_DS_NOT_INSTALLED = 8200, 1108 ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY, 1109 ERROR_DS_NO_ATTRIBUTE_OR_VALUE, 1110 ERROR_DS_INVALID_ATTRIBUTE_SYNTAX, 1111 ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED, 1112 ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS, 1113 ERROR_DS_BUSY, 1114 ERROR_DS_UNAVAILABLE, 1115 ERROR_DS_NO_RIDS_ALLOCATED, 1116 ERROR_DS_NO_MORE_RIDS, 1117 ERROR_DS_INCORRECT_ROLE_OWNER, 1118 ERROR_DS_RIDMGR_INIT_ERROR, 1119 ERROR_DS_OBJ_CLASS_VIOLATION, 1120 ERROR_DS_CANT_ON_NON_LEAF, 1121 ERROR_DS_CANT_ON_RDN, 1122 ERROR_DS_CANT_MOD_OBJ_CLASS, 1123 ERROR_DS_CROSS_DOM_MOVE_ERROR, 1124 ERROR_DS_GC_NOT_AVAILABLE, 1125 ERROR_SHARED_POLICY, 1126 ERROR_POLICY_OBJECT_NOT_FOUND, 1127 ERROR_POLICY_ONLY_IN_DS, 1128 ERROR_PROMOTION_ACTIVE, 1129 ERROR_NO_PROMOTION_ACTIVE, // = 8222 1130 ERROR_DS_OPERATIONS_ERROR = 8224, 1131 ERROR_DS_PROTOCOL_ERROR, 1132 ERROR_DS_TIMELIMIT_EXCEEDED, 1133 ERROR_DS_SIZELIMIT_EXCEEDED, 1134 ERROR_DS_ADMIN_LIMIT_EXCEEDED, 1135 ERROR_DS_COMPARE_FALSE, 1136 ERROR_DS_COMPARE_TRUE, 1137 ERROR_DS_AUTH_METHOD_NOT_SUPPORTED, 1138 ERROR_DS_STRONG_AUTH_REQUIRED, 1139 ERROR_DS_INAPPROPRIATE_AUTH, 1140 ERROR_DS_AUTH_UNKNOWN, 1141 ERROR_DS_REFERRAL, 1142 ERROR_DS_UNAVAILABLE_CRIT_EXTENSION, 1143 ERROR_DS_CONFIDENTIALITY_REQUIRED, 1144 ERROR_DS_INAPPROPRIATE_MATCHING, 1145 ERROR_DS_CONSTRAINT_VIOLATION, 1146 ERROR_DS_NO_SUCH_OBJECT, 1147 ERROR_DS_ALIAS_PROBLEM, 1148 ERROR_DS_INVALID_DN_SYNTAX, 1149 ERROR_DS_IS_LEAF, 1150 ERROR_DS_ALIAS_DEREF_PROBLEM, 1151 ERROR_DS_UNWILLING_TO_PERFORM, 1152 ERROR_DS_LOOP_DETECT, 1153 ERROR_DS_NAMING_VIOLATION, 1154 ERROR_DS_OBJECT_RESULTS_TOO_LARGE, 1155 ERROR_DS_AFFECTS_MULTIPLE_DSAS, 1156 ERROR_DS_SERVER_DOWN, 1157 ERROR_DS_LOCAL_ERROR, 1158 ERROR_DS_ENCODING_ERROR, 1159 ERROR_DS_DECODING_ERROR, 1160 ERROR_DS_FILTER_UNKNOWN, 1161 ERROR_DS_PARAM_ERROR, 1162 ERROR_DS_NOT_SUPPORTED, 1163 ERROR_DS_NO_RESULTS_RETURNED, 1164 ERROR_DS_CONTROL_NOT_FOUND, 1165 ERROR_DS_CLIENT_LOOP, 1166 ERROR_DS_REFERRAL_LIMIT_EXCEEDED, 1167 ERROR_DS_SORT_CONTROL_MISSING, 1168 ERROR_DS_OFFSET_RANGE_ERROR, // = 8262 1169 ERROR_DS_ROOT_MUST_BE_NC = 8301, 1170 ERROR_DS_ADD_REPLICA_INHIBITED, 1171 ERROR_DS_ATT_NOT_DEF_IN_SCHEMA, 1172 ERROR_DS_MAX_OBJ_SIZE_EXCEEDED, 1173 ERROR_DS_OBJ_STRING_NAME_EXISTS, 1174 ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA, 1175 ERROR_DS_RDN_DOESNT_MATCH_SCHEMA, 1176 ERROR_DS_NO_REQUESTED_ATTS_FOUND, 1177 ERROR_DS_USER_BUFFER_TO_SMALL, 1178 ERROR_DS_ATT_IS_NOT_ON_OBJ, 1179 ERROR_DS_ILLEGAL_MOD_OPERATION, 1180 ERROR_DS_OBJ_TOO_LARGE, 1181 ERROR_DS_BAD_INSTANCE_TYPE, 1182 ERROR_DS_MASTERDSA_REQUIRED, 1183 ERROR_DS_OBJECT_CLASS_REQUIRED, 1184 ERROR_DS_MISSING_REQUIRED_ATT, 1185 ERROR_DS_ATT_NOT_DEF_FOR_CLASS, 1186 ERROR_DS_ATT_ALREADY_EXISTS, // = 8318 1187 ERROR_DS_CANT_ADD_ATT_VALUES = 8320, 1188 ERROR_DS_SINGLE_VALUE_CONSTRAINT, 1189 ERROR_DS_RANGE_CONSTRAINT, 1190 ERROR_DS_ATT_VAL_ALREADY_EXISTS, 1191 ERROR_DS_CANT_REM_MISSING_ATT, 1192 ERROR_DS_CANT_REM_MISSING_ATT_VAL, 1193 ERROR_DS_ROOT_CANT_BE_SUBREF, 1194 ERROR_DS_NO_CHAINING, 1195 ERROR_DS_NO_CHAINED_EVAL, 1196 ERROR_DS_NO_PARENT_OBJECT, 1197 ERROR_DS_PARENT_IS_AN_ALIAS, 1198 ERROR_DS_CANT_MIX_MASTER_AND_REPS, 1199 ERROR_DS_CHILDREN_EXIST, 1200 ERROR_DS_OBJ_NOT_FOUND, 1201 ERROR_DS_ALIASED_OBJ_MISSING, 1202 ERROR_DS_BAD_NAME_SYNTAX, 1203 ERROR_DS_ALIAS_POINTS_TO_ALIAS, 1204 ERROR_DS_CANT_DEREF_ALIAS, 1205 ERROR_DS_OUT_OF_SCOPE, 1206 ERROR_DS_OBJECT_BEING_REMOVED, 1207 ERROR_DS_CANT_DELETE_DSA_OBJ, 1208 ERROR_DS_GENERIC_ERROR, 1209 ERROR_DS_DSA_MUST_BE_INT_MASTER, 1210 ERROR_DS_CLASS_NOT_DSA, 1211 ERROR_DS_INSUFF_ACCESS_RIGHTS, 1212 ERROR_DS_ILLEGAL_SUPERIOR, 1213 ERROR_DS_ATTRIBUTE_OWNED_BY_SAM, 1214 ERROR_DS_NAME_TOO_MANY_PARTS, 1215 ERROR_DS_NAME_TOO_LONG, 1216 ERROR_DS_NAME_VALUE_TOO_LONG, 1217 ERROR_DS_NAME_UNPARSEABLE, 1218 ERROR_DS_NAME_TYPE_UNKNOWN, 1219 ERROR_DS_NOT_AN_OBJECT, 1220 ERROR_DS_SEC_DESC_TOO_SHORT, 1221 ERROR_DS_SEC_DESC_INVALID, 1222 ERROR_DS_NO_DELETED_NAME, 1223 ERROR_DS_SUBREF_MUST_HAVE_PARENT, 1224 ERROR_DS_NCNAME_MUST_BE_NC, 1225 ERROR_DS_CANT_ADD_SYSTEM_ONLY, 1226 ERROR_DS_CLASS_MUST_BE_CONCRETE, 1227 ERROR_DS_INVALID_DMD, 1228 ERROR_DS_OBJ_GUID_EXISTS, 1229 ERROR_DS_NOT_ON_BACKLINK, 1230 ERROR_DS_NO_CROSSREF_FOR_NC, 1231 ERROR_DS_SHUTTING_DOWN, 1232 ERROR_DS_UNKNOWN_OPERATION, 1233 ERROR_DS_INVALID_ROLE_OWNER, 1234 ERROR_DS_COULDNT_CONTACT_FSMO, 1235 ERROR_DS_CROSS_NC_DN_RENAME, 1236 ERROR_DS_CANT_MOD_SYSTEM_ONLY, 1237 ERROR_DS_REPLICATOR_ONLY, 1238 ERROR_DS_OBJ_CLASS_NOT_DEFINED, 1239 ERROR_DS_OBJ_CLASS_NOT_SUBCLASS, 1240 ERROR_DS_NAME_REFERENCE_INVALID, 1241 ERROR_DS_CROSS_REF_EXISTS, 1242 ERROR_DS_CANT_DEL_MASTER_CROSSREF, 1243 ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD, 1244 ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX, 1245 ERROR_DS_DUP_RDN, 1246 ERROR_DS_DUP_OID, 1247 ERROR_DS_DUP_MAPI_ID, 1248 ERROR_DS_DUP_SCHEMA_ID_GUID, 1249 ERROR_DS_DUP_LDAP_DISPLAY_NAME, 1250 ERROR_DS_SEMANTIC_ATT_TEST, 1251 ERROR_DS_SYNTAX_MISMATCH, 1252 ERROR_DS_EXISTS_IN_MUST_HAVE, 1253 ERROR_DS_EXISTS_IN_MAY_HAVE, 1254 ERROR_DS_NONEXISTENT_MAY_HAVE, 1255 ERROR_DS_NONEXISTENT_MUST_HAVE, 1256 ERROR_DS_AUX_CLS_TEST_FAIL, 1257 ERROR_DS_NONEXISTENT_POSS_SUP, 1258 ERROR_DS_SUB_CLS_TEST_FAIL, 1259 ERROR_DS_BAD_RDN_ATT_ID_SYNTAX, 1260 ERROR_DS_EXISTS_IN_AUX_CLS, 1261 ERROR_DS_EXISTS_IN_SUB_CLS, 1262 ERROR_DS_EXISTS_IN_POSS_SUP, 1263 ERROR_DS_RECALCSCHEMA_FAILED, 1264 ERROR_DS_TREE_DELETE_NOT_FINISHED, 1265 ERROR_DS_CANT_DELETE, 1266 ERROR_DS_ATT_SCHEMA_REQ_ID, 1267 ERROR_DS_BAD_ATT_SCHEMA_SYNTAX, 1268 ERROR_DS_CANT_CACHE_ATT, 1269 ERROR_DS_CANT_CACHE_CLASS, 1270 ERROR_DS_CANT_REMOVE_ATT_CACHE, 1271 ERROR_DS_CANT_REMOVE_CLASS_CACHE, 1272 ERROR_DS_CANT_RETRIEVE_DN, 1273 ERROR_DS_MISSING_SUPREF, 1274 ERROR_DS_CANT_RETRIEVE_INSTANCE, 1275 ERROR_DS_CODE_INCONSISTENCY, 1276 ERROR_DS_DATABASE_ERROR, 1277 ERROR_DS_GOVERNSID_MISSING, 1278 ERROR_DS_MISSING_EXPECTED_ATT, 1279 ERROR_DS_NCNAME_MISSING_CR_REF, 1280 ERROR_DS_SECURITY_CHECKING_ERROR, 1281 ERROR_DS_SCHEMA_NOT_LOADED, 1282 ERROR_DS_SCHEMA_ALLOC_FAILED, 1283 ERROR_DS_ATT_SCHEMA_REQ_SYNTAX, 1284 ERROR_DS_GCVERIFY_ERROR, 1285 ERROR_DS_DRA_SCHEMA_MISMATCH, 1286 ERROR_DS_CANT_FIND_DSA_OBJ, 1287 ERROR_DS_CANT_FIND_EXPECTED_NC, 1288 ERROR_DS_CANT_FIND_NC_IN_CACHE, 1289 ERROR_DS_CANT_RETRIEVE_CHILD, 1290 ERROR_DS_SECURITY_ILLEGAL_MODIFY, 1291 ERROR_DS_CANT_REPLACE_HIDDEN_REC, 1292 ERROR_DS_BAD_HIERARCHY_FILE, 1293 ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED, 1294 ERROR_DS_CONFIG_PARAM_MISSING, 1295 ERROR_DS_COUNTING_AB_INDICES_FAILED, 1296 ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED, 1297 ERROR_DS_INTERNAL_FAILURE, 1298 ERROR_DS_UNKNOWN_ERROR, 1299 ERROR_DS_ROOT_REQUIRES_CLASS_TOP, 1300 ERROR_DS_REFUSING_FSMO_ROLES, 1301 ERROR_DS_MISSING_FSMO_SETTINGS, 1302 ERROR_DS_UNABLE_TO_SURRENDER_ROLES, 1303 ERROR_DS_DRA_GENERIC, 1304 ERROR_DS_DRA_INVALID_PARAMETER, 1305 ERROR_DS_DRA_BUSY, 1306 ERROR_DS_DRA_BAD_DN, 1307 ERROR_DS_DRA_BAD_NC, 1308 ERROR_DS_DRA_DN_EXISTS, 1309 ERROR_DS_DRA_INTERNAL_ERROR, 1310 ERROR_DS_DRA_INCONSISTENT_DIT, 1311 ERROR_DS_DRA_CONNECTION_FAILED, 1312 ERROR_DS_DRA_BAD_INSTANCE_TYPE, 1313 ERROR_DS_DRA_OUT_OF_MEM, 1314 ERROR_DS_DRA_MAIL_PROBLEM, 1315 ERROR_DS_DRA_REF_ALREADY_EXISTS, 1316 ERROR_DS_DRA_REF_NOT_FOUND, 1317 ERROR_DS_DRA_OBJ_IS_REP_SOURCE, 1318 ERROR_DS_DRA_DB_ERROR, 1319 ERROR_DS_DRA_NO_REPLICA, 1320 ERROR_DS_DRA_ACCESS_DENIED, 1321 ERROR_DS_DRA_NOT_SUPPORTED, 1322 ERROR_DS_DRA_RPC_CANCELLED, 1323 ERROR_DS_DRA_SOURCE_DISABLED, 1324 ERROR_DS_DRA_SINK_DISABLED, 1325 ERROR_DS_DRA_NAME_COLLISION, 1326 ERROR_DS_DRA_SOURCE_REINSTALLED, 1327 ERROR_DS_DRA_MISSING_PARENT, 1328 ERROR_DS_DRA_PREEMPTED, 1329 ERROR_DS_DRA_ABANDON_SYNC, 1330 ERROR_DS_DRA_SHUTDOWN, 1331 ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET, 1332 ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA, 1333 ERROR_DS_DRA_EXTN_CONNECTION_FAILED, 1334 ERROR_DS_INSTALL_SCHEMA_MISMATCH, 1335 ERROR_DS_DUP_LINK_ID, 1336 ERROR_DS_NAME_ERROR_RESOLVING, 1337 ERROR_DS_NAME_ERROR_NOT_FOUND, 1338 ERROR_DS_NAME_ERROR_NOT_UNIQUE, 1339 ERROR_DS_NAME_ERROR_NO_MAPPING, 1340 ERROR_DS_NAME_ERROR_DOMAIN_ONLY, 1341 ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING, 1342 ERROR_DS_CONSTRUCTED_ATT_MOD, 1343 ERROR_DS_WRONG_OM_OBJ_CLASS, 1344 ERROR_DS_DRA_REPL_PENDING, 1345 ERROR_DS_DS_REQUIRED, 1346 ERROR_DS_INVALID_LDAP_DISPLAY_NAME, 1347 ERROR_DS_NON_BASE_SEARCH, 1348 ERROR_DS_CANT_RETRIEVE_ATTS, 1349 ERROR_DS_BACKLINK_WITHOUT_LINK, 1350 ERROR_DS_EPOCH_MISMATCH, 1351 ERROR_DS_SRC_NAME_MISMATCH, 1352 ERROR_DS_SRC_AND_DST_NC_IDENTICAL, 1353 ERROR_DS_DST_NC_MISMATCH, 1354 ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC, 1355 ERROR_DS_SRC_GUID_MISMATCH, 1356 ERROR_DS_CANT_MOVE_DELETED_OBJECT, 1357 ERROR_DS_PDC_OPERATION_IN_PROGRESS, 1358 ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD, 1359 ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION, 1360 ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS, 1361 ERROR_DS_NC_MUST_HAVE_NC_PARENT, 1362 ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE, 1363 ERROR_DS_DST_DOMAIN_NOT_NATIVE, 1364 ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER, 1365 ERROR_DS_CANT_MOVE_ACCOUNT_GROUP, 1366 ERROR_DS_CANT_MOVE_RESOURCE_GROUP, 1367 ERROR_DS_INVALID_SEARCH_FLAG, 1368 ERROR_DS_NO_TREE_DELETE_ABOVE_NC, 1369 ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE, 1370 ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE, 1371 ERROR_DS_SAM_INIT_FAILURE, 1372 ERROR_DS_SENSITIVE_GROUP_VIOLATION, 1373 ERROR_DS_CANT_MOD_PRIMARYGROUPID, 1374 ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD, 1375 ERROR_DS_NONSAFE_SCHEMA_CHANGE, 1376 ERROR_DS_SCHEMA_UPDATE_DISALLOWED, 1377 ERROR_DS_CANT_CREATE_UNDER_SCHEMA, 1378 ERROR_DS_INSTALL_NO_SRC_SCH_VERSION, 1379 ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE, 1380 ERROR_DS_INVALID_GROUP_TYPE, 1381 ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, 1382 ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN, 1383 ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER, 1384 ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER, 1385 ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER, 1386 ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER, 1387 ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, 1388 ERROR_DS_HAVE_PRIMARY_MEMBERS, 1389 ERROR_DS_STRING_SD_CONVERSION_FAILED, 1390 ERROR_DS_NAMING_MASTER_GC, 1391 ERROR_DS_LOOKUP_FAILURE, 1392 ERROR_DS_COULDNT_UPDATE_SPNS, 1393 ERROR_DS_CANT_RETRIEVE_SD, 1394 ERROR_DS_KEY_NOT_UNIQUE, 1395 ERROR_DS_WRONG_LINKED_ATT_SYNTAX, 1396 ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD, 1397 ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY, 1398 ERROR_DS_CANT_START, 1399 ERROR_DS_INIT_FAILURE, 1400 ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION, 1401 ERROR_DS_SOURCE_DOMAIN_IN_FOREST, 1402 ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST, 1403 ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED, 1404 ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN, 1405 ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER, 1406 ERROR_DS_SRC_SID_EXISTS_IN_FOREST, 1407 ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH, 1408 ERROR_SAM_INIT_FAILURE, 1409 ERROR_DS_DRA_SCHEMA_INFO_SHIP, 1410 ERROR_DS_DRA_SCHEMA_CONFLICT, 1411 ERROR_DS_DRA_EARLIER_SCHEMA_CONLICT, 1412 ERROR_DS_DRA_OBJ_NC_MISMATCH, 1413 ERROR_DS_NC_STILL_HAS_DSAS, 1414 ERROR_DS_GC_REQUIRED, 1415 ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY, 1416 ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS, 1417 ERROR_DS_CANT_ADD_TO_GC, 1418 ERROR_DS_NO_CHECKPOINT_WITH_PDC, 1419 ERROR_DS_SOURCE_AUDITING_NOT_ENABLED, 1420 ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC, 1421 ERROR_DS_INVALID_NAME_FOR_SPN, 1422 ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS, 1423 ERROR_DS_UNICODEPWD_NOT_IN_QUOTES, 1424 ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED, 1425 ERROR_DS_MUST_BE_RUN_ON_DST_DC, 1426 ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER, 1427 ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ, 1428 ERROR_DS_INIT_FAILURE_CONSOLE, 1429 ERROR_DS_SAM_INIT_FAILURE_CONSOLE, 1430 ERROR_DS_FOREST_VERSION_TOO_HIGH, 1431 ERROR_DS_DOMAIN_VERSION_TOO_HIGH, 1432 ERROR_DS_FOREST_VERSION_TOO_LOW, 1433 ERROR_DS_DOMAIN_VERSION_TOO_LOW, 1434 ERROR_DS_INCOMPATIBLE_VERSION, 1435 ERROR_DS_LOW_DSA_VERSION, 1436 ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN, 1437 ERROR_DS_NOT_SUPPORTED_SORT_ORDER, 1438 ERROR_DS_NAME_NOT_UNIQUE, 1439 ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4, 1440 ERROR_DS_OUT_OF_VERSION_STORE, 1441 ERROR_DS_INCOMPATIBLE_CONTROLS_USED, 1442 ERROR_DS_NO_REF_DOMAIN, 1443 ERROR_DS_RESERVED_LINK_ID, 1444 ERROR_DS_LINK_ID_NOT_AVAILABLE, 1445 ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER, 1446 ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE, 1447 ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC, 1448 ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG, 1449 ERROR_DS_MODIFYDN_WRONG_GRANDPARENT, 1450 ERROR_DS_NAME_ERROR_TRUST_REFERRAL, 1451 ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER, 1452 ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD, 1453 ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2, 1454 ERROR_DS_THREAD_LIMIT_EXCEEDED, 1455 ERROR_DS_NOT_CLOSEST, 1456 ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF, 1457 ERROR_DS_SINGLE_USER_MODE_FAILED, 1458 ERROR_DS_NTDSCRIPT_SYNTAX_ERROR, 1459 ERROR_DS_NTDSCRIPT_PROCESS_ERROR, 1460 ERROR_DS_DIFFERENT_REPL_EPOCHS, 1461 ERROR_DS_DRS_EXTENSIONS_CHANGED, 1462 ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR, 1463 ERROR_DS_NO_MSDS_INTID, 1464 ERROR_DS_DUP_MSDS_INTID, 1465 ERROR_DS_EXISTS_IN_RDNATTID, 1466 ERROR_DS_AUTHORIZATION_FAILED, 1467 ERROR_DS_INVALID_SCRIPT, 1468 ERROR_DS_REMOTE_CROSSREF_OP_FAILED, 1469 ERROR_DS_CROSS_REF_BUSY, 1470 ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN, 1471 ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC, 1472 ERROR_DS_DUPLICATE_ID_FOUND, 1473 ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT, 1474 ERROR_DS_GROUP_CONVERSION_ERROR, 1475 ERROR_DS_CANT_MOVE_APP_BASIC_GROUP, 1476 ERROR_DS_CANT_MOVE_APP_QUERY_GROUP, 1477 ERROR_DS_ROLE_NOT_VERIFIED, 1478 ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL, 1479 ERROR_DS_DOMAIN_RENAME_IN_PROGRESS, 1480 ERROR_DS_EXISTING_AD_CHILD_NC, // = 8613 1481 DNS_ERROR_RCODE_FORMAT_ERROR = 9001, 1482 DNS_ERROR_RCODE_SERVER_FAILURE, 1483 DNS_ERROR_RCODE_NAME_ERROR, 1484 DNS_ERROR_RCODE_NOT_IMPLEMENTED, 1485 DNS_ERROR_RCODE_REFUSED, 1486 DNS_ERROR_RCODE_YXDOMAIN, 1487 DNS_ERROR_RCODE_YXRRSET, 1488 DNS_ERROR_RCODE_NXRRSET, 1489 DNS_ERROR_RCODE_NOTAUTH, 1490 DNS_ERROR_RCODE_NOTZONE, // = 9010 1491 DNS_ERROR_RCODE_BADSIG = 9016, 1492 DNS_ERROR_RCODE_BADKEY, 1493 DNS_ERROR_RCODE_BADTIME, // = 9018 1494 DNS_INFO_NO_RECORDS = 9501, 1495 DNS_ERROR_BAD_PACKET, 1496 DNS_ERROR_NO_PACKET, 1497 DNS_ERROR_RCODE, 1498 DNS_ERROR_UNSECURE_PACKET, // = 9505 1499 DNS_ERROR_INVALID_TYPE = 9551, 1500 DNS_ERROR_INVALID_IP_ADDRESS, 1501 DNS_ERROR_INVALID_PROPERTY, 1502 DNS_ERROR_TRY_AGAIN_LATER, 1503 DNS_ERROR_NOT_UNIQUE, 1504 DNS_ERROR_NON_RFC_NAME, 1505 DNS_STATUS_FQDN, 1506 DNS_STATUS_DOTTED_NAME, 1507 DNS_STATUS_SINGLE_PART_NAME, 1508 DNS_ERROR_INVALID_NAME_CHAR, 1509 DNS_ERROR_NUMERIC_NAME, 1510 DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER, 1511 DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION, 1512 DNS_ERROR_CANNOT_FIND_ROOT_HINTS, 1513 DNS_ERROR_INCONSISTENT_ROOT_HINTS, // = 9565 1514 DNS_ERROR_ZONE_DOES_NOT_EXIST = 9601, 1515 DNS_ERROR_NO_ZONE_INFO, 1516 DNS_ERROR_INVALID_ZONE_OPERATION, 1517 DNS_ERROR_ZONE_CONFIGURATION_ERROR, 1518 DNS_ERROR_ZONE_HAS_NO_SOA_RECORD, 1519 DNS_ERROR_ZONE_HAS_NO_NS_RECORDS, 1520 DNS_ERROR_ZONE_LOCKED, 1521 DNS_ERROR_ZONE_CREATION_FAILED, 1522 DNS_ERROR_ZONE_ALREADY_EXISTS, 1523 DNS_ERROR_AUTOZONE_ALREADY_EXISTS, 1524 DNS_ERROR_INVALID_ZONE_TYPE, 1525 DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP, 1526 DNS_ERROR_ZONE_NOT_SECONDARY, 1527 DNS_ERROR_NEED_SECONDARY_ADDRESSES, 1528 DNS_ERROR_WINS_INIT_FAILED, 1529 DNS_ERROR_NEED_WINS_SERVERS, 1530 DNS_ERROR_NBSTAT_INIT_FAILED, 1531 DNS_ERROR_SOA_DELETE_INVALID, 1532 DNS_ERROR_FORWARDER_ALREADY_EXISTS, 1533 DNS_ERROR_ZONE_REQUIRES_MASTER_IP, 1534 DNS_ERROR_ZONE_IS_SHUTDOWN, // = 9621 1535 DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 9651, 1536 DNS_ERROR_INVALID_DATAFILE_NAME, 1537 DNS_ERROR_DATAFILE_OPEN_FAILURE, 1538 DNS_ERROR_FILE_WRITEBACK_FAILED, 1539 DNS_ERROR_DATAFILE_PARSING, // = 9655 1540 DNS_ERROR_RECORD_DOES_NOT_EXIST = 9701, 1541 DNS_ERROR_RECORD_FORMAT, 1542 DNS_ERROR_NODE_CREATION_FAILED, 1543 DNS_ERROR_UNKNOWN_RECORD_TYPE, 1544 DNS_ERROR_RECORD_TIMED_OUT, 1545 DNS_ERROR_NAME_NOT_IN_ZONE, 1546 DNS_ERROR_CNAME_LOOP, 1547 DNS_ERROR_NODE_IS_CNAME, 1548 DNS_ERROR_CNAME_COLLISION, 1549 DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT, 1550 DNS_ERROR_RECORD_ALREADY_EXISTS, 1551 DNS_ERROR_SECONDARY_DATA, 1552 DNS_ERROR_NO_CREATE_CACHE_DATA, 1553 DNS_ERROR_NAME_DOES_NOT_EXIST, 1554 DNS_WARNING_PTR_CREATE_FAILED, 1555 DNS_WARNING_DOMAIN_UNDELETED, 1556 DNS_ERROR_DS_UNAVAILABLE, 1557 DNS_ERROR_DS_ZONE_ALREADY_EXISTS, 1558 DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE, // = 9719 1559 DNS_INFO_AXFR_COMPLETE = 9751, 1560 DNS_ERROR_AXFR, 1561 DNS_INFO_ADDED_LOCAL_WINS, // = 9753 1562 DNS_STATUS_CONTINUE_NEEDED = 9801, 1563 DNS_ERROR_NO_TCPIP = 9851, 1564 DNS_ERROR_NO_DNS_SERVERS, // = 9852 1565 DNS_ERROR_DP_DOES_NOT_EXIST = 9901, 1566 DNS_ERROR_DP_ALREADY_EXISTS, 1567 DNS_ERROR_DP_NOT_ENLISTED, 1568 DNS_ERROR_DP_ALREADY_ENLISTED, 1569 DNS_ERROR_DP_NOT_AVAILABLE, // = 9905 1570 1571/+ already in winsock2.d defined! 1572 1573 WSABASEERR = 10000, 1574 WSAEINTR = 10004, 1575 WSAEBADF = 10009, 1576 WSAEACCES = 10013, 1577 WSAEFAULT, // = 10014 1578 WSAEINVAL = 10022, 1579 WSAEMFILE = 10024, 1580 WSAEWOULDBLOCK = 10035, 1581 WSAEINPROGRESS, 1582 WSAEALREADY, 1583 WSAENOTSOCK, 1584 WSAEDESTADDRREQ, 1585 WSAEMSGSIZE, 1586 WSAEPROTOTYPE, 1587 WSAENOPROTOOPT, 1588 WSAEPROTONOSUPPORT, 1589 WSAESOCKTNOSUPPORT, 1590 WSAEOPNOTSUPP, 1591 WSAEPFNOSUPPORT, 1592 WSAEAFNOSUPPORT, 1593 WSAEADDRINUSE, 1594 WSAEADDRNOTAVAIL, 1595 WSAENETDOWN, 1596 WSAENETUNREACH, 1597 WSAENETRESET, 1598 WSAECONNABORTED, 1599 WSAECONNRESET, 1600 WSAENOBUFS, 1601 WSAEISCONN, 1602 WSAENOTCONN, 1603 WSAESHUTDOWN, 1604 WSAETOOMANYREFS, 1605 WSAETIMEDOUT, 1606 WSAECONNREFUSED, 1607 WSAELOOP, 1608 WSAENAMETOOLONG, 1609 WSAEHOSTDOWN, 1610 WSAEHOSTUNREACH, 1611 WSAENOTEMPTY, 1612 WSAEPROCLIM, 1613 WSAEUSERS, 1614 WSAEDQUOT, 1615 WSAESTALE, 1616 WSAEREMOTE, // = 10071 1617 WSASYSNOTREADY = 10091, 1618 WSAVERNOTSUPPORTED, 1619 WSANOTINITIALISED, // = 10093 1620 WSAEDISCON = 10101, 1621 WSAENOMORE, 1622 WSAECANCELLED, 1623 WSAEINVALIDPROCTABLE, 1624 WSAEINVALIDPROVIDER, 1625 WSAEPROVIDERFAILEDINIT, 1626 WSASYSCALLFAILURE, 1627 WSASERVICE_NOT_FOUND, 1628 WSATYPE_NOT_FOUND, 1629 WSA_E_NO_MORE, 1630 WSA_E_CANCELLED, 1631 WSAEREFUSED, // = 10112 1632 WSAHOST_NOT_FOUND = 11001, 1633 WSATRY_AGAIN, 1634 WSANO_RECOVERY, 1635 WSANO_DATA, 1636 WSA_QOS_RECEIVERS, 1637 WSA_QOS_SENDERS, 1638 WSA_QOS_NO_SENDERS, 1639 WSA_QOS_NO_RECEIVERS, 1640 WSA_QOS_REQUEST_CONFIRMED, 1641 WSA_QOS_ADMISSION_FAILURE, 1642 WSA_QOS_POLICY_FAILURE, 1643 WSA_QOS_BAD_STYLE, 1644 WSA_QOS_BAD_OBJECT, 1645 WSA_QOS_TRAFFIC_CTRL_ERROR, 1646 WSA_QOS_GENERIC_ERROR, 1647 WSA_QOS_ESERVICETYPE, 1648 WSA_QOS_EFLOWSPEC, 1649 WSA_QOS_EPROVSPECBUF, 1650 WSA_QOS_EFILTERSTYLE, 1651 WSA_QOS_EFILTERTYPE, 1652 WSA_QOS_EFILTERCOUNT, 1653 WSA_QOS_EOBJLENGTH, 1654 WSA_QOS_EFLOWCOUNT, 1655 WSA_QOS_EUNKNOWNPSOBJ, 1656 WSA_QOS_EPOLICYOBJ, 1657 WSA_QOS_EFLOWDESC, 1658 WSA_QOS_EPSFLOWSPEC, 1659 WSA_QOS_EPSFILTERSPEC, 1660 WSA_QOS_ESDMODEOBJ, 1661 WSA_QOS_ESHAPERATEOBJ, 1662 WSA_QOS_RESERVED_PETYPE, // = 11031 1663 1664+/ 1665 1666 ERROR_IPSEC_QM_POLICY_EXISTS = 13000, 1667 ERROR_IPSEC_QM_POLICY_NOT_FOUND, 1668 ERROR_IPSEC_QM_POLICY_IN_USE, 1669 ERROR_IPSEC_MM_POLICY_EXISTS, 1670 ERROR_IPSEC_MM_POLICY_NOT_FOUND, 1671 ERROR_IPSEC_MM_POLICY_IN_USE, 1672 ERROR_IPSEC_MM_FILTER_EXISTS, 1673 ERROR_IPSEC_MM_FILTER_NOT_FOUND, 1674 ERROR_IPSEC_TRANSPORT_FILTER_EXISTS, 1675 ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND, 1676 ERROR_IPSEC_MM_AUTH_EXISTS, 1677 ERROR_IPSEC_MM_AUTH_NOT_FOUND, 1678 ERROR_IPSEC_MM_AUTH_IN_USE, 1679 ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND, 1680 ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND, 1681 ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND, 1682 ERROR_IPSEC_TUNNEL_FILTER_EXISTS, 1683 ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND, 1684 ERROR_IPSEC_MM_FILTER_PENDING_DELETION, 1685 ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION, 1686 ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION, 1687 ERROR_IPSEC_MM_POLICY_PENDING_DELETION, 1688 ERROR_IPSEC_MM_AUTH_PENDING_DELETION, 1689 ERROR_IPSEC_QM_POLICY_PENDING_DELETION, 1690 WARNING_IPSEC_MM_POLICY_PRUNED, 1691 WARNING_IPSEC_QM_POLICY_PRUNED, // = 13025 1692 ERROR_IPSEC_IKE_AUTH_FAIL = 13801, 1693 ERROR_IPSEC_IKE_ATTRIB_FAIL, 1694 ERROR_IPSEC_IKE_NEGOTIATION_PENDING, 1695 ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR, 1696 ERROR_IPSEC_IKE_TIMED_OUT, 1697 ERROR_IPSEC_IKE_NO_CERT, 1698 ERROR_IPSEC_IKE_SA_DELETED, 1699 ERROR_IPSEC_IKE_SA_REAPED, 1700 ERROR_IPSEC_IKE_MM_ACQUIRE_DROP, 1701 ERROR_IPSEC_IKE_QM_ACQUIRE_DROP, 1702 ERROR_IPSEC_IKE_QUEUE_DROP_MM, 1703 ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM, 1704 ERROR_IPSEC_IKE_DROP_NO_RESPONSE, 1705 ERROR_IPSEC_IKE_MM_DELAY_DROP, 1706 ERROR_IPSEC_IKE_QM_DELAY_DROP, 1707 ERROR_IPSEC_IKE_ERROR, 1708 ERROR_IPSEC_IKE_CRL_FAILED, 1709 ERROR_IPSEC_IKE_INVALID_KEY_USAGE, 1710 ERROR_IPSEC_IKE_INVALID_CERT_TYPE, 1711 ERROR_IPSEC_IKE_NO_PRIVATE_KEY, // = 13820 1712 ERROR_IPSEC_IKE_DH_FAIL = 13822, 1713 ERROR_IPSEC_IKE_INVALID_HEADER = 13824, 1714 ERROR_IPSEC_IKE_NO_POLICY, 1715 ERROR_IPSEC_IKE_INVALID_SIGNATURE, 1716 ERROR_IPSEC_IKE_KERBEROS_ERROR, 1717 ERROR_IPSEC_IKE_NO_PUBLIC_KEY, 1718 ERROR_IPSEC_IKE_PROCESS_ERR, 1719 ERROR_IPSEC_IKE_PROCESS_ERR_SA, 1720 ERROR_IPSEC_IKE_PROCESS_ERR_PROP, 1721 ERROR_IPSEC_IKE_PROCESS_ERR_TRANS, 1722 ERROR_IPSEC_IKE_PROCESS_ERR_KE, 1723 ERROR_IPSEC_IKE_PROCESS_ERR_ID, 1724 ERROR_IPSEC_IKE_PROCESS_ERR_CERT, 1725 ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ, 1726 ERROR_IPSEC_IKE_PROCESS_ERR_HASH, 1727 ERROR_IPSEC_IKE_PROCESS_ERR_SIG, 1728 ERROR_IPSEC_IKE_PROCESS_ERR_NONCE, 1729 ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY, 1730 ERROR_IPSEC_IKE_PROCESS_ERR_DELETE, 1731 ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR, 1732 ERROR_IPSEC_IKE_INVALID_PAYLOAD, 1733 ERROR_IPSEC_IKE_LOAD_SOFT_SA, 1734 ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN, 1735 ERROR_IPSEC_IKE_INVALID_COOKIE, 1736 ERROR_IPSEC_IKE_NO_PEER_CERT, 1737 ERROR_IPSEC_IKE_PEER_CRL_FAILED, 1738 ERROR_IPSEC_IKE_POLICY_CHANGE, 1739 ERROR_IPSEC_IKE_NO_MM_POLICY, 1740 ERROR_IPSEC_IKE_NOTCBPRIV, 1741 ERROR_IPSEC_IKE_SECLOADFAIL, 1742 ERROR_IPSEC_IKE_FAILSSPINIT, 1743 ERROR_IPSEC_IKE_FAILQUERYSSP, 1744 ERROR_IPSEC_IKE_SRVACQFAIL, 1745 ERROR_IPSEC_IKE_SRVQUERYCRED, 1746 ERROR_IPSEC_IKE_GETSPIFAIL, 1747 ERROR_IPSEC_IKE_INVALID_FILTER, 1748 ERROR_IPSEC_IKE_OUT_OF_MEMORY, 1749 ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED, 1750 ERROR_IPSEC_IKE_INVALID_POLICY, 1751 ERROR_IPSEC_IKE_UNKNOWN_DOI, 1752 ERROR_IPSEC_IKE_INVALID_SITUATION, 1753 ERROR_IPSEC_IKE_DH_FAILURE, 1754 ERROR_IPSEC_IKE_INVALID_GROUP, 1755 ERROR_IPSEC_IKE_ENCRYPT, 1756 ERROR_IPSEC_IKE_DECRYPT, 1757 ERROR_IPSEC_IKE_POLICY_MATCH, 1758 ERROR_IPSEC_IKE_UNSUPPORTED_ID, 1759 ERROR_IPSEC_IKE_INVALID_HASH, 1760 ERROR_IPSEC_IKE_INVALID_HASH_ALG, 1761 ERROR_IPSEC_IKE_INVALID_HASH_SIZE, 1762 ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG, 1763 ERROR_IPSEC_IKE_INVALID_AUTH_ALG, 1764 ERROR_IPSEC_IKE_INVALID_SIG, 1765 ERROR_IPSEC_IKE_LOAD_FAILED, 1766 ERROR_IPSEC_IKE_RPC_DELETE, 1767 ERROR_IPSEC_IKE_BENIGN_REINIT, 1768 ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY, // = 13879 1769 ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 13881, 1770 ERROR_IPSEC_IKE_MM_LIMIT, 1771 ERROR_IPSEC_IKE_NEGOTIATION_DISABLED, 1772 ERROR_IPSEC_IKE_NEG_STATUS_END, 1773 ERROR_SXS_SECTION_NOT_FOUND, 1774 ERROR_SXS_CANT_GEN_ACTCTX, 1775 ERROR_SXS_INVALID_ACTCTXDATA_FORMAT, 1776 ERROR_SXS_ASSEMBLY_NOT_FOUND, 1777 ERROR_SXS_MANIFEST_FORMAT_ERROR, 1778 ERROR_SXS_MANIFEST_PARSE_ERROR, 1779 ERROR_SXS_ACTIVATION_CONTEXT_DISABLED, 1780 ERROR_SXS_KEY_NOT_FOUND, 1781 ERROR_SXS_VERSION_CONFLICT, 1782 ERROR_SXS_WRONG_SECTION_TYPE, 1783 ERROR_SXS_THREAD_QUERIES_DISABLED, 1784 ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET, 1785 ERROR_SXS_UNKNOWN_ENCODING_GROUP, 1786 ERROR_SXS_UNKNOWN_ENCODING, 1787 ERROR_SXS_INVALID_XML_NAMESPACE_URI, 1788 ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED, 1789 ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED, 1790 ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE, 1791 ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE, 1792 ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE, 1793 ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT, 1794 ERROR_SXS_DUPLICATE_DLL_NAME, 1795 ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME, 1796 ERROR_SXS_DUPLICATE_CLSID, 1797 ERROR_SXS_DUPLICATE_IID, 1798 ERROR_SXS_DUPLICATE_TLBID, 1799 ERROR_SXS_DUPLICATE_PROGID, 1800 ERROR_SXS_DUPLICATE_ASSEMBLY_NAME, 1801 ERROR_SXS_FILE_HASH_MISMATCH, 1802 ERROR_SXS_POLICY_PARSE_ERROR, 1803 ERROR_SXS_XML_E_MISSINGQUOTE, 1804 ERROR_SXS_XML_E_COMMENTSYNTAX, 1805 ERROR_SXS_XML_E_BADSTARTNAMECHAR, 1806 ERROR_SXS_XML_E_BADNAMECHAR, 1807 ERROR_SXS_XML_E_BADCHARINSTRING, 1808 ERROR_SXS_XML_E_XMLDECLSYNTAX, 1809 ERROR_SXS_XML_E_BADCHARDATA, 1810 ERROR_SXS_XML_E_MISSINGWHITESPACE, 1811 ERROR_SXS_XML_E_EXPECTINGTAGEND, 1812 ERROR_SXS_XML_E_MISSINGSEMICOLON, 1813 ERROR_SXS_XML_E_UNBALANCEDPAREN, 1814 ERROR_SXS_XML_E_INTERNALERROR, 1815 ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE, 1816 ERROR_SXS_XML_E_INCOMPLETE_ENCODING, 1817 ERROR_SXS_XML_E_MISSING_PAREN, 1818 ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE, 1819 ERROR_SXS_XML_E_MULTIPLE_COLONS, 1820 ERROR_SXS_XML_E_INVALID_DECIMAL, 1821 ERROR_SXS_XML_E_INVALID_HEXIDECIMAL, 1822 ERROR_SXS_XML_E_INVALID_UNICODE, 1823 ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK, 1824 ERROR_SXS_XML_E_UNEXPECTEDENDTAG, 1825 ERROR_SXS_XML_E_UNCLOSEDTAG, 1826 ERROR_SXS_XML_E_DUPLICATEATTRIBUTE, 1827 ERROR_SXS_XML_E_MULTIPLEROOTS, 1828 ERROR_SXS_XML_E_INVALIDATROOTLEVEL, 1829 ERROR_SXS_XML_E_BADXMLDECL, 1830 ERROR_SXS_XML_E_MISSINGROOT, 1831 ERROR_SXS_XML_E_UNEXPECTEDEOF, 1832 ERROR_SXS_XML_E_BADPEREFINSUBSET, 1833 ERROR_SXS_XML_E_UNCLOSEDSTARTTAG, 1834 ERROR_SXS_XML_E_UNCLOSEDENDTAG, 1835 ERROR_SXS_XML_E_UNCLOSEDSTRING, 1836 ERROR_SXS_XML_E_UNCLOSEDCOMMENT, 1837 ERROR_SXS_XML_E_UNCLOSEDDECL, 1838 ERROR_SXS_XML_E_UNCLOSEDCDATA, 1839 ERROR_SXS_XML_E_RESERVEDNAMESPACE, 1840 ERROR_SXS_XML_E_INVALIDENCODING, 1841 ERROR_SXS_XML_E_INVALIDSWITCH, 1842 ERROR_SXS_XML_E_BADXMLCASE, 1843 ERROR_SXS_XML_E_INVALID_STANDALONE, 1844 ERROR_SXS_XML_E_UNEXPECTED_STANDALONE, 1845 ERROR_SXS_XML_E_INVALID_VERSION, 1846 ERROR_SXS_XML_E_MISSINGEQUALS, 1847 ERROR_SXS_PROTECTION_RECOVERY_FAILED, 1848 ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT, 1849 ERROR_SXS_PROTECTION_CATALOG_NOT_VALID, 1850 ERROR_SXS_UNTRANSLATABLE_HRESULT, 1851 ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING, 1852 ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE, 1853 ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME // = 14080 1854} 1855 1856enum : HRESULT { 1857 S_OK = 0x00000000, 1858 S_FALSE = 0x00000001, 1859 1860 NOERROR = 0x00000000, 1861 1862 E_PENDING = 0x8000000A, 1863 E_NOTIMPL = 0x80004001, 1864 E_NOINTERFACE = 0x80004002, 1865 E_POINTER = 0x80004003, 1866 E_ABORT = 0x80004004, 1867 E_FAIL = 0x80004005, 1868 E_ACCESSDENIED = 0x80070005, 1869 E_HANDLE = 0x80070006, 1870 E_OUTOFMEMORY = 0x8007000E, 1871 E_INVALIDARG = 0x80070057, 1872 E_UNEXPECTED = 0x8000FFFF, 1873 1874 CO_E_INIT_TLS = 0x80004006, 1875 CO_E_INIT_SHARED_ALLOCATOR = 0x80004007, 1876 CO_E_INIT_MEMORY_ALLOCATOR = 0x80004008, 1877 CO_E_INIT_CLASS_CACHE = 0x80004009, 1878 CO_E_INIT_RPC_CHANNEL = 0x8000400A, 1879 CO_E_INIT_TLS_SET_CHANNEL_CONTROL = 0x8000400B, 1880 CO_E_INIT_TLS_CHANNEL_CONTROL = 0x8000400C, 1881 CO_E_INIT_UNACCEPTED_USER_ALLOCATOR = 0x8000400D, 1882 CO_E_INIT_SCM_MUTEX_EXISTS = 0x8000400E, 1883 CO_E_INIT_SCM_FILE_MAPPING_EXISTS = 0x8000400F, 1884 CO_E_INIT_SCM_MAP_VIEW_OF_FILE = 0x80004010, 1885 CO_E_INIT_SCM_EXEC_FAILURE = 0x80004011, 1886 CO_E_INIT_ONLY_SINGLE_THREADED = 0x80004012, 1887 1888 RPC_E_CALL_REJECTED = 0x80010001, 1889 RPC_E_CALL_CANCELED = 0x80010002, 1890 RPC_E_CANTPOST_INSENDCALL = 0x80010003, 1891 RPC_E_CANTCALLOUT_INASYNCCALL = 0x80010004, 1892 RPC_E_CANTCALLOUT_INEXTERNALCALL = 0x80010005, 1893 RPC_E_CONNECTION_TERMINATED = 0x80010006, 1894 RPC_E_SERVER_DIED = 0x80010007, 1895 RPC_E_CLIENT_DIED = 0x80010008, 1896 RPC_E_INVALID_DATAPACKET = 0x80010009, 1897 RPC_E_CANTTRANSMIT_CALL = 0x8001000A, 1898 RPC_E_CLIENT_CANTMARSHAL_DATA = 0x8001000B, 1899 RPC_E_CLIENT_CANTUNMARSHAL_DATA = 0x8001000C, 1900 RPC_E_SERVER_CANTMARSHAL_DATA = 0x8001000D, 1901 RPC_E_SERVER_CANTUNMARSHAL_DATA = 0x8001000E, 1902 RPC_E_INVALID_DATA = 0x8001000F, 1903 RPC_E_INVALID_PARAMETER = 0x80010010, 1904 RPC_E_CANTCALLOUT_AGAIN = 0x80010011, 1905 RPC_E_SERVER_DIED_DNE = 0x80010012, 1906 RPC_E_SYS_CALL_FAILED = 0x80010100, 1907 RPC_E_OUT_OF_RESOURCES = 0x80010101, 1908 RPC_E_ATTEMPTED_MULTITHREAD = 0x80010102, 1909 RPC_E_NOT_REGISTERED = 0x80010103, 1910 RPC_E_FAULT = 0x80010104, 1911 RPC_E_SERVERFAULT = 0x80010105, 1912 RPC_E_CHANGED_MODE = 0x80010106, 1913 RPC_E_INVALIDMETHOD = 0x80010107, 1914 RPC_E_DISCONNECTED = 0x80010108, 1915 RPC_E_RETRY = 0x80010109, 1916 RPC_E_SERVERCALL_RETRYLATER = 0x8001010A, 1917 RPC_E_SERVERCALL_REJECTED = 0x8001010B, 1918 RPC_E_INVALID_CALLDATA = 0x8001010C, 1919 RPC_E_CANTCALLOUT_ININPUTSYNCCALL = 0x8001010D, 1920 RPC_E_WRONG_THREAD = 0x8001010E, 1921 RPC_E_THREAD_NOT_INIT = 0x8001010F, 1922 RPC_E_UNEXPECTED = 0x8001FFFF, 1923 1924 DISP_E_UNKNOWNINTERFACE = 0x80020001, 1925 DISP_E_MEMBERNOTFOUND = 0x80020003, 1926 DISP_E_PARAMNOTFOUND = 0x80020004, 1927 DISP_E_TYPEMISMATCH = 0x80020005, 1928 DISP_E_UNKNOWNNAME = 0x80020006, 1929 DISP_E_NONAMEDARGS = 0x80020007, 1930 DISP_E_BADVARTYPE = 0x80020008, 1931 DISP_E_EXCEPTION = 0x80020009, 1932 DISP_E_OVERFLOW = 0x8002000A, 1933 DISP_E_BADINDEX = 0x8002000B, 1934 DISP_E_UNKNOWNLCID = 0x8002000C, 1935 DISP_E_ARRAYISLOCKED = 0x8002000D, 1936 DISP_E_BADPARAMCOUNT = 0x8002000E, 1937 DISP_E_PARAMNOTOPTIONAL = 0x8002000F, 1938 DISP_E_BADCALLEE = 0x80020010, 1939 DISP_E_NOTACOLLECTION = 0x80020011, 1940 DISP_E_DIVBYZERO = 0x80020012, 1941 1942 TYPE_E_BUFFERTOOSMALL = 0x80028016, 1943 TYPE_E_INVDATAREAD = 0x80028018, 1944 TYPE_E_UNSUPFORMAT = 0x80028019, 1945 TYPE_E_REGISTRYACCESS = 0x8002801C, 1946 TYPE_E_LIBNOTREGISTERED = 0x8002801D, 1947 TYPE_E_UNDEFINEDTYPE = 0x80028027, 1948 TYPE_E_QUALIFIEDNAMEDISALLOWED = 0x80028028, 1949 TYPE_E_INVALIDSTATE = 0x80028029, 1950 TYPE_E_WRONGTYPEKIND = 0x8002802A, 1951 TYPE_E_ELEMENTNOTFOUND = 0x8002802B, 1952 TYPE_E_AMBIGUOUSNAME = 0x8002802C, 1953 TYPE_E_NAMECONFLICT = 0x8002802D, 1954 TYPE_E_UNKNOWNLCID = 0x8002802E, 1955 TYPE_E_DLLFUNCTIONNOTFOUND = 0x8002802F, 1956 TYPE_E_BADMODULEKIND = 0x800288BD, 1957 TYPE_E_SIZETOOBIG = 0x800288C5, 1958 TYPE_E_DUPLICATEID = 0x800288C6, 1959 TYPE_E_INVALIDID = 0x800288CF, 1960 TYPE_E_TYPEMISMATCH = 0x80028CA0, 1961 TYPE_E_OUTOFBOUNDS = 0x80028CA1, 1962 TYPE_E_IOERROR = 0x80028CA2, 1963 TYPE_E_CANTCREATETMPFILE = 0x80028CA3, 1964 TYPE_E_CANTLOADLIBRARY = 0x80029C4A, 1965 TYPE_E_INCONSISTENTPROPFUNCS = 0x80029C83, 1966 TYPE_E_CIRCULARTYPE = 0x80029C84, 1967 1968 STG_E_INVALIDFUNCTION = 0x80030001, 1969 STG_E_FILENOTFOUND = 0x80030002, 1970 STG_E_PATHNOTFOUND = 0x80030003, 1971 STG_E_TOOMANYOPENFILES = 0x80030004, 1972 STG_E_ACCESSDENIED = 0x80030005, 1973 STG_E_INVALIDHANDLE = 0x80030006, 1974 STG_E_INSUFFICIENTMEMORY = 0x80030008, 1975 STG_E_INVALIDPOINTER = 0x80030009, 1976 STG_E_NOMOREFILES = 0x80030012, 1977 STG_E_DISKISWRITEPROTECTED = 0x80030013, 1978 STG_E_SEEKERROR = 0x80030019, 1979 STG_E_WRITEFAULT = 0x8003001D, 1980 STG_E_READFAULT = 0x8003001E, 1981 STG_E_SHAREVIOLATION = 0x80030020, 1982 STG_E_LOCKVIOLATION = 0x80030021, 1983 STG_E_FILEALREADYEXISTS = 0x80030050, 1984 STG_E_INVALIDPARAMETER = 0x80030057, 1985 STG_E_MEDIUMFULL = 0x80030070, 1986 STG_E_ABNORMALAPIEXIT = 0x800300FA, 1987 STG_E_INVALIDHEADER = 0x800300FB, 1988 STG_E_INVALIDNAME = 0x800300FC, 1989 STG_E_UNKNOWN = 0x800300FD, 1990 STG_E_UNIMPLEMENTEDFUNCTION = 0x800300FE, 1991 STG_E_INVALIDFLAG = 0x800300FF, 1992 STG_E_INUSE = 0x80030100, 1993 STG_E_NOTCURRENT = 0x80030101, 1994 STG_E_REVERTED = 0x80030102, 1995 STG_E_CANTSAVE = 0x80030103, 1996 STG_E_OLDFORMAT = 0x80030104, 1997 STG_E_OLDDLL = 0x80030105, 1998 STG_E_SHAREREQUIRED = 0x80030106, 1999 STG_E_NOTFILEBASEDSTORAGE = 0x80030107, 2000 STG_E_EXTANTMARSHALLINGS = 0x80030108, 2001 STG_S_CONVERTED = 0x00030200, 2002 2003 OLE_E_FIRST = 0x80040000, 2004 OLE_S_FIRST = 0x00040000, 2005 OLE_E_OLEVERB = 0x80040000, 2006 OLE_S_USEREG = 0x00040000, 2007 OLE_E_ADVF = 0x80040001, 2008 OLE_S_STATIC = 0x00040001, 2009 OLE_E_ENUM_NOMORE = 0x80040002, 2010 OLE_S_MAC_CLIPFORMAT = 0x00040002, 2011 OLE_E_ADVISENOTSUPPORTED = 0x80040003, 2012 OLE_E_NOCONNECTION = 0x80040004, 2013 OLE_E_NOTRUNNING = 0x80040005, 2014 OLE_E_NOCACHE = 0x80040006, 2015 OLE_E_BLANK = 0x80040007, 2016 OLE_E_CLASSDIFF = 0x80040008, 2017 OLE_E_CANT_GETMONIKER = 0x80040009, 2018 OLE_E_CANT_BINDTOSOURCE = 0x8004000A, 2019 OLE_E_STATIC = 0x8004000B, 2020 OLE_E_PROMPTSAVECANCELLED = 0x8004000C, 2021 OLE_E_INVALIDRECT = 0x8004000D, 2022 OLE_E_WRONGCOMPOBJ = 0x8004000E, 2023 OLE_E_INVALIDHWND = 0x8004000F, 2024 OLE_E_NOT_INPLACEACTIVE = 0x80040010, 2025 OLE_E_CANTCONVERT = 0x80040011, 2026 OLE_E_NOSTORAGE = 0x80040012, 2027 2028 DV_E_FORMATETC = 0x80040064, 2029 DV_E_DVTARGETDEVICE = 0x80040065, 2030 DV_E_STGMEDIUM = 0x80040066, 2031 DV_E_STATDATA = 0x80040067, 2032 DV_E_LINDEX = 0x80040068, 2033 DV_E_TYMED = 0x80040069, 2034 DV_E_CLIPFORMAT = 0x8004006A, 2035 DV_E_DVASPECT = 0x8004006B, 2036 DV_E_DVTARGETDEVICE_SIZE = 0x8004006C, 2037 DV_E_NOIVIEWOBJECT = 0x8004006D, 2038 2039 OLE_E_LAST = 0x800400FF, 2040 OLE_S_LAST = 0x000400FF, 2041 DRAGDROP_E_FIRST = 0x80040100, 2042 DRAGDROP_S_FIRST = 0x00040100, 2043 DRAGDROP_E_NOTREGISTERED = 0x80040100, 2044 DRAGDROP_S_DROP = 0x00040100, 2045 DRAGDROP_E_ALREADYREGISTERED = 0x80040101, 2046 DRAGDROP_S_CANCEL = 0x00040101, 2047 DRAGDROP_E_INVALIDHWND = 0x80040102, 2048 DRAGDROP_S_USEDEFAULTCURSORS = 0x00040102, 2049 DRAGDROP_E_LAST = 0x8004010F, 2050 DRAGDROP_S_LAST = 0x0004010F, 2051 CLASSFACTORY_E_FIRST = 0x80040110, 2052 CLASSFACTORY_S_FIRST = 0x00040110, 2053 CLASS_E_NOAGGREGATION = 0x80040110, 2054 CLASS_E_CLASSNOTAVAILABLE = 0x80040111, 2055 CLASSFACTORY_E_LAST = 0x8004011F, 2056 CLASSFACTORY_S_LAST = 0x0004011F, 2057 MARSHAL_E_FIRST = 0x80040120, 2058 MARSHAL_S_FIRST = 0x00040120, 2059 MARSHAL_E_LAST = 0x8004012F, 2060 MARSHAL_S_LAST = 0x0004012F, 2061 DATA_E_FIRST = 0x80040130, 2062 DATA_S_FIRST = 0x00040130, 2063 DATA_S_SAMEFORMATETC = 0x00040130, 2064 DATA_E_LAST = 0x8004013F, 2065 DATA_S_LAST = 0x0004013F, 2066 VIEW_E_FIRST = 0x80040140, 2067 VIEW_S_FIRST = 0x00040140, 2068 VIEW_E_DRAW = 0x80040140, 2069 VIEW_S_ALREADY_FROZEN = 0x00040140, 2070 VIEW_E_LAST = 0x8004014F, 2071 VIEW_S_LAST = 0x0004014F, 2072 REGDB_E_FIRST = 0x80040150, 2073 REGDB_S_FIRST = 0x00040150, 2074 REGDB_E_READREGDB = 0x80040150, 2075 REGDB_E_WRITEREGDB = 0x80040151, 2076 REGDB_E_KEYMISSING = 0x80040152, 2077 REGDB_E_INVALIDVALUE = 0x80040153, 2078 REGDB_E_CLASSNOTREG = 0x80040154, 2079 REGDB_E_IIDNOTREG = 0x80040155, 2080 REGDB_E_LAST = 0x8004015F, 2081 REGDB_S_LAST = 0x0004015F, 2082 CACHE_E_FIRST = 0x80040170, 2083 CACHE_S_FIRST = 0x00040170, 2084 CACHE_E_NOCACHE_UPDATED = 0x80040170, 2085 CACHE_S_FORMATETC_NOTSUPPORTED = 0x00040170, 2086 CACHE_S_SAMECACHE = 0x00040171, 2087 CACHE_S_SOMECACHES_NOTUPDATED = 0x00040172, 2088 CACHE_E_LAST = 0x8004017F, 2089 CACHE_S_LAST = 0x0004017F, 2090 OLEOBJ_E_FIRST = 0x80040180, 2091 OLEOBJ_S_FIRST = 0x00040180, 2092 OLEOBJ_E_NOVERBS = 0x80040180, 2093 OLEOBJ_S_INVALIDVERB = 0x00040180, 2094 OLEOBJ_E_INVALIDVERB = 0x80040181, 2095 OLEOBJ_S_CANNOT_DOVERB_NOW = 0x00040181, 2096 OLEOBJ_S_INVALIDHWND = 0x00040182, 2097 OLEOBJ_E_LAST = 0x8004018F, 2098 OLEOBJ_S_LAST = 0x0004018F, 2099 CLIENTSITE_E_FIRST = 0x80040190, 2100 CLIENTSITE_S_FIRST = 0x00040190, 2101 CLIENTSITE_E_LAST = 0x8004019F, 2102 CLIENTSITE_S_LAST = 0x0004019F, 2103 INPLACE_E_NOTUNDOABLE = 0x800401A0, 2104 INPLACE_E_FIRST = 0x800401A0, 2105 INPLACE_S_FIRST = 0x000401A0, 2106 INPLACE_S_TRUNCATED = 0x000401A0, 2107 INPLACE_E_NOTOOLSPACE = 0x800401A1, 2108 INPLACE_E_LAST = 0x800401AF, 2109 INPLACE_S_LAST = 0x000401AF, 2110 ENUM_E_FIRST = 0x800401B0, 2111 ENUM_S_FIRST = 0x000401B0, 2112 ENUM_E_LAST = 0x800401BF, 2113 ENUM_S_LAST = 0x000401BF, 2114 CONVERT10_E_FIRST = 0x800401C0, 2115 CONVERT10_S_FIRST = 0x000401C0, 2116 CONVERT10_E_OLESTREAM_GET = 0x800401C0, 2117 CONVERT10_S_NO_PRESENTATION = 0x000401C0, 2118 CONVERT10_E_OLESTREAM_PUT = 0x800401C1, 2119 CONVERT10_E_OLESTREAM_FMT = 0x800401C2, 2120 CONVERT10_E_OLESTREAM_BITMAP_TO_DIB = 0x800401C3, 2121 CONVERT10_E_STG_FMT = 0x800401C4, 2122 CONVERT10_E_STG_NO_STD_STREAM = 0x800401C5, 2123 CONVERT10_E_STG_DIB_TO_BITMAP = 0x800401C6, 2124 CONVERT10_E_LAST = 0x800401CF, 2125 CONVERT10_S_LAST = 0x000401CF, 2126 CLIPBRD_E_FIRST = 0x800401D0, 2127 CLIPBRD_S_FIRST = 0x000401D0, 2128 CLIPBRD_E_CANT_OPEN = 0x800401D0, 2129 CLIPBRD_E_CANT_EMPTY = 0x800401D1, 2130 CLIPBRD_E_CANT_SET = 0x800401D2, 2131 CLIPBRD_E_BAD_DATA = 0x800401D3, 2132 CLIPBRD_E_CANT_CLOSE = 0x800401D4, 2133 CLIPBRD_E_LAST = 0x800401DF, 2134 CLIPBRD_S_LAST = 0x000401DF, 2135 MK_E_FIRST = 0x800401E0, 2136 MK_S_FIRST = 0x000401E0, 2137 MK_E_CONNECTMANUALLY = 0x800401E0, 2138 MK_E_EXCEEDEDDEADLINE = 0x800401E1, 2139 MK_E_NEEDGENERIC = 0x800401E2, 2140 MK_S_REDUCED_TO_SELF = 0x000401E2, 2141 MK_E_UNAVAILABLE = 0x800401E3, 2142 MK_E_SYNTAX = 0x800401E4, 2143 MK_S_ME = 0x000401E4, 2144 MK_E_NOOBJECT = 0x800401E5, 2145 MK_S_HIM = 0x000401E5, 2146 MK_E_INVALIDEXTENSION = 0x800401E6, 2147 MK_S_US = 0x000401E6, 2148 MK_E_INTERMEDIATEINTERFACENOTSUPPORTED = 0x800401E7, 2149 MK_S_MONIKERALREADYREGISTERED = 0x000401E7, 2150 MK_E_NOTBINDABLE = 0x800401E8, 2151 MK_E_NOTBOUND = 0x800401E9, 2152 MK_E_CANTOPENFILE = 0x800401EA, 2153 MK_E_MUSTBOTHERUSER = 0x800401EB, 2154 MK_E_NOINVERSE = 0x800401EC, 2155 MK_E_NOSTORAGE = 0x800401ED, 2156 MK_E_NOPREFIX = 0x800401EE, 2157 MK_E_LAST = 0x800401EF, 2158 MK_S_LAST = 0x000401EF, 2159 MK_E_ENUMERATION_FAILED = 0x800401EF, 2160 CO_E_FIRST = 0x800401F0, 2161 CO_S_FIRST = 0x000401F0, 2162 CO_E_NOTINITIALIZED = 0x800401F0, 2163 CO_E_ALREADYINITIALIZED = 0x800401F1, 2164 CO_E_CANTDETERMINECLASS = 0x800401F2, 2165 CO_E_CLASSSTRING = 0x800401F3, 2166 CO_E_IIDSTRING = 0x800401F4, 2167 CO_E_APPNOTFOUND = 0x800401F5, 2168 CO_E_APPSINGLEUSE = 0x800401F6, 2169 CO_E_ERRORINAPP = 0x800401F7, 2170 CO_E_DLLNOTFOUND = 0x800401F8, 2171 CO_E_ERRORINDLL = 0x800401F9, 2172 CO_E_WRONGOSFORAPP = 0x800401FA, 2173 CO_E_OBJNOTREG = 0x800401FB, 2174 CO_E_OBJISREG = 0x800401FC, 2175 CO_E_OBJNOTCONNECTED = 0x800401FD, 2176 CO_E_APPDIDNTREG = 0x800401FE, 2177 CO_E_LAST = 0x800401FF, 2178 CO_S_LAST = 0x000401FF, 2179 CO_E_RELEASED = 0x800401FF, 2180 2181 CO_E_CLASS_CREATE_FAILED = 0x80080001, 2182 CO_E_SCM_ERROR = 0x80080002, 2183 CO_E_SCM_RPC_FAILURE = 0x80080003, 2184 CO_E_BAD_PATH = 0x80080004, 2185 CO_E_SERVER_EXEC_FAILURE = 0x80080005, 2186 CO_E_OBJSRV_RPC_FAILURE = 0x80080006, 2187 MK_E_NO_NORMALIZED = 0x80080007, 2188 CO_E_SERVER_STOPPING = 0x80080008, 2189 MEM_E_INVALID_ROOT = 0x80080009, 2190 MEM_E_INVALID_LINK = 0x80080010, 2191 MEM_E_INVALID_SIZE = 0x80080011, 2192 CO_S_NOTALLINTERFACES = 0x00080012, 2193 2194 NTE_BAD_UID = 0x80090001, 2195 NTE_BAD_HASH = 0x80090002, 2196 NTE_BAD_KEY = 0x80090003, 2197 NTE_BAD_LEN = 0x80090004, 2198 NTE_BAD_DATA = 0x80090005, 2199 NTE_BAD_SIGNATURE = 0x80090006, 2200 NTE_BAD_VER = 0x80090007, 2201 NTE_BAD_ALGID = 0x80090008, 2202 NTE_BAD_FLAGS = 0x80090009, 2203 NTE_BAD_TYPE = 0x8009000A, 2204 NTE_BAD_KEY_STATE = 0x8009000B, 2205 NTE_BAD_HASH_STATE = 0x8009000C, 2206 NTE_NO_KEY = 0x8009000D, 2207 NTE_NO_MEMORY = 0x8009000E, 2208 NTE_EXISTS = 0x8009000F, 2209 NTE_PERM = 0x80090010, 2210 NTE_NOT_FOUND = 0x80090011, 2211 NTE_DOUBLE_ENCRYPT = 0x80090012, 2212 NTE_BAD_PROVIDER = 0x80090013, 2213 NTE_BAD_PROV_TYPE = 0x80090014, 2214 NTE_BAD_PUBLIC_KEY = 0x80090015, 2215 NTE_BAD_KEYSET = 0x80090016, 2216 NTE_PROV_TYPE_NOT_DEF = 0x80090017, 2217 NTE_PROV_TYPE_ENTRY_BAD = 0x80090018, 2218 NTE_KEYSET_NOT_DEF = 0x80090019, 2219 NTE_KEYSET_ENTRY_BAD = 0x8009001A, 2220 NTE_PROV_TYPE_NO_MATCH = 0x8009001B, 2221 NTE_SIGNATURE_FILE_BAD = 0x8009001C, 2222 NTE_PROVIDER_DLL_FAIL = 0x8009001D, 2223 NTE_PROV_DLL_NOT_FOUND = 0x8009001E, 2224 NTE_BAD_KEYSET_PARAM = 0x8009001F, 2225 NTE_FAIL = 0x80090020, 2226 NTE_SYS_ERR = 0x80090021 2227} 2228 2229 2230enum : uint { 2231 SEVERITY_SUCCESS = 0, 2232 SEVERITY_ERROR = 1 2233} 2234 2235enum : uint { 2236 FACILITY_NULL = 0, 2237 FACILITY_RPC, 2238 FACILITY_DISPATCH, 2239 FACILITY_STORAGE, 2240 FACILITY_ITF, // = 4 2241 FACILITY_WIN32 = 7, 2242 FACILITY_WINDOWS = 8, 2243 FACILITY_CONTROL = 10, 2244 FACILITY_NT_BIT = 0x10000000 2245} 2246 2247// C Macros 2248 2249pure nothrow @nogc { 2250 bool SUCCEEDED(HRESULT Status) { 2251 return Status >= 0; 2252 } 2253 2254 bool FAILED(HRESULT Status) { 2255 return Status < 0; 2256 } 2257 2258 bool IS_ERROR(HRESULT Status) { 2259 return (Status >>> 31) == SEVERITY_ERROR; 2260 } 2261 2262 ushort HRESULT_CODE(HRESULT r) { 2263 return cast(ushort) (r & 0xFFFF); 2264 } 2265 2266 ushort SCODE_CODE(SCODE r) { 2267 return cast(ushort) (r & 0xFFFF); 2268 } 2269 2270 ushort HRESULT_FACILITY(HRESULT r) { 2271 return cast(ushort) ((r>>16) & 0x1fff); 2272 } 2273 2274 ushort SCODE_FACILITY(SCODE r) { 2275 return cast(ushort) ((r>>16) & 0x1fff); 2276 } 2277 2278 ushort HRESULT_SEVERITY(HRESULT r) { 2279 return cast(ushort) ((r>>31) & 0x1); 2280 } 2281 2282 ushort SCODE_SEVERITY(SCODE r) { 2283 return cast(ushort) ((r>>31) & 0x1); 2284 } 2285 2286 HRESULT MAKE_HRESULT(bool s, uint f, uint c) { 2287 return (s << 31) | (f << 16) | c; 2288 } 2289 2290 SCODE MAKE_SCODE(bool s, uint f, uint c) { 2291 return (s << 31) | (f << 16) | c; 2292 } 2293 2294 SCODE GetScode(HRESULT hr) { 2295 return hr; 2296 } 2297 2298 HRESULT ResultFromScode(SCODE c) { 2299 return c; 2300 } 2301 2302 HRESULT HRESULT_FROM_NT(HRESULT x) { 2303 return x | FACILITY_NT_BIT; 2304 } 2305 2306 HRESULT HRESULT_FROM_WIN32(HRESULT x) { 2307 return x ? (x & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000 : 0; 2308 } 2309 2310 HRESULT PropagateResult(HRESULT hrPrevious, SCODE scBase) { 2311 return scBase; 2312 } 2313} 2314