Skip to content

Instantly share code, notes, and snippets.

@vtellier
Last active June 23, 2016 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vtellier/e04f78ce29cfb519e49e352fa745d7d1 to your computer and use it in GitHub Desktop.
Save vtellier/e04f78ce29cfb519e49e352fa745d7d1 to your computer and use it in GitHub Desktop.
GetLastError() description retrieval function dependency free (except string).
#pragma once
#include <string>
// Be careful, use this only for debugging.
// The function is inline and contains a lot of strings so might increase drastically the weight of your binary.
/*
// Usage exemple:
string desc;
int code;
getErrorDescription(GetLastError(), desc, code);
cout << "Failed. lasterror: " << desc << endl;
*/
inline void getErrorDescription(int rawError, std::string &desc, int &code)
{
// Code definition from https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx
if(rawError >= 0x0 && rawError <= 0x1f3)
{
switch(rawError)
{
case 0x0: desc = "ERROR_SUCCESS: The operation completed successfully."; code = 0x0; break;
case 0x1: desc = "ERROR_INVALID_FUNCTION: Incorrect function."; code = 0x1; break;
case 0x2: desc = "ERROR_FILE_NOT_FOUND: The system cannot find the file specified."; code = 0x2; break;
case 0x3: desc = "ERROR_PATH_NOT_FOUND: The system cannot find the path specified."; code = 0x3; break;
case 0x4: desc = "ERROR_TOO_MANY_OPEN_FILES: The system cannot open the file."; code = 0x4; break;
case 0x5: desc = "ERROR_ACCESS_DENIED: Access is denied."; code = 0x5; break;
case 0x6: desc = "ERROR_INVALID_HANDLE: The handle is invalid."; code = 0x6; break;
case 0x7: desc = "ERROR_ARENA_TRASHED: The storage control blocks were destroyed."; code = 0x7; break;
case 0x8: desc = "ERROR_NOT_ENOUGH_MEMORY: Not enough storage is available to process this command."; code = 0x8; break;
case 0x9: desc = "ERROR_INVALID_BLOCK: The storage control block address is invalid."; code = 0x9; break;
case 0xA: desc = "ERROR_BAD_ENVIRONMENT: The environment is incorrect."; code = 0xA; break;
case 0xB: desc = "ERROR_BAD_FORMAT: An attempt was made to load a program with an incorrect format."; code = 0xB; break;
case 0xC: desc = "ERROR_INVALID_ACCESS: The access code is invalid."; code = 0xC; break;
case 0xD: desc = "ERROR_INVALID_DATA: The data is invalid."; code = 0xD; break;
case 0xE: desc = "ERROR_OUTOFMEMORY: Not enough storage is available to complete this operation."; code = 0xE; break;
case 0xF: desc = "ERROR_INVALID_DRIVE: The system cannot find the drive specified."; code = 0xF; break;
case 0x10: desc = "ERROR_CURRENT_DIRECTORY: The directory cannot be removed."; code = 0x10; break;
case 0x11: desc = "ERROR_NOT_SAME_DEVICE: The system cannot move the file to a different disk drive."; code = 0x11; break;
case 0x12: desc = "ERROR_NO_MORE_FILES: There are no more files."; code = 0x12; break;
case 0x13: desc = "ERROR_WRITE_PROTECT: The media is write protected."; code = 0x13; break;
case 0x14: desc = "ERROR_BAD_UNIT: The system cannot find the device specified."; code = 0x14; break;
case 0x15: desc = "ERROR_NOT_READY: The device is not ready."; code = 0x15; break;
case 0x16: desc = "ERROR_BAD_COMMAND: The device does not recognize the command."; code = 0x16; break;
case 0x17: desc = "ERROR_CRC: Data error (cyclic redundancy check)."; code = 0x17; break;
case 0x18: desc = "ERROR_BAD_LENGTH: The program issued a command but the command length is incorrect."; code = 0x18; break;
case 0x19: desc = "ERROR_SEEK: The drive cannot locate a specific area or track on the disk."; code = 0x19; break;
case 0x1A: desc = "ERROR_NOT_DOS_DISK: The specified disk or diskette cannot be accessed."; code = 0x1A; break;
case 0x1B: desc = "ERROR_SECTOR_NOT_FOUND: The drive cannot find the sector requested."; code = 0x1B; break;
case 0x1C: desc = "ERROR_OUT_OF_PAPER: The printer is out of paper."; code = 0x1C; break;
case 0x1D: desc = "ERROR_WRITE_FAULT: The system cannot write to the specified device."; code = 0x1D; break;
case 0x1E: desc = "ERROR_READ_FAULT: The system cannot read from the specified device."; code = 0x1E; break;
case 0x1F: desc = "ERROR_GEN_FAILURE: A device attached to the system is not functioning."; code = 0x1F; break;
case 0x20: desc = "ERROR_SHARING_VIOLATION: The process cannot access the file because it is being used by another process."; code = 0x20; break;
case 0x21: desc = "ERROR_LOCK_VIOLATION: The process cannot access the file because another process has locked a portion of the file."; code = 0x21; break;
case 0x22: desc = "ERROR_WRONG_DISK: The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1."; code = 0x22; break;
case 0x24: desc = "ERROR_SHARING_BUFFER_EXCEEDED: Too many files opened for sharing."; code = 0x24; break;
case 0x26: desc = "ERROR_HANDLE_EOF: Reached the end of the file."; code = 0x26; break;
case 0x27: desc = "ERROR_HANDLE_DISK_FULL: The disk is full."; code = 0x27; break;
case 0x32: desc = "ERROR_NOT_SUPPORTED: The request is not supported."; code = 0x32; break;
case 0x33: desc = "ERROR_REM_NOT_LIST: Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact your network administrator."; code = 0x33; break;
case 0x34: desc = "ERROR_DUP_NAME: You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name."; code = 0x34; break;
case 0x35: desc = "ERROR_BAD_NETPATH: The network path was not found."; code = 0x35; break;
case 0x36: desc = "ERROR_NETWORK_BUSY: The network is busy."; code = 0x36; break;
case 0x37: desc = "ERROR_DEV_NOT_EXIST: The specified network resource or device is no longer available."; code = 0x37; break;
case 0x38: desc = "ERROR_TOO_MANY_CMDS: The network BIOS command limit has been reached."; code = 0x38; break;
case 0x39: desc = "ERROR_ADAP_HDW_ERR: A network adapter hardware error occurred."; code = 0x39; break;
case 0x3A: desc = "ERROR_BAD_NET_RESP: The specified server cannot perform the requested operation."; code = 0x3A; break;
case 0x3B: desc = "ERROR_UNEXP_NET_ERR: An unexpected network error occurred."; code = 0x3B; break;
case 0x3C: desc = "ERROR_BAD_REM_ADAP: The remote adapter is not compatible."; code = 0x3C; break;
case 0x3D: desc = "ERROR_PRINTQ_FULL: The printer queue is full."; code = 0x3D; break;
case 0x3E: desc = "ERROR_NO_SPOOL_SPACE: Space to store the file waiting to be printed is not available on the server."; code = 0x3E; break;
case 0x3F: desc = "ERROR_PRINT_CANCELLED: Your file waiting to be printed was deleted."; code = 0x3F; break;
case 0x40: desc = "ERROR_NETNAME_DELETED: The specified network name is no longer available."; code = 0x40; break;
case 0x41: desc = "ERROR_NETWORK_ACCESS_DENIED: Network access is denied."; code = 0x41; break;
case 0x42: desc = "ERROR_BAD_DEV_TYPE: The network resource type is not correct."; code = 0x42; break;
case 0x43: desc = "ERROR_BAD_NET_NAME: The network name cannot be found."; code = 0x43; break;
case 0x44: desc = "ERROR_TOO_MANY_NAMES: The name limit for the local computer network adapter card was exceeded."; code = 0x44; break;
case 0x45: desc = "ERROR_TOO_MANY_SESS: The network BIOS session limit was exceeded."; code = 0x45; break;
case 0x46: desc = "ERROR_SHARING_PAUSED: The remote server has been paused or is in the process of being started."; code = 0x46; break;
case 0x47: desc = "ERROR_REQ_NOT_ACCEP: No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."; code = 0x47; break;
case 0x48: desc = "ERROR_REDIR_PAUSED: The specified printer or disk device has been paused."; code = 0x48; break;
case 0x50: desc = "ERROR_FILE_EXISTS: The file exists."; code = 0x50; break;
case 0x52: desc = "ERROR_CANNOT_MAKE: The directory or file cannot be created."; code = 0x52; break;
case 0x53: desc = "ERROR_FAIL_I24: Fail on INT 24."; code = 0x53; break;
case 0x54: desc = "ERROR_OUT_OF_STRUCTURES: Storage to process this request is not available."; code = 0x54; break;
case 0x55: desc = "ERROR_ALREADY_ASSIGNED: The local device name is already in use."; code = 0x55; break;
case 0x56: desc = "ERROR_INVALID_PASSWORD: The specified network password is not correct."; code = 0x56; break;
case 0x57: desc = "ERROR_INVALID_PARAMETER: The parameter is incorrect."; code = 0x57; break;
case 0x58: desc = "ERROR_NET_WRITE_FAULT: A write fault occurred on the network."; code = 0x58; break;
case 0x59: desc = "ERROR_NO_PROC_SLOTS: The system cannot start another process at this time."; code = 0x59; break;
case 0x64: desc = "ERROR_TOO_MANY_SEMAPHORES: Cannot create another system semaphore."; code = 0x64; break;
case 0x65: desc = "ERROR_EXCL_SEM_ALREADY_OWNED: The exclusive semaphore is owned by another process."; code = 0x65; break;
case 0x66: desc = "ERROR_SEM_IS_SET: The semaphore is set and cannot be closed."; code = 0x66; break;
case 0x67: desc = "ERROR_TOO_MANY_SEM_REQUESTS: The semaphore cannot be set again."; code = 0x67; break;
case 0x68: desc = "ERROR_INVALID_AT_INTERRUPT_TIME: Cannot request exclusive semaphores at interrupt time."; code = 0x68; break;
case 0x69: desc = "ERROR_SEM_OWNER_DIED: The previous ownership of this semaphore has ended."; code = 0x69; break;
case 0x6A: desc = "ERROR_SEM_USER_LIMIT: Insert the diskette for drive %1."; code = 0x6A; break;
case 0x6B: desc = "ERROR_DISK_CHANGE: The program stopped because an alternate diskette was not inserted."; code = 0x6B; break;
case 0x6C: desc = "ERROR_DRIVE_LOCKED: The disk is in use or locked by another process."; code = 0x6C; break;
case 0x6D: desc = "ERROR_BROKEN_PIPE: The pipe has been ended."; code = 0x6D; break;
case 0x6E: desc = "ERROR_OPEN_FAILED: The system cannot open the device or file specified."; code = 0x6E; break;
case 0x6F: desc = "ERROR_BUFFER_OVERFLOW: The file name is too long."; code = 0x6F; break;
case 0x70: desc = "ERROR_DISK_FULL: There is not enough space on the disk."; code = 0x70; break;
case 0x71: desc = "ERROR_NO_MORE_SEARCH_HANDLES: No more internal file identifiers available."; code = 0x71; break;
case 0x72: desc = "ERROR_INVALID_TARGET_HANDLE: The target internal file identifier is incorrect."; code = 0x72; break;
case 0x75: desc = "ERROR_INVALID_CATEGORY: The IOCTL call made by the application program is not correct."; code = 0x75; break;
case 0x76: desc = "ERROR_INVALID_VERIFY_SWITCH: The verify-on-write switch parameter value is not correct."; code = 0x76; break;
case 0x77: desc = "ERROR_BAD_DRIVER_LEVEL: The system does not support the command requested."; code = 0x77; break;
case 0x78: desc = "ERROR_CALL_NOT_IMPLEMENTED: This function is not supported on this system."; code = 0x78; break;
case 0x79: desc = "ERROR_SEM_TIMEOUT: The semaphore timeout period has expired."; code = 0x79; break;
case 0x7A: desc = "ERROR_INSUFFICIENT_BUFFER: The data area passed to a system call is too small."; code = 0x7A; break;
case 0x7B: desc = "ERROR_INVALID_NAME: The filename, directory name, or volume label syntax is incorrect."; code = 0x7B; break;
case 0x7C: desc = "ERROR_INVALID_LEVEL: The system call level is not correct."; code = 0x7C; break;
case 0x7D: desc = "ERROR_NO_VOLUME_LABEL: The disk has no volume label."; code = 0x7D; break;
case 0x7E: desc = "ERROR_MOD_NOT_FOUND: The specified module could not be found."; code = 0x7E; break;
case 0x7F: desc = "ERROR_PROC_NOT_FOUND: The specified procedure could not be found."; code = 0x7F; break;
case 0x80: desc = "ERROR_WAIT_NO_CHILDREN: There are no child processes to wait for."; code = 0x80; break;
case 0x81: desc = "ERROR_CHILD_NOT_COMPLETE: The %1 application cannot be run in Win32 mode."; code = 0x81; break;
case 0x82: desc = "ERROR_DIRECT_ACCESS_HANDLE: Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O."; code = 0x82; break;
case 0x83: desc = "ERROR_NEGATIVE_SEEK: An attempt was made to move the file pointer before the beginning of the file."; code = 0x83; break;
case 0x84: desc = "ERROR_SEEK_ON_DEVICE: The file pointer cannot be set on the specified device or file."; code = 0x84; break;
case 0x85: desc = "ERROR_IS_JOIN_TARGET: A JOIN or SUBST command cannot be used for a drive that contains previously joined drives."; code = 0x85; break;
case 0x86: desc = "ERROR_IS_JOINED: An attempt was made to use a JOIN or SUBST command on a drive that has already been joined."; code = 0x86; break;
case 0x87: desc = "ERROR_IS_SUBSTED: An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted."; code = 0x87; break;
case 0x88: desc = "ERROR_NOT_JOINED: The system tried to delete the JOIN of a drive that is not joined."; code = 0x88; break;
case 0x89: desc = "ERROR_NOT_SUBSTED: The system tried to delete the substitution of a drive that is not substituted."; code = 0x89; break;
case 0x8A: desc = "ERROR_JOIN_TO_JOIN: The system tried to join a drive to a directory on a joined drive."; code = 0x8A; break;
case 0x8B: desc = "ERROR_SUBST_TO_SUBST: The system tried to substitute a drive to a directory on a substituted drive."; code = 0x8B; break;
case 0x8C: desc = "ERROR_JOIN_TO_SUBST: The system tried to join a drive to a directory on a substituted drive."; code = 0x8C; break;
case 0x8D: desc = "ERROR_SUBST_TO_JOIN: The system tried to SUBST a drive to a directory on a joined drive."; code = 0x8D; break;
case 0x8E: desc = "ERROR_BUSY_DRIVE: The system cannot perform a JOIN or SUBST at this time."; code = 0x8E; break;
case 0x8F: desc = "ERROR_SAME_DRIVE: The system cannot join or substitute a drive to or for a directory on the same drive."; code = 0x8F; break;
case 0x90: desc = "ERROR_DIR_NOT_ROOT: The directory is not a subdirectory of the root directory."; code = 0x90; break;
case 0x91: desc = "ERROR_DIR_NOT_EMPTY: The directory is not empty."; code = 0x91; break;
case 0x92: desc = "ERROR_IS_SUBST_PATH: The path specified is being used in a substitute."; code = 0x92; break;
case 0x93: desc = "ERROR_IS_JOIN_PATH: Not enough resources are available to process this command."; code = 0x93; break;
case 0x94: desc = "ERROR_PATH_BUSY: The path specified cannot be used at this time."; code = 0x94; break;
case 0x95: desc = "ERROR_IS_SUBST_TARGET: An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute."; code = 0x95; break;
case 0x96: desc = "ERROR_SYSTEM_TRACE: System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed."; code = 0x96; break;
case 0x97: desc = "ERROR_INVALID_EVENT_COUNT: The number of specified semaphore events for DosMuxSemWait is not correct."; code = 0x97; break;
case 0x98: desc = "ERROR_TOO_MANY_MUXWAITERS: DosMuxSemWait did not execute; too many semaphores are already set."; code = 0x98; break;
case 0x99: desc = "ERROR_INVALID_LIST_FORMAT: The DosMuxSemWait list is not correct."; code = 0x99; break;
case 0x9A: desc = "ERROR_LABEL_TOO_LONG: The volume label you entered exceeds the label character limit of the target file system."; code = 0x9A; break;
case 0x9B: desc = "ERROR_TOO_MANY_TCBS: Cannot create another thread."; code = 0x9B; break;
case 0x9C: desc = "ERROR_SIGNAL_REFUSED: The recipient process has refused the signal."; code = 0x9C; break;
case 0x9D: desc = "ERROR_DISCARDED: The segment is already discarded and cannot be locked."; code = 0x9D; break;
case 0x9E: desc = "ERROR_NOT_LOCKED: The segment is already unlocked."; code = 0x9E; break;
case 0x9F: desc = "ERROR_BAD_THREADID_ADDR: The address for the thread ID is not correct."; code = 0x9F; break;
case 0xA0: desc = "ERROR_BAD_ARGUMENTS: One or more arguments are not correct."; code = 0xA0; break;
case 0xA1: desc = "ERROR_BAD_PATHNAME: The specified path is invalid."; code = 0xA1; break;
case 0xA2: desc = "ERROR_SIGNAL_PENDING: A signal is already pending."; code = 0xA2; break;
case 0xA4: desc = "ERROR_MAX_THRDS_REACHED: No more threads can be created in the system."; code = 0xA4; break;
case 0xA7: desc = "ERROR_LOCK_FAILED: Unable to lock a region of a file."; code = 0xA7; break;
case 0xAA: desc = "ERROR_BUSY: The requested resource is in use."; code = 0xAA; break;
case 0xAB: desc = "ERROR_DEVICE_SUPPORT_IN_PROGRESS: Device's command support detection is in progress."; code = 0xAB; break;
case 0xAD: desc = "ERROR_CANCEL_VIOLATION: A lock request was not outstanding for the supplied cancel region."; code = 0xAD; break;
case 0xAE: desc = "ERROR_ATOMIC_LOCKS_NOT_SUPPORTED: The file system does not support atomic changes to the lock type."; code = 0xAE; break;
case 0xB4: desc = "ERROR_INVALID_SEGMENT_NUMBER: The system detected a segment number that was not correct."; code = 0xB4; break;
case 0xB6: desc = "ERROR_INVALID_ORDINAL: The operating system cannot run %1."; code = 0xB6; break;
case 0xB7: desc = "ERROR_ALREADY_EXISTS: Cannot create a file when that file already exists."; code = 0xB7; break;
case 0xBA: desc = "ERROR_INVALID_FLAG_NUMBER: The flag passed is not correct."; code = 0xBA; break;
case 0xBB: desc = "ERROR_SEM_NOT_FOUND: The specified system semaphore name was not found."; code = 0xBB; break;
case 0xBC: desc = "ERROR_INVALID_STARTING_CODESEG: The operating system cannot run %1."; code = 0xBC; break;
case 0xBD: desc = "ERROR_INVALID_STACKSEG: The operating system cannot run %1."; code = 0xBD; break;
case 0xBE: desc = "ERROR_INVALID_MODULETYPE: The operating system cannot run %1."; code = 0xBE; break;
case 0xBF: desc = "ERROR_INVALID_EXE_SIGNATURE: Cannot run %1 in Win32 mode."; code = 0xBF; break;
case 0xC0: desc = "ERROR_EXE_MARKED_INVALID: The operating system cannot run %1."; code = 0xC0; break;
case 0xC1: desc = "ERROR_BAD_EXE_FORMAT: %1 is not a valid Win32 application."; code = 0xC1; break;
case 0xC2: desc = "ERROR_ITERATED_DATA_EXCEEDS_64k: The operating system cannot run %1."; code = 0xC2; break;
case 0xC3: desc = "ERROR_INVALID_MINALLOCSIZE: The operating system cannot run %1."; code = 0xC3; break;
case 0xC4: desc = "ERROR_DYNLINK_FROM_INVALID_RING: The operating system cannot run this application program."; code = 0xC4; break;
case 0xC5: desc = "ERROR_IOPL_NOT_ENABLED: The operating system is not presently configured to run this application."; code = 0xC5; break;
case 0xC6: desc = "ERROR_INVALID_SEGDPL: The operating system cannot run %1."; code = 0xC6; break;
case 0xC7: desc = "ERROR_AUTODATASEG_EXCEEDS_64k: The operating system cannot run this application program."; code = 0xC7; break;
case 0xC8: desc = "ERROR_RING2SEG_MUST_BE_MOVABLE: The code segment cannot be greater than or equal to 64K."; code = 0xC8; break;
case 0xC9: desc = "ERROR_RELOC_CHAIN_XEEDS_SEGLIM: The operating system cannot run %1."; code = 0xC9; break;
case 0xCA: desc = "ERROR_INFLOOP_IN_RELOC_CHAIN: The operating system cannot run %1."; code = 0xCA; break;
case 0xCB: desc = "ERROR_ENVVAR_NOT_FOUND: The system could not find the environment option that was entered."; code = 0xCB; break;
case 0xCD: desc = "ERROR_NO_SIGNAL_SENT: No process in the command subtree has a signal handler."; code = 0xCD; break;
case 0xCE: desc = "ERROR_FILENAME_EXCED_RANGE: The filename or extension is too long."; code = 0xCE; break;
case 0xCF: desc = "ERROR_RING2_STACK_IN_USE: The ring 2 stack is in use."; code = 0xCF; break;
case 0xD0: desc = "ERROR_META_EXPANSION_TOO_LONG: The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified."; code = 0xD0; break;
case 0xD1: desc = "ERROR_INVALID_SIGNAL_NUMBER: The signal being posted is not correct."; code = 0xD1; break;
case 0xD2: desc = "ERROR_THREAD_1_INACTIVE: The signal handler cannot be set."; code = 0xD2; break;
case 0xD4: desc = "ERROR_LOCKED: The segment is locked and cannot be reallocated."; code = 0xD4; break;
case 0xD6: desc = "ERROR_TOO_MANY_MODULES: Too many dynamic-link modules are attached to this program or dynamic-link module."; code = 0xD6; break;
case 0xD7: desc = "ERROR_NESTING_NOT_ALLOWED: Cannot nest calls to LoadModule."; code = 0xD7; break;
case 0xD8: desc = "ERROR_EXE_MACHINE_TYPE_MISMATCH: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher."; code = 0xD8; break;
case 0xD9: desc = "ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY: The image file %1 is signed, unable to modify."; code = 0xD9; break;
case 0xDA: desc = "ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY: The image file %1 is strong signed, unable to modify."; code = 0xDA; break;
case 0xDC: desc = "ERROR_FILE_CHECKED_OUT: This file is checked out or locked for editing by another user."; code = 0xDC; break;
case 0xDD: desc = "ERROR_CHECKOUT_REQUIRED: The file must be checked out before saving changes."; code = 0xDD; break;
case 0xDE: desc = "ERROR_BAD_FILE_TYPE: The file type being saved or retrieved has been blocked."; code = 0xDE; break;
case 0xDF: desc = "ERROR_FILE_TOO_LARGE: The file size exceeds the limit allowed and cannot be saved."; code = 0xDF; break;
case 0xE0: desc = "ERROR_FORMS_AUTH_REQUIRED: Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically."; code = 0xE0; break;
case 0xE1: desc = "ERROR_VIRUS_INFECTED: Operation did not complete successfully because the file contains a virus or potentially unwanted software."; code = 0xE1; break;
case 0xE2: desc = "ERROR_VIRUS_DELETED: This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location."; code = 0xE2; break;
case 0xE5: desc = "ERROR_PIPE_LOCAL: The pipe is local."; code = 0xE5; break;
case 0xE6: desc = "ERROR_BAD_PIPE: The pipe state is invalid."; code = 0xE6; break;
case 0xE7: desc = "ERROR_PIPE_BUSY: All pipe instances are busy."; code = 0xE7; break;
case 0xE8: desc = "ERROR_NO_DATA: The pipe is being closed."; code = 0xE8; break;
case 0xE9: desc = "ERROR_PIPE_NOT_CONNECTED: No process is on the other end of the pipe."; code = 0xE9; break;
case 0xEA: desc = "ERROR_MORE_DATA: More data is available."; code = 0xEA; break;
case 0xF0: desc = "ERROR_VC_DISCONNECTED: The session was canceled."; code = 0xF0; break;
case 0xFE: desc = "ERROR_INVALID_EA_NAME: The specified extended attribute name was invalid."; code = 0xFE; break;
case 0xFF: desc = "ERROR_EA_LIST_INCONSISTENT: The extended attributes are inconsistent."; code = 0xFF; break;
case 0x102: desc = "WAIT_TIMEOUT: The wait operation timed out."; code = 0x102; break;
case 0x103: desc = "ERROR_NO_MORE_ITEMS: No more data is available."; code = 0x103; break;
case 0x10A: desc = "ERROR_CANNOT_COPY: The copy functions cannot be used."; code = 0x10A; break;
case 0x10B: desc = "ERROR_DIRECTORY: The directory name is invalid."; code = 0x10B; break;
case 0x113: desc = "ERROR_EAS_DIDNT_FIT: The extended attributes did not fit in the buffer."; code = 0x113; break;
case 0x114: desc = "ERROR_EA_FILE_CORRUPT: The extended attribute file on the mounted file system is corrupt."; code = 0x114; break;
case 0x115: desc = "ERROR_EA_TABLE_FULL: The extended attribute table file is full."; code = 0x115; break;
case 0x116: desc = "ERROR_INVALID_EA_HANDLE: The specified extended attribute handle is invalid."; code = 0x116; break;
case 0x11A: desc = "ERROR_EAS_NOT_SUPPORTED: The mounted file system does not support extended attributes."; code = 0x11A; break;
case 0x120: desc = "ERROR_NOT_OWNER: Attempt to release mutex not owned by caller."; code = 0x120; break;
case 0x12A: desc = "ERROR_TOO_MANY_POSTS: Too many posts were made to a semaphore."; code = 0x12A; break;
case 0x12B: desc = "ERROR_PARTIAL_COPY: Only part of a ReadProcessMemory or WriteProcessMemory request was completed."; code = 0x12B; break;
case 0x12C: desc = "ERROR_OPLOCK_NOT_GRANTED: The oplock request is denied."; code = 0x12C; break;
case 0x12D: desc = "ERROR_INVALID_OPLOCK_PROTOCOL: An invalid oplock acknowledgment was received by the system."; code = 0x12D; break;
case 0x12E: desc = "ERROR_DISK_TOO_FRAGMENTED: The volume is too fragmented to complete this operation."; code = 0x12E; break;
case 0x12F: desc = "ERROR_DELETE_PENDING: The file cannot be opened because it is in the process of being deleted."; code = 0x12F; break;
case 0x130: desc = "ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING: Short name settings may not be changed on this volume due to the global registry setting."; code = 0x130; break;
case 0x131: desc = "ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME: Short names are not enabled on this volume."; code = 0x131; break;
case 0x132: desc = "ERROR_SECURITY_STREAM_IS_INCONSISTENT: The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume."; code = 0x132; break;
case 0x133: desc = "ERROR_INVALID_LOCK_RANGE: A requested file lock operation cannot be processed due to an invalid byte range."; code = 0x133; break;
case 0x134: desc = "ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT: The subsystem needed to support the image type is not present."; code = 0x134; break;
case 0x135: desc = "ERROR_NOTIFICATION_GUID_ALREADY_DEFINED: The specified file already has a notification GUID associated with it."; code = 0x135; break;
case 0x136: desc = "ERROR_INVALID_EXCEPTION_HANDLER: An invalid exception handler routine has been detected."; code = 0x136; break;
case 0x137: desc = "ERROR_DUPLICATE_PRIVILEGES: Duplicate privileges were specified for the token."; code = 0x137; break;
case 0x138: desc = "ERROR_NO_RANGES_PROCESSED: No ranges for the specified operation were able to be processed."; code = 0x138; break;
case 0x139: desc = "ERROR_NOT_ALLOWED_ON_SYSTEM_FILE: Operation is not allowed on a file system internal file."; code = 0x139; break;
case 0x13A: desc = "ERROR_DISK_RESOURCES_EXHAUSTED: The physical resources of this disk have been exhausted."; code = 0x13A; break;
case 0x13B: desc = "ERROR_INVALID_TOKEN: The token representing the data is invalid."; code = 0x13B; break;
case 0x13C: desc = "ERROR_DEVICE_FEATURE_NOT_SUPPORTED: The device does not support the command feature."; code = 0x13C; break;
case 0x13D: desc = "ERROR_MR_MID_NOT_FOUND: The system cannot find message text for message number 0x%1 in the message file for %2."; code = 0x13D; break;
case 0x13E: desc = "ERROR_SCOPE_NOT_FOUND: The scope specified was not found."; code = 0x13E; break;
case 0x13F: desc = "ERROR_UNDEFINED_SCOPE: The Central Access Policy specified is not defined on the target machine."; code = 0x13F; break;
case 0x140: desc = "ERROR_INVALID_CAP: The Central Access Policy obtained from Active Directory is invalid."; code = 0x140; break;
case 0x141: desc = "ERROR_DEVICE_UNREACHABLE: The device is unreachable."; code = 0x141; break;
case 0x142: desc = "ERROR_DEVICE_NO_RESOURCES: The target device has insufficient resources to complete the operation."; code = 0x142; break;
case 0x143: desc = "ERROR_DATA_CHECKSUM_ERROR: A data integrity checksum error occurred. Data in the file stream is corrupt."; code = 0x143; break;
case 0x144: desc = "ERROR_INTERMIXED_KERNEL_EA_OPERATION: An attempt was made to modify both a KERNEL and normal Extended Attribute (EA) in the same operation."; code = 0x144; break;
case 0x146: desc = "ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED: Device does not support file-level TRIM."; code = 0x146; break;
case 0x147: desc = "ERROR_OFFSET_ALIGNMENT_VIOLATION: The command specified a data offset that does not align to the device's granularity/alignment."; code = 0x147; break;
case 0x148: desc = "ERROR_INVALID_FIELD_IN_PARAMETER_LIST: The command specified an invalid field in its parameter list."; code = 0x148; break;
case 0x149: desc = "ERROR_OPERATION_IN_PROGRESS: An operation is currently in progress with the device."; code = 0x149; break;
case 0x14A: desc = "ERROR_BAD_DEVICE_PATH: An attempt was made to send down the command via an invalid path to the target device."; code = 0x14A; break;
case 0x14B: desc = "ERROR_TOO_MANY_DESCRIPTORS: The command specified a number of descriptors that exceeded the maximum supported by the device."; code = 0x14B; break;
case 0x14C: desc = "ERROR_SCRUB_DATA_DISABLED: Scrub is disabled on the specified file."; code = 0x14C; break;
case 0x14D: desc = "ERROR_NOT_REDUNDANT_STORAGE: The storage device does not provide redundancy."; code = 0x14D; break;
case 0x14E: desc = "ERROR_RESIDENT_FILE_NOT_SUPPORTED: An operation is not supported on a resident file."; code = 0x14E; break;
case 0x14F: desc = "ERROR_COMPRESSED_FILE_NOT_SUPPORTED: An operation is not supported on a compressed file."; code = 0x14F; break;
case 0x150: desc = "ERROR_DIRECTORY_NOT_SUPPORTED: An operation is not supported on a directory."; code = 0x150; break;
case 0x151: desc = "ERROR_NOT_READ_FROM_COPY: The specified copy of the requested data could not be read."; code = 0x151; break;
case 0x15E: desc = "ERROR_FAIL_NOACTION_REBOOT: No action was taken as a system reboot is required."; code = 0x15E; break;
case 0x15F: desc = "ERROR_FAIL_SHUTDOWN: The shutdown operation failed."; code = 0x15F; break;
case 0x160: desc = "ERROR_FAIL_RESTART: The restart operation failed."; code = 0x160; break;
case 0x161: desc = "ERROR_MAX_SESSIONS_REACHED: The maximum number of sessions has been reached."; code = 0x161; break;
case 0x190: desc = "ERROR_THREAD_MODE_ALREADY_BACKGROUND: The thread is already in background processing mode."; code = 0x190; break;
case 0x191: desc = "ERROR_THREAD_MODE_NOT_BACKGROUND: The thread is not in background processing mode."; code = 0x191; break;
case 0x192: desc = "ERROR_PROCESS_MODE_ALREADY_BACKGROUND: The process is already in background processing mode."; code = 0x192; break;
case 0x193: desc = "ERROR_PROCESS_MODE_NOT_BACKGROUND: The process is not in background processing mode."; code = 0x193; break;
case 0x1E7: desc = "ERROR_INVALID_ADDRESS: Attempt to access invalid address."; code = 0x1E7; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x1f4 && rawError <= 0x3e7)
{
switch(rawError)
{
case 0x1F4: desc = "ERROR_USER_PROFILE_LOAD: User profile cannot be loaded."; code = 0x1F4; break;
case 0x216: desc = "ERROR_ARITHMETIC_OVERFLOW: Arithmetic result exceeded 32 bits."; code = 0x216; break;
case 0x217: desc = "ERROR_PIPE_CONNECTED: There is a process on other end of the pipe."; code = 0x217; break;
case 0x218: desc = "ERROR_PIPE_LISTENING: Waiting for a process to open the other end of the pipe."; code = 0x218; break;
case 0x219: desc = "ERROR_VERIFIER_STOP: Application verifier has found an error in the current process."; code = 0x219; break;
case 0x21A: desc = "ERROR_ABIOS_ERROR: An error occurred in the ABIOS subsystem."; code = 0x21A; break;
case 0x21B: desc = "ERROR_WX86_WARNING: A warning occurred in the WX86 subsystem."; code = 0x21B; break;
case 0x21C: desc = "ERROR_WX86_ERROR: An error occurred in the WX86 subsystem."; code = 0x21C; break;
case 0x21D: desc = "ERROR_TIMER_NOT_CANCELED: An attempt was made to cancel or set a timer that has an associated APC and the subject thread is not the thread that originally set the timer with an associated APC routine."; code = 0x21D; break;
case 0x21E: desc = "ERROR_UNWIND: Unwind exception code."; code = 0x21E; break;
case 0x21F: desc = "ERROR_BAD_STACK: An invalid or unaligned stack was encountered during an unwind operation."; code = 0x21F; break;
case 0x220: desc = "ERROR_INVALID_UNWIND_TARGET: An invalid unwind target was encountered during an unwind operation."; code = 0x220; break;
case 0x221: desc = "ERROR_INVALID_PORT_ATTRIBUTES: Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort"; code = 0x221; break;
case 0x222: desc = "ERROR_PORT_MESSAGE_TOO_LONG: Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port."; code = 0x222; break;
case 0x223: desc = "ERROR_INVALID_QUOTA_LOWER: An attempt was made to lower a quota limit below the current usage."; code = 0x223; break;
case 0x224: desc = "ERROR_DEVICE_ALREADY_ATTACHED: An attempt was made to attach to a device that was already attached to another device."; code = 0x224; break;
case 0x225: desc = "ERROR_INSTRUCTION_MISALIGNMENT: An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references."; code = 0x225; break;
case 0x226: desc = "ERROR_PROFILING_NOT_STARTED: Profiling not started."; code = 0x226; break;
case 0x227: desc = "ERROR_PROFILING_NOT_STOPPED: Profiling not stopped."; code = 0x227; break;
case 0x228: desc = "ERROR_COULD_NOT_INTERPRET: The passed ACL did not contain the minimum required information."; code = 0x228; break;
case 0x229: desc = "ERROR_PROFILING_AT_LIMIT: The number of active profiling objects is at the maximum and no more may be started."; code = 0x229; break;
case 0x22A: desc = "ERROR_CANT_WAIT: Used to indicate that an operation cannot continue without blocking for I/O."; code = 0x22A; break;
case 0x22B: desc = "ERROR_CANT_TERMINATE_SELF: Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current process."; code = 0x22B; break;
case 0x22C: desc = "ERROR_UNEXPECTED_MM_CREATE_ERR: If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception."; code = 0x22C; break;
case 0x22D: desc = "ERROR_UNEXPECTED_MM_MAP_ERROR: If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception."; code = 0x22D; break;
case 0x22E: desc = "ERROR_UNEXPECTED_MM_EXTEND_ERR: If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception."; code = 0x22E; break;
case 0x22F: desc = "ERROR_BAD_FUNCTION_TABLE: A malformed function table was encountered during an unwind operation."; code = 0x22F; break;
case 0x230: desc = "ERROR_NO_GUID_TRANSLATION: Indicates that an attempt was made to assign protection to a file system file or directory and one of the SIDs in the security descriptor could not be translated into a GUID that could be stored by the file system. This causes the protection attempt to fail, which may cause a file creation attempt to fail."; code = 0x230; break;
case 0x231: desc = "ERROR_INVALID_LDT_SIZE: Indicates that an attempt was made to grow an LDT by setting its size, or that the size was not an even number of selectors."; code = 0x231; break;
case 0x233: desc = "ERROR_INVALID_LDT_OFFSET: Indicates that the starting value for the LDT information was not an integral multiple of the selector size."; code = 0x233; break;
case 0x234: desc = "ERROR_INVALID_LDT_DESCRIPTOR: Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors."; code = 0x234; break;
case 0x235: desc = "ERROR_TOO_MANY_THREADS: Indicates a process has too many threads to perform the requested action. For example, assignment of a primary token may only be performed when a process has zero or one threads."; code = 0x235; break;
case 0x236: desc = "ERROR_THREAD_NOT_IN_PROCESS: An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified."; code = 0x236; break;
case 0x237: desc = "ERROR_PAGEFILE_QUOTA_EXCEEDED: Page file quota was exceeded."; code = 0x237; break;
case 0x238: desc = "ERROR_LOGON_SERVER_CONFLICT: The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role."; code = 0x238; break;
case 0x239: desc = "ERROR_SYNCHRONIZATION_REQUIRED: The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required."; code = 0x239; break;
case 0x23A: desc = "ERROR_NET_OPEN_FAILED: The NtCreateFile API failed. This error should never be returned to an application, it is a place holder for the Windows Lan Manager Redirector to use in its internal error mapping routines."; code = 0x23A; break;
case 0x23B: desc = "ERROR_IO_PRIVILEGE_FAILED: {Privilege Failed} The I/O permissions for the process could not be changed."; code = 0x23B; break;
case 0x23C: desc = "ERROR_CONTROL_C_EXIT: {Application Exit by CTRL+C} The application terminated as a result of a CTRL+C."; code = 0x23C; break;
case 0x23D: desc = "ERROR_MISSING_SYSTEMFILE: {Missing System File} The required system file %hs is bad or missing."; code = 0x23D; break;
case 0x23E: desc = "ERROR_UNHANDLED_EXCEPTION: {Application Error} The exception %s (0x%08lx) occurred in the application at location 0x%08lx."; code = 0x23E; break;
case 0x23F: desc = "ERROR_APP_INIT_FAILURE: {Application Error} The application was unable to start correctly (0x%lx). Click OK to close the application."; code = 0x23F; break;
case 0x240: desc = "ERROR_PAGEFILE_CREATE_FAILED: {Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld."; code = 0x240; break;
case 0x241: desc = "ERROR_INVALID_IMAGE_HASH: Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source."; code = 0x241; break;
case 0x242: desc = "ERROR_NO_PAGEFILE: {No Paging File Specified} No paging file was specified in the system configuration."; code = 0x242; break;
case 0x243: desc = "ERROR_ILLEGAL_FLOAT_CONTEXT: {EXCEPTION} A real-mode application issued a floating-point instruction and floating-point hardware is not present."; code = 0x243; break;
case 0x244: desc = "ERROR_NO_EVENT_PAIR: An event pair synchronization operation was performed using the thread specific client/server event pair object, but no event pair object was associated with the thread."; code = 0x244; break;
case 0x245: desc = "ERROR_DOMAIN_CTRLR_CONFIG_ERROR: A Windows Server has an incorrect configuration."; code = 0x245; break;
case 0x246: desc = "ERROR_ILLEGAL_CHARACTER: An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE."; code = 0x246; break;
case 0x247: desc = "ERROR_UNDEFINED_CHARACTER: The Unicode character is not defined in the Unicode character set installed on the system."; code = 0x247; break;
case 0x248: desc = "ERROR_FLOPPY_VOLUME: The paging file cannot be created on a floppy diskette."; code = 0x248; break;
case 0x249: desc = "ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT: The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected."; code = 0x249; break;
case 0x24A: desc = "ERROR_BACKUP_CONTROLLER: This operation is only allowed for the Primary Domain Controller of the domain."; code = 0x24A; break;
case 0x24B: desc = "ERROR_MUTANT_LIMIT_EXCEEDED: An attempt was made to acquire a mutant such that its maximum count would have been exceeded."; code = 0x24B; break;
case 0x24C: desc = "ERROR_FS_DRIVER_REQUIRED: A volume has been accessed for which a file system driver is required that has not yet been loaded."; code = 0x24C; break;
case 0x24D: desc = "ERROR_CANNOT_LOAD_REGISTRY_FILE: {Registry File Failure} The registry cannot load the hive (file): %hs or its log or alternate. It is corrupt, absent, or not writable."; code = 0x24D; break;
case 0x24E: desc = "ERROR_DEBUG_ATTACH_FAILED: {Unexpected Failure in DebugActiveProcess} An unexpected failure occurred while processing a DebugActiveProcess API request. You may choose OK to terminate the process, or Cancel to ignore the error."; code = 0x24E; break;
case 0x24F: desc = "ERROR_SYSTEM_PROCESS_TERMINATED: {Fatal System Error} The %hs system process terminated unexpectedly with a status of 0x%08x (0x%08x 0x%08x). The system has been shut down."; code = 0x24F; break;
case 0x250: desc = "ERROR_DATA_NOT_ACCEPTED: {Data Not Accepted} The TDI client could not handle the data received during an indication."; code = 0x250; break;
case 0x251: desc = "ERROR_VDM_HARD_ERROR: NTVDM encountered a hard error."; code = 0x251; break;
case 0x252: desc = "ERROR_DRIVER_CANCEL_TIMEOUT: {Cancel Timeout} The driver %hs failed to complete a cancelled I/O request in the allotted time."; code = 0x252; break;
case 0x253: desc = "ERROR_REPLY_MESSAGE_MISMATCH: {Reply Message Mismatch} An attempt was made to reply to an LPC message, but the thread specified by the client ID in the message was not waiting on that message."; code = 0x253; break;
case 0x254: desc = "ERROR_LOST_WRITEBEHIND_DATA: {Delayed Write Failed} Windows was unable to save all the data for the file %hs. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere."; code = 0x254; break;
case 0x255: desc = "ERROR_CLIENT_SERVER_PARAMETERS_INVALID: The parameter(s) passed to the server in the client/server shared memory window were invalid. Too much data may have been put in the shared memory window."; code = 0x255; break;
case 0x256: desc = "ERROR_NOT_TINY_STREAM: The stream is not a tiny stream."; code = 0x256; break;
case 0x257: desc = "ERROR_STACK_OVERFLOW_READ: The request must be handled by the stack overflow code."; code = 0x257; break;
case 0x258: desc = "ERROR_CONVERT_TO_LARGE: Internal OFS status codes indicating how an allocation operation is handled. Either it is retried after the containing onode is moved or the extent stream is converted to a large stream."; code = 0x258; break;
case 0x259: desc = "ERROR_FOUND_OUT_OF_SCOPE: The attempt to find the object found an object matching by ID on the volume but it is out of the scope of the handle used for the operation."; code = 0x259; break;
case 0x25A: desc = "ERROR_ALLOCATE_BUCKET: The bucket array must be grown. Retry transaction after doing so."; code = 0x25A; break;
case 0x25B: desc = "ERROR_MARSHALL_OVERFLOW: The user/kernel marshalling buffer has overflowed."; code = 0x25B; break;
case 0x25C: desc = "ERROR_INVALID_VARIANT: The supplied variant structure contains invalid data."; code = 0x25C; break;
case 0x25D: desc = "ERROR_BAD_COMPRESSION_BUFFER: The specified buffer contains ill-formed data."; code = 0x25D; break;
case 0x25E: desc = "ERROR_AUDIT_FAILED: {Audit Failed} An attempt to generate a security audit failed."; code = 0x25E; break;
case 0x25F: desc = "ERROR_TIMER_RESOLUTION_NOT_SET: The timer resolution was not previously set by the current process."; code = 0x25F; break;
case 0x260: desc = "ERROR_INSUFFICIENT_LOGON_INFO: There is insufficient account information to log you on."; code = 0x260; break;
case 0x261: desc = "ERROR_BAD_DLL_ENTRYPOINT: {Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly. The stack pointer has been left in an inconsistent state. The entrypoint should be declared as WINAPI or STDCALL. Select YES to fail the DLL load. Select NO to continue execution. Selecting NO may cause the application to operate incorrectly."; code = 0x261; break;
case 0x262: desc = "ERROR_BAD_SERVICE_ENTRYPOINT: {Invalid Service Callback Entrypoint} The %hs service is not written correctly. The stack pointer has been left in an inconsistent state. The callback entrypoint should be declared as WINAPI or STDCALL. Selecting OK will cause the service to continue operation. However, the service process may operate incorrectly."; code = 0x262; break;
case 0x263: desc = "ERROR_IP_ADDRESS_CONFLICT1: There is an IP address conflict with another system on the network."; code = 0x263; break;
case 0x264: desc = "ERROR_IP_ADDRESS_CONFLICT2: There is an IP address conflict with another system on the network."; code = 0x264; break;
case 0x265: desc = "ERROR_REGISTRY_QUOTA_LIMIT: {Low On Registry Space} The system has reached the maximum size allowed for the system part of the registry. Additional storage requests will be ignored."; code = 0x265; break;
case 0x266: desc = "ERROR_NO_CALLBACK_ACTIVE: A callback return system service cannot be executed when no callback is active."; code = 0x266; break;
case 0x267: desc = "ERROR_PWD_TOO_SHORT: The password provided is too short to meet the policy of your user account. Please choose a longer password."; code = 0x267; break;
case 0x268: desc = "ERROR_PWD_TOO_RECENT: The policy of your user account does not allow you to change passwords too frequently. This is done to prevent users from changing back to a familiar, but potentially discovered, password. If you feel your password has been compromised then please contact your administrator immediately to have a new one assigned."; code = 0x268; break;
case 0x269: desc = "ERROR_PWD_HISTORY_CONFLICT: You have attempted to change your password to one that you have used in the past. The policy of your user account does not allow this. Please select a password that you have not previously used."; code = 0x269; break;
case 0x26A: desc = "ERROR_UNSUPPORTED_COMPRESSION: The specified compression format is unsupported."; code = 0x26A; break;
case 0x26B: desc = "ERROR_INVALID_HW_PROFILE: The specified hardware profile configuration is invalid."; code = 0x26B; break;
case 0x26C: desc = "ERROR_INVALID_PLUGPLAY_DEVICE_PATH: The specified Plug and Play registry device path is invalid."; code = 0x26C; break;
case 0x26D: desc = "ERROR_QUOTA_LIST_INCONSISTENT: The specified quota list is internally inconsistent with its descriptor."; code = 0x26D; break;
case 0x26E: desc = "ERROR_EVALUATION_EXPIRATION: {Windows Evaluation Notification} The evaluation period for this installation of Windows has expired. This system will shutdown in 1 hour. To restore access to this installation of Windows, please upgrade this installation using a licensed distribution of this product."; code = 0x26E; break;
case 0x26F: desc = "ERROR_ILLEGAL_DLL_RELOCATION: {Illegal System DLL Relocation} The system DLL %hs was relocated in memory. The application will not run properly. The relocation occurred because the DLL %hs occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL."; code = 0x26F; break;
case 0x270: desc = "ERROR_DLL_INIT_FAILED_LOGOFF: {DLL Initialization Failed} The application failed to initialize because the window station is shutting down."; code = 0x270; break;
case 0x271: desc = "ERROR_VALIDATE_CONTINUE: The validation process needs to continue on to the next step."; code = 0x271; break;
case 0x272: desc = "ERROR_NO_MORE_MATCHES: There are no more matches for the current index enumeration."; code = 0x272; break;
case 0x273: desc = "ERROR_RANGE_LIST_CONFLICT: The range could not be added to the range list because of a conflict."; code = 0x273; break;
case 0x274: desc = "ERROR_SERVER_SID_MISMATCH: The server process is running under a SID different than that required by client."; code = 0x274; break;
case 0x275: desc = "ERROR_CANT_ENABLE_DENY_ONLY: A group marked use for deny only cannot be enabled."; code = 0x275; break;
case 0x276: desc = "ERROR_FLOAT_MULTIPLE_FAULTS: {EXCEPTION} Multiple floating point faults."; code = 0x276; break;
case 0x277: desc = "ERROR_FLOAT_MULTIPLE_TRAPS: {EXCEPTION} Multiple floating point traps."; code = 0x277; break;
case 0x278: desc = "ERROR_NOINTERFACE: The requested interface is not supported."; code = 0x278; break;
case 0x279: desc = "ERROR_DRIVER_FAILED_SLEEP: {System Standby Failed} The driver %hs does not support standby mode. Updating this driver may allow the system to go to standby mode."; code = 0x279; break;
case 0x27A: desc = "ERROR_CORRUPT_SYSTEM_FILE: The system file %1 has become corrupt and has been replaced."; code = 0x27A; break;
case 0x27B: desc = "ERROR_COMMITMENT_MINIMUM: {Virtual Memory Minimum Too Low} Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see Help."; code = 0x27B; break;
case 0x27C: desc = "ERROR_PNP_RESTART_ENUMERATION: A device was removed so enumeration must be restarted."; code = 0x27C; break;
case 0x27D: desc = "ERROR_SYSTEM_IMAGE_BAD_SIGNATURE: {Fatal System Error} The system image %s is not properly signed. The file has been replaced with the signed file. The system has been shut down."; code = 0x27D; break;
case 0x27E: desc = "ERROR_PNP_REBOOT_REQUIRED: Device will not start without a reboot."; code = 0x27E; break;
case 0x27F: desc = "ERROR_INSUFFICIENT_POWER: There is not enough power to complete the requested operation."; code = 0x27F; break;
case 0x280: desc = "ERROR_MULTIPLE_FAULT_VIOLATION: ERROR_MULTIPLE_FAULT_VIOLATION"; code = 0x280; break;
case 0x281: desc = "ERROR_SYSTEM_SHUTDOWN: The system is in the process of shutting down."; code = 0x281; break;
case 0x282: desc = "ERROR_PORT_NOT_SET: An attempt to remove a processes DebugPort was made, but a port was not already associated with the process."; code = 0x282; break;
case 0x283: desc = "ERROR_DS_VERSION_CHECK_FAILURE: This version of Windows is not compatible with the behavior version of directory forest, domain or domain controller."; code = 0x283; break;
case 0x284: desc = "ERROR_RANGE_NOT_FOUND: The specified range could not be found in the range list."; code = 0x284; break;
case 0x286: desc = "ERROR_NOT_SAFE_MODE_DRIVER: The driver was not loaded because the system is booting into safe mode."; code = 0x286; break;
case 0x287: desc = "ERROR_FAILED_DRIVER_ENTRY: The driver was not loaded because it failed its initialization call."; code = 0x287; break;
case 0x288: desc = "ERROR_DEVICE_ENUMERATION_ERROR: The \"%hs\" encountered an error while applying power or reading the device configuration. This may be caused by a failure of your hardware or by a poor connection."; code = 0x288; break;
case 0x289: desc = "ERROR_MOUNT_POINT_NOT_RESOLVED: The create operation failed because the name contained at least one mount point which resolves to a volume to which the specified device object is not attached."; code = 0x289; break;
case 0x28A: desc = "ERROR_INVALID_DEVICE_OBJECT_PARAMETER: The device object parameter is either not a valid device object or is not attached to the volume specified by the file name."; code = 0x28A; break;
case 0x28B: desc = "ERROR_MCA_OCCURED: A Machine Check Error has occurred. Please check the system eventlog for additional information."; code = 0x28B; break;
case 0x28C: desc = "ERROR_DRIVER_DATABASE_ERROR: There was error [%2] processing the driver database."; code = 0x28C; break;
case 0x28D: desc = "ERROR_SYSTEM_HIVE_TOO_LARGE: System hive size has exceeded its limit."; code = 0x28D; break;
case 0x28E: desc = "ERROR_DRIVER_FAILED_PRIOR_UNLOAD: The driver could not be loaded because a previous version of the driver is still in memory."; code = 0x28E; break;
case 0x28F: desc = "ERROR_VOLSNAP_PREPARE_HIBERNATE: {Volume Shadow Copy Service} Please wait while the Volume Shadow Copy Service prepares volume %hs for hibernation."; code = 0x28F; break;
case 0x290: desc = "ERROR_HIBERNATION_FAILURE: The system has failed to hibernate (The error code is %hs). Hibernation will be disabled until the system is restarted."; code = 0x290; break;
case 0x291: desc = "ERROR_PWD_TOO_LONG: The password provided is too long to meet the policy of your user account. Please choose a shorter password."; code = 0x291; break;
case 0x299: desc = "ERROR_FILE_SYSTEM_LIMITATION: The requested operation could not be completed due to a file system limitation."; code = 0x299; break;
case 0x29C: desc = "ERROR_ASSERTION_FAILURE: An assertion failure has occurred."; code = 0x29C; break;
case 0x29D: desc = "ERROR_ACPI_ERROR: An error occurred in the ACPI subsystem."; code = 0x29D; break;
case 0x29E: desc = "ERROR_WOW_ASSERTION: WOW Assertion Error."; code = 0x29E; break;
case 0x29F: desc = "ERROR_PNP_BAD_MPS_TABLE: A device is missing in the system BIOS MPS table. This device will not be used. Please contact your system vendor for system BIOS update."; code = 0x29F; break;
case 0x2A0: desc = "ERROR_PNP_TRANSLATION_FAILED: A translator failed to translate resources."; code = 0x2A0; break;
case 0x2A1: desc = "ERROR_PNP_IRQ_TRANSLATION_FAILED: A IRQ translator failed to translate resources."; code = 0x2A1; break;
case 0x2A2: desc = "ERROR_PNP_INVALID_ID: Driver %2 returned invalid ID for a child device (%3)."; code = 0x2A2; break;
case 0x2A3: desc = "ERROR_WAKE_SYSTEM_DEBUGGER: {Kernel Debugger Awakened} the system debugger was awakened by an interrupt."; code = 0x2A3; break;
case 0x2A4: desc = "ERROR_HANDLES_CLOSED: {Handles Closed} Handles to objects have been automatically closed as a result of the requested operation."; code = 0x2A4; break;
case 0x2A5: desc = "ERROR_EXTRANEOUS_INFORMATION: {Too Much Information} The specified access control list (ACL) contained more information than was expected."; code = 0x2A5; break;
case 0x2A6: desc = "ERROR_RXACT_COMMIT_NECESSARY: This warning level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has NOT been completed, but has not been rolled back either (so it may still be committed if desired)."; code = 0x2A6; break;
case 0x2A7: desc = "ERROR_MEDIA_CHECK: {Media Changed} The media may have changed."; code = 0x2A7; break;
case 0x2A8: desc = "ERROR_GUID_SUBSTITUTION_MADE: {GUID Substitution} During the translation of a global identifier (GUID) to a Windows security ID (SID), no administratively-defined GUID prefix was found. A substitute prefix was used, which will not compromise system security. However, this may provide a more restrictive access than intended."; code = 0x2A8; break;
case 0x2A9: desc = "ERROR_STOPPED_ON_SYMLINK: The create operation stopped after reaching a symbolic link."; code = 0x2A9; break;
case 0x2AA: desc = "ERROR_LONGJUMP: A long jump has been executed."; code = 0x2AA; break;
case 0x2AB: desc = "ERROR_PLUGPLAY_QUERY_VETOED: The Plug and Play query operation was not successful."; code = 0x2AB; break;
case 0x2AC: desc = "ERROR_UNWIND_CONSOLIDATE: A frame consolidation has been executed."; code = 0x2AC; break;
case 0x2AD: desc = "ERROR_REGISTRY_HIVE_RECOVERED: {Registry Hive Recovered} Registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost."; code = 0x2AD; break;
case 0x2AE: desc = "ERROR_DLL_MIGHT_BE_INSECURE: The application is attempting to run executable code from the module %hs. This may be insecure. An alternative, %hs, is available. Should the application use the secure module %hs?"; code = 0x2AE; break;
case 0x2AF: desc = "ERROR_DLL_MIGHT_BE_INCOMPATIBLE: The application is loading executable code from the module %hs. This is secure, but may be incompatible with previous releases of the operating system. An alternative, %hs, is available. Should the application use the secure module %hs?"; code = 0x2AF; break;
case 0x2B0: desc = "ERROR_DBG_EXCEPTION_NOT_HANDLED: Debugger did not handle the exception."; code = 0x2B0; break;
case 0x2B1: desc = "ERROR_DBG_REPLY_LATER: Debugger will reply later."; code = 0x2B1; break;
case 0x2B2: desc = "ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE: Debugger cannot provide handle."; code = 0x2B2; break;
case 0x2B3: desc = "ERROR_DBG_TERMINATE_THREAD: Debugger terminated thread."; code = 0x2B3; break;
case 0x2B4: desc = "ERROR_DBG_TERMINATE_PROCESS: Debugger terminated process."; code = 0x2B4; break;
case 0x2B5: desc = "ERROR_DBG_CONTROL_C: Debugger got control C."; code = 0x2B5; break;
case 0x2B6: desc = "ERROR_DBG_PRINTEXCEPTION_C: Debugger printed exception on control C."; code = 0x2B6; break;
case 0x2B7: desc = "ERROR_DBG_RIPEXCEPTION: Debugger received RIP exception."; code = 0x2B7; break;
case 0x2B8: desc = "ERROR_DBG_CONTROL_BREAK: Debugger received control break."; code = 0x2B8; break;
case 0x2B9: desc = "ERROR_DBG_COMMAND_EXCEPTION: Debugger command communication exception."; code = 0x2B9; break;
case 0x2BA: desc = "ERROR_OBJECT_NAME_EXISTS: {Object Exists} An attempt was made to create an object and the object name already existed."; code = 0x2BA; break;
case 0x2BB: desc = "ERROR_THREAD_WAS_SUSPENDED: {Thread Suspended} A thread termination occurred while the thread was suspended. The thread was resumed, and termination proceeded."; code = 0x2BB; break;
case 0x2BC: desc = "ERROR_IMAGE_NOT_AT_BASE: {Image Relocated} An image file could not be mapped at the address specified in the image file. Local fixups must be performed on this image."; code = 0x2BC; break;
case 0x2BD: desc = "ERROR_RXACT_STATE_CREATED: This informational level status indicates that a specified registry sub-tree transaction state did not yet exist and had to be created."; code = 0x2BD; break;
case 0x2BE: desc = "ERROR_SEGMENT_NOTIFICATION: {Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image. An exception is raised so a debugger can load, unload or track symbols and breakpoints within these 16-bit segments."; code = 0x2BE; break;
case 0x2BF: desc = "ERROR_BAD_CURRENT_DIRECTORY: {Invalid Current Directory} The process cannot switch to the startup current directory %hs. Select OK to set current directory to %hs, or select CANCEL to exit."; code = 0x2BF; break;
case 0x2C0: desc = "ERROR_FT_READ_RECOVERY_FROM_BACKUP: {Redundant Read} To satisfy a read request, the NT fault-tolerant file system successfully read the requested data from a redundant copy. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was unable to reassign the failing area of the device."; code = 0x2C0; break;
case 0x2C1: desc = "ERROR_FT_WRITE_RECOVERY: {Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device."; code = 0x2C1; break;
case 0x2C2: desc = "ERROR_IMAGE_MACHINE_TYPE_MISMATCH: {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine. Select OK to continue, or CANCEL to fail the DLL load."; code = 0x2C2; break;
case 0x2C3: desc = "ERROR_RECEIVE_PARTIAL: {Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later."; code = 0x2C3; break;
case 0x2C4: desc = "ERROR_RECEIVE_EXPEDITED: {Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system."; code = 0x2C4; break;
case 0x2C5: desc = "ERROR_RECEIVE_PARTIAL_EXPEDITED: {Partial Expedited Data Received} The network transport returned partial data to its client and this data was marked as expedited by the remote system. The remaining data will be sent later."; code = 0x2C5; break;
case 0x2C6: desc = "ERROR_EVENT_DONE: {TDI Event Done} The TDI indication has completed successfully."; code = 0x2C6; break;
case 0x2C7: desc = "ERROR_EVENT_PENDING: {TDI Event Pending} The TDI indication has entered the pending state."; code = 0x2C7; break;
case 0x2C8: desc = "ERROR_CHECKING_FILE_SYSTEM: Checking file system on %wZ."; code = 0x2C8; break;
case 0x2C9: desc = "ERROR_FATAL_APP_EXIT: {Fatal Application Exit} %hs."; code = 0x2C9; break;
case 0x2CA: desc = "ERROR_PREDEFINED_HANDLE: The specified registry key is referenced by a predefined handle."; code = 0x2CA; break;
case 0x2CB: desc = "ERROR_WAS_UNLOCKED: {Page Unlocked} The page protection of a locked page was changed to 'No Access' and the page was unlocked from memory and from the process."; code = 0x2CB; break;
case 0x2CC: desc = "ERROR_SERVICE_NOTIFICATION: %hs"; code = 0x2CC; break;
case 0x2CD: desc = "ERROR_WAS_LOCKED: {Page Locked} One of the pages to lock was already locked."; code = 0x2CD; break;
case 0x2CE: desc = "ERROR_LOG_HARD_ERROR: Application popup: %1 : %2"; code = 0x2CE; break;
case 0x2CF: desc = "ERROR_ALREADY_WIN32: ERROR_ALREADY_WIN32"; code = 0x2CF; break;
case 0x2D0: desc = "ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE: {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine."; code = 0x2D0; break;
case 0x2D1: desc = "ERROR_NO_YIELD_PERFORMED: A yield execution was performed and no thread was available to run."; code = 0x2D1; break;
case 0x2D2: desc = "ERROR_TIMER_RESUME_IGNORED: The resumable flag to a timer API was ignored."; code = 0x2D2; break;
case 0x2D3: desc = "ERROR_ARBITRATION_UNHANDLED: The arbiter has deferred arbitration of these resources to its parent."; code = 0x2D3; break;
case 0x2D4: desc = "ERROR_CARDBUS_NOT_SUPPORTED: The inserted CardBus device cannot be started because of a configuration error on \"%hs\"."; code = 0x2D4; break;
case 0x2D5: desc = "ERROR_MP_PROCESSOR_MISMATCH: The CPUs in this multiprocessor system are not all the same revision level. To use all processors the operating system restricts itself to the features of the least capable processor in the system. Should problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported."; code = 0x2D5; break;
case 0x2D6: desc = "ERROR_HIBERNATED: The system was put into hibernation."; code = 0x2D6; break;
case 0x2D7: desc = "ERROR_RESUME_HIBERNATION: The system was resumed from hibernation."; code = 0x2D7; break;
case 0x2D8: desc = "ERROR_FIRMWARE_UPDATED: Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3]."; code = 0x2D8; break;
case 0x2D9: desc = "ERROR_DRIVERS_LEAKING_LOCKED_PAGES: A device driver is leaking locked I/O pages causing system degradation. The system has automatically enabled tracking code in order to try and catch the culprit."; code = 0x2D9; break;
case 0x2DA: desc = "ERROR_WAKE_SYSTEM: The system has awoken."; code = 0x2DA; break;
case 0x2DB: desc = "ERROR_WAIT_1: ERROR_WAIT_1"; code = 0x2DB; break;
case 0x2DC: desc = "ERROR_WAIT_2: ERROR_WAIT_2"; code = 0x2DC; break;
case 0x2DD: desc = "ERROR_WAIT_3: ERROR_WAIT_3"; code = 0x2DD; break;
case 0x2DE: desc = "ERROR_WAIT_63: ERROR_WAIT_63"; code = 0x2DE; break;
case 0x2DF: desc = "ERROR_ABANDONED_WAIT_0: ERROR_ABANDONED_WAIT_0"; code = 0x2DF; break;
case 0x2E0: desc = "ERROR_ABANDONED_WAIT_63: ERROR_ABANDONED_WAIT_63"; code = 0x2E0; break;
case 0x2E1: desc = "ERROR_USER_APC: ERROR_USER_APC"; code = 0x2E1; break;
case 0x2E2: desc = "ERROR_KERNEL_APC: ERROR_KERNEL_APC"; code = 0x2E2; break;
case 0x2E3: desc = "ERROR_ALERTED: ERROR_ALERTED"; code = 0x2E3; break;
case 0x2E4: desc = "ERROR_ELEVATION_REQUIRED: The requested operation requires elevation."; code = 0x2E4; break;
case 0x2E5: desc = "ERROR_REPARSE: A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link."; code = 0x2E5; break;
case 0x2E6: desc = "ERROR_OPLOCK_BREAK_IN_PROGRESS: An open/create operation completed while an oplock break is underway."; code = 0x2E6; break;
case 0x2E7: desc = "ERROR_VOLUME_MOUNTED: A new volume has been mounted by a file system."; code = 0x2E7; break;
case 0x2E8: desc = "ERROR_RXACT_COMMITTED: This success level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has now been completed."; code = 0x2E8; break;
case 0x2E9: desc = "ERROR_NOTIFY_CLEANUP: This indicates that a notify change request has been completed due to closing the handle which made the notify change request."; code = 0x2E9; break;
case 0x2EA: desc = "ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED: {Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed. The computer WAS able to connect on a secondary transport."; code = 0x2EA; break;
case 0x2EB: desc = "ERROR_PAGE_FAULT_TRANSITION: Page fault was a transition fault."; code = 0x2EB; break;
case 0x2EC: desc = "ERROR_PAGE_FAULT_DEMAND_ZERO: Page fault was a demand zero fault."; code = 0x2EC; break;
case 0x2ED: desc = "ERROR_PAGE_FAULT_COPY_ON_WRITE: Page fault was a demand zero fault."; code = 0x2ED; break;
case 0x2EE: desc = "ERROR_PAGE_FAULT_GUARD_PAGE: Page fault was a demand zero fault."; code = 0x2EE; break;
case 0x2EF: desc = "ERROR_PAGE_FAULT_PAGING_FILE: Page fault was satisfied by reading from a secondary storage device."; code = 0x2EF; break;
case 0x2F0: desc = "ERROR_CACHE_PAGE_LOCKED: Cached page was locked during operation."; code = 0x2F0; break;
case 0x2F1: desc = "ERROR_CRASH_DUMP: Crash dump exists in paging file."; code = 0x2F1; break;
case 0x2F2: desc = "ERROR_BUFFER_ALL_ZEROS: Specified buffer contains all zeros."; code = 0x2F2; break;
case 0x2F3: desc = "ERROR_REPARSE_OBJECT: A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link."; code = 0x2F3; break;
case 0x2F4: desc = "ERROR_RESOURCE_REQUIREMENTS_CHANGED: The device has succeeded a query-stop and its resource requirements have changed."; code = 0x2F4; break;
case 0x2F5: desc = "ERROR_TRANSLATION_COMPLETE: The translator has translated these resources into the global space and no further translations should be performed."; code = 0x2F5; break;
case 0x2F6: desc = "ERROR_NOTHING_TO_TERMINATE: A process being terminated has no threads to terminate."; code = 0x2F6; break;
case 0x2F7: desc = "ERROR_PROCESS_NOT_IN_JOB: The specified process is not part of a job."; code = 0x2F7; break;
case 0x2F8: desc = "ERROR_PROCESS_IN_JOB: The specified process is part of a job."; code = 0x2F8; break;
case 0x2F9: desc = "ERROR_VOLSNAP_HIBERNATE_READY: {Volume Shadow Copy Service} The system is now ready for hibernation."; code = 0x2F9; break;
case 0x2FA: desc = "ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY: A file system or file system filter driver has successfully completed an FsFilter operation."; code = 0x2FA; break;
case 0x2FB: desc = "ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED: The specified interrupt vector was already connected."; code = 0x2FB; break;
case 0x2FC: desc = "ERROR_INTERRUPT_STILL_CONNECTED: The specified interrupt vector is still connected."; code = 0x2FC; break;
case 0x2FD: desc = "ERROR_WAIT_FOR_OPLOCK: An operation is blocked waiting for an oplock."; code = 0x2FD; break;
case 0x2FE: desc = "ERROR_DBG_EXCEPTION_HANDLED: Debugger handled exception."; code = 0x2FE; break;
case 0x2FF: desc = "ERROR_DBG_CONTINUE: Debugger continued."; code = 0x2FF; break;
case 0x300: desc = "ERROR_CALLBACK_POP_STACK: An exception occurred in a user mode callback and the kernel callback frame should be removed."; code = 0x300; break;
case 0x301: desc = "ERROR_COMPRESSION_DISABLED: Compression is disabled for this volume."; code = 0x301; break;
case 0x302: desc = "ERROR_CANTFETCHBACKWARDS: The data provider cannot fetch backwards through a result set."; code = 0x302; break;
case 0x303: desc = "ERROR_CANTSCROLLBACKWARDS: The data provider cannot scroll backwards through a result set."; code = 0x303; break;
case 0x304: desc = "ERROR_ROWSNOTRELEASED: The data provider requires that previously fetched data is released before asking for more data."; code = 0x304; break;
case 0x305: desc = "ERROR_BAD_ACCESSOR_FLAGS: The data provider was not able to interpret the flags set for a column binding in an accessor."; code = 0x305; break;
case 0x306: desc = "ERROR_ERRORS_ENCOUNTERED: One or more errors occurred while processing the request."; code = 0x306; break;
case 0x307: desc = "ERROR_NOT_CAPABLE: The implementation is not capable of performing the request."; code = 0x307; break;
case 0x308: desc = "ERROR_REQUEST_OUT_OF_SEQUENCE: The client of a component requested an operation which is not valid given the state of the component instance."; code = 0x308; break;
case 0x309: desc = "ERROR_VERSION_PARSE_ERROR: A version number could not be parsed."; code = 0x309; break;
case 0x30A: desc = "ERROR_BADSTARTPOSITION: The iterator's start position is invalid."; code = 0x30A; break;
case 0x30B: desc = "ERROR_MEMORY_HARDWARE: The hardware has reported an uncorrectable memory error."; code = 0x30B; break;
case 0x30C: desc = "ERROR_DISK_REPAIR_DISABLED: The attempted operation required self healing to be enabled."; code = 0x30C; break;
case 0x30D: desc = "ERROR_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE: The Desktop heap encountered an error while allocating session memory. There is more information in the system event log."; code = 0x30D; break;
case 0x30E: desc = "ERROR_SYSTEM_POWERSTATE_TRANSITION: The system power state is transitioning from %2 to %3."; code = 0x30E; break;
case 0x30F: desc = "ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION: The system power state is transitioning from %2 to %3 but could enter %4."; code = 0x30F; break;
case 0x310: desc = "ERROR_MCA_EXCEPTION: A thread is getting dispatched with MCA EXCEPTION because of MCA."; code = 0x310; break;
case 0x311: desc = "ERROR_ACCESS_AUDIT_BY_POLICY: Access to %1 is monitored by policy rule %2."; code = 0x311; break;
case 0x312: desc = "ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY: Access to %1 has been restricted by your Administrator by policy rule %2."; code = 0x312; break;
case 0x313: desc = "ERROR_ABANDON_HIBERFILE: A valid hibernation file has been invalidated and should be abandoned."; code = 0x313; break;
case 0x314: desc = "ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED: {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error may be caused by network connectivity issues. Please try to save this file elsewhere."; code = 0x314; break;
case 0x315: desc = "ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR: {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error was returned by the server on which the file exists. Please try to save this file elsewhere."; code = 0x315; break;
case 0x316: desc = "ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR: {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error may be caused if the device has been removed or the media is write-protected."; code = 0x316; break;
case 0x317: desc = "ERROR_BAD_MCFG_TABLE: The resources required for this device conflict with the MCFG table."; code = 0x317; break;
case 0x318: desc = "ERROR_DISK_REPAIR_REDIRECTED: The volume repair could not be performed while it is online. Please schedule to take the volume offline so that it can be repaired."; code = 0x318; break;
case 0x319: desc = "ERROR_DISK_REPAIR_UNSUCCESSFUL: The volume repair was not successful."; code = 0x319; break;
case 0x31A: desc = "ERROR_CORRUPT_LOG_OVERFULL: One of the volume corruption logs is full. Further corruptions that may be detected won't be logged."; code = 0x31A; break;
case 0x31B: desc = "ERROR_CORRUPT_LOG_CORRUPTED: One of the volume corruption logs is internally corrupted and needs to be recreated. The volume may contain undetected corruptions and must be scanned."; code = 0x31B; break;
case 0x31C: desc = "ERROR_CORRUPT_LOG_UNAVAILABLE: One of the volume corruption logs is unavailable for being operated on."; code = 0x31C; break;
case 0x31D: desc = "ERROR_CORRUPT_LOG_DELETED_FULL: One of the volume corruption logs was deleted while still having corruption records in them. The volume contains detected corruptions and must be scanned."; code = 0x31D; break;
case 0x31E: desc = "ERROR_CORRUPT_LOG_CLEARED: One of the volume corruption logs was cleared by chkdsk and no longer contains real corruptions."; code = 0x31E; break;
case 0x31F: desc = "ERROR_ORPHAN_NAME_EXHAUSTED: Orphaned files exist on the volume but could not be recovered because no more new names could be created in the recovery directory. Files must be moved from the recovery directory."; code = 0x31F; break;
case 0x320: desc = "ERROR_OPLOCK_SWITCHED_TO_NEW_HANDLE: The oplock that was associated with this handle is now associated with a different handle."; code = 0x320; break;
case 0x321: desc = "ERROR_CANNOT_GRANT_REQUESTED_OPLOCK: An oplock of the requested level cannot be granted. An oplock of a lower level may be available."; code = 0x321; break;
case 0x322: desc = "ERROR_CANNOT_BREAK_OPLOCK: The operation did not complete successfully because it would cause an oplock to be broken. The caller has requested that existing oplocks not be broken."; code = 0x322; break;
case 0x323: desc = "ERROR_OPLOCK_HANDLE_CLOSED: The handle with which this oplock was associated has been closed. The oplock is now broken."; code = 0x323; break;
case 0x324: desc = "ERROR_NO_ACE_CONDITION: The specified access control entry (ACE) does not contain a condition."; code = 0x324; break;
case 0x325: desc = "ERROR_INVALID_ACE_CONDITION: The specified access control entry (ACE) contains an invalid condition."; code = 0x325; break;
case 0x326: desc = "ERROR_FILE_HANDLE_REVOKED: Access to the specified file handle has been revoked."; code = 0x326; break;
case 0x327: desc = "ERROR_IMAGE_AT_DIFFERENT_BASE: An image file was mapped at a different address from the one specified in the image file but fixups will still be automatically performed on the image."; code = 0x327; break;
case 0x3E2: desc = "ERROR_EA_ACCESS_DENIED: Access to the extended attribute was denied."; code = 0x3E2; break;
case 0x3E3: desc = "ERROR_OPERATION_ABORTED: The I/O operation has been aborted because of either a thread exit or an application request."; code = 0x3E3; break;
case 0x3E4: desc = "ERROR_IO_INCOMPLETE: Overlapped I/O event is not in a signaled state."; code = 0x3E4; break;
case 0x3E5: desc = "ERROR_IO_PENDING: Overlapped I/O operation is in progress."; code = 0x3E5; break;
case 0x3E6: desc = "ERROR_NOACCESS: Invalid access to memory location."; code = 0x3E6; break;
case 0x3E7: desc = "ERROR_SWAPERROR: Error performing inpage operation."; code = 0x3E7; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x3e8 && rawError <= 0x513)
{
switch(rawError)
{
case 0x3E9: desc = "ERROR_STACK_OVERFLOW: Recursion too deep; the stack overflowed."; code = 0x3E9; break;
case 0x3EA: desc = "ERROR_INVALID_MESSAGE: The window cannot act on the sent message."; code = 0x3EA; break;
case 0x3EB: desc = "ERROR_CAN_NOT_COMPLETE: Cannot complete this function."; code = 0x3EB; break;
case 0x3EC: desc = "ERROR_INVALID_FLAGS: Invalid flags."; code = 0x3EC; break;
case 0x3ED: desc = "ERROR_UNRECOGNIZED_VOLUME: The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted."; code = 0x3ED; break;
case 0x3EE: desc = "ERROR_FILE_INVALID: The volume for a file has been externally altered so that the opened file is no longer valid."; code = 0x3EE; break;
case 0x3EF: desc = "ERROR_FULLSCREEN_MODE: The requested operation cannot be performed in full-screen mode."; code = 0x3EF; break;
case 0x3F0: desc = "ERROR_NO_TOKEN: An attempt was made to reference a token that does not exist."; code = 0x3F0; break;
case 0x3F1: desc = "ERROR_BADDB: The configuration registry database is corrupt."; code = 0x3F1; break;
case 0x3F2: desc = "ERROR_BADKEY: The configuration registry key is invalid."; code = 0x3F2; break;
case 0x3F3: desc = "ERROR_CANTOPEN: The configuration registry key could not be opened."; code = 0x3F3; break;
case 0x3F4: desc = "ERROR_CANTREAD: The configuration registry key could not be read."; code = 0x3F4; break;
case 0x3F5: desc = "ERROR_CANTWRITE: The configuration registry key could not be written."; code = 0x3F5; break;
case 0x3F6: desc = "ERROR_REGISTRY_RECOVERED: One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful."; code = 0x3F6; break;
case 0x3F7: desc = "ERROR_REGISTRY_CORRUPT: The registry is corrupted. The structure of one of the files containing registry data is corrupted, or the system's memory image of the file is corrupted, or the file could not be recovered because the alternate copy or log was absent or corrupted."; code = 0x3F7; break;
case 0x3F8: desc = "ERROR_REGISTRY_IO_FAILED: An I/O operation initiated by the registry failed unrecoverably. The registry could not read in, or write out, or flush, one of the files that contain the system's image of the registry."; code = 0x3F8; break;
case 0x3F9: desc = "ERROR_NOT_REGISTRY_FILE: The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format."; code = 0x3F9; break;
case 0x3FA: desc = "ERROR_KEY_DELETED: Illegal operation attempted on a registry key that has been marked for deletion."; code = 0x3FA; break;
case 0x3FB: desc = "ERROR_NO_LOG_SPACE: System could not allocate the required space in a registry log."; code = 0x3FB; break;
case 0x3FC: desc = "ERROR_KEY_HAS_CHILDREN: Cannot create a symbolic link in a registry key that already has subkeys or values."; code = 0x3FC; break;
case 0x3FD: desc = "ERROR_CHILD_MUST_BE_VOLATILE: Cannot create a stable subkey under a volatile parent key."; code = 0x3FD; break;
case 0x3FE: desc = "ERROR_NOTIFY_ENUM_DIR: A notify change request is being completed and the information is not being returned in the caller's buffer. The caller now needs to enumerate the files to find the changes."; code = 0x3FE; break;
case 0x41B: desc = "ERROR_DEPENDENT_SERVICES_RUNNING: A stop control has been sent to a service that other running services are dependent on."; code = 0x41B; break;
case 0x41C: desc = "ERROR_INVALID_SERVICE_CONTROL: The requested control is not valid for this service."; code = 0x41C; break;
case 0x41D: desc = "ERROR_SERVICE_REQUEST_TIMEOUT: The service did not respond to the start or control request in a timely fashion."; code = 0x41D; break;
case 0x41E: desc = "ERROR_SERVICE_NO_THREAD: A thread could not be created for the service."; code = 0x41E; break;
case 0x41F: desc = "ERROR_SERVICE_DATABASE_LOCKED: The service database is locked."; code = 0x41F; break;
case 0x420: desc = "ERROR_SERVICE_ALREADY_RUNNING: An instance of the service is already running."; code = 0x420; break;
case 0x421: desc = "ERROR_INVALID_SERVICE_ACCOUNT: The account name is invalid or does not exist, or the password is invalid for the account name specified."; code = 0x421; break;
case 0x422: desc = "ERROR_SERVICE_DISABLED: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it."; code = 0x422; break;
case 0x423: desc = "ERROR_CIRCULAR_DEPENDENCY: Circular service dependency was specified."; code = 0x423; break;
case 0x424: desc = "ERROR_SERVICE_DOES_NOT_EXIST: The specified service does not exist as an installed service."; code = 0x424; break;
case 0x425: desc = "ERROR_SERVICE_CANNOT_ACCEPT_CTRL: The service cannot accept control messages at this time."; code = 0x425; break;
case 0x426: desc = "ERROR_SERVICE_NOT_ACTIVE: The service has not been started."; code = 0x426; break;
case 0x427: desc = "ERROR_FAILED_SERVICE_CONTROLLER_CONNECT: The service process could not connect to the service controller."; code = 0x427; break;
case 0x428: desc = "ERROR_EXCEPTION_IN_SERVICE: An exception occurred in the service when handling the control request."; code = 0x428; break;
case 0x429: desc = "ERROR_DATABASE_DOES_NOT_EXIST: The database specified does not exist."; code = 0x429; break;
case 0x42A: desc = "ERROR_SERVICE_SPECIFIC_ERROR: The service has returned a service-specific error code."; code = 0x42A; break;
case 0x42B: desc = "ERROR_PROCESS_ABORTED: The process terminated unexpectedly."; code = 0x42B; break;
case 0x42C: desc = "ERROR_SERVICE_DEPENDENCY_FAIL: The dependency service or group failed to start."; code = 0x42C; break;
case 0x42D: desc = "ERROR_SERVICE_LOGON_FAILED: The service did not start due to a logon failure."; code = 0x42D; break;
case 0x42E: desc = "ERROR_SERVICE_START_HANG: After starting, the service hung in a start-pending state."; code = 0x42E; break;
case 0x42F: desc = "ERROR_INVALID_SERVICE_LOCK: The specified service database lock is invalid."; code = 0x42F; break;
case 0x430: desc = "ERROR_SERVICE_MARKED_FOR_DELETE: The specified service has been marked for deletion."; code = 0x430; break;
case 0x431: desc = "ERROR_SERVICE_EXISTS: The specified service already exists."; code = 0x431; break;
case 0x432: desc = "ERROR_ALREADY_RUNNING_LKG: The system is currently running with the last-known-good configuration."; code = 0x432; break;
case 0x433: desc = "ERROR_SERVICE_DEPENDENCY_DELETED: The dependency service does not exist or has been marked for deletion."; code = 0x433; break;
case 0x434: desc = "ERROR_BOOT_ALREADY_ACCEPTED: The current boot has already been accepted for use as the last-known-good control set."; code = 0x434; break;
case 0x435: desc = "ERROR_SERVICE_NEVER_STARTED: No attempts to start the service have been made since the last boot."; code = 0x435; break;
case 0x436: desc = "ERROR_DUPLICATE_SERVICE_NAME: The name is already in use as either a service name or a service display name."; code = 0x436; break;
case 0x437: desc = "ERROR_DIFFERENT_SERVICE_ACCOUNT: The account specified for this service is different from the account specified for other services running in the same process."; code = 0x437; break;
case 0x438: desc = "ERROR_CANNOT_DETECT_DRIVER_FAILURE: Failure actions can only be set for Win32 services, not for drivers."; code = 0x438; break;
case 0x439: desc = "ERROR_CANNOT_DETECT_PROCESS_ABORT: This service runs in the same process as the service control manager. Therefore, the service control manager cannot take action if this service's process terminates unexpectedly."; code = 0x439; break;
case 0x43A: desc = "ERROR_NO_RECOVERY_PROGRAM: No recovery program has been configured for this service."; code = 0x43A; break;
case 0x43B: desc = "ERROR_SERVICE_NOT_IN_EXE: The executable program that this service is configured to run in does not implement the service."; code = 0x43B; break;
case 0x43C: desc = "ERROR_NOT_SAFEBOOT_SERVICE: This service cannot be started in Safe Mode."; code = 0x43C; break;
case 0x44C: desc = "ERROR_END_OF_MEDIA: The physical end of the tape has been reached."; code = 0x44C; break;
case 0x44D: desc = "ERROR_FILEMARK_DETECTED: A tape access reached a filemark."; code = 0x44D; break;
case 0x44E: desc = "ERROR_BEGINNING_OF_MEDIA: The beginning of the tape or a partition was encountered."; code = 0x44E; break;
case 0x44F: desc = "ERROR_SETMARK_DETECTED: A tape access reached the end of a set of files."; code = 0x44F; break;
case 0x450: desc = "ERROR_NO_DATA_DETECTED: No more data is on the tape."; code = 0x450; break;
case 0x451: desc = "ERROR_PARTITION_FAILURE: Tape could not be partitioned."; code = 0x451; break;
case 0x452: desc = "ERROR_INVALID_BLOCK_LENGTH: When accessing a new tape of a multivolume partition, the current block size is incorrect."; code = 0x452; break;
case 0x453: desc = "ERROR_DEVICE_NOT_PARTITIONED: Tape partition information could not be found when loading a tape."; code = 0x453; break;
case 0x454: desc = "ERROR_UNABLE_TO_LOCK_MEDIA: Unable to lock the media eject mechanism."; code = 0x454; break;
case 0x455: desc = "ERROR_UNABLE_TO_UNLOAD_MEDIA: Unable to unload the media."; code = 0x455; break;
case 0x456: desc = "ERROR_MEDIA_CHANGED: The media in the drive may have changed."; code = 0x456; break;
case 0x457: desc = "ERROR_BUS_RESET: The I/O bus was reset."; code = 0x457; break;
case 0x458: desc = "ERROR_NO_MEDIA_IN_DRIVE: No media in drive."; code = 0x458; break;
case 0x459: desc = "ERROR_NO_UNICODE_TRANSLATION: No mapping for the Unicode character exists in the target multi-byte code page."; code = 0x459; break;
case 0x45A: desc = "ERROR_DLL_INIT_FAILED: A dynamic link library (DLL) initialization routine failed."; code = 0x45A; break;
case 0x45B: desc = "ERROR_SHUTDOWN_IN_PROGRESS: A system shutdown is in progress."; code = 0x45B; break;
case 0x45C: desc = "ERROR_NO_SHUTDOWN_IN_PROGRESS: Unable to abort the system shutdown because no shutdown was in progress."; code = 0x45C; break;
case 0x45D: desc = "ERROR_IO_DEVICE: The request could not be performed because of an I/O device error."; code = 0x45D; break;
case 0x45E: desc = "ERROR_SERIAL_NO_DEVICE: No serial device was successfully initialized. The serial driver will unload."; code = 0x45E; break;
case 0x45F: desc = "ERROR_IRQ_BUSY: Unable to open a device that was sharing an interrupt request (IRQ) with other devices. At least one other device that uses that IRQ was already opened."; code = 0x45F; break;
case 0x460: desc = "ERROR_MORE_WRITES: A serial I/O operation was completed by another write to the serial port. The IOCTL_SERIAL_XOFF_COUNTER reached zero.)"; code = 0x460; break;
case 0x461: desc = "ERROR_COUNTER_TIMEOUT: A serial I/O operation completed because the timeout period expired. The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)"; code = 0x461; break;
case 0x462: desc = "ERROR_FLOPPY_ID_MARK_NOT_FOUND: No ID address mark was found on the floppy disk."; code = 0x462; break;
case 0x463: desc = "ERROR_FLOPPY_WRONG_CYLINDER: Mismatch between the floppy disk sector ID field and the floppy disk controller track address."; code = 0x463; break;
case 0x464: desc = "ERROR_FLOPPY_UNKNOWN_ERROR: The floppy disk controller reported an error that is not recognized by the floppy disk driver."; code = 0x464; break;
case 0x465: desc = "ERROR_FLOPPY_BAD_REGISTERS: The floppy disk controller returned inconsistent results in its registers."; code = 0x465; break;
case 0x466: desc = "ERROR_DISK_RECALIBRATE_FAILED: While accessing the hard disk, a recalibrate operation failed, even after retries."; code = 0x466; break;
case 0x467: desc = "ERROR_DISK_OPERATION_FAILED: While accessing the hard disk, a disk operation failed even after retries."; code = 0x467; break;
case 0x468: desc = "ERROR_DISK_RESET_FAILED: While accessing the hard disk, a disk controller reset was needed, but even that failed."; code = 0x468; break;
case 0x469: desc = "ERROR_EOM_OVERFLOW: Physical end of tape encountered."; code = 0x469; break;
case 0x46A: desc = "ERROR_NOT_ENOUGH_SERVER_MEMORY: Not enough server storage is available to process this command."; code = 0x46A; break;
case 0x46B: desc = "ERROR_POSSIBLE_DEADLOCK: A potential deadlock condition has been detected."; code = 0x46B; break;
case 0x46C: desc = "ERROR_MAPPED_ALIGNMENT: The base address or the file offset specified does not have the proper alignment."; code = 0x46C; break;
case 0x474: desc = "ERROR_SET_POWER_STATE_VETOED: An attempt to change the system power state was vetoed by another application or driver."; code = 0x474; break;
case 0x475: desc = "ERROR_SET_POWER_STATE_FAILED: The system BIOS failed an attempt to change the system power state."; code = 0x475; break;
case 0x476: desc = "ERROR_TOO_MANY_LINKS: An attempt was made to create more links on a file than the file system supports."; code = 0x476; break;
case 0x47E: desc = "ERROR_OLD_WIN_VERSION: The specified program requires a newer version of Windows."; code = 0x47E; break;
case 0x47F: desc = "ERROR_APP_WRONG_OS: The specified program is not a Windows or MS-DOS program."; code = 0x47F; break;
case 0x480: desc = "ERROR_SINGLE_INSTANCE_APP: Cannot start more than one instance of the specified program."; code = 0x480; break;
case 0x481: desc = "ERROR_RMODE_APP: The specified program was written for an earlier version of Windows."; code = 0x481; break;
case 0x482: desc = "ERROR_INVALID_DLL: One of the library files needed to run this application is damaged."; code = 0x482; break;
case 0x483: desc = "ERROR_NO_ASSOCIATION: No application is associated with the specified file for this operation."; code = 0x483; break;
case 0x484: desc = "ERROR_DDE_FAIL: An error occurred in sending the command to the application."; code = 0x484; break;
case 0x485: desc = "ERROR_DLL_NOT_FOUND: One of the library files needed to run this application cannot be found."; code = 0x485; break;
case 0x486: desc = "ERROR_NO_MORE_USER_HANDLES: The current process has used all of its system allowance of handles for Window Manager objects."; code = 0x486; break;
case 0x487: desc = "ERROR_MESSAGE_SYNC_ONLY: The message can be used only with synchronous operations."; code = 0x487; break;
case 0x488: desc = "ERROR_SOURCE_ELEMENT_EMPTY: The indicated source element has no media."; code = 0x488; break;
case 0x489: desc = "ERROR_DESTINATION_ELEMENT_FULL: The indicated destination element already contains media."; code = 0x489; break;
case 0x48A: desc = "ERROR_ILLEGAL_ELEMENT_ADDRESS: The indicated element does not exist."; code = 0x48A; break;
case 0x48B: desc = "ERROR_MAGAZINE_NOT_PRESENT: The indicated element is part of a magazine that is not present."; code = 0x48B; break;
case 0x48C: desc = "ERROR_DEVICE_REINITIALIZATION_NEEDED: The indicated device requires reinitialization due to hardware errors."; code = 0x48C; break;
case 0x48D: desc = "ERROR_DEVICE_REQUIRES_CLEANING: The device has indicated that cleaning is required before further operations are attempted."; code = 0x48D; break;
case 0x48E: desc = "ERROR_DEVICE_DOOR_OPEN: The device has indicated that its door is open."; code = 0x48E; break;
case 0x48F: desc = "ERROR_DEVICE_NOT_CONNECTED: The device is not connected."; code = 0x48F; break;
case 0x490: desc = "ERROR_NOT_FOUND: Element not found."; code = 0x490; break;
case 0x491: desc = "ERROR_NO_MATCH: There was no match for the specified key in the index."; code = 0x491; break;
case 0x492: desc = "ERROR_SET_NOT_FOUND: The property set specified does not exist on the object."; code = 0x492; break;
case 0x493: desc = "ERROR_POINT_NOT_FOUND: The point passed to GetMouseMovePoints is not in the buffer."; code = 0x493; break;
case 0x494: desc = "ERROR_NO_TRACKING_SERVICE: The tracking (workstation) service is not running."; code = 0x494; break;
case 0x495: desc = "ERROR_NO_VOLUME_ID: The Volume ID could not be found."; code = 0x495; break;
case 0x497: desc = "ERROR_UNABLE_TO_REMOVE_REPLACED: Unable to remove the file to be replaced."; code = 0x497; break;
case 0x498: desc = "ERROR_UNABLE_TO_MOVE_REPLACEMENT: Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name."; code = 0x498; break;
case 0x499: desc = "ERROR_UNABLE_TO_MOVE_REPLACEMENT_2: Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name."; code = 0x499; break;
case 0x49A: desc = "ERROR_JOURNAL_DELETE_IN_PROGRESS: The volume change journal is being deleted."; code = 0x49A; break;
case 0x49B: desc = "ERROR_JOURNAL_NOT_ACTIVE: The volume change journal is not active."; code = 0x49B; break;
case 0x49C: desc = "ERROR_POTENTIAL_FILE_FOUND: A file was found, but it may not be the correct file."; code = 0x49C; break;
case 0x49D: desc = "ERROR_JOURNAL_ENTRY_DELETED: The journal entry has been deleted from the journal."; code = 0x49D; break;
case 0x4A6: desc = "ERROR_SHUTDOWN_IS_SCHEDULED: A system shutdown has already been scheduled."; code = 0x4A6; break;
case 0x4A7: desc = "ERROR_SHUTDOWN_USERS_LOGGED_ON: The system shutdown cannot be initiated because there are other users logged on to the computer."; code = 0x4A7; break;
case 0x4B0: desc = "ERROR_BAD_DEVICE: The specified device name is invalid."; code = 0x4B0; break;
case 0x4B1: desc = "ERROR_CONNECTION_UNAVAIL: The device is not currently connected but it is a remembered connection."; code = 0x4B1; break;
case 0x4B2: desc = "ERROR_DEVICE_ALREADY_REMEMBERED: The local device name has a remembered connection to another network resource."; code = 0x4B2; break;
case 0x4B3: desc = "ERROR_NO_NET_OR_BAD_PATH: The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator."; code = 0x4B3; break;
case 0x4B4: desc = "ERROR_BAD_PROVIDER: The specified network provider name is invalid."; code = 0x4B4; break;
case 0x4B5: desc = "ERROR_CANNOT_OPEN_PROFILE: Unable to open the network connection profile."; code = 0x4B5; break;
case 0x4B6: desc = "ERROR_BAD_PROFILE: The network connection profile is corrupted."; code = 0x4B6; break;
case 0x4B7: desc = "ERROR_NOT_CONTAINER: Cannot enumerate a noncontainer."; code = 0x4B7; break;
case 0x4B8: desc = "ERROR_EXTENDED_ERROR: An extended error has occurred."; code = 0x4B8; break;
case 0x4B9: desc = "ERROR_INVALID_GROUPNAME: The format of the specified group name is invalid."; code = 0x4B9; break;
case 0x4BA: desc = "ERROR_INVALID_COMPUTERNAME: The format of the specified computer name is invalid."; code = 0x4BA; break;
case 0x4BB: desc = "ERROR_INVALID_EVENTNAME: The format of the specified event name is invalid."; code = 0x4BB; break;
case 0x4BC: desc = "ERROR_INVALID_DOMAINNAME: The format of the specified domain name is invalid."; code = 0x4BC; break;
case 0x4BD: desc = "ERROR_INVALID_SERVICENAME: The format of the specified service name is invalid."; code = 0x4BD; break;
case 0x4BE: desc = "ERROR_INVALID_NETNAME: The format of the specified network name is invalid."; code = 0x4BE; break;
case 0x4BF: desc = "ERROR_INVALID_SHARENAME: The format of the specified share name is invalid."; code = 0x4BF; break;
case 0x4C0: desc = "ERROR_INVALID_PASSWORDNAME: The format of the specified password is invalid."; code = 0x4C0; break;
case 0x4C1: desc = "ERROR_INVALID_MESSAGENAME: The format of the specified message name is invalid."; code = 0x4C1; break;
case 0x4C2: desc = "ERROR_INVALID_MESSAGEDEST: The format of the specified message destination is invalid."; code = 0x4C2; break;
case 0x4C3: desc = "ERROR_SESSION_CREDENTIAL_CONFLICT: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again."; code = 0x4C3; break;
case 0x4C4: desc = "ERROR_REMOTE_SESSION_LIMIT_EXCEEDED: An attempt was made to establish a session to a network server, but there are already too many sessions established to that server."; code = 0x4C4; break;
case 0x4C5: desc = "ERROR_DUP_DOMAINNAME: The workgroup or domain name is already in use by another computer on the network."; code = 0x4C5; break;
case 0x4C6: desc = "ERROR_NO_NETWORK: The network is not present or not started."; code = 0x4C6; break;
case 0x4C7: desc = "ERROR_CANCELLED: The operation was canceled by the user."; code = 0x4C7; break;
case 0x4C8: desc = "ERROR_USER_MAPPED_FILE: The requested operation cannot be performed on a file with a user-mapped section open."; code = 0x4C8; break;
case 0x4C9: desc = "ERROR_CONNECTION_REFUSED: The remote computer refused the network connection."; code = 0x4C9; break;
case 0x4CA: desc = "ERROR_GRACEFUL_DISCONNECT: The network connection was gracefully closed."; code = 0x4CA; break;
case 0x4CB: desc = "ERROR_ADDRESS_ALREADY_ASSOCIATED: The network transport endpoint already has an address associated with it."; code = 0x4CB; break;
case 0x4CC: desc = "ERROR_ADDRESS_NOT_ASSOCIATED: An address has not yet been associated with the network endpoint."; code = 0x4CC; break;
case 0x4CD: desc = "ERROR_CONNECTION_INVALID: An operation was attempted on a nonexistent network connection."; code = 0x4CD; break;
case 0x4CE: desc = "ERROR_CONNECTION_ACTIVE: An invalid operation was attempted on an active network connection."; code = 0x4CE; break;
case 0x4CF: desc = "ERROR_NETWORK_UNREACHABLE: The network location cannot be reached. For information about network troubleshooting, see Windows Help."; code = 0x4CF; break;
case 0x4D0: desc = "ERROR_HOST_UNREACHABLE: The network location cannot be reached. For information about network troubleshooting, see Windows Help."; code = 0x4D0; break;
case 0x4D1: desc = "ERROR_PROTOCOL_UNREACHABLE: The network location cannot be reached. For information about network troubleshooting, see Windows Help."; code = 0x4D1; break;
case 0x4D2: desc = "ERROR_PORT_UNREACHABLE: No service is operating at the destination network endpoint on the remote system."; code = 0x4D2; break;
case 0x4D3: desc = "ERROR_REQUEST_ABORTED: The request was aborted."; code = 0x4D3; break;
case 0x4D4: desc = "ERROR_CONNECTION_ABORTED: The network connection was aborted by the local system."; code = 0x4D4; break;
case 0x4D5: desc = "ERROR_RETRY: The operation could not be completed. A retry should be performed."; code = 0x4D5; break;
case 0x4D6: desc = "ERROR_CONNECTION_COUNT_LIMIT: A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached."; code = 0x4D6; break;
case 0x4D7: desc = "ERROR_LOGIN_TIME_RESTRICTION: Attempting to log in during an unauthorized time of day for this account."; code = 0x4D7; break;
case 0x4D8: desc = "ERROR_LOGIN_WKSTA_RESTRICTION: The account is not authorized to log in from this station."; code = 0x4D8; break;
case 0x4D9: desc = "ERROR_INCORRECT_ADDRESS: The network address could not be used for the operation requested."; code = 0x4D9; break;
case 0x4DA: desc = "ERROR_ALREADY_REGISTERED: The service is already registered."; code = 0x4DA; break;
case 0x4DB: desc = "ERROR_SERVICE_NOT_FOUND: The specified service does not exist."; code = 0x4DB; break;
case 0x4DC: desc = "ERROR_NOT_AUTHENTICATED: The operation being requested was not performed because the user has not been authenticated."; code = 0x4DC; break;
case 0x4DD: desc = "ERROR_NOT_LOGGED_ON: The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist."; code = 0x4DD; break;
case 0x4DE: desc = "ERROR_CONTINUE: Continue with work in progress."; code = 0x4DE; break;
case 0x4DF: desc = "ERROR_ALREADY_INITIALIZED: An attempt was made to perform an initialization operation when initialization has already been completed."; code = 0x4DF; break;
case 0x4E0: desc = "ERROR_NO_MORE_DEVICES: No more local devices."; code = 0x4E0; break;
case 0x4E1: desc = "ERROR_NO_SUCH_SITE: The specified site does not exist."; code = 0x4E1; break;
case 0x4E2: desc = "ERROR_DOMAIN_CONTROLLER_EXISTS: A domain controller with the specified name already exists."; code = 0x4E2; break;
case 0x4E3: desc = "ERROR_ONLY_IF_CONNECTED: This operation is supported only when you are connected to the server."; code = 0x4E3; break;
case 0x4E4: desc = "ERROR_OVERRIDE_NOCHANGES: The group policy framework should call the extension even if there are no changes."; code = 0x4E4; break;
case 0x4E5: desc = "ERROR_BAD_USER_PROFILE: The specified user does not have a valid profile."; code = 0x4E5; break;
case 0x4E6: desc = "ERROR_NOT_SUPPORTED_ON_SBS: This operation is not supported on a computer running Windows Server 2003 for Small Business Server."; code = 0x4E6; break;
case 0x4E7: desc = "ERROR_SERVER_SHUTDOWN_IN_PROGRESS: The server machine is shutting down."; code = 0x4E7; break;
case 0x4E8: desc = "ERROR_HOST_DOWN: The remote system is not available. For information about network troubleshooting, see Windows Help."; code = 0x4E8; break;
case 0x4E9: desc = "ERROR_NON_ACCOUNT_SID: The security identifier provided is not from an account domain."; code = 0x4E9; break;
case 0x4EA: desc = "ERROR_NON_DOMAIN_SID: The security identifier provided does not have a domain component."; code = 0x4EA; break;
case 0x4EB: desc = "ERROR_APPHELP_BLOCK: AppHelp dialog canceled thus preventing the application from starting."; code = 0x4EB; break;
case 0x4EC: desc = "ERROR_ACCESS_DISABLED_BY_POLICY: This program is blocked by group policy. For more information, contact your system administrator."; code = 0x4EC; break;
case 0x4ED: desc = "ERROR_REG_NAT_CONSUMPTION: A program attempt to use an invalid register value. Normally caused by an uninitialized register. This error is Itanium specific."; code = 0x4ED; break;
case 0x4EE: desc = "ERROR_CSCSHARE_OFFLINE: The share is currently offline or does not exist."; code = 0x4EE; break;
case 0x4EF: desc = "ERROR_PKINIT_FAILURE: The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon. There is more information in the system event log."; code = 0x4EF; break;
case 0x4F0: desc = "ERROR_SMARTCARD_SUBSYSTEM_FAILURE: The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem."; code = 0x4F0; break;
case 0x4F1: desc = "ERROR_DOWNGRADE_DETECTED: The system cannot contact a domain controller to service the authentication request. Please try again later."; code = 0x4F1; break;
case 0x4F7: desc = "ERROR_MACHINE_LOCKED: The machine is locked and cannot be shut down without the force option."; code = 0x4F7; break;
case 0x4F9: desc = "ERROR_CALLBACK_SUPPLIED_INVALID_DATA: An application-defined callback gave invalid data when called."; code = 0x4F9; break;
case 0x4FA: desc = "ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED: The group policy framework should call the extension in the synchronous foreground policy refresh."; code = 0x4FA; break;
case 0x4FB: desc = "ERROR_DRIVER_BLOCKED: This driver has been blocked from loading."; code = 0x4FB; break;
case 0x4FC: desc = "ERROR_INVALID_IMPORT_OF_NON_DLL: A dynamic link library (DLL) referenced a module that was neither a DLL nor the process's executable image."; code = 0x4FC; break;
case 0x4FD: desc = "ERROR_ACCESS_DISABLED_WEBBLADE: Windows cannot open this program since it has been disabled."; code = 0x4FD; break;
case 0x4FE: desc = "ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER: Windows cannot open this program because the license enforcement system has been tampered with or become corrupted."; code = 0x4FE; break;
case 0x4FF: desc = "ERROR_RECOVERY_FAILURE: A transaction recover failed."; code = 0x4FF; break;
case 0x500: desc = "ERROR_ALREADY_FIBER: The current thread has already been converted to a fiber."; code = 0x500; break;
case 0x501: desc = "ERROR_ALREADY_THREAD: The current thread has already been converted from a fiber."; code = 0x501; break;
case 0x502: desc = "ERROR_STACK_BUFFER_OVERRUN: The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application."; code = 0x502; break;
case 0x503: desc = "ERROR_PARAMETER_QUOTA_EXCEEDED: Data present in one of the parameters is more than the function can operate on."; code = 0x503; break;
case 0x504: desc = "ERROR_DEBUGGER_INACTIVE: An attempt to do an operation on a debug object failed because the object is in the process of being deleted."; code = 0x504; break;
case 0x505: desc = "ERROR_DELAY_LOAD_FAILED: An attempt to delay-load a .dll or get a function address in a delay-loaded .dll failed."; code = 0x505; break;
case 0x506: desc = "ERROR_VDM_DISALLOWED: %1 is a 16-bit application. You do not have permissions to execute 16-bit applications. Check your permissions with your system administrator."; code = 0x506; break;
case 0x507: desc = "ERROR_UNIDENTIFIED_ERROR: Insufficient information exists to identify the cause of failure."; code = 0x507; break;
case 0x508: desc = "ERROR_INVALID_CRUNTIME_PARAMETER: The parameter passed to a C runtime function is incorrect."; code = 0x508; break;
case 0x509: desc = "ERROR_BEYOND_VDL: The operation occurred beyond the valid data length of the file."; code = 0x509; break;
case 0x50A: desc = "ERROR_INCOMPATIBLE_SERVICE_SID_TYPE: The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service. On Windows Server 2003 and Windows XP, an unrestricted service cannot coexist in the same process with other services. The service with the unrestricted service SID type must be moved to an owned process in order to start this service."; code = 0x50A; break;
case 0x50B: desc = "ERROR_DRIVER_PROCESS_TERMINATED: The process hosting the driver for this device has been terminated."; code = 0x50B; break;
case 0x50C: desc = "ERROR_IMPLEMENTATION_LIMIT: An operation attempted to exceed an implementation-defined limit."; code = 0x50C; break;
case 0x50D: desc = "ERROR_PROCESS_IS_PROTECTED: Either the target process, or the target thread's containing process, is a protected process."; code = 0x50D; break;
case 0x50E: desc = "ERROR_SERVICE_NOTIFY_CLIENT_LAGGING: The service notification client is lagging too far behind the current state of services in the machine."; code = 0x50E; break;
case 0x50F: desc = "ERROR_DISK_QUOTA_EXCEEDED: The requested file operation failed because the storage quota was exceeded. To free up disk space, move files to a different location or delete unnecessary files. For more information, contact your system administrator."; code = 0x50F; break;
case 0x510: desc = "ERROR_CONTENT_BLOCKED: The requested file operation failed because the storage policy blocks that type of file. For more information, contact your system administrator."; code = 0x510; break;
case 0x511: desc = "ERROR_INCOMPATIBLE_SERVICE_PRIVILEGE: A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration."; code = 0x511; break;
case 0x512: desc = "ERROR_APP_HANG: A thread involved in this operation appears to be unresponsive."; code = 0x512; break;
case 0x513: desc = "ERROR_INVALID_LABEL: Indicates a particular Security ID may not be assigned as the label of an object."; code = 0x513; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x514 && rawError <= 0x6a3)
{
switch(rawError)
{
case 0x514: desc = "ERROR_NOT_ALL_ASSIGNED: Not all privileges or groups referenced are assigned to the caller."; code = 0x514; break;
case 0x515: desc = "ERROR_SOME_NOT_MAPPED: Some mapping between account names and security IDs was not done."; code = 0x515; break;
case 0x516: desc = "ERROR_NO_QUOTAS_FOR_ACCOUNT: No system quota limits are specifically set for this account."; code = 0x516; break;
case 0x517: desc = "ERROR_LOCAL_USER_SESSION_KEY: No encryption key is available. A well-known encryption key was returned."; code = 0x517; break;
case 0x518: desc = "ERROR_NULL_LM_PASSWORD: The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a NULL string."; code = 0x518; break;
case 0x519: desc = "ERROR_UNKNOWN_REVISION: The revision level is unknown."; code = 0x519; break;
case 0x51A: desc = "ERROR_REVISION_MISMATCH: Indicates two revision levels are incompatible."; code = 0x51A; break;
case 0x51B: desc = "ERROR_INVALID_OWNER: This security ID may not be assigned as the owner of this object."; code = 0x51B; break;
case 0x51C: desc = "ERROR_INVALID_PRIMARY_GROUP: This security ID may not be assigned as the primary group of an object."; code = 0x51C; break;
case 0x51D: desc = "ERROR_NO_IMPERSONATION_TOKEN: An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client."; code = 0x51D; break;
case 0x51E: desc = "ERROR_CANT_DISABLE_MANDATORY: The group may not be disabled."; code = 0x51E; break;
case 0x51F: desc = "ERROR_NO_LOGON_SERVERS: There are currently no logon servers available to service the logon request."; code = 0x51F; break;
case 0x520: desc = "ERROR_NO_SUCH_LOGON_SESSION: A specified logon session does not exist. It may already have been terminated."; code = 0x520; break;
case 0x521: desc = "ERROR_NO_SUCH_PRIVILEGE: A specified privilege does not exist."; code = 0x521; break;
case 0x522: desc = "ERROR_PRIVILEGE_NOT_HELD: A required privilege is not held by the client."; code = 0x522; break;
case 0x523: desc = "ERROR_INVALID_ACCOUNT_NAME: The name provided is not a properly formed account name."; code = 0x523; break;
case 0x524: desc = "ERROR_USER_EXISTS: The specified account already exists."; code = 0x524; break;
case 0x525: desc = "ERROR_NO_SUCH_USER: The specified account does not exist."; code = 0x525; break;
case 0x526: desc = "ERROR_GROUP_EXISTS: The specified group already exists."; code = 0x526; break;
case 0x527: desc = "ERROR_NO_SUCH_GROUP: The specified group does not exist."; code = 0x527; break;
case 0x528: desc = "ERROR_MEMBER_IN_GROUP: Either the specified user account is already a member of the specified group, or the specified group cannot be deleted because it contains a member."; code = 0x528; break;
case 0x529: desc = "ERROR_MEMBER_NOT_IN_GROUP: The specified user account is not a member of the specified group account."; code = 0x529; break;
case 0x52A: desc = "ERROR_LAST_ADMIN: This operation is disallowed as it could result in an administration account being disabled, deleted or unable to log on."; code = 0x52A; break;
case 0x52B: desc = "ERROR_WRONG_PASSWORD: Unable to update the password. The value provided as the current password is incorrect."; code = 0x52B; break;
case 0x52C: desc = "ERROR_ILL_FORMED_PASSWORD: Unable to update the password. The value provided for the new password contains values that are not allowed in passwords."; code = 0x52C; break;
case 0x52D: desc = "ERROR_PASSWORD_RESTRICTION: Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain."; code = 0x52D; break;
case 0x52E: desc = "ERROR_LOGON_FAILURE: The user name or password is incorrect."; code = 0x52E; break;
case 0x52F: desc = "ERROR_ACCOUNT_RESTRICTION: Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced."; code = 0x52F; break;
case 0x530: desc = "ERROR_INVALID_LOGON_HOURS: Your account has time restrictions that keep you from signing in right now."; code = 0x530; break;
case 0x531: desc = "ERROR_INVALID_WORKSTATION: This user isn't allowed to sign in to this computer."; code = 0x531; break;
case 0x532: desc = "ERROR_PASSWORD_EXPIRED: The password for this account has expired."; code = 0x532; break;
case 0x533: desc = "ERROR_ACCOUNT_DISABLED: This user can't sign in because this account is currently disabled."; code = 0x533; break;
case 0x534: desc = "ERROR_NONE_MAPPED: No mapping between account names and security IDs was done."; code = 0x534; break;
case 0x535: desc = "ERROR_TOO_MANY_LUIDS_REQUESTED: Too many local user identifiers (LUIDs) were requested at one time."; code = 0x535; break;
case 0x536: desc = "ERROR_LUIDS_EXHAUSTED: No more local user identifiers (LUIDs) are available."; code = 0x536; break;
case 0x537: desc = "ERROR_INVALID_SUB_AUTHORITY: The subauthority part of a security ID is invalid for this particular use."; code = 0x537; break;
case 0x538: desc = "ERROR_INVALID_ACL: The access control list (ACL) structure is invalid."; code = 0x538; break;
case 0x539: desc = "ERROR_INVALID_SID: The security ID structure is invalid."; code = 0x539; break;
case 0x53A: desc = "ERROR_INVALID_SECURITY_DESCR: The security descriptor structure is invalid."; code = 0x53A; break;
case 0x53C: desc = "ERROR_BAD_INHERITANCE_ACL: The inherited access control list (ACL) or access control entry (ACE) could not be built."; code = 0x53C; break;
case 0x53D: desc = "ERROR_SERVER_DISABLED: The server is currently disabled."; code = 0x53D; break;
case 0x53E: desc = "ERROR_SERVER_NOT_DISABLED: The server is currently enabled."; code = 0x53E; break;
case 0x53F: desc = "ERROR_INVALID_ID_AUTHORITY: The value provided was an invalid value for an identifier authority."; code = 0x53F; break;
case 0x540: desc = "ERROR_ALLOTTED_SPACE_EXCEEDED: No more memory is available for security information updates."; code = 0x540; break;
case 0x541: desc = "ERROR_INVALID_GROUP_ATTRIBUTES: The specified attributes are invalid, or incompatible with the attributes for the group as a whole."; code = 0x541; break;
case 0x542: desc = "ERROR_BAD_IMPERSONATION_LEVEL: Either a required impersonation level was not provided, or the provided impersonation level is invalid."; code = 0x542; break;
case 0x543: desc = "ERROR_CANT_OPEN_ANONYMOUS: Cannot open an anonymous level security token."; code = 0x543; break;
case 0x544: desc = "ERROR_BAD_VALIDATION_CLASS: The validation information class requested was invalid."; code = 0x544; break;
case 0x545: desc = "ERROR_BAD_TOKEN_TYPE: The type of the token is inappropriate for its attempted use."; code = 0x545; break;
case 0x546: desc = "ERROR_NO_SECURITY_ON_OBJECT: Unable to perform a security operation on an object that has no associated security."; code = 0x546; break;
case 0x547: desc = "ERROR_CANT_ACCESS_DOMAIN_INFO: Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied."; code = 0x547; break;
case 0x548: desc = "ERROR_INVALID_SERVER_STATE: The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation."; code = 0x548; break;
case 0x549: desc = "ERROR_INVALID_DOMAIN_STATE: The domain was in the wrong state to perform the security operation."; code = 0x549; break;
case 0x54A: desc = "ERROR_INVALID_DOMAIN_ROLE: This operation is only allowed for the Primary Domain Controller of the domain."; code = 0x54A; break;
case 0x54B: desc = "ERROR_NO_SUCH_DOMAIN: The specified domain either does not exist or could not be contacted."; code = 0x54B; break;
case 0x54C: desc = "ERROR_DOMAIN_EXISTS: The specified domain already exists."; code = 0x54C; break;
case 0x54D: desc = "ERROR_DOMAIN_LIMIT_EXCEEDED: An attempt was made to exceed the limit on the number of domains per server."; code = 0x54D; break;
case 0x54E: desc = "ERROR_INTERNAL_DB_CORRUPTION: Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk."; code = 0x54E; break;
case 0x54F: desc = "ERROR_INTERNAL_ERROR: An internal error occurred."; code = 0x54F; break;
case 0x550: desc = "ERROR_GENERIC_NOT_MAPPED: Generic access types were contained in an access mask which should already be mapped to nongeneric types."; code = 0x550; break;
case 0x551: desc = "ERROR_BAD_DESCRIPTOR_FORMAT: A security descriptor is not in the right format (absolute or self-relative)."; code = 0x551; break;
case 0x552: desc = "ERROR_NOT_LOGON_PROCESS: The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process."; code = 0x552; break;
case 0x553: desc = "ERROR_LOGON_SESSION_EXISTS: Cannot start a new logon session with an ID that is already in use."; code = 0x553; break;
case 0x554: desc = "ERROR_NO_SUCH_PACKAGE: A specified authentication package is unknown."; code = 0x554; break;
case 0x555: desc = "ERROR_BAD_LOGON_SESSION_STATE: The logon session is not in a state that is consistent with the requested operation."; code = 0x555; break;
case 0x556: desc = "ERROR_LOGON_SESSION_COLLISION: The logon session ID is already in use."; code = 0x556; break;
case 0x557: desc = "ERROR_INVALID_LOGON_TYPE: A logon request contained an invalid logon type value."; code = 0x557; break;
case 0x558: desc = "ERROR_CANNOT_IMPERSONATE: Unable to impersonate using a named pipe until data has been read from that pipe."; code = 0x558; break;
case 0x559: desc = "ERROR_RXACT_INVALID_STATE: The transaction state of a registry subtree is incompatible with the requested operation."; code = 0x559; break;
case 0x55A: desc = "ERROR_RXACT_COMMIT_FAILURE: An internal security database corruption has been encountered."; code = 0x55A; break;
case 0x55B: desc = "ERROR_SPECIAL_ACCOUNT: Cannot perform this operation on built-in accounts."; code = 0x55B; break;
case 0x55C: desc = "ERROR_SPECIAL_GROUP: Cannot perform this operation on this built-in special group."; code = 0x55C; break;
case 0x55D: desc = "ERROR_SPECIAL_USER: Cannot perform this operation on this built-in special user."; code = 0x55D; break;
case 0x55E: desc = "ERROR_MEMBERS_PRIMARY_GROUP: The user cannot be removed from a group because the group is currently the user's primary group."; code = 0x55E; break;
case 0x55F: desc = "ERROR_TOKEN_ALREADY_IN_USE: The token is already in use as a primary token."; code = 0x55F; break;
case 0x560: desc = "ERROR_NO_SUCH_ALIAS: The specified local group does not exist."; code = 0x560; break;
case 0x561: desc = "ERROR_MEMBER_NOT_IN_ALIAS: The specified account name is not a member of the group."; code = 0x561; break;
case 0x562: desc = "ERROR_MEMBER_IN_ALIAS: The specified account name is already a member of the group."; code = 0x562; break;
case 0x563: desc = "ERROR_ALIAS_EXISTS: The specified local group already exists."; code = 0x563; break;
case 0x564: desc = "ERROR_LOGON_NOT_GRANTED: Logon failure: the user has not been granted the requested logon type at this computer."; code = 0x564; break;
case 0x565: desc = "ERROR_TOO_MANY_SECRETS: The maximum number of secrets that may be stored in a single system has been exceeded."; code = 0x565; break;
case 0x566: desc = "ERROR_SECRET_TOO_LONG: The length of a secret exceeds the maximum length allowed."; code = 0x566; break;
case 0x567: desc = "ERROR_INTERNAL_DB_ERROR: The local security authority database contains an internal inconsistency."; code = 0x567; break;
case 0x568: desc = "ERROR_TOO_MANY_CONTEXT_IDS: During a logon attempt, the user's security context accumulated too many security IDs."; code = 0x568; break;
case 0x569: desc = "ERROR_LOGON_TYPE_NOT_GRANTED: Logon failure: the user has not been granted the requested logon type at this computer."; code = 0x569; break;
case 0x56A: desc = "ERROR_NT_CROSS_ENCRYPTION_REQUIRED: A cross-encrypted password is necessary to change a user password."; code = 0x56A; break;
case 0x56B: desc = "ERROR_NO_SUCH_MEMBER: A member could not be added to or removed from the local group because the member does not exist."; code = 0x56B; break;
case 0x56C: desc = "ERROR_INVALID_MEMBER: A new member could not be added to a local group because the member has the wrong account type."; code = 0x56C; break;
case 0x56D: desc = "ERROR_TOO_MANY_SIDS: Too many security IDs have been specified."; code = 0x56D; break;
case 0x56E: desc = "ERROR_LM_CROSS_ENCRYPTION_REQUIRED: A cross-encrypted password is necessary to change this user password."; code = 0x56E; break;
case 0x56F: desc = "ERROR_NO_INHERITANCE: Indicates an ACL contains no inheritable components."; code = 0x56F; break;
case 0x570: desc = "ERROR_FILE_CORRUPT: The file or directory is corrupted and unreadable."; code = 0x570; break;
case 0x571: desc = "ERROR_DISK_CORRUPT: The disk structure is corrupted and unreadable."; code = 0x571; break;
case 0x572: desc = "ERROR_NO_USER_SESSION_KEY: There is no user session key for the specified logon session."; code = 0x572; break;
case 0x573: desc = "ERROR_LICENSE_QUOTA_EXCEEDED: The service being accessed is licensed for a particular number of connections. No more connections can be made to the service at this time because there are already as many connections as the service can accept."; code = 0x573; break;
case 0x574: desc = "ERROR_WRONG_TARGET_NAME: The target account name is incorrect."; code = 0x574; break;
case 0x575: desc = "ERROR_MUTUAL_AUTH_FAILED: Mutual Authentication failed. The server's password is out of date at the domain controller."; code = 0x575; break;
case 0x576: desc = "ERROR_TIME_SKEW: There is a time and/or date difference between the client and server."; code = 0x576; break;
case 0x577: desc = "ERROR_CURRENT_DOMAIN_NOT_ALLOWED: This operation cannot be performed on the current domain."; code = 0x577; break;
case 0x578: desc = "ERROR_INVALID_WINDOW_HANDLE: Invalid window handle."; code = 0x578; break;
case 0x579: desc = "ERROR_INVALID_MENU_HANDLE: Invalid menu handle."; code = 0x579; break;
case 0x57A: desc = "ERROR_INVALID_CURSOR_HANDLE: Invalid cursor handle."; code = 0x57A; break;
case 0x57B: desc = "ERROR_INVALID_ACCEL_HANDLE: Invalid accelerator table handle."; code = 0x57B; break;
case 0x57C: desc = "ERROR_INVALID_HOOK_HANDLE: Invalid hook handle."; code = 0x57C; break;
case 0x57D: desc = "ERROR_INVALID_DWP_HANDLE: Invalid handle to a multiple-window position structure."; code = 0x57D; break;
case 0x57E: desc = "ERROR_TLW_WITH_WSCHILD: Cannot create a top-level child window."; code = 0x57E; break;
case 0x57F: desc = "ERROR_CANNOT_FIND_WND_CLASS: Cannot find window class."; code = 0x57F; break;
case 0x580: desc = "ERROR_WINDOW_OF_OTHER_THREAD: Invalid window; it belongs to other thread."; code = 0x580; break;
case 0x581: desc = "ERROR_HOTKEY_ALREADY_REGISTERED: Hot key is already registered."; code = 0x581; break;
case 0x582: desc = "ERROR_CLASS_ALREADY_EXISTS: Class already exists."; code = 0x582; break;
case 0x583: desc = "ERROR_CLASS_DOES_NOT_EXIST: Class does not exist."; code = 0x583; break;
case 0x584: desc = "ERROR_CLASS_HAS_WINDOWS: Class still has open windows."; code = 0x584; break;
case 0x585: desc = "ERROR_INVALID_INDEX: Invalid index."; code = 0x585; break;
case 0x586: desc = "ERROR_INVALID_ICON_HANDLE: Invalid icon handle."; code = 0x586; break;
case 0x587: desc = "ERROR_PRIVATE_DIALOG_INDEX: Using private DIALOG window words."; code = 0x587; break;
case 0x588: desc = "ERROR_LISTBOX_ID_NOT_FOUND: The list box identifier was not found."; code = 0x588; break;
case 0x589: desc = "ERROR_NO_WILDCARD_CHARACTERS: No wildcards were found."; code = 0x589; break;
case 0x58A: desc = "ERROR_CLIPBOARD_NOT_OPEN: Thread does not have a clipboard open."; code = 0x58A; break;
case 0x58B: desc = "ERROR_HOTKEY_NOT_REGISTERED: Hot key is not registered."; code = 0x58B; break;
case 0x58C: desc = "ERROR_WINDOW_NOT_DIALOG: The window is not a valid dialog window."; code = 0x58C; break;
case 0x58D: desc = "ERROR_CONTROL_ID_NOT_FOUND: Control ID not found."; code = 0x58D; break;
case 0x58E: desc = "ERROR_INVALID_COMBOBOX_MESSAGE: Invalid message for a combo box because it does not have an edit control."; code = 0x58E; break;
case 0x58F: desc = "ERROR_WINDOW_NOT_COMBOBOX: The window is not a combo box."; code = 0x58F; break;
case 0x590: desc = "ERROR_INVALID_EDIT_HEIGHT: Height must be less than 256."; code = 0x590; break;
case 0x591: desc = "ERROR_DC_NOT_FOUND: Invalid device context (DC) handle."; code = 0x591; break;
case 0x592: desc = "ERROR_INVALID_HOOK_FILTER: Invalid hook procedure type."; code = 0x592; break;
case 0x593: desc = "ERROR_INVALID_FILTER_PROC: Invalid hook procedure."; code = 0x593; break;
case 0x594: desc = "ERROR_HOOK_NEEDS_HMOD: Cannot set nonlocal hook without a module handle."; code = 0x594; break;
case 0x595: desc = "ERROR_GLOBAL_ONLY_HOOK: This hook procedure can only be set globally."; code = 0x595; break;
case 0x596: desc = "ERROR_JOURNAL_HOOK_SET: The journal hook procedure is already installed."; code = 0x596; break;
case 0x597: desc = "ERROR_HOOK_NOT_INSTALLED: The hook procedure is not installed."; code = 0x597; break;
case 0x598: desc = "ERROR_INVALID_LB_MESSAGE: Invalid message for single-selection list box."; code = 0x598; break;
case 0x599: desc = "ERROR_SETCOUNT_ON_BAD_LB: LB_SETCOUNT sent to non-lazy list box."; code = 0x599; break;
case 0x59A: desc = "ERROR_LB_WITHOUT_TABSTOPS: This list box does not support tab stops."; code = 0x59A; break;
case 0x59B: desc = "ERROR_DESTROY_OBJECT_OF_OTHER_THREAD: Cannot destroy object created by another thread."; code = 0x59B; break;
case 0x59C: desc = "ERROR_CHILD_WINDOW_MENU: Child windows cannot have menus."; code = 0x59C; break;
case 0x59D: desc = "ERROR_NO_SYSTEM_MENU: The window does not have a system menu."; code = 0x59D; break;
case 0x59E: desc = "ERROR_INVALID_MSGBOX_STYLE: Invalid message box style."; code = 0x59E; break;
case 0x59F: desc = "ERROR_INVALID_SPI_VALUE: Invalid system-wide (SPI_*) parameter."; code = 0x59F; break;
case 0x5A0: desc = "ERROR_SCREEN_ALREADY_LOCKED: Screen already locked."; code = 0x5A0; break;
case 0x5A1: desc = "ERROR_HWNDS_HAVE_DIFF_PARENT: All handles to windows in a multiple-window position structure must have the same parent."; code = 0x5A1; break;
case 0x5A2: desc = "ERROR_NOT_CHILD_WINDOW: The window is not a child window."; code = 0x5A2; break;
case 0x5A3: desc = "ERROR_INVALID_GW_COMMAND: Invalid GW_* command."; code = 0x5A3; break;
case 0x5A4: desc = "ERROR_INVALID_THREAD_ID: Invalid thread identifier."; code = 0x5A4; break;
case 0x5A5: desc = "ERROR_NON_MDICHILD_WINDOW: Cannot process a message from a window that is not a multiple document interface (MDI) window."; code = 0x5A5; break;
case 0x5A6: desc = "ERROR_POPUP_ALREADY_ACTIVE: Popup menu already active."; code = 0x5A6; break;
case 0x5A7: desc = "ERROR_NO_SCROLLBARS: The window does not have scroll bars."; code = 0x5A7; break;
case 0x5A8: desc = "ERROR_INVALID_SCROLLBAR_RANGE: Scroll bar range cannot be greater than MAXLONG."; code = 0x5A8; break;
case 0x5A9: desc = "ERROR_INVALID_SHOWWIN_COMMAND: Cannot show or remove the window in the way specified."; code = 0x5A9; break;
case 0x5AA: desc = "ERROR_NO_SYSTEM_RESOURCES: Insufficient system resources exist to complete the requested service."; code = 0x5AA; break;
case 0x5AB: desc = "ERROR_NONPAGED_SYSTEM_RESOURCES: Insufficient system resources exist to complete the requested service."; code = 0x5AB; break;
case 0x5AC: desc = "ERROR_PAGED_SYSTEM_RESOURCES: Insufficient system resources exist to complete the requested service."; code = 0x5AC; break;
case 0x5AD: desc = "ERROR_WORKING_SET_QUOTA: Insufficient quota to complete the requested service."; code = 0x5AD; break;
case 0x5AE: desc = "ERROR_PAGEFILE_QUOTA: Insufficient quota to complete the requested service."; code = 0x5AE; break;
case 0x5AF: desc = "ERROR_COMMITMENT_LIMIT: The paging file is too small for this operation to complete."; code = 0x5AF; break;
case 0x5B0: desc = "ERROR_MENU_ITEM_NOT_FOUND: A menu item was not found."; code = 0x5B0; break;
case 0x5B1: desc = "ERROR_INVALID_KEYBOARD_HANDLE: Invalid keyboard layout handle."; code = 0x5B1; break;
case 0x5B2: desc = "ERROR_HOOK_TYPE_NOT_ALLOWED: Hook type not allowed."; code = 0x5B2; break;
case 0x5B3: desc = "ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION: This operation requires an interactive window station."; code = 0x5B3; break;
case 0x5B4: desc = "ERROR_TIMEOUT: This operation returned because the timeout period expired."; code = 0x5B4; break;
case 0x5B5: desc = "ERROR_INVALID_MONITOR_HANDLE: Invalid monitor handle."; code = 0x5B5; break;
case 0x5B6: desc = "ERROR_INCORRECT_SIZE: Incorrect size argument."; code = 0x5B6; break;
case 0x5B7: desc = "ERROR_SYMLINK_CLASS_DISABLED: The symbolic link cannot be followed because its type is disabled."; code = 0x5B7; break;
case 0x5B8: desc = "ERROR_SYMLINK_NOT_SUPPORTED: This application does not support the current operation on symbolic links."; code = 0x5B8; break;
case 0x5B9: desc = "ERROR_XML_PARSE_ERROR: Windows was unable to parse the requested XML data."; code = 0x5B9; break;
case 0x5BA: desc = "ERROR_XMLDSIG_ERROR: An error was encountered while processing an XML digital signature."; code = 0x5BA; break;
case 0x5BB: desc = "ERROR_RESTART_APPLICATION: This application must be restarted."; code = 0x5BB; break;
case 0x5BC: desc = "ERROR_WRONG_COMPARTMENT: The caller made the connection request in the wrong routing compartment."; code = 0x5BC; break;
case 0x5BD: desc = "ERROR_AUTHIP_FAILURE: There was an AuthIP failure when attempting to connect to the remote host."; code = 0x5BD; break;
case 0x5BE: desc = "ERROR_NO_NVRAM_RESOURCES: Insufficient NVRAM resources exist to complete the requested service. A reboot might be required."; code = 0x5BE; break;
case 0x5BF: desc = "ERROR_NOT_GUI_PROCESS: Unable to finish the requested operation because the specified process is not a GUI process."; code = 0x5BF; break;
case 0x5DC: desc = "ERROR_EVENTLOG_FILE_CORRUPT: The event log file is corrupted."; code = 0x5DC; break;
case 0x5DD: desc = "ERROR_EVENTLOG_CANT_START: No event log file could be opened, so the event logging service did not start."; code = 0x5DD; break;
case 0x5DE: desc = "ERROR_LOG_FILE_FULL: The event log file is full."; code = 0x5DE; break;
case 0x5DF: desc = "ERROR_EVENTLOG_FILE_CHANGED: The event log file has changed between read operations."; code = 0x5DF; break;
case 0x60E: desc = "ERROR_INVALID_TASK_NAME: The specified task name is invalid."; code = 0x60E; break;
case 0x60F: desc = "ERROR_INVALID_TASK_INDEX: The specified task index is invalid."; code = 0x60F; break;
case 0x610: desc = "ERROR_THREAD_ALREADY_IN_TASK: The specified thread is already joining a task."; code = 0x610; break;
case 0x641: desc = "ERROR_INSTALL_SERVICE_FAILURE: The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance."; code = 0x641; break;
case 0x642: desc = "ERROR_INSTALL_USEREXIT: User cancelled installation."; code = 0x642; break;
case 0x643: desc = "ERROR_INSTALL_FAILURE: Fatal error during installation."; code = 0x643; break;
case 0x644: desc = "ERROR_INSTALL_SUSPEND: Installation suspended, incomplete."; code = 0x644; break;
case 0x645: desc = "ERROR_UNKNOWN_PRODUCT: This action is only valid for products that are currently installed."; code = 0x645; break;
case 0x646: desc = "ERROR_UNKNOWN_FEATURE: Feature ID not registered."; code = 0x646; break;
case 0x647: desc = "ERROR_UNKNOWN_COMPONENT: Component ID not registered."; code = 0x647; break;
case 0x648: desc = "ERROR_UNKNOWN_PROPERTY: Unknown property."; code = 0x648; break;
case 0x649: desc = "ERROR_INVALID_HANDLE_STATE: Handle is in an invalid state."; code = 0x649; break;
case 0x64A: desc = "ERROR_BAD_CONFIGURATION: The configuration data for this product is corrupt. Contact your support personnel."; code = 0x64A; break;
case 0x64B: desc = "ERROR_INDEX_ABSENT: Component qualifier not present."; code = 0x64B; break;
case 0x64C: desc = "ERROR_INSTALL_SOURCE_ABSENT: The installation source for this product is not available. Verify that the source exists and that you can access it."; code = 0x64C; break;
case 0x64D: desc = "ERROR_INSTALL_PACKAGE_VERSION: This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service."; code = 0x64D; break;
case 0x64E: desc = "ERROR_PRODUCT_UNINSTALLED: Product is uninstalled."; code = 0x64E; break;
case 0x64F: desc = "ERROR_BAD_QUERY_SYNTAX: SQL query syntax invalid or unsupported."; code = 0x64F; break;
case 0x650: desc = "ERROR_INVALID_FIELD: Record field does not exist."; code = 0x650; break;
case 0x651: desc = "ERROR_DEVICE_REMOVED: The device has been removed."; code = 0x651; break;
case 0x652: desc = "ERROR_INSTALL_ALREADY_RUNNING: Another installation is already in progress. Complete that installation before proceeding with this install."; code = 0x652; break;
case 0x653: desc = "ERROR_INSTALL_PACKAGE_OPEN_FAILED: This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."; code = 0x653; break;
case 0x654: desc = "ERROR_INSTALL_PACKAGE_INVALID: This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package."; code = 0x654; break;
case 0x655: desc = "ERROR_INSTALL_UI_FAILURE: There was an error starting the Windows Installer service user interface. Contact your support personnel."; code = 0x655; break;
case 0x656: desc = "ERROR_INSTALL_LOG_FAILURE: Error opening installation log file. Verify that the specified log file location exists and that you can write to it."; code = 0x656; break;
case 0x657: desc = "ERROR_INSTALL_LANGUAGE_UNSUPPORTED: The language of this installation package is not supported by your system."; code = 0x657; break;
case 0x658: desc = "ERROR_INSTALL_TRANSFORM_FAILURE: Error applying transforms. Verify that the specified transform paths are valid."; code = 0x658; break;
case 0x659: desc = "ERROR_INSTALL_PACKAGE_REJECTED: This installation is forbidden by system policy. Contact your system administrator."; code = 0x659; break;
case 0x65A: desc = "ERROR_FUNCTION_NOT_CALLED: Function could not be executed."; code = 0x65A; break;
case 0x65B: desc = "ERROR_FUNCTION_FAILED: Function failed during execution."; code = 0x65B; break;
case 0x65C: desc = "ERROR_INVALID_TABLE: Invalid or unknown table specified."; code = 0x65C; break;
case 0x65D: desc = "ERROR_DATATYPE_MISMATCH: Data supplied is of wrong type."; code = 0x65D; break;
case 0x65E: desc = "ERROR_UNSUPPORTED_TYPE: Data of this type is not supported."; code = 0x65E; break;
case 0x65F: desc = "ERROR_CREATE_FAILED: The Windows Installer service failed to start. Contact your support personnel."; code = 0x65F; break;
case 0x660: desc = "ERROR_INSTALL_TEMP_UNWRITABLE: The Temp folder is on a drive that is full or is inaccessible. Free up space on the drive or verify that you have write permission on the Temp folder."; code = 0x660; break;
case 0x661: desc = "ERROR_INSTALL_PLATFORM_UNSUPPORTED: This installation package is not supported by this processor type. Contact your product vendor."; code = 0x661; break;
case 0x662: desc = "ERROR_INSTALL_NOTUSED: Component not used on this computer."; code = 0x662; break;
case 0x663: desc = "ERROR_PATCH_PACKAGE_OPEN_FAILED: This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package."; code = 0x663; break;
case 0x664: desc = "ERROR_PATCH_PACKAGE_INVALID: This update package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer update package."; code = 0x664; break;
case 0x665: desc = "ERROR_PATCH_PACKAGE_UNSUPPORTED: This update package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service."; code = 0x665; break;
case 0x666: desc = "ERROR_PRODUCT_VERSION: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."; code = 0x666; break;
case 0x667: desc = "ERROR_INVALID_COMMAND_LINE: Invalid command line argument. Consult the Windows Installer SDK for detailed command line help."; code = 0x667; break;
case 0x668: desc = "ERROR_INSTALL_REMOTE_DISALLOWED: Only administrators have permission to add, remove, or configure server software during a Terminal services remote session. If you want to install or configure software on the server, contact your network administrator."; code = 0x668; break;
case 0x669: desc = "ERROR_SUCCESS_REBOOT_INITIATED: The requested operation completed successfully. The system will be restarted so the changes can take effect."; code = 0x669; break;
case 0x66A: desc = "ERROR_PATCH_TARGET_NOT_FOUND: The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade."; code = 0x66A; break;
case 0x66B: desc = "ERROR_PATCH_PACKAGE_REJECTED: The update package is not permitted by software restriction policy."; code = 0x66B; break;
case 0x66C: desc = "ERROR_INSTALL_TRANSFORM_REJECTED: One or more customizations are not permitted by software restriction policy."; code = 0x66C; break;
case 0x66D: desc = "ERROR_INSTALL_REMOTE_PROHIBITED: The Windows Installer does not permit installation from a Remote Desktop Connection."; code = 0x66D; break;
case 0x66E: desc = "ERROR_PATCH_REMOVAL_UNSUPPORTED: Uninstallation of the update package is not supported."; code = 0x66E; break;
case 0x66F: desc = "ERROR_UNKNOWN_PATCH: The update is not applied to this product."; code = 0x66F; break;
case 0x670: desc = "ERROR_PATCH_NO_SEQUENCE: No valid sequence could be found for the set of updates."; code = 0x670; break;
case 0x671: desc = "ERROR_PATCH_REMOVAL_DISALLOWED: Update removal was disallowed by policy."; code = 0x671; break;
case 0x672: desc = "ERROR_INVALID_PATCH_XML: The XML update data is invalid."; code = 0x672; break;
case 0x673: desc = "ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT: Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update."; code = 0x673; break;
case 0x674: desc = "ERROR_INSTALL_SERVICE_SAFEBOOT: The Windows Installer service is not accessible in Safe Mode. Please try again when your computer is not in Safe Mode or you can use System Restore to return your machine to a previous good state."; code = 0x674; break;
case 0x675: desc = "ERROR_FAIL_FAST_EXCEPTION: A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately."; code = 0x675; break;
case 0x676: desc = "ERROR_INSTALL_REJECTED: The app that you are trying to run is not supported on this version of Windows."; code = 0x676; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x6a4 && rawError <= 0xf9f)
{
switch(rawError)
{
case 0x6A4: desc = "RPC_S_INVALID_STRING_BINDING: The string binding is invalid."; code = 0x6A4; break;
case 0x6A5: desc = "RPC_S_WRONG_KIND_OF_BINDING: The binding handle is not the correct type."; code = 0x6A5; break;
case 0x6A6: desc = "RPC_S_INVALID_BINDING: The binding handle is invalid."; code = 0x6A6; break;
case 0x6A7: desc = "RPC_S_PROTSEQ_NOT_SUPPORTED: The RPC protocol sequence is not supported."; code = 0x6A7; break;
case 0x6A8: desc = "RPC_S_INVALID_RPC_PROTSEQ: The RPC protocol sequence is invalid."; code = 0x6A8; break;
case 0x6A9: desc = "RPC_S_INVALID_STRING_UUID: The string universal unique identifier (UUID) is invalid."; code = 0x6A9; break;
case 0x6AA: desc = "RPC_S_INVALID_ENDPOINT_FORMAT: The endpoint format is invalid."; code = 0x6AA; break;
case 0x6AB: desc = "RPC_S_INVALID_NET_ADDR: The network address is invalid."; code = 0x6AB; break;
case 0x6AC: desc = "RPC_S_NO_ENDPOINT_FOUND: No endpoint was found."; code = 0x6AC; break;
case 0x6AD: desc = "RPC_S_INVALID_TIMEOUT: The timeout value is invalid."; code = 0x6AD; break;
case 0x6AE: desc = "RPC_S_OBJECT_NOT_FOUND: The object universal unique identifier (UUID) was not found."; code = 0x6AE; break;
case 0x6AF: desc = "RPC_S_ALREADY_REGISTERED: The object universal unique identifier (UUID) has already been registered."; code = 0x6AF; break;
case 0x6B0: desc = "RPC_S_TYPE_ALREADY_REGISTERED: The type universal unique identifier (UUID) has already been registered."; code = 0x6B0; break;
case 0x6B1: desc = "RPC_S_ALREADY_LISTENING: The RPC server is already listening."; code = 0x6B1; break;
case 0x6B2: desc = "RPC_S_NO_PROTSEQS_REGISTERED: No protocol sequences have been registered."; code = 0x6B2; break;
case 0x6B3: desc = "RPC_S_NOT_LISTENING: The RPC server is not listening."; code = 0x6B3; break;
case 0x6B4: desc = "RPC_S_UNKNOWN_MGR_TYPE: The manager type is unknown."; code = 0x6B4; break;
case 0x6B5: desc = "RPC_S_UNKNOWN_IF: The interface is unknown."; code = 0x6B5; break;
case 0x6B6: desc = "RPC_S_NO_BINDINGS: There are no bindings."; code = 0x6B6; break;
case 0x6B7: desc = "RPC_S_NO_PROTSEQS: There are no protocol sequences."; code = 0x6B7; break;
case 0x6B8: desc = "RPC_S_CANT_CREATE_ENDPOINT: The endpoint cannot be created."; code = 0x6B8; break;
case 0x6B9: desc = "RPC_S_OUT_OF_RESOURCES: Not enough resources are available to complete this operation."; code = 0x6B9; break;
case 0x6BA: desc = "RPC_S_SERVER_UNAVAILABLE: The RPC server is unavailable."; code = 0x6BA; break;
case 0x6BB: desc = "RPC_S_SERVER_TOO_BUSY: The RPC server is too busy to complete this operation."; code = 0x6BB; break;
case 0x6BC: desc = "RPC_S_INVALID_NETWORK_OPTIONS: The network options are invalid."; code = 0x6BC; break;
case 0x6BD: desc = "RPC_S_NO_CALL_ACTIVE: There are no remote procedure calls active on this thread."; code = 0x6BD; break;
case 0x6BE: desc = "RPC_S_CALL_FAILED: The remote procedure call failed."; code = 0x6BE; break;
case 0x6BF: desc = "RPC_S_CALL_FAILED_DNE: The remote procedure call failed and did not execute."; code = 0x6BF; break;
case 0x6C0: desc = "RPC_S_PROTOCOL_ERROR: A remote procedure call (RPC) protocol error occurred."; code = 0x6C0; break;
case 0x6C1: desc = "RPC_S_PROXY_ACCESS_DENIED: Access to the HTTP proxy is denied."; code = 0x6C1; break;
case 0x6C2: desc = "RPC_S_UNSUPPORTED_TRANS_SYN: The transfer syntax is not supported by the RPC server."; code = 0x6C2; break;
case 0x6C4: desc = "RPC_S_UNSUPPORTED_TYPE: The universal unique identifier (UUID) type is not supported."; code = 0x6C4; break;
case 0x6C5: desc = "RPC_S_INVALID_TAG: The tag is invalid."; code = 0x6C5; break;
case 0x6C6: desc = "RPC_S_INVALID_BOUND: The array bounds are invalid."; code = 0x6C6; break;
case 0x6C7: desc = "RPC_S_NO_ENTRY_NAME: The binding does not contain an entry name."; code = 0x6C7; break;
case 0x6C8: desc = "RPC_S_INVALID_NAME_SYNTAX: The name syntax is invalid."; code = 0x6C8; break;
case 0x6C9: desc = "RPC_S_UNSUPPORTED_NAME_SYNTAX: The name syntax is not supported."; code = 0x6C9; break;
case 0x6CB: desc = "RPC_S_UUID_NO_ADDRESS: No network address is available to use to construct a universal unique identifier (UUID)."; code = 0x6CB; break;
case 0x6CC: desc = "RPC_S_DUPLICATE_ENDPOINT: The endpoint is a duplicate."; code = 0x6CC; break;
case 0x6CD: desc = "RPC_S_UNKNOWN_AUTHN_TYPE: The authentication type is unknown."; code = 0x6CD; break;
case 0x6CE: desc = "RPC_S_MAX_CALLS_TOO_SMALL: The maximum number of calls is too small."; code = 0x6CE; break;
case 0x6CF: desc = "RPC_S_STRING_TOO_LONG: The string is too long."; code = 0x6CF; break;
case 0x6D0: desc = "RPC_S_PROTSEQ_NOT_FOUND: The RPC protocol sequence was not found."; code = 0x6D0; break;
case 0x6D1: desc = "RPC_S_PROCNUM_OUT_OF_RANGE: The procedure number is out of range."; code = 0x6D1; break;
case 0x6D2: desc = "RPC_S_BINDING_HAS_NO_AUTH: The binding does not contain any authentication information."; code = 0x6D2; break;
case 0x6D3: desc = "RPC_S_UNKNOWN_AUTHN_SERVICE: The authentication service is unknown."; code = 0x6D3; break;
case 0x6D4: desc = "RPC_S_UNKNOWN_AUTHN_LEVEL: The authentication level is unknown."; code = 0x6D4; break;
case 0x6D5: desc = "RPC_S_INVALID_AUTH_IDENTITY: The security context is invalid."; code = 0x6D5; break;
case 0x6D6: desc = "RPC_S_UNKNOWN_AUTHZ_SERVICE: The authorization service is unknown."; code = 0x6D6; break;
case 0x6D7: desc = "EPT_S_INVALID_ENTRY: The entry is invalid."; code = 0x6D7; break;
case 0x6D8: desc = "EPT_S_CANT_PERFORM_OP: The server endpoint cannot perform the operation."; code = 0x6D8; break;
case 0x6D9: desc = "EPT_S_NOT_REGISTERED: There are no more endpoints available from the endpoint mapper."; code = 0x6D9; break;
case 0x6DA: desc = "RPC_S_NOTHING_TO_EXPORT: No interfaces have been exported."; code = 0x6DA; break;
case 0x6DB: desc = "RPC_S_INCOMPLETE_NAME: The entry name is incomplete."; code = 0x6DB; break;
case 0x6DC: desc = "RPC_S_INVALID_VERS_OPTION: The version option is invalid."; code = 0x6DC; break;
case 0x6DD: desc = "RPC_S_NO_MORE_MEMBERS: There are no more members."; code = 0x6DD; break;
case 0x6DE: desc = "RPC_S_NOT_ALL_OBJS_UNEXPORTED: There is nothing to unexport."; code = 0x6DE; break;
case 0x6DF: desc = "RPC_S_INTERFACE_NOT_FOUND: The interface was not found."; code = 0x6DF; break;
case 0x6E0: desc = "RPC_S_ENTRY_ALREADY_EXISTS: The entry already exists."; code = 0x6E0; break;
case 0x6E1: desc = "RPC_S_ENTRY_NOT_FOUND: The entry is not found."; code = 0x6E1; break;
case 0x6E2: desc = "RPC_S_NAME_SERVICE_UNAVAILABLE: The name service is unavailable."; code = 0x6E2; break;
case 0x6E3: desc = "RPC_S_INVALID_NAF_ID: The network address family is invalid."; code = 0x6E3; break;
case 0x6E4: desc = "RPC_S_CANNOT_SUPPORT: The requested operation is not supported."; code = 0x6E4; break;
case 0x6E5: desc = "RPC_S_NO_CONTEXT_AVAILABLE: No security context is available to allow impersonation."; code = 0x6E5; break;
case 0x6E6: desc = "RPC_S_INTERNAL_ERROR: An internal error occurred in a remote procedure call (RPC)."; code = 0x6E6; break;
case 0x6E7: desc = "RPC_S_ZERO_DIVIDE: The RPC server attempted an integer division by zero."; code = 0x6E7; break;
case 0x6E8: desc = "RPC_S_ADDRESS_ERROR: An addressing error occurred in the RPC server."; code = 0x6E8; break;
case 0x6E9: desc = "RPC_S_FP_DIV_ZERO: A floating-point operation at the RPC server caused a division by zero."; code = 0x6E9; break;
case 0x6EA: desc = "RPC_S_FP_UNDERFLOW: A floating-point underflow occurred at the RPC server."; code = 0x6EA; break;
case 0x6EB: desc = "RPC_S_FP_OVERFLOW: A floating-point overflow occurred at the RPC server."; code = 0x6EB; break;
case 0x6EC: desc = "RPC_X_NO_MORE_ENTRIES: The list of RPC servers available for the binding of auto handles has been exhausted."; code = 0x6EC; break;
case 0x6ED: desc = "RPC_X_SS_CHAR_TRANS_OPEN_FAIL: Unable to open the character translation table file."; code = 0x6ED; break;
case 0x6EE: desc = "RPC_X_SS_CHAR_TRANS_SHORT_FILE: The file containing the character translation table has fewer than 512 bytes."; code = 0x6EE; break;
case 0x6EF: desc = "RPC_X_SS_IN_NULL_CONTEXT: A null context handle was passed from the client to the host during a remote procedure call."; code = 0x6EF; break;
case 0x6F1: desc = "RPC_X_SS_CONTEXT_DAMAGED: The context handle changed during a remote procedure call."; code = 0x6F1; break;
case 0x6F2: desc = "RPC_X_SS_HANDLES_MISMATCH: The binding handles passed to a remote procedure call do not match."; code = 0x6F2; break;
case 0x6F3: desc = "RPC_X_SS_CANNOT_GET_CALL_HANDLE: The stub is unable to get the remote procedure call handle."; code = 0x6F3; break;
case 0x6F4: desc = "RPC_X_NULL_REF_POINTER: A null reference pointer was passed to the stub."; code = 0x6F4; break;
case 0x6F5: desc = "RPC_X_ENUM_VALUE_OUT_OF_RANGE: The enumeration value is out of range."; code = 0x6F5; break;
case 0x6F6: desc = "RPC_X_BYTE_COUNT_TOO_SMALL: The byte count is too small."; code = 0x6F6; break;
case 0x6F7: desc = "RPC_X_BAD_STUB_DATA: The stub received bad data."; code = 0x6F7; break;
case 0x6F8: desc = "ERROR_INVALID_USER_BUFFER: The supplied user buffer is not valid for the requested operation."; code = 0x6F8; break;
case 0x6F9: desc = "ERROR_UNRECOGNIZED_MEDIA: The disk media is not recognized. It may not be formatted."; code = 0x6F9; break;
case 0x6FA: desc = "ERROR_NO_TRUST_LSA_SECRET: The workstation does not have a trust secret."; code = 0x6FA; break;
case 0x6FB: desc = "ERROR_NO_TRUST_SAM_ACCOUNT: The security database on the server does not have a computer account for this workstation trust relationship."; code = 0x6FB; break;
case 0x6FC: desc = "ERROR_TRUSTED_DOMAIN_FAILURE: The trust relationship between the primary domain and the trusted domain failed."; code = 0x6FC; break;
case 0x6FD: desc = "ERROR_TRUSTED_RELATIONSHIP_FAILURE: The trust relationship between this workstation and the primary domain failed."; code = 0x6FD; break;
case 0x6FE: desc = "ERROR_TRUST_FAILURE: The network logon failed."; code = 0x6FE; break;
case 0x6FF: desc = "RPC_S_CALL_IN_PROGRESS: A remote procedure call is already in progress for this thread."; code = 0x6FF; break;
case 0x700: desc = "ERROR_NETLOGON_NOT_STARTED: An attempt was made to logon, but the network logon service was not started."; code = 0x700; break;
case 0x701: desc = "ERROR_ACCOUNT_EXPIRED: The user's account has expired."; code = 0x701; break;
case 0x702: desc = "ERROR_REDIRECTOR_HAS_OPEN_HANDLES: The redirector is in use and cannot be unloaded."; code = 0x702; break;
case 0x703: desc = "ERROR_PRINTER_DRIVER_ALREADY_INSTALLED: The specified printer driver is already installed."; code = 0x703; break;
case 0x704: desc = "ERROR_UNKNOWN_PORT: The specified port is unknown."; code = 0x704; break;
case 0x705: desc = "ERROR_UNKNOWN_PRINTER_DRIVER: The printer driver is unknown."; code = 0x705; break;
case 0x706: desc = "ERROR_UNKNOWN_PRINTPROCESSOR: The print processor is unknown."; code = 0x706; break;
case 0x707: desc = "ERROR_INVALID_SEPARATOR_FILE: The specified separator file is invalid."; code = 0x707; break;
case 0x708: desc = "ERROR_INVALID_PRIORITY: The specified priority is invalid."; code = 0x708; break;
case 0x709: desc = "ERROR_INVALID_PRINTER_NAME: The printer name is invalid."; code = 0x709; break;
case 0x70A: desc = "ERROR_PRINTER_ALREADY_EXISTS: The printer already exists."; code = 0x70A; break;
case 0x70B: desc = "ERROR_INVALID_PRINTER_COMMAND: The printer command is invalid."; code = 0x70B; break;
case 0x70C: desc = "ERROR_INVALID_DATATYPE: The specified datatype is invalid."; code = 0x70C; break;
case 0x70D: desc = "ERROR_INVALID_ENVIRONMENT: The environment specified is invalid."; code = 0x70D; break;
case 0x70E: desc = "RPC_S_NO_MORE_BINDINGS: There are no more bindings."; code = 0x70E; break;
case 0x70F: desc = "ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT: The account used is an interdomain trust account. Use your global user account or local user account to access this server."; code = 0x70F; break;
case 0x710: desc = "ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT: The account used is a computer account. Use your global user account or local user account to access this server."; code = 0x710; break;
case 0x711: desc = "ERROR_NOLOGON_SERVER_TRUST_ACCOUNT: The account used is a server trust account. Use your global user account or local user account to access this server."; code = 0x711; break;
case 0x712: desc = "ERROR_DOMAIN_TRUST_INCONSISTENT: The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain."; code = 0x712; break;
case 0x713: desc = "ERROR_SERVER_HAS_OPEN_HANDLES: The server is in use and cannot be unloaded."; code = 0x713; break;
case 0x714: desc = "ERROR_RESOURCE_DATA_NOT_FOUND: The specified image file did not contain a resource section."; code = 0x714; break;
case 0x715: desc = "ERROR_RESOURCE_TYPE_NOT_FOUND: The specified resource type cannot be found in the image file."; code = 0x715; break;
case 0x716: desc = "ERROR_RESOURCE_NAME_NOT_FOUND: The specified resource name cannot be found in the image file."; code = 0x716; break;
case 0x717: desc = "ERROR_RESOURCE_LANG_NOT_FOUND: The specified resource language ID cannot be found in the image file."; code = 0x717; break;
case 0x718: desc = "ERROR_NOT_ENOUGH_QUOTA: Not enough quota is available to process this command."; code = 0x718; break;
case 0x719: desc = "RPC_S_NO_INTERFACES: No interfaces have been registered."; code = 0x719; break;
case 0x71A: desc = "RPC_S_CALL_CANCELLED: The remote procedure call was cancelled."; code = 0x71A; break;
case 0x71B: desc = "RPC_S_BINDING_INCOMPLETE: The binding handle does not contain all required information."; code = 0x71B; break;
case 0x71C: desc = "RPC_S_COMM_FAILURE: A communications failure occurred during a remote procedure call."; code = 0x71C; break;
case 0x71D: desc = "RPC_S_UNSUPPORTED_AUTHN_LEVEL: The requested authentication level is not supported."; code = 0x71D; break;
case 0x71E: desc = "RPC_S_NO_PRINC_NAME: No principal name registered."; code = 0x71E; break;
case 0x71F: desc = "RPC_S_NOT_RPC_ERROR: The error specified is not a valid Windows RPC error code."; code = 0x71F; break;
case 0x720: desc = "RPC_S_UUID_LOCAL_ONLY: A UUID that is valid only on this computer has been allocated."; code = 0x720; break;
case 0x721: desc = "RPC_S_SEC_PKG_ERROR: A security package specific error occurred."; code = 0x721; break;
case 0x722: desc = "RPC_S_NOT_CANCELLED: Thread is not canceled."; code = 0x722; break;
case 0x723: desc = "RPC_X_INVALID_ES_ACTION: Invalid operation on the encoding/decoding handle."; code = 0x723; break;
case 0x724: desc = "RPC_X_WRONG_ES_VERSION: Incompatible version of the serializing package."; code = 0x724; break;
case 0x725: desc = "RPC_X_WRONG_STUB_VERSION: Incompatible version of the RPC stub."; code = 0x725; break;
case 0x726: desc = "RPC_X_INVALID_PIPE_OBJECT: The RPC pipe object is invalid or corrupted."; code = 0x726; break;
case 0x727: desc = "RPC_X_WRONG_PIPE_ORDER: An invalid operation was attempted on an RPC pipe object."; code = 0x727; break;
case 0x728: desc = "RPC_X_WRONG_PIPE_VERSION: Unsupported RPC pipe version."; code = 0x728; break;
case 0x729: desc = "RPC_S_COOKIE_AUTH_FAILED: HTTP proxy server rejected the connection because the cookie authentication failed."; code = 0x729; break;
case 0x76A: desc = "RPC_S_GROUP_MEMBER_NOT_FOUND: The group member was not found."; code = 0x76A; break;
case 0x76B: desc = "EPT_S_CANT_CREATE: The endpoint mapper database entry could not be created."; code = 0x76B; break;
case 0x76C: desc = "RPC_S_INVALID_OBJECT: The object universal unique identifier (UUID) is the nil UUID."; code = 0x76C; break;
case 0x76D: desc = "ERROR_INVALID_TIME: The specified time is invalid."; code = 0x76D; break;
case 0x76E: desc = "ERROR_INVALID_FORM_NAME: The specified form name is invalid."; code = 0x76E; break;
case 0x76F: desc = "ERROR_INVALID_FORM_SIZE: The specified form size is invalid."; code = 0x76F; break;
case 0x770: desc = "ERROR_ALREADY_WAITING: The specified printer handle is already being waited on."; code = 0x770; break;
case 0x771: desc = "ERROR_PRINTER_DELETED: The specified printer has been deleted."; code = 0x771; break;
case 0x772: desc = "ERROR_INVALID_PRINTER_STATE: The state of the printer is invalid."; code = 0x772; break;
case 0x773: desc = "ERROR_PASSWORD_MUST_CHANGE: The user's password must be changed before signing in."; code = 0x773; break;
case 0x774: desc = "ERROR_DOMAIN_CONTROLLER_NOT_FOUND: Could not find the domain controller for this domain."; code = 0x774; break;
case 0x775: desc = "ERROR_ACCOUNT_LOCKED_OUT: The referenced account is currently locked out and may not be logged on to."; code = 0x775; break;
case 0x776: desc = "OR_INVALID_OXID: The object exporter specified was not found."; code = 0x776; break;
case 0x777: desc = "OR_INVALID_OID: The object specified was not found."; code = 0x777; break;
case 0x778: desc = "OR_INVALID_SET: The object resolver set specified was not found."; code = 0x778; break;
case 0x779: desc = "RPC_S_SEND_INCOMPLETE: Some data remains to be sent in the request buffer."; code = 0x779; break;
case 0x77A: desc = "RPC_S_INVALID_ASYNC_HANDLE: Invalid asynchronous remote procedure call handle."; code = 0x77A; break;
case 0x77B: desc = "RPC_S_INVALID_ASYNC_CALL: Invalid asynchronous RPC call handle for this operation."; code = 0x77B; break;
case 0x77C: desc = "RPC_X_PIPE_CLOSED: The RPC pipe object has already been closed."; code = 0x77C; break;
case 0x77D: desc = "RPC_X_PIPE_DISCIPLINE_ERROR: The RPC call completed before all pipes were processed."; code = 0x77D; break;
case 0x77E: desc = "RPC_X_PIPE_EMPTY: No more data is available from the RPC pipe."; code = 0x77E; break;
case 0x77F: desc = "ERROR_NO_SITENAME: No site name is available for this machine."; code = 0x77F; break;
case 0x780: desc = "ERROR_CANT_ACCESS_FILE: The file cannot be accessed by the system."; code = 0x780; break;
case 0x781: desc = "ERROR_CANT_RESOLVE_FILENAME: The name of the file cannot be resolved by the system."; code = 0x781; break;
case 0x782: desc = "RPC_S_ENTRY_TYPE_MISMATCH: The entry is not of the expected type."; code = 0x782; break;
case 0x783: desc = "RPC_S_NOT_ALL_OBJS_EXPORTED: Not all object UUIDs could be exported to the specified entry."; code = 0x783; break;
case 0x784: desc = "RPC_S_INTERFACE_NOT_EXPORTED: Interface could not be exported to the specified entry."; code = 0x784; break;
case 0x785: desc = "RPC_S_PROFILE_NOT_ADDED: The specified profile entry could not be added."; code = 0x785; break;
case 0x786: desc = "RPC_S_PRF_ELT_NOT_ADDED: The specified profile element could not be added."; code = 0x786; break;
case 0x787: desc = "RPC_S_PRF_ELT_NOT_REMOVED: The specified profile element could not be removed."; code = 0x787; break;
case 0x788: desc = "RPC_S_GRP_ELT_NOT_ADDED: The group element could not be added."; code = 0x788; break;
case 0x789: desc = "RPC_S_GRP_ELT_NOT_REMOVED: The group element could not be removed."; code = 0x789; break;
case 0x78A: desc = "ERROR_KM_DRIVER_BLOCKED: The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers."; code = 0x78A; break;
case 0x78B: desc = "ERROR_CONTEXT_EXPIRED: The context has expired and can no longer be used."; code = 0x78B; break;
case 0x78C: desc = "ERROR_PER_USER_TRUST_QUOTA_EXCEEDED: The current user's delegated trust creation quota has been exceeded."; code = 0x78C; break;
case 0x78D: desc = "ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED: The total delegated trust creation quota has been exceeded."; code = 0x78D; break;
case 0x78E: desc = "ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED: The current user's delegated trust deletion quota has been exceeded."; code = 0x78E; break;
case 0x78F: desc = "ERROR_AUTHENTICATION_FIREWALL_FAILED: The computer you are signing into is protected by an authentication firewall. The specified account is not allowed to authenticate to the computer."; code = 0x78F; break;
case 0x790: desc = "ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED: Remote connections to the Print Spooler are blocked by a policy set on your machine."; code = 0x790; break;
case 0x791: desc = "ERROR_NTLM_BLOCKED: Authentication failed because NTLM authentication has been disabled."; code = 0x791; break;
case 0x792: desc = "ERROR_PASSWORD_CHANGE_REQUIRED: Logon Failure: EAS policy requires that the user change their password before this operation can be performed."; code = 0x792; break;
case 0x7D0: desc = "ERROR_INVALID_PIXEL_FORMAT: The pixel format is invalid."; code = 0x7D0; break;
case 0x7D1: desc = "ERROR_BAD_DRIVER: The specified driver is invalid."; code = 0x7D1; break;
case 0x7D2: desc = "ERROR_INVALID_WINDOW_STYLE: The window style or class attribute is invalid for this operation."; code = 0x7D2; break;
case 0x7D3: desc = "ERROR_METAFILE_NOT_SUPPORTED: The requested metafile operation is not supported."; code = 0x7D3; break;
case 0x7D4: desc = "ERROR_TRANSFORM_NOT_SUPPORTED: The requested transformation operation is not supported."; code = 0x7D4; break;
case 0x7D5: desc = "ERROR_CLIPPING_NOT_SUPPORTED: The requested clipping operation is not supported."; code = 0x7D5; break;
case 0x7DA: desc = "ERROR_INVALID_CMM: The specified color management module is invalid."; code = 0x7DA; break;
case 0x7DB: desc = "ERROR_INVALID_PROFILE: The specified color profile is invalid."; code = 0x7DB; break;
case 0x7DC: desc = "ERROR_TAG_NOT_FOUND: The specified tag was not found."; code = 0x7DC; break;
case 0x7DD: desc = "ERROR_TAG_NOT_PRESENT: A required tag is not present."; code = 0x7DD; break;
case 0x7DE: desc = "ERROR_DUPLICATE_TAG: The specified tag is already present."; code = 0x7DE; break;
case 0x7DF: desc = "ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE: The specified color profile is not associated with the specified device."; code = 0x7DF; break;
case 0x7E0: desc = "ERROR_PROFILE_NOT_FOUND: The specified color profile was not found."; code = 0x7E0; break;
case 0x7E1: desc = "ERROR_INVALID_COLORSPACE: The specified color space is invalid."; code = 0x7E1; break;
case 0x7E2: desc = "ERROR_ICM_NOT_ENABLED: Image Color Management is not enabled."; code = 0x7E2; break;
case 0x7E3: desc = "ERROR_DELETING_ICM_XFORM: There was an error while deleting the color transform."; code = 0x7E3; break;
case 0x7E4: desc = "ERROR_INVALID_TRANSFORM: The specified color transform is invalid."; code = 0x7E4; break;
case 0x7E5: desc = "ERROR_COLORSPACE_MISMATCH: The specified transform does not match the bitmap's color space."; code = 0x7E5; break;
case 0x7E6: desc = "ERROR_INVALID_COLORINDEX: The specified named color index is not present in the profile."; code = 0x7E6; break;
case 0x7E7: desc = "ERROR_PROFILE_DOES_NOT_MATCH_DEVICE: The specified profile is intended for a device of a different type than the specified device."; code = 0x7E7; break;
case 0x83C: desc = "ERROR_CONNECTED_OTHER_PASSWORD: The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified."; code = 0x83C; break;
case 0x83D: desc = "ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT: The network connection was made successfully using default credentials."; code = 0x83D; break;
case 0x89A: desc = "ERROR_BAD_USERNAME: The specified username is invalid."; code = 0x89A; break;
case 0x8CA: desc = "ERROR_NOT_CONNECTED: This network connection does not exist."; code = 0x8CA; break;
case 0x961: desc = "ERROR_OPEN_FILES: This network connection has files open or requests pending."; code = 0x961; break;
case 0x962: desc = "ERROR_ACTIVE_CONNECTIONS: Active connections still exist."; code = 0x962; break;
case 0x964: desc = "ERROR_DEVICE_IN_USE: The device is in use by an active process and cannot be disconnected."; code = 0x964; break;
case 0xBB8: desc = "ERROR_UNKNOWN_PRINT_MONITOR: The specified print monitor is unknown."; code = 0xBB8; break;
case 0xBB9: desc = "ERROR_PRINTER_DRIVER_IN_USE: The specified printer driver is currently in use."; code = 0xBB9; break;
case 0xBBA: desc = "ERROR_SPOOL_FILE_NOT_FOUND: The spool file was not found."; code = 0xBBA; break;
case 0xBBB: desc = "ERROR_SPL_NO_STARTDOC: A StartDocPrinter call was not issued."; code = 0xBBB; break;
case 0xBBC: desc = "ERROR_SPL_NO_ADDJOB: An AddJob call was not issued."; code = 0xBBC; break;
case 0xBBD: desc = "ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED: The specified print processor has already been installed."; code = 0xBBD; break;
case 0xBBE: desc = "ERROR_PRINT_MONITOR_ALREADY_INSTALLED: The specified print monitor has already been installed."; code = 0xBBE; break;
case 0xBBF: desc = "ERROR_INVALID_PRINT_MONITOR: The specified print monitor does not have the required functions."; code = 0xBBF; break;
case 0xBC0: desc = "ERROR_PRINT_MONITOR_IN_USE: The specified print monitor is currently in use."; code = 0xBC0; break;
case 0xBC1: desc = "ERROR_PRINTER_HAS_JOBS_QUEUED: The requested operation is not allowed when there are jobs queued to the printer."; code = 0xBC1; break;
case 0xBC2: desc = "ERROR_SUCCESS_REBOOT_REQUIRED: The requested operation is successful. Changes will not be effective until the system is rebooted."; code = 0xBC2; break;
case 0xBC3: desc = "ERROR_SUCCESS_RESTART_REQUIRED: The requested operation is successful. Changes will not be effective until the service is restarted."; code = 0xBC3; break;
case 0xBC4: desc = "ERROR_PRINTER_NOT_FOUND: No printers were found."; code = 0xBC4; break;
case 0xBC5: desc = "ERROR_PRINTER_DRIVER_WARNED: The printer driver is known to be unreliable."; code = 0xBC5; break;
case 0xBC6: desc = "ERROR_PRINTER_DRIVER_BLOCKED: The printer driver is known to harm the system."; code = 0xBC6; break;
case 0xBC7: desc = "ERROR_PRINTER_DRIVER_PACKAGE_IN_USE: The specified printer driver package is currently in use."; code = 0xBC7; break;
case 0xBC8: desc = "ERROR_CORE_DRIVER_PACKAGE_NOT_FOUND: Unable to find a core driver package that is required by the printer driver package."; code = 0xBC8; break;
case 0xBC9: desc = "ERROR_FAIL_REBOOT_REQUIRED: The requested operation failed. A system reboot is required to roll back changes made."; code = 0xBC9; break;
case 0xBCA: desc = "ERROR_FAIL_REBOOT_INITIATED: The requested operation failed. A system reboot has been initiated to roll back changes made."; code = 0xBCA; break;
case 0xBCB: desc = "ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED: The specified printer driver was not found on the system and needs to be downloaded."; code = 0xBCB; break;
case 0xBCC: desc = "ERROR_PRINT_JOB_RESTART_REQUIRED: The requested print job has failed to print. A print system update requires the job to be resubmitted."; code = 0xBCC; break;
case 0xBCD: desc = "ERROR_INVALID_PRINTER_DRIVER_MANIFEST: The printer driver does not contain a valid manifest, or contains too many manifests."; code = 0xBCD; break;
case 0xBCE: desc = "ERROR_PRINTER_NOT_SHAREABLE: The specified printer cannot be shared."; code = 0xBCE; break;
case 0xBEA: desc = "ERROR_REQUEST_PAUSED: The operation was paused."; code = 0xBEA; break;
case 0xF6E: desc = "ERROR_IO_REISSUE_AS_CACHED: Reissue the given operation as a cached IO operation."; code = 0xF6E; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0xfa0 && rawError <= 0x176f)
{
switch(rawError)
{
case 0xFA0: desc = "ERROR_WINS_INTERNAL: WINS encountered an error while processing the command."; code = 0xFA0; break;
case 0xFA1: desc = "ERROR_CAN_NOT_DEL_LOCAL_WINS: The local WINS cannot be deleted."; code = 0xFA1; break;
case 0xFA2: desc = "ERROR_STATIC_INIT: The importation from the file failed."; code = 0xFA2; break;
case 0xFA3: desc = "ERROR_INC_BACKUP: The backup failed. Was a full backup done before?"; code = 0xFA3; break;
case 0xFA4: desc = "ERROR_FULL_BACKUP: The backup failed. Check the directory to which you are backing the database."; code = 0xFA4; break;
case 0xFA5: desc = "ERROR_REC_NON_EXISTENT: The name does not exist in the WINS database."; code = 0xFA5; break;
case 0xFA6: desc = "ERROR_RPL_NOT_ALLOWED: Replication with a nonconfigured partner is not allowed."; code = 0xFA6; break;
case 0xFD2: desc = "PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED: The version of the supplied content information is not supported."; code = 0xFD2; break;
case 0xFD3: desc = "PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO: The supplied content information is malformed."; code = 0xFD3; break;
case 0xFD4: desc = "PEERDIST_ERROR_MISSING_DATA: The requested data cannot be found in local or peer caches."; code = 0xFD4; break;
case 0xFD5: desc = "PEERDIST_ERROR_NO_MORE: No more data is available or required."; code = 0xFD5; break;
case 0xFD6: desc = "PEERDIST_ERROR_NOT_INITIALIZED: The supplied object has not been initialized."; code = 0xFD6; break;
case 0xFD7: desc = "PEERDIST_ERROR_ALREADY_INITIALIZED: The supplied object has already been initialized."; code = 0xFD7; break;
case 0xFD8: desc = "PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS: A shutdown operation is already in progress."; code = 0xFD8; break;
case 0xFD9: desc = "PEERDIST_ERROR_INVALIDATED: The supplied object has already been invalidated."; code = 0xFD9; break;
case 0xFDA: desc = "PEERDIST_ERROR_ALREADY_EXISTS: An element already exists and was not replaced."; code = 0xFDA; break;
case 0xFDB: desc = "PEERDIST_ERROR_OPERATION_NOTFOUND: Can not cancel the requested operation as it has already been completed."; code = 0xFDB; break;
case 0xFDC: desc = "PEERDIST_ERROR_ALREADY_COMPLETED: Can not perform the reqested operation because it has already been carried out."; code = 0xFDC; break;
case 0xFDD: desc = "PEERDIST_ERROR_OUT_OF_BOUNDS: An operation accessed data beyond the bounds of valid data."; code = 0xFDD; break;
case 0xFDE: desc = "PEERDIST_ERROR_VERSION_UNSUPPORTED: The requested version is not supported."; code = 0xFDE; break;
case 0xFDF: desc = "PEERDIST_ERROR_INVALID_CONFIGURATION: A configuration value is invalid."; code = 0xFDF; break;
case 0xFE0: desc = "PEERDIST_ERROR_NOT_LICENSED: The SKU is not licensed."; code = 0xFE0; break;
case 0xFE1: desc = "PEERDIST_ERROR_SERVICE_UNAVAILABLE: PeerDist Service is still initializing and will be available shortly."; code = 0xFE1; break;
case 0xFE2: desc = "PEERDIST_ERROR_TRUST_FAILURE: Communication with one or more computers will be temporarily blocked due to recent errors."; code = 0xFE2; break;
case 0x1004: desc = "ERROR_DHCP_ADDRESS_CONFLICT: The DHCP client has obtained an IP address that is already in use on the network. The local interface will be disabled until the DHCP client can obtain a new address."; code = 0x1004; break;
case 0x1068: desc = "ERROR_WMI_GUID_NOT_FOUND: The GUID passed was not recognized as valid by a WMI data provider."; code = 0x1068; break;
case 0x1069: desc = "ERROR_WMI_INSTANCE_NOT_FOUND: The instance name passed was not recognized as valid by a WMI data provider."; code = 0x1069; break;
case 0x106A: desc = "ERROR_WMI_ITEMID_NOT_FOUND: The data item ID passed was not recognized as valid by a WMI data provider."; code = 0x106A; break;
case 0x106B: desc = "ERROR_WMI_TRY_AGAIN: The WMI request could not be completed and should be retried."; code = 0x106B; break;
case 0x106C: desc = "ERROR_WMI_DP_NOT_FOUND: The WMI data provider could not be located."; code = 0x106C; break;
case 0x106D: desc = "ERROR_WMI_UNRESOLVED_INSTANCE_REF: The WMI data provider references an instance set that has not been registered."; code = 0x106D; break;
case 0x106E: desc = "ERROR_WMI_ALREADY_ENABLED: The WMI data block or event notification has already been enabled."; code = 0x106E; break;
case 0x106F: desc = "ERROR_WMI_GUID_DISCONNECTED: The WMI data block is no longer available."; code = 0x106F; break;
case 0x1070: desc = "ERROR_WMI_SERVER_UNAVAILABLE: The WMI data service is not available."; code = 0x1070; break;
case 0x1071: desc = "ERROR_WMI_DP_FAILED: The WMI data provider failed to carry out the request."; code = 0x1071; break;
case 0x1072: desc = "ERROR_WMI_INVALID_MOF: The WMI MOF information is not valid."; code = 0x1072; break;
case 0x1073: desc = "ERROR_WMI_INVALID_REGINFO: The WMI registration information is not valid."; code = 0x1073; break;
case 0x1074: desc = "ERROR_WMI_ALREADY_DISABLED: The WMI data block or event notification has already been disabled."; code = 0x1074; break;
case 0x1075: desc = "ERROR_WMI_READ_ONLY: The WMI data item or data block is read only."; code = 0x1075; break;
case 0x1076: desc = "ERROR_WMI_SET_FAILURE: The WMI data item or data block could not be changed."; code = 0x1076; break;
case 0x109A: desc = "ERROR_NOT_APPCONTAINER: This operation is only valid in the context of an app container."; code = 0x109A; break;
case 0x109B: desc = "ERROR_APPCONTAINER_REQUIRED: This application can only run in the context of an app container."; code = 0x109B; break;
case 0x109C: desc = "ERROR_NOT_SUPPORTED_IN_APPCONTAINER: This functionality is not supported in the context of an app container."; code = 0x109C; break;
case 0x109D: desc = "ERROR_INVALID_PACKAGE_SID_LENGTH: The length of the SID supplied is not a valid length for app container SIDs."; code = 0x109D; break;
case 0x10CC: desc = "ERROR_INVALID_MEDIA: The media identifier does not represent a valid medium."; code = 0x10CC; break;
case 0x10CD: desc = "ERROR_INVALID_LIBRARY: The library identifier does not represent a valid library."; code = 0x10CD; break;
case 0x10CE: desc = "ERROR_INVALID_MEDIA_POOL: The media pool identifier does not represent a valid media pool."; code = 0x10CE; break;
case 0x10CF: desc = "ERROR_DRIVE_MEDIA_MISMATCH: The drive and medium are not compatible or exist in different libraries."; code = 0x10CF; break;
case 0x10D0: desc = "ERROR_MEDIA_OFFLINE: The medium currently exists in an offline library and must be online to perform this operation."; code = 0x10D0; break;
case 0x10D1: desc = "ERROR_LIBRARY_OFFLINE: The operation cannot be performed on an offline library."; code = 0x10D1; break;
case 0x10D2: desc = "ERROR_EMPTY: The library, drive, or media pool is empty."; code = 0x10D2; break;
case 0x10D3: desc = "ERROR_NOT_EMPTY: The library, drive, or media pool must be empty to perform this operation."; code = 0x10D3; break;
case 0x10D4: desc = "ERROR_MEDIA_UNAVAILABLE: No media is currently available in this media pool or library."; code = 0x10D4; break;
case 0x10D5: desc = "ERROR_RESOURCE_DISABLED: A resource required for this operation is disabled."; code = 0x10D5; break;
case 0x10D6: desc = "ERROR_INVALID_CLEANER: The media identifier does not represent a valid cleaner."; code = 0x10D6; break;
case 0x10D7: desc = "ERROR_UNABLE_TO_CLEAN: The drive cannot be cleaned or does not support cleaning."; code = 0x10D7; break;
case 0x10D8: desc = "ERROR_OBJECT_NOT_FOUND: The object identifier does not represent a valid object."; code = 0x10D8; break;
case 0x10D9: desc = "ERROR_DATABASE_FAILURE: Unable to read from or write to the database."; code = 0x10D9; break;
case 0x10DA: desc = "ERROR_DATABASE_FULL: The database is full."; code = 0x10DA; break;
case 0x10DB: desc = "ERROR_MEDIA_INCOMPATIBLE: The medium is not compatible with the device or media pool."; code = 0x10DB; break;
case 0x10DC: desc = "ERROR_RESOURCE_NOT_PRESENT: The resource required for this operation does not exist."; code = 0x10DC; break;
case 0x10DD: desc = "ERROR_INVALID_OPERATION: The operation identifier is not valid."; code = 0x10DD; break;
case 0x10DE: desc = "ERROR_MEDIA_NOT_AVAILABLE: The media is not mounted or ready for use."; code = 0x10DE; break;
case 0x10DF: desc = "ERROR_DEVICE_NOT_AVAILABLE: The device is not ready for use."; code = 0x10DF; break;
case 0x10E0: desc = "ERROR_REQUEST_REFUSED: The operator or administrator has refused the request."; code = 0x10E0; break;
case 0x10E1: desc = "ERROR_INVALID_DRIVE_OBJECT: The drive identifier does not represent a valid drive."; code = 0x10E1; break;
case 0x10E2: desc = "ERROR_LIBRARY_FULL: Library is full. No slot is available for use."; code = 0x10E2; break;
case 0x10E3: desc = "ERROR_MEDIUM_NOT_ACCESSIBLE: The transport cannot access the medium."; code = 0x10E3; break;
case 0x10E4: desc = "ERROR_UNABLE_TO_LOAD_MEDIUM: Unable to load the medium into the drive."; code = 0x10E4; break;
case 0x10E5: desc = "ERROR_UNABLE_TO_INVENTORY_DRIVE: Unable to retrieve the drive status."; code = 0x10E5; break;
case 0x10E6: desc = "ERROR_UNABLE_TO_INVENTORY_SLOT: Unable to retrieve the slot status."; code = 0x10E6; break;
case 0x10E7: desc = "ERROR_UNABLE_TO_INVENTORY_TRANSPORT: Unable to retrieve status about the transport."; code = 0x10E7; break;
case 0x10E8: desc = "ERROR_TRANSPORT_FULL: Cannot use the transport because it is already in use."; code = 0x10E8; break;
case 0x10E9: desc = "ERROR_CONTROLLING_IEPORT: Unable to open or close the inject/eject port."; code = 0x10E9; break;
case 0x10EA: desc = "ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA: Unable to eject the medium because it is in a drive."; code = 0x10EA; break;
case 0x10EB: desc = "ERROR_CLEANER_SLOT_SET: A cleaner slot is already reserved."; code = 0x10EB; break;
case 0x10EC: desc = "ERROR_CLEANER_SLOT_NOT_SET: A cleaner slot is not reserved."; code = 0x10EC; break;
case 0x10ED: desc = "ERROR_CLEANER_CARTRIDGE_SPENT: The cleaner cartridge has performed the maximum number of drive cleanings."; code = 0x10ED; break;
case 0x10EE: desc = "ERROR_UNEXPECTED_OMID: Unexpected on-medium identifier."; code = 0x10EE; break;
case 0x10EF: desc = "ERROR_CANT_DELETE_LAST_ITEM: The last remaining item in this group or resource cannot be deleted."; code = 0x10EF; break;
case 0x10F0: desc = "ERROR_MESSAGE_EXCEEDS_MAX_SIZE: The message provided exceeds the maximum size allowed for this parameter."; code = 0x10F0; break;
case 0x10F1: desc = "ERROR_VOLUME_CONTAINS_SYS_FILES: The volume contains system or paging files."; code = 0x10F1; break;
case 0x10F2: desc = "ERROR_INDIGENOUS_TYPE: The media type cannot be removed from this library since at least one drive in the library reports it can support this media type."; code = 0x10F2; break;
case 0x10F3: desc = "ERROR_NO_SUPPORTING_DRIVES: This offline media cannot be mounted on this system since no enabled drives are present which can be used."; code = 0x10F3; break;
case 0x10F4: desc = "ERROR_CLEANER_CARTRIDGE_INSTALLED: A cleaner cartridge is present in the tape library."; code = 0x10F4; break;
case 0x10F5: desc = "ERROR_IEPORT_FULL: Cannot use the inject/eject port because it is not empty."; code = 0x10F5; break;
case 0x10FE: desc = "ERROR_FILE_OFFLINE: This file is currently not available for use on this computer."; code = 0x10FE; break;
case 0x10FF: desc = "ERROR_REMOTE_STORAGE_NOT_ACTIVE: The remote storage service is not operational at this time."; code = 0x10FF; break;
case 0x1100: desc = "ERROR_REMOTE_STORAGE_MEDIA_ERROR: The remote storage service encountered a media error."; code = 0x1100; break;
case 0x1126: desc = "ERROR_NOT_A_REPARSE_POINT: The file or directory is not a reparse point."; code = 0x1126; break;
case 0x1127: desc = "ERROR_REPARSE_ATTRIBUTE_CONFLICT: The reparse point attribute cannot be set because it conflicts with an existing attribute."; code = 0x1127; break;
case 0x1128: desc = "ERROR_INVALID_REPARSE_DATA: The data present in the reparse point buffer is invalid."; code = 0x1128; break;
case 0x1129: desc = "ERROR_REPARSE_TAG_INVALID: The tag present in the reparse point buffer is invalid."; code = 0x1129; break;
case 0x112A: desc = "ERROR_REPARSE_TAG_MISMATCH: There is a mismatch between the tag specified in the request and the tag present in the reparse point."; code = 0x112A; break;
case 0x1130: desc = "ERROR_APP_DATA_NOT_FOUND: Fast Cache data not found."; code = 0x1130; break;
case 0x1131: desc = "ERROR_APP_DATA_EXPIRED: Fast Cache data expired."; code = 0x1131; break;
case 0x1132: desc = "ERROR_APP_DATA_CORRUPT: Fast Cache data corrupt."; code = 0x1132; break;
case 0x1133: desc = "ERROR_APP_DATA_LIMIT_EXCEEDED: Fast Cache data has exceeded its max size and cannot be updated."; code = 0x1133; break;
case 0x1134: desc = "ERROR_APP_DATA_REBOOT_REQUIRED: Fast Cache has been ReArmed and requires a reboot until it can be updated."; code = 0x1134; break;
case 0x1144: desc = "ERROR_SECUREBOOT_ROLLBACK_DETECTED: Secure Boot detected that rollback of protected data has been attempted."; code = 0x1144; break;
case 0x1145: desc = "ERROR_SECUREBOOT_POLICY_VIOLATION: The value is protected by Secure Boot policy and cannot be modified or deleted."; code = 0x1145; break;
case 0x1146: desc = "ERROR_SECUREBOOT_INVALID_POLICY: The Secure Boot policy is invalid."; code = 0x1146; break;
case 0x1147: desc = "ERROR_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND: A new Secure Boot policy did not contain the current publisher on its update list."; code = 0x1147; break;
case 0x1148: desc = "ERROR_SECUREBOOT_POLICY_NOT_SIGNED: The Secure Boot policy is either not signed or is signed by a non-trusted signer."; code = 0x1148; break;
case 0x1149: desc = "ERROR_SECUREBOOT_NOT_ENABLED: Secure Boot is not enabled on this machine."; code = 0x1149; break;
case 0x114A: desc = "ERROR_SECUREBOOT_FILE_REPLACED: Secure Boot requires that certain files and drivers are not replaced by other files or drivers."; code = 0x114A; break;
case 0x1158: desc = "ERROR_OFFLOAD_READ_FLT_NOT_SUPPORTED: The copy offload read operation is not supported by a filter."; code = 0x1158; break;
case 0x1159: desc = "ERROR_OFFLOAD_WRITE_FLT_NOT_SUPPORTED: The copy offload write operation is not supported by a filter."; code = 0x1159; break;
case 0x115A: desc = "ERROR_OFFLOAD_READ_FILE_NOT_SUPPORTED: The copy offload read operation is not supported for the file."; code = 0x115A; break;
case 0x115B: desc = "ERROR_OFFLOAD_WRITE_FILE_NOT_SUPPORTED: The copy offload write operation is not supported for the file."; code = 0x115B; break;
case 0x1194: desc = "ERROR_VOLUME_NOT_SIS_ENABLED: Single Instance Storage is not available on this volume."; code = 0x1194; break;
case 0x1389: desc = "ERROR_DEPENDENT_RESOURCE_EXISTS: The operation cannot be completed because other resources are dependent on this resource."; code = 0x1389; break;
case 0x138A: desc = "ERROR_DEPENDENCY_NOT_FOUND: The cluster resource dependency cannot be found."; code = 0x138A; break;
case 0x138B: desc = "ERROR_DEPENDENCY_ALREADY_EXISTS: The cluster resource cannot be made dependent on the specified resource because it is already dependent."; code = 0x138B; break;
case 0x138C: desc = "ERROR_RESOURCE_NOT_ONLINE: The cluster resource is not online."; code = 0x138C; break;
case 0x138D: desc = "ERROR_HOST_NODE_NOT_AVAILABLE: A cluster node is not available for this operation."; code = 0x138D; break;
case 0x138E: desc = "ERROR_RESOURCE_NOT_AVAILABLE: The cluster resource is not available."; code = 0x138E; break;
case 0x138F: desc = "ERROR_RESOURCE_NOT_FOUND: The cluster resource could not be found."; code = 0x138F; break;
case 0x1390: desc = "ERROR_SHUTDOWN_CLUSTER: The cluster is being shut down."; code = 0x1390; break;
case 0x1391: desc = "ERROR_CANT_EVICT_ACTIVE_NODE: A cluster node cannot be evicted from the cluster unless the node is down or it is the last node."; code = 0x1391; break;
case 0x1392: desc = "ERROR_OBJECT_ALREADY_EXISTS: The object already exists."; code = 0x1392; break;
case 0x1393: desc = "ERROR_OBJECT_IN_LIST: The object is already in the list."; code = 0x1393; break;
case 0x1394: desc = "ERROR_GROUP_NOT_AVAILABLE: The cluster group is not available for any new requests."; code = 0x1394; break;
case 0x1395: desc = "ERROR_GROUP_NOT_FOUND: The cluster group could not be found."; code = 0x1395; break;
case 0x1396: desc = "ERROR_GROUP_NOT_ONLINE: The operation could not be completed because the cluster group is not online."; code = 0x1396; break;
case 0x1397: desc = "ERROR_HOST_NODE_NOT_RESOURCE_OWNER: The operation failed because either the specified cluster node is not the owner of the resource, or the node is not a possible owner of the resource."; code = 0x1397; break;
case 0x1398: desc = "ERROR_HOST_NODE_NOT_GROUP_OWNER: The operation failed because either the specified cluster node is not the owner of the group, or the node is not a possible owner of the group."; code = 0x1398; break;
case 0x1399: desc = "ERROR_RESMON_CREATE_FAILED: The cluster resource could not be created in the specified resource monitor."; code = 0x1399; break;
case 0x139A: desc = "ERROR_RESMON_ONLINE_FAILED: The cluster resource could not be brought online by the resource monitor."; code = 0x139A; break;
case 0x139B: desc = "ERROR_RESOURCE_ONLINE: The operation could not be completed because the cluster resource is online."; code = 0x139B; break;
case 0x139C: desc = "ERROR_QUORUM_RESOURCE: The cluster resource could not be deleted or brought offline because it is the quorum resource."; code = 0x139C; break;
case 0x139D: desc = "ERROR_NOT_QUORUM_CAPABLE: The cluster could not make the specified resource a quorum resource because it is not capable of being a quorum resource."; code = 0x139D; break;
case 0x139E: desc = "ERROR_CLUSTER_SHUTTING_DOWN: The cluster software is shutting down."; code = 0x139E; break;
case 0x139F: desc = "ERROR_INVALID_STATE: The group or resource is not in the correct state to perform the requested operation."; code = 0x139F; break;
case 0x13A0: desc = "ERROR_RESOURCE_PROPERTIES_STORED: The properties were stored but not all changes will take effect until the next time the resource is brought online."; code = 0x13A0; break;
case 0x13A1: desc = "ERROR_NOT_QUORUM_CLASS: The cluster could not make the specified resource a quorum resource because it does not belong to a shared storage class."; code = 0x13A1; break;
case 0x13A2: desc = "ERROR_CORE_RESOURCE: The cluster resource could not be deleted since it is a core resource."; code = 0x13A2; break;
case 0x13A3: desc = "ERROR_QUORUM_RESOURCE_ONLINE_FAILED: The quorum resource failed to come online."; code = 0x13A3; break;
case 0x13A4: desc = "ERROR_QUORUMLOG_OPEN_FAILED: The quorum log could not be created or mounted successfully."; code = 0x13A4; break;
case 0x13A5: desc = "ERROR_CLUSTERLOG_CORRUPT: The cluster log is corrupt."; code = 0x13A5; break;
case 0x13A6: desc = "ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE: The record could not be written to the cluster log since it exceeds the maximum size."; code = 0x13A6; break;
case 0x13A7: desc = "ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE: The cluster log exceeds its maximum size."; code = 0x13A7; break;
case 0x13A8: desc = "ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND: No checkpoint record was found in the cluster log."; code = 0x13A8; break;
case 0x13A9: desc = "ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE: The minimum required disk space needed for logging is not available."; code = 0x13A9; break;
case 0x13AA: desc = "ERROR_QUORUM_OWNER_ALIVE: The cluster node failed to take control of the quorum resource because the resource is owned by another active node."; code = 0x13AA; break;
case 0x13AB: desc = "ERROR_NETWORK_NOT_AVAILABLE: A cluster network is not available for this operation."; code = 0x13AB; break;
case 0x13AC: desc = "ERROR_NODE_NOT_AVAILABLE: A cluster node is not available for this operation."; code = 0x13AC; break;
case 0x13AD: desc = "ERROR_ALL_NODES_NOT_AVAILABLE: All cluster nodes must be running to perform this operation."; code = 0x13AD; break;
case 0x13AE: desc = "ERROR_RESOURCE_FAILED: A cluster resource failed."; code = 0x13AE; break;
case 0x13AF: desc = "ERROR_CLUSTER_INVALID_NODE: The cluster node is not valid."; code = 0x13AF; break;
case 0x13B0: desc = "ERROR_CLUSTER_NODE_EXISTS: The cluster node already exists."; code = 0x13B0; break;
case 0x13B1: desc = "ERROR_CLUSTER_JOIN_IN_PROGRESS: A node is in the process of joining the cluster."; code = 0x13B1; break;
case 0x13B2: desc = "ERROR_CLUSTER_NODE_NOT_FOUND: The cluster node was not found."; code = 0x13B2; break;
case 0x13B3: desc = "ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND: The cluster local node information was not found."; code = 0x13B3; break;
case 0x13B4: desc = "ERROR_CLUSTER_NETWORK_EXISTS: The cluster network already exists."; code = 0x13B4; break;
case 0x13B5: desc = "ERROR_CLUSTER_NETWORK_NOT_FOUND: The cluster network was not found."; code = 0x13B5; break;
case 0x13B6: desc = "ERROR_CLUSTER_NETINTERFACE_EXISTS: The cluster network interface already exists."; code = 0x13B6; break;
case 0x13B7: desc = "ERROR_CLUSTER_NETINTERFACE_NOT_FOUND: The cluster network interface was not found."; code = 0x13B7; break;
case 0x13B8: desc = "ERROR_CLUSTER_INVALID_REQUEST: The cluster request is not valid for this object."; code = 0x13B8; break;
case 0x13B9: desc = "ERROR_CLUSTER_INVALID_NETWORK_PROVIDER: The cluster network provider is not valid."; code = 0x13B9; break;
case 0x13BA: desc = "ERROR_CLUSTER_NODE_DOWN: The cluster node is down."; code = 0x13BA; break;
case 0x13BB: desc = "ERROR_CLUSTER_NODE_UNREACHABLE: The cluster node is not reachable."; code = 0x13BB; break;
case 0x13BC: desc = "ERROR_CLUSTER_NODE_NOT_MEMBER: The cluster node is not a member of the cluster."; code = 0x13BC; break;
case 0x13BD: desc = "ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS: A cluster join operation is not in progress."; code = 0x13BD; break;
case 0x13BE: desc = "ERROR_CLUSTER_INVALID_NETWORK: The cluster network is not valid."; code = 0x13BE; break;
case 0x13C0: desc = "ERROR_CLUSTER_NODE_UP: The cluster node is up."; code = 0x13C0; break;
case 0x13C1: desc = "ERROR_CLUSTER_IPADDR_IN_USE: The cluster IP address is already in use."; code = 0x13C1; break;
case 0x13C2: desc = "ERROR_CLUSTER_NODE_NOT_PAUSED: The cluster node is not paused."; code = 0x13C2; break;
case 0x13C3: desc = "ERROR_CLUSTER_NO_SECURITY_CONTEXT: No cluster security context is available."; code = 0x13C3; break;
case 0x13C4: desc = "ERROR_CLUSTER_NETWORK_NOT_INTERNAL: The cluster network is not configured for internal cluster communication."; code = 0x13C4; break;
case 0x13C5: desc = "ERROR_CLUSTER_NODE_ALREADY_UP: The cluster node is already up."; code = 0x13C5; break;
case 0x13C6: desc = "ERROR_CLUSTER_NODE_ALREADY_DOWN: The cluster node is already down."; code = 0x13C6; break;
case 0x13C7: desc = "ERROR_CLUSTER_NETWORK_ALREADY_ONLINE: The cluster network is already online."; code = 0x13C7; break;
case 0x13C8: desc = "ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE: The cluster network is already offline."; code = 0x13C8; break;
case 0x13C9: desc = "ERROR_CLUSTER_NODE_ALREADY_MEMBER: The cluster node is already a member of the cluster."; code = 0x13C9; break;
case 0x13CA: desc = "ERROR_CLUSTER_LAST_INTERNAL_NETWORK: The cluster network is the only one configured for internal cluster communication between two or more active cluster nodes. The internal communication capability cannot be removed from the network."; code = 0x13CA; break;
case 0x13CB: desc = "ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS: One or more cluster resources depend on the network to provide service to clients. The client access capability cannot be removed from the network."; code = 0x13CB; break;
case 0x13CC: desc = "ERROR_INVALID_OPERATION_ON_QUORUM: This operation cannot be performed on the cluster resource as it the quorum resource. You may not bring the quorum resource offline or modify its possible owners list."; code = 0x13CC; break;
case 0x13CD: desc = "ERROR_DEPENDENCY_NOT_ALLOWED: The cluster quorum resource is not allowed to have any dependencies."; code = 0x13CD; break;
case 0x13CE: desc = "ERROR_CLUSTER_NODE_PAUSED: The cluster node is paused."; code = 0x13CE; break;
case 0x13CF: desc = "ERROR_NODE_CANT_HOST_RESOURCE: The cluster resource cannot be brought online. The owner node cannot run this resource."; code = 0x13CF; break;
case 0x13D0: desc = "ERROR_CLUSTER_NODE_NOT_READY: The cluster node is not ready to perform the requested operation."; code = 0x13D0; break;
case 0x13D1: desc = "ERROR_CLUSTER_NODE_SHUTTING_DOWN: The cluster node is shutting down."; code = 0x13D1; break;
case 0x13D2: desc = "ERROR_CLUSTER_JOIN_ABORTED: The cluster join operation was aborted."; code = 0x13D2; break;
case 0x13D3: desc = "ERROR_CLUSTER_INCOMPATIBLE_VERSIONS: The cluster join operation failed due to incompatible software versions between the joining node and its sponsor."; code = 0x13D3; break;
case 0x13D4: desc = "ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED: This resource cannot be created because the cluster has reached the limit on the number of resources it can monitor."; code = 0x13D4; break;
case 0x13D5: desc = "ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED: The system configuration changed during the cluster join or form operation. The join or form operation was aborted."; code = 0x13D5; break;
case 0x13D6: desc = "ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND: The specified resource type was not found."; code = 0x13D6; break;
case 0x13D7: desc = "ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED: The specified node does not support a resource of this type. This may be due to version inconsistencies or due to the absence of the resource DLL on this node."; code = 0x13D7; break;
case 0x13D8: desc = "ERROR_CLUSTER_RESNAME_NOT_FOUND: The specified resource name is not supported by this resource DLL. This may be due to a bad (or changed) name supplied to the resource DLL."; code = 0x13D8; break;
case 0x13D9: desc = "ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED: No authentication package could be registered with the RPC server."; code = 0x13D9; break;
case 0x13DA: desc = "ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST: You cannot bring the group online because the owner of the group is not in the preferred list for the group. To change the owner node for the group, move the group."; code = 0x13DA; break;
case 0x13DB: desc = "ERROR_CLUSTER_DATABASE_SEQMISMATCH: The join operation failed because the cluster database sequence number has changed or is incompatible with the locker node. This may happen during a join operation if the cluster database was changing during the join."; code = 0x13DB; break;
case 0x13DC: desc = "ERROR_RESMON_INVALID_STATE: The resource monitor will not allow the fail operation to be performed while the resource is in its current state. This may happen if the resource is in a pending state."; code = 0x13DC; break;
case 0x13DD: desc = "ERROR_CLUSTER_GUM_NOT_LOCKER: A non locker code got a request to reserve the lock for making global updates."; code = 0x13DD; break;
case 0x13DE: desc = "ERROR_QUORUM_DISK_NOT_FOUND: The quorum disk could not be located by the cluster service."; code = 0x13DE; break;
case 0x13DF: desc = "ERROR_DATABASE_BACKUP_CORRUPT: The backed up cluster database is possibly corrupt."; code = 0x13DF; break;
case 0x13E0: desc = "ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT: A DFS root already exists in this cluster node."; code = 0x13E0; break;
case 0x13E1: desc = "ERROR_RESOURCE_PROPERTY_UNCHANGEABLE: An attempt to modify a resource property failed because it conflicts with another existing property."; code = 0x13E1; break;
case 0x1702: desc = "ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE: An operation was attempted that is incompatible with the current membership state of the node."; code = 0x1702; break;
case 0x1703: desc = "ERROR_CLUSTER_QUORUMLOG_NOT_FOUND: The quorum resource does not contain the quorum log."; code = 0x1703; break;
case 0x1704: desc = "ERROR_CLUSTER_MEMBERSHIP_HALT: The membership engine requested shutdown of the cluster service on this node."; code = 0x1704; break;
case 0x1705: desc = "ERROR_CLUSTER_INSTANCE_ID_MISMATCH: The join operation failed because the cluster instance ID of the joining node does not match the cluster instance ID of the sponsor node."; code = 0x1705; break;
case 0x1706: desc = "ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP: A matching cluster network for the specified IP address could not be found."; code = 0x1706; break;
case 0x1707: desc = "ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH: The actual data type of the property did not match the expected data type of the property."; code = 0x1707; break;
case 0x1708: desc = "ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP: The cluster node was evicted from the cluster successfully, but the node was not cleaned up. To determine what cleanup steps failed and how to recover, see the Failover Clustering application event log using Event Viewer."; code = 0x1708; break;
case 0x1709: desc = "ERROR_CLUSTER_PARAMETER_MISMATCH: Two or more parameter values specified for a resource's properties are in conflict."; code = 0x1709; break;
case 0x170A: desc = "ERROR_NODE_CANNOT_BE_CLUSTERED: This computer cannot be made a member of a cluster."; code = 0x170A; break;
case 0x170B: desc = "ERROR_CLUSTER_WRONG_OS_VERSION: This computer cannot be made a member of a cluster because it does not have the correct version of Windows installed."; code = 0x170B; break;
case 0x170C: desc = "ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME: A cluster cannot be created with the specified cluster name because that cluster name is already in use. Specify a different name for the cluster."; code = 0x170C; break;
case 0x170D: desc = "ERROR_CLUSCFG_ALREADY_COMMITTED: The cluster configuration action has already been committed."; code = 0x170D; break;
case 0x170E: desc = "ERROR_CLUSCFG_ROLLBACK_FAILED: The cluster configuration action could not be rolled back."; code = 0x170E; break;
case 0x170F: desc = "ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT: The drive letter assigned to a system disk on one node conflicted with the drive letter assigned to a disk on another node."; code = 0x170F; break;
case 0x1710: desc = "ERROR_CLUSTER_OLD_VERSION: One or more nodes in the cluster are running a version of Windows that does not support this operation."; code = 0x1710; break;
case 0x1711: desc = "ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME: The name of the corresponding computer account doesn't match the Network Name for this resource."; code = 0x1711; break;
case 0x1712: desc = "ERROR_CLUSTER_NO_NET_ADAPTERS: No network adapters are available."; code = 0x1712; break;
case 0x1713: desc = "ERROR_CLUSTER_POISONED: The cluster node has been poisoned."; code = 0x1713; break;
case 0x1714: desc = "ERROR_CLUSTER_GROUP_MOVING: The group is unable to accept the request since it is moving to another node."; code = 0x1714; break;
case 0x1715: desc = "ERROR_CLUSTER_RESOURCE_TYPE_BUSY: The resource type cannot accept the request since is too busy performing another operation."; code = 0x1715; break;
case 0x1716: desc = "ERROR_RESOURCE_CALL_TIMED_OUT: The call to the cluster resource DLL timed out."; code = 0x1716; break;
case 0x1717: desc = "ERROR_INVALID_CLUSTER_IPV6_ADDRESS: The address is not valid for an IPv6 Address resource. A global IPv6 address is required, and it must match a cluster network. Compatibility addresses are not permitted."; code = 0x1717; break;
case 0x1718: desc = "ERROR_CLUSTER_INTERNAL_INVALID_FUNCTION: An internal cluster error occurred. A call to an invalid function was attempted."; code = 0x1718; break;
case 0x1719: desc = "ERROR_CLUSTER_PARAMETER_OUT_OF_BOUNDS: A parameter value is out of acceptable range."; code = 0x1719; break;
case 0x171A: desc = "ERROR_CLUSTER_PARTIAL_SEND: A network error occurred while sending data to another node in the cluster. The number of bytes transmitted was less than required."; code = 0x171A; break;
case 0x171B: desc = "ERROR_CLUSTER_REGISTRY_INVALID_FUNCTION: An invalid cluster registry operation was attempted."; code = 0x171B; break;
case 0x171C: desc = "ERROR_CLUSTER_INVALID_STRING_TERMINATION: An input string of characters is not properly terminated."; code = 0x171C; break;
case 0x171D: desc = "ERROR_CLUSTER_INVALID_STRING_FORMAT: An input string of characters is not in a valid format for the data it represents."; code = 0x171D; break;
case 0x171E: desc = "ERROR_CLUSTER_DATABASE_TRANSACTION_IN_PROGRESS: An internal cluster error occurred. A cluster database transaction was attempted while a transaction was already in progress."; code = 0x171E; break;
case 0x171F: desc = "ERROR_CLUSTER_DATABASE_TRANSACTION_NOT_IN_PROGRESS: An internal cluster error occurred. There was an attempt to commit a cluster database transaction while no transaction was in progress."; code = 0x171F; break;
case 0x1720: desc = "ERROR_CLUSTER_NULL_DATA: An internal cluster error occurred. Data was not properly initialized."; code = 0x1720; break;
case 0x1721: desc = "ERROR_CLUSTER_PARTIAL_READ: An error occurred while reading from a stream of data. An unexpected number of bytes was returned."; code = 0x1721; break;
case 0x1722: desc = "ERROR_CLUSTER_PARTIAL_WRITE: An error occurred while writing to a stream of data. The required number of bytes could not be written."; code = 0x1722; break;
case 0x1723: desc = "ERROR_CLUSTER_CANT_DESERIALIZE_DATA: An error occurred while deserializing a stream of cluster data."; code = 0x1723; break;
case 0x1724: desc = "ERROR_DEPENDENT_RESOURCE_PROPERTY_CONFLICT: One or more property values for this resource are in conflict with one or more property values associated with its dependent resource(s)."; code = 0x1724; break;
case 0x1725: desc = "ERROR_CLUSTER_NO_QUORUM: A quorum of cluster nodes was not present to form a cluster."; code = 0x1725; break;
case 0x1726: desc = "ERROR_CLUSTER_INVALID_IPV6_NETWORK: The cluster network is not valid for an IPv6 Address resource, or it does not match the configured address."; code = 0x1726; break;
case 0x1727: desc = "ERROR_CLUSTER_INVALID_IPV6_TUNNEL_NETWORK: The cluster network is not valid for an IPv6 Tunnel resource. Check the configuration of the IP Address resource on which the IPv6 Tunnel resource depends."; code = 0x1727; break;
case 0x1728: desc = "ERROR_QUORUM_NOT_ALLOWED_IN_THIS_GROUP: Quorum resource cannot reside in the Available Storage group."; code = 0x1728; break;
case 0x1729: desc = "ERROR_DEPENDENCY_TREE_TOO_COMPLEX: The dependencies for this resource are nested too deeply."; code = 0x1729; break;
case 0x172A: desc = "ERROR_EXCEPTION_IN_RESOURCE_CALL: The call into the resource DLL raised an unhandled exception."; code = 0x172A; break;
case 0x172B: desc = "ERROR_CLUSTER_RHS_FAILED_INITIALIZATION: The RHS process failed to initialize."; code = 0x172B; break;
case 0x172C: desc = "ERROR_CLUSTER_NOT_INSTALLED: The Failover Clustering feature is not installed on this node."; code = 0x172C; break;
case 0x172D: desc = "ERROR_CLUSTER_RESOURCES_MUST_BE_ONLINE_ON_THE_SAME_NODE: The resources must be online on the same node for this operation."; code = 0x172D; break;
case 0x172E: desc = "ERROR_CLUSTER_MAX_NODES_IN_CLUSTER: A new node can not be added since this cluster is already at its maximum number of nodes."; code = 0x172E; break;
case 0x172F: desc = "ERROR_CLUSTER_TOO_MANY_NODES: This cluster can not be created since the specified number of nodes exceeds the maximum allowed limit."; code = 0x172F; break;
case 0x1730: desc = "ERROR_CLUSTER_OBJECT_ALREADY_USED: An attempt to use the specified cluster name failed because an enabled computer object with the given name already exists in the domain."; code = 0x1730; break;
case 0x1731: desc = "ERROR_NONCORE_GROUPS_FOUND: This cluster cannot be destroyed. It has non-core application groups which must be deleted before the cluster can be destroyed."; code = 0x1731; break;
case 0x1732: desc = "ERROR_FILE_SHARE_RESOURCE_CONFLICT: File share associated with file share witness resource cannot be hosted by this cluster or any of its nodes."; code = 0x1732; break;
case 0x1733: desc = "ERROR_CLUSTER_EVICT_INVALID_REQUEST: Eviction of this node is invalid at this time. Due to quorum requirements node eviction will result in cluster shutdown. If it is the last node in the cluster, destroy cluster command should be used."; code = 0x1733; break;
case 0x1734: desc = "ERROR_CLUSTER_SINGLETON_RESOURCE: Only one instance of this resource type is allowed in the cluster."; code = 0x1734; break;
case 0x1735: desc = "ERROR_CLUSTER_GROUP_SINGLETON_RESOURCE: Only one instance of this resource type is allowed per resource group."; code = 0x1735; break;
case 0x1736: desc = "ERROR_CLUSTER_RESOURCE_PROVIDER_FAILED: The resource failed to come online due to the failure of one or more provider resources."; code = 0x1736; break;
case 0x1737: desc = "ERROR_CLUSTER_RESOURCE_CONFIGURATION_ERROR: The resource has indicated that it cannot come online on any node."; code = 0x1737; break;
case 0x1738: desc = "ERROR_CLUSTER_GROUP_BUSY: The current operation cannot be performed on this group at this time."; code = 0x1738; break;
case 0x1739: desc = "ERROR_CLUSTER_NOT_SHARED_VOLUME: The directory or file is not located on a cluster shared volume."; code = 0x1739; break;
case 0x173A: desc = "ERROR_CLUSTER_INVALID_SECURITY_DESCRIPTOR: The Security Descriptor does not meet the requirements for a cluster."; code = 0x173A; break;
case 0x173B: desc = "ERROR_CLUSTER_SHARED_VOLUMES_IN_USE: There is one or more shared volumes resources configured in the cluster. Those resources must be moved to available storage in order for operation to succeed."; code = 0x173B; break;
case 0x173C: desc = "ERROR_CLUSTER_USE_SHARED_VOLUMES_API: This group or resource cannot be directly manipulated. Use shared volume APIs to perform desired operation."; code = 0x173C; break;
case 0x173D: desc = "ERROR_CLUSTER_BACKUP_IN_PROGRESS: Back up is in progress. Please wait for backup completion before trying this operation again."; code = 0x173D; break;
case 0x173E: desc = "ERROR_NON_CSV_PATH: The path does not belong to a cluster shared volume."; code = 0x173E; break;
case 0x173F: desc = "ERROR_CSV_VOLUME_NOT_LOCAL: The cluster shared volume is not locally mounted on this node."; code = 0x173F; break;
case 0x1740: desc = "ERROR_CLUSTER_WATCHDOG_TERMINATING: The cluster watchdog is terminating."; code = 0x1740; break;
case 0x1741: desc = "ERROR_CLUSTER_RESOURCE_VETOED_MOVE_INCOMPATIBLE_NODES: A resource vetoed a move between two nodes because they are incompatible."; code = 0x1741; break;
case 0x1742: desc = "ERROR_CLUSTER_INVALID_NODE_WEIGHT: The request is invalid either because node weight cannot be changed while the cluster is in disk-only quorum mode, or because changing the node weight would violate the minimum cluster quorum requirements."; code = 0x1742; break;
case 0x1743: desc = "ERROR_CLUSTER_RESOURCE_VETOED_CALL: The resource vetoed the call."; code = 0x1743; break;
case 0x1744: desc = "ERROR_RESMON_SYSTEM_RESOURCES_LACKING: Resource could not start or run because it could not reserve sufficient system resources."; code = 0x1744; break;
case 0x1745: desc = "ERROR_CLUSTER_RESOURCE_VETOED_MOVE_NOT_ENOUGH_RESOURCES_ON_DESTINATION: A resource vetoed a move between two nodes because the destination currently does not have enough resources to complete the operation."; code = 0x1745; break;
case 0x1746: desc = "ERROR_CLUSTER_RESOURCE_VETOED_MOVE_NOT_ENOUGH_RESOURCES_ON_SOURCE: A resource vetoed a move between two nodes because the source currently does not have enough resources to complete the operation."; code = 0x1746; break;
case 0x1747: desc = "ERROR_CLUSTER_GROUP_QUEUED: The requested operation can not be completed because the group is queued for an operation."; code = 0x1747; break;
case 0x1748: desc = "ERROR_CLUSTER_RESOURCE_LOCKED_STATUS: The requested operation can not be completed because a resource has locked status."; code = 0x1748; break;
case 0x1749: desc = "ERROR_CLUSTER_SHARED_VOLUME_FAILOVER_NOT_ALLOWED: The resource cannot move to another node because a cluster shared volume vetoed the operation."; code = 0x1749; break;
case 0x174A: desc = "ERROR_CLUSTER_NODE_DRAIN_IN_PROGRESS: A node drain is already in progress. This value was also named ERROR_CLUSTER_NODE_EVACUATION_IN_PROGRESS"; code = 0x174A; break;
case 0x174B: desc = "ERROR_CLUSTER_DISK_NOT_CONNECTED: Clustered storage is not connected to the node."; code = 0x174B; break;
case 0x174C: desc = "ERROR_DISK_NOT_CSV_CAPABLE: The disk is not configured in a way to be used with CSV. CSV disks must have at least one partition that is formatted with NTFS."; code = 0x174C; break;
case 0x174D: desc = "ERROR_RESOURCE_NOT_IN_AVAILABLE_STORAGE: The resource must be part of the Available Storage group to complete this action."; code = 0x174D; break;
case 0x174E: desc = "ERROR_CLUSTER_SHARED_VOLUME_REDIRECTED: CSVFS failed operation as volume is in redirected mode."; code = 0x174E; break;
case 0x174F: desc = "ERROR_CLUSTER_SHARED_VOLUME_NOT_REDIRECTED: CSVFS failed operation as volume is not in redirected mode."; code = 0x174F; break;
case 0x1750: desc = "ERROR_CLUSTER_CANNOT_RETURN_PROPERTIES: Cluster properties cannot be returned at this time."; code = 0x1750; break;
case 0x1751: desc = "ERROR_CLUSTER_RESOURCE_CONTAINS_UNSUPPORTED_DIFF_AREA_FOR_SHARED_VOLUMES: The clustered disk resource contains software snapshot diff area that are not supported for Cluster Shared Volumes."; code = 0x1751; break;
case 0x1752: desc = "ERROR_CLUSTER_RESOURCE_IS_IN_MAINTENANCE_MODE: The operation cannot be completed because the resource is in maintenance mode."; code = 0x1752; break;
case 0x1753: desc = "ERROR_CLUSTER_AFFINITY_CONFLICT: The operation cannot be completed because of cluster affinity conflicts."; code = 0x1753; break;
case 0x1754: desc = "ERROR_CLUSTER_RESOURCE_IS_REPLICA_VIRTUAL_MACHINE: The operation cannot be completed because the resource is a replica virtual machine."; code = 0x1754; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x1770 && rawError <= 0x2007)
{
switch(rawError)
{
case 0x1770: desc = "ERROR_ENCRYPTION_FAILED: The specified file could not be encrypted."; code = 0x1770; break;
case 0x1771: desc = "ERROR_DECRYPTION_FAILED: The specified file could not be decrypted."; code = 0x1771; break;
case 0x1772: desc = "ERROR_FILE_ENCRYPTED: The specified file is encrypted and the user does not have the ability to decrypt it."; code = 0x1772; break;
case 0x1773: desc = "ERROR_NO_RECOVERY_POLICY: There is no valid encryption recovery policy configured for this system."; code = 0x1773; break;
case 0x1774: desc = "ERROR_NO_EFS: The required encryption driver is not loaded for this system."; code = 0x1774; break;
case 0x1775: desc = "ERROR_WRONG_EFS: The file was encrypted with a different encryption driver than is currently loaded."; code = 0x1775; break;
case 0x1776: desc = "ERROR_NO_USER_KEYS: There are no EFS keys defined for the user."; code = 0x1776; break;
case 0x1777: desc = "ERROR_FILE_NOT_ENCRYPTED: The specified file is not encrypted."; code = 0x1777; break;
case 0x1778: desc = "ERROR_NOT_EXPORT_FORMAT: The specified file is not in the defined EFS export format."; code = 0x1778; break;
case 0x1779: desc = "ERROR_FILE_READ_ONLY: The specified file is read only."; code = 0x1779; break;
case 0x177A: desc = "ERROR_DIR_EFS_DISALLOWED: The directory has been disabled for encryption."; code = 0x177A; break;
case 0x177B: desc = "ERROR_EFS_SERVER_NOT_TRUSTED: The server is not trusted for remote encryption operation."; code = 0x177B; break;
case 0x177C: desc = "ERROR_BAD_RECOVERY_POLICY: Recovery policy configured for this system contains invalid recovery certificate."; code = 0x177C; break;
case 0x177D: desc = "ERROR_EFS_ALG_BLOB_TOO_BIG: The encryption algorithm used on the source file needs a bigger key buffer than the one on the destination file."; code = 0x177D; break;
case 0x177E: desc = "ERROR_VOLUME_NOT_SUPPORT_EFS: The disk partition does not support file encryption."; code = 0x177E; break;
case 0x177F: desc = "ERROR_EFS_DISABLED: This machine is disabled for file encryption."; code = 0x177F; break;
case 0x1780: desc = "ERROR_EFS_VERSION_NOT_SUPPORT: A newer system is required to decrypt this encrypted file."; code = 0x1780; break;
case 0x1781: desc = "ERROR_CS_ENCRYPTION_INVALID_SERVER_RESPONSE: The remote server sent an invalid response for a file being opened with Client Side Encryption."; code = 0x1781; break;
case 0x1782: desc = "ERROR_CS_ENCRYPTION_UNSUPPORTED_SERVER: Client Side Encryption is not supported by the remote server even though it claims to support it."; code = 0x1782; break;
case 0x1783: desc = "ERROR_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE: File is encrypted and should be opened in Client Side Encryption mode."; code = 0x1783; break;
case 0x1784: desc = "ERROR_CS_ENCRYPTION_NEW_ENCRYPTED_FILE: A new encrypted file is being created and a $EFS needs to be provided."; code = 0x1784; break;
case 0x1785: desc = "ERROR_CS_ENCRYPTION_FILE_NOT_CSE: The SMB client requested a CSE FSCTL on a non-CSE file."; code = 0x1785; break;
case 0x1786: desc = "ERROR_ENCRYPTION_POLICY_DENIES_OPERATION: The requested operation was blocked by policy. For more information, contact your system administrator."; code = 0x1786; break;
case 0x17E6: desc = "ERROR_NO_BROWSER_SERVERS_FOUND: The list of servers for this workgroup is not currently available."; code = 0x17E6; break;
case 0x1838: desc = "SCHED_E_SERVICE_NOT_LOCALSYSTEM: The Task Scheduler service must be configured to run in the System account to function properly. Individual tasks may be configured to run in other accounts."; code = 0x1838; break;
case 0x19C8: desc = "ERROR_LOG_SECTOR_INVALID: Log service encountered an invalid log sector."; code = 0x19C8; break;
case 0x19C9: desc = "ERROR_LOG_SECTOR_PARITY_INVALID: Log service encountered a log sector with invalid block parity."; code = 0x19C9; break;
case 0x19CA: desc = "ERROR_LOG_SECTOR_REMAPPED: Log service encountered a remapped log sector."; code = 0x19CA; break;
case 0x19CB: desc = "ERROR_LOG_BLOCK_INCOMPLETE: Log service encountered a partial or incomplete log block."; code = 0x19CB; break;
case 0x19CC: desc = "ERROR_LOG_INVALID_RANGE: Log service encountered an attempt access data outside the active log range."; code = 0x19CC; break;
case 0x19CD: desc = "ERROR_LOG_BLOCKS_EXHAUSTED: Log service user marshalling buffers are exhausted."; code = 0x19CD; break;
case 0x19CE: desc = "ERROR_LOG_READ_CONTEXT_INVALID: Log service encountered an attempt read from a marshalling area with an invalid read context."; code = 0x19CE; break;
case 0x19CF: desc = "ERROR_LOG_RESTART_INVALID: Log service encountered an invalid log restart area."; code = 0x19CF; break;
case 0x19D0: desc = "ERROR_LOG_BLOCK_VERSION: Log service encountered an invalid log block version."; code = 0x19D0; break;
case 0x19D1: desc = "ERROR_LOG_BLOCK_INVALID: Log service encountered an invalid log block."; code = 0x19D1; break;
case 0x19D2: desc = "ERROR_LOG_READ_MODE_INVALID: Log service encountered an attempt to read the log with an invalid read mode."; code = 0x19D2; break;
case 0x19D3: desc = "ERROR_LOG_NO_RESTART: Log service encountered a log stream with no restart area."; code = 0x19D3; break;
case 0x19D4: desc = "ERROR_LOG_METADATA_CORRUPT: Log service encountered a corrupted metadata file."; code = 0x19D4; break;
case 0x19D5: desc = "ERROR_LOG_METADATA_INVALID: Log service encountered a metadata file that could not be created by the log file system."; code = 0x19D5; break;
case 0x19D6: desc = "ERROR_LOG_METADATA_INCONSISTENT: Log service encountered a metadata file with inconsistent data."; code = 0x19D6; break;
case 0x19D7: desc = "ERROR_LOG_RESERVATION_INVALID: Log service encountered an attempt to erroneous allocate or dispose reservation space."; code = 0x19D7; break;
case 0x19D8: desc = "ERROR_LOG_CANT_DELETE: Log service cannot delete log file or file system container."; code = 0x19D8; break;
case 0x19D9: desc = "ERROR_LOG_CONTAINER_LIMIT_EXCEEDED: Log service has reached the maximum allowable containers allocated to a log file."; code = 0x19D9; break;
case 0x19DA: desc = "ERROR_LOG_START_OF_LOG: Log service has attempted to read or write backward past the start of the log."; code = 0x19DA; break;
case 0x19DB: desc = "ERROR_LOG_POLICY_ALREADY_INSTALLED: Log policy could not be installed because a policy of the same type is already present."; code = 0x19DB; break;
case 0x19DC: desc = "ERROR_LOG_POLICY_NOT_INSTALLED: Log policy in question was not installed at the time of the request."; code = 0x19DC; break;
case 0x19DD: desc = "ERROR_LOG_POLICY_INVALID: The installed set of policies on the log is invalid."; code = 0x19DD; break;
case 0x19DE: desc = "ERROR_LOG_POLICY_CONFLICT: A policy on the log in question prevented the operation from completing."; code = 0x19DE; break;
case 0x19DF: desc = "ERROR_LOG_PINNED_ARCHIVE_TAIL: Log space cannot be reclaimed because the log is pinned by the archive tail."; code = 0x19DF; break;
case 0x19E0: desc = "ERROR_LOG_RECORD_NONEXISTENT: Log record is not a record in the log file."; code = 0x19E0; break;
case 0x19E1: desc = "ERROR_LOG_RECORDS_RESERVED_INVALID: Number of reserved log records or the adjustment of the number of reserved log records is invalid."; code = 0x19E1; break;
case 0x19E2: desc = "ERROR_LOG_SPACE_RESERVED_INVALID: Reserved log space or the adjustment of the log space is invalid."; code = 0x19E2; break;
case 0x19E3: desc = "ERROR_LOG_TAIL_INVALID: An new or existing archive tail or base of the active log is invalid."; code = 0x19E3; break;
case 0x19E4: desc = "ERROR_LOG_FULL: Log space is exhausted."; code = 0x19E4; break;
case 0x19E5: desc = "ERROR_COULD_NOT_RESIZE_LOG: The log could not be set to the requested size."; code = 0x19E5; break;
case 0x19E6: desc = "ERROR_LOG_MULTIPLEXED: Log is multiplexed, no direct writes to the physical log is allowed."; code = 0x19E6; break;
case 0x19E7: desc = "ERROR_LOG_DEDICATED: The operation failed because the log is a dedicated log."; code = 0x19E7; break;
case 0x19E8: desc = "ERROR_LOG_ARCHIVE_NOT_IN_PROGRESS: The operation requires an archive context."; code = 0x19E8; break;
case 0x19E9: desc = "ERROR_LOG_ARCHIVE_IN_PROGRESS: Log archival is in progress."; code = 0x19E9; break;
case 0x19EA: desc = "ERROR_LOG_EPHEMERAL: The operation requires a non-ephemeral log, but the log is ephemeral."; code = 0x19EA; break;
case 0x19EB: desc = "ERROR_LOG_NOT_ENOUGH_CONTAINERS: The log must have at least two containers before it can be read from or written to."; code = 0x19EB; break;
case 0x19EC: desc = "ERROR_LOG_CLIENT_ALREADY_REGISTERED: A log client has already registered on the stream."; code = 0x19EC; break;
case 0x19ED: desc = "ERROR_LOG_CLIENT_NOT_REGISTERED: A log client has not been registered on the stream."; code = 0x19ED; break;
case 0x19EE: desc = "ERROR_LOG_FULL_HANDLER_IN_PROGRESS: A request has already been made to handle the log full condition."; code = 0x19EE; break;
case 0x19EF: desc = "ERROR_LOG_CONTAINER_READ_FAILED: Log service encountered an error when attempting to read from a log container."; code = 0x19EF; break;
case 0x19F0: desc = "ERROR_LOG_CONTAINER_WRITE_FAILED: Log service encountered an error when attempting to write to a log container."; code = 0x19F0; break;
case 0x19F1: desc = "ERROR_LOG_CONTAINER_OPEN_FAILED: Log service encountered an error when attempting open a log container."; code = 0x19F1; break;
case 0x19F2: desc = "ERROR_LOG_CONTAINER_STATE_INVALID: Log service encountered an invalid container state when attempting a requested action."; code = 0x19F2; break;
case 0x19F3: desc = "ERROR_LOG_STATE_INVALID: Log service is not in the correct state to perform a requested action."; code = 0x19F3; break;
case 0x19F4: desc = "ERROR_LOG_PINNED: Log space cannot be reclaimed because the log is pinned."; code = 0x19F4; break;
case 0x19F5: desc = "ERROR_LOG_METADATA_FLUSH_FAILED: Log metadata flush failed."; code = 0x19F5; break;
case 0x19F6: desc = "ERROR_LOG_INCONSISTENT_SECURITY: Security on the log and its containers is inconsistent."; code = 0x19F6; break;
case 0x19F7: desc = "ERROR_LOG_APPENDED_FLUSH_FAILED: Records were appended to the log or reservation changes were made, but the log could not be flushed."; code = 0x19F7; break;
case 0x19F8: desc = "ERROR_LOG_PINNED_RESERVATION: The log is pinned due to reservation consuming most of the log space. Free some reserved records to make space available."; code = 0x19F8; break;
case 0x1A2C: desc = "ERROR_INVALID_TRANSACTION: The transaction handle associated with this operation is not valid."; code = 0x1A2C; break;
case 0x1A2D: desc = "ERROR_TRANSACTION_NOT_ACTIVE: The requested operation was made in the context of a transaction that is no longer active."; code = 0x1A2D; break;
case 0x1A2E: desc = "ERROR_TRANSACTION_REQUEST_NOT_VALID: The requested operation is not valid on the Transaction object in its current state."; code = 0x1A2E; break;
case 0x1A2F: desc = "ERROR_TRANSACTION_NOT_REQUESTED: The caller has called a response API, but the response is not expected because the TM did not issue the corresponding request to the caller."; code = 0x1A2F; break;
case 0x1A30: desc = "ERROR_TRANSACTION_ALREADY_ABORTED: It is too late to perform the requested operation, since the Transaction has already been aborted."; code = 0x1A30; break;
case 0x1A31: desc = "ERROR_TRANSACTION_ALREADY_COMMITTED: It is too late to perform the requested operation, since the Transaction has already been committed."; code = 0x1A31; break;
case 0x1A32: desc = "ERROR_TM_INITIALIZATION_FAILED: The Transaction Manager was unable to be successfully initialized. Transacted operations are not supported."; code = 0x1A32; break;
case 0x1A33: desc = "ERROR_RESOURCEMANAGER_READ_ONLY: The specified ResourceManager made no changes or updates to the resource under this transaction."; code = 0x1A33; break;
case 0x1A34: desc = "ERROR_TRANSACTION_NOT_JOINED: The resource manager has attempted to prepare a transaction that it has not successfully joined."; code = 0x1A34; break;
case 0x1A35: desc = "ERROR_TRANSACTION_SUPERIOR_EXISTS: The Transaction object already has a superior enlistment, and the caller attempted an operation that would have created a new superior. Only a single superior enlistment is allow."; code = 0x1A35; break;
case 0x1A36: desc = "ERROR_CRM_PROTOCOL_ALREADY_EXISTS: The RM tried to register a protocol that already exists."; code = 0x1A36; break;
case 0x1A37: desc = "ERROR_TRANSACTION_PROPAGATION_FAILED: The attempt to propagate the Transaction failed."; code = 0x1A37; break;
case 0x1A38: desc = "ERROR_CRM_PROTOCOL_NOT_FOUND: The requested propagation protocol was not registered as a CRM."; code = 0x1A38; break;
case 0x1A39: desc = "ERROR_TRANSACTION_INVALID_MARSHALL_BUFFER: The buffer passed in to PushTransaction or PullTransaction is not in a valid format."; code = 0x1A39; break;
case 0x1A3A: desc = "ERROR_CURRENT_TRANSACTION_NOT_VALID: The current transaction context associated with the thread is not a valid handle to a transaction object."; code = 0x1A3A; break;
case 0x1A3B: desc = "ERROR_TRANSACTION_NOT_FOUND: The specified Transaction object could not be opened, because it was not found."; code = 0x1A3B; break;
case 0x1A3C: desc = "ERROR_RESOURCEMANAGER_NOT_FOUND: The specified ResourceManager object could not be opened, because it was not found."; code = 0x1A3C; break;
case 0x1A3D: desc = "ERROR_ENLISTMENT_NOT_FOUND: The specified Enlistment object could not be opened, because it was not found."; code = 0x1A3D; break;
case 0x1A3E: desc = "ERROR_TRANSACTIONMANAGER_NOT_FOUND: The specified TransactionManager object could not be opened, because it was not found."; code = 0x1A3E; break;
case 0x1A3F: desc = "ERROR_TRANSACTIONMANAGER_NOT_ONLINE: The object specified could not be created or opened, because its associated TransactionManager is not online. The TransactionManager must be brought fully Online by calling RecoverTransactionManager to recover to the end of its LogFile before objects in its Transaction or ResourceManager namespaces can be opened. In addition, errors in writing records to its LogFile can cause a TransactionManager to go offline."; code = 0x1A3F; break;
case 0x1A40: desc = "ERROR_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION: The specified TransactionManager was unable to create the objects contained in its logfile in the Ob namespace. Therefore, the TransactionManager was unable to recover."; code = 0x1A40; break;
case 0x1A41: desc = "ERROR_TRANSACTION_NOT_ROOT: The call to create a superior Enlistment on this Transaction object could not be completed, because the Transaction object specified for the enlistment is a subordinate branch of the Transaction. Only the root of the Transaction can be enlisted on as a superior."; code = 0x1A41; break;
case 0x1A42: desc = "ERROR_TRANSACTION_OBJECT_EXPIRED: Because the associated transaction manager or resource manager has been closed, the handle is no longer valid."; code = 0x1A42; break;
case 0x1A43: desc = "ERROR_TRANSACTION_RESPONSE_NOT_ENLISTED: The specified operation could not be performed on this Superior enlistment, because the enlistment was not created with the corresponding completion response in the NotificationMask."; code = 0x1A43; break;
case 0x1A44: desc = "ERROR_TRANSACTION_RECORD_TOO_LONG: The specified operation could not be performed, because the record that would be logged was too long. This can occur because of two conditions: either there are too many Enlistments on this Transaction, or the combined RecoveryInformation being logged on behalf of those Enlistments is too long."; code = 0x1A44; break;
case 0x1A45: desc = "ERROR_IMPLICIT_TRANSACTION_NOT_SUPPORTED: Implicit transaction are not supported."; code = 0x1A45; break;
case 0x1A46: desc = "ERROR_TRANSACTION_INTEGRITY_VIOLATED: The kernel transaction manager had to abort or forget the transaction because it blocked forward progress."; code = 0x1A46; break;
case 0x1A47: desc = "ERROR_TRANSACTIONMANAGER_IDENTITY_MISMATCH: The TransactionManager identity that was supplied did not match the one recorded in the TransactionManager's log file."; code = 0x1A47; break;
case 0x1A48: desc = "ERROR_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT: This snapshot operation cannot continue because a transactional resource manager cannot be frozen in its current state. Please try again."; code = 0x1A48; break;
case 0x1A49: desc = "ERROR_TRANSACTION_MUST_WRITETHROUGH: The transaction cannot be enlisted on with the specified EnlistmentMask, because the transaction has already completed the PrePrepare phase. In order to ensure correctness, the ResourceManager must switch to a write- through mode and cease caching data within this transaction. Enlisting for only subsequent transaction phases may still succeed."; code = 0x1A49; break;
case 0x1A4A: desc = "ERROR_TRANSACTION_NO_SUPERIOR: The transaction does not have a superior enlistment."; code = 0x1A4A; break;
case 0x1A4B: desc = "ERROR_HEURISTIC_DAMAGE_POSSIBLE: The attempt to commit the Transaction completed, but it is possible that some portion of the transaction tree did not commit successfully due to heuristics. Therefore it is possible that some data modified in the transaction may not have committed, resulting in transactional inconsistency. If possible, check the consistency of the associated data."; code = 0x1A4B; break;
case 0x1A90: desc = "ERROR_TRANSACTIONAL_CONFLICT: The function attempted to use a name that is reserved for use by another transaction."; code = 0x1A90; break;
case 0x1A91: desc = "ERROR_RM_NOT_ACTIVE: Transaction support within the specified resource manager is not started or was shut down due to an error."; code = 0x1A91; break;
case 0x1A92: desc = "ERROR_RM_METADATA_CORRUPT: The metadata of the RM has been corrupted. The RM will not function."; code = 0x1A92; break;
case 0x1A93: desc = "ERROR_DIRECTORY_NOT_RM: The specified directory does not contain a resource manager."; code = 0x1A93; break;
case 0x1A95: desc = "ERROR_TRANSACTIONS_UNSUPPORTED_REMOTE: The remote server or share does not support transacted file operations."; code = 0x1A95; break;
case 0x1A96: desc = "ERROR_LOG_RESIZE_INVALID_SIZE: The requested log size is invalid."; code = 0x1A96; break;
case 0x1A97: desc = "ERROR_OBJECT_NO_LONGER_EXISTS: The object (file, stream, link) corresponding to the handle has been deleted by a Transaction Savepoint Rollback."; code = 0x1A97; break;
case 0x1A98: desc = "ERROR_STREAM_MINIVERSION_NOT_FOUND: The specified file miniversion was not found for this transacted file open."; code = 0x1A98; break;
case 0x1A99: desc = "ERROR_STREAM_MINIVERSION_NOT_VALID: The specified file miniversion was found but has been invalidated. Most likely cause is a transaction savepoint rollback."; code = 0x1A99; break;
case 0x1A9A: desc = "ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION: A miniversion may only be opened in the context of the transaction that created it."; code = 0x1A9A; break;
case 0x1A9B: desc = "ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT: It is not possible to open a miniversion with modify access."; code = 0x1A9B; break;
case 0x1A9C: desc = "ERROR_CANT_CREATE_MORE_STREAM_MINIVERSIONS: It is not possible to create any more miniversions for this stream."; code = 0x1A9C; break;
case 0x1A9E: desc = "ERROR_REMOTE_FILE_VERSION_MISMATCH: The remote server sent mismatching version number or Fid for a file opened with transactions."; code = 0x1A9E; break;
case 0x1A9F: desc = "ERROR_HANDLE_NO_LONGER_VALID: The handle has been invalidated by a transaction. The most likely cause is the presence of memory mapping on a file or an open handle when the transaction ended or rolled back to savepoint."; code = 0x1A9F; break;
case 0x1AA0: desc = "ERROR_NO_TXF_METADATA: There is no transaction metadata on the file."; code = 0x1AA0; break;
case 0x1AA1: desc = "ERROR_LOG_CORRUPTION_DETECTED: The log data is corrupt."; code = 0x1AA1; break;
case 0x1AA2: desc = "ERROR_CANT_RECOVER_WITH_HANDLE_OPEN: The file can't be recovered because there is a handle still open on it."; code = 0x1AA2; break;
case 0x1AA3: desc = "ERROR_RM_DISCONNECTED: The transaction outcome is unavailable because the resource manager responsible for it has disconnected."; code = 0x1AA3; break;
case 0x1AA4: desc = "ERROR_ENLISTMENT_NOT_SUPERIOR: The request was rejected because the enlistment in question is not a superior enlistment."; code = 0x1AA4; break;
case 0x1AA5: desc = "ERROR_RECOVERY_NOT_NEEDED: The transactional resource manager is already consistent. Recovery is not needed."; code = 0x1AA5; break;
case 0x1AA6: desc = "ERROR_RM_ALREADY_STARTED: The transactional resource manager has already been started."; code = 0x1AA6; break;
case 0x1AA7: desc = "ERROR_FILE_IDENTITY_NOT_PERSISTENT: The file cannot be opened transactionally, because its identity depends on the outcome of an unresolved transaction."; code = 0x1AA7; break;
case 0x1AA8: desc = "ERROR_CANT_BREAK_TRANSACTIONAL_DEPENDENCY: The operation cannot be performed because another transaction is depending on the fact that this property will not change."; code = 0x1AA8; break;
case 0x1AA9: desc = "ERROR_CANT_CROSS_RM_BOUNDARY: The operation would involve a single file with two transactional resource managers and is therefore not allowed."; code = 0x1AA9; break;
case 0x1AAA: desc = "ERROR_TXF_DIR_NOT_EMPTY: The $Txf directory must be empty for this operation to succeed."; code = 0x1AAA; break;
case 0x1AAB: desc = "ERROR_INDOUBT_TRANSACTIONS_EXIST: The operation would leave a transactional resource manager in an inconsistent state and is therefore not allowed."; code = 0x1AAB; break;
case 0x1AAC: desc = "ERROR_TM_VOLATILE: The operation could not be completed because the transaction manager does not have a log."; code = 0x1AAC; break;
case 0x1AAD: desc = "ERROR_ROLLBACK_TIMER_EXPIRED: A rollback could not be scheduled because a previously scheduled rollback has already executed or been queued for execution."; code = 0x1AAD; break;
case 0x1AAE: desc = "ERROR_TXF_ATTRIBUTE_CORRUPT: The transactional metadata attribute on the file or directory is corrupt and unreadable."; code = 0x1AAE; break;
case 0x1AAF: desc = "ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION: The encryption operation could not be completed because a transaction is active."; code = 0x1AAF; break;
case 0x1AB0: desc = "ERROR_TRANSACTIONAL_OPEN_NOT_ALLOWED: This object is not allowed to be opened in a transaction."; code = 0x1AB0; break;
case 0x1AB1: desc = "ERROR_LOG_GROWTH_FAILED: An attempt to create space in the transactional resource manager's log failed. The failure status has been recorded in the event log."; code = 0x1AB1; break;
case 0x1AB2: desc = "ERROR_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE: Memory mapping (creating a mapped section) a remote file under a transaction is not supported."; code = 0x1AB2; break;
case 0x1AB3: desc = "ERROR_TXF_METADATA_ALREADY_PRESENT: Transaction metadata is already present on this file and cannot be superseded."; code = 0x1AB3; break;
case 0x1AB4: desc = "ERROR_TRANSACTION_SCOPE_CALLBACKS_NOT_SET: A transaction scope could not be entered because the scope handler has not been initialized."; code = 0x1AB4; break;
case 0x1AB5: desc = "ERROR_TRANSACTION_REQUIRED_PROMOTION: Promotion was required in order to allow the resource manager to enlist, but the transaction was set to disallow it."; code = 0x1AB5; break;
case 0x1AB6: desc = "ERROR_CANNOT_EXECUTE_FILE_IN_TRANSACTION: This file is open for modification in an unresolved transaction and may be opened for execute only by a transacted reader."; code = 0x1AB6; break;
case 0x1AB7: desc = "ERROR_TRANSACTIONS_NOT_FROZEN: The request to thaw frozen transactions was ignored because transactions had not previously been frozen."; code = 0x1AB7; break;
case 0x1AB8: desc = "ERROR_TRANSACTION_FREEZE_IN_PROGRESS: Transactions cannot be frozen because a freeze is already in progress."; code = 0x1AB8; break;
case 0x1AB9: desc = "ERROR_NOT_SNAPSHOT_VOLUME: The target volume is not a snapshot volume. This operation is only valid on a volume mounted as a snapshot."; code = 0x1AB9; break;
case 0x1ABA: desc = "ERROR_NO_SAVEPOINT_WITH_OPEN_FILES: The savepoint operation failed because files are open on the transaction. This is not permitted."; code = 0x1ABA; break;
case 0x1ABB: desc = "ERROR_DATA_LOST_REPAIR: Windows has discovered corruption in a file, and that file has since been repaired. Data loss may have occurred."; code = 0x1ABB; break;
case 0x1ABC: desc = "ERROR_SPARSE_NOT_ALLOWED_IN_TRANSACTION: The sparse operation could not be completed because a transaction is active on the file."; code = 0x1ABC; break;
case 0x1ABD: desc = "ERROR_TM_IDENTITY_MISMATCH: The call to create a TransactionManager object failed because the Tm Identity stored in the logfile does not match the Tm Identity that was passed in as an argument."; code = 0x1ABD; break;
case 0x1ABE: desc = "ERROR_FLOATED_SECTION: I/O was attempted on a section object that has been floated as a result of a transaction ending. There is no valid data."; code = 0x1ABE; break;
case 0x1ABF: desc = "ERROR_CANNOT_ACCEPT_TRANSACTED_WORK: The transactional resource manager cannot currently accept transacted work due to a transient condition such as low resources."; code = 0x1ABF; break;
case 0x1AC0: desc = "ERROR_CANNOT_ABORT_TRANSACTIONS: The transactional resource manager had too many tranactions outstanding that could not be aborted. The transactional resource manger has been shut down."; code = 0x1AC0; break;
case 0x1AC1: desc = "ERROR_BAD_CLUSTERS: The operation could not be completed due to bad clusters on disk."; code = 0x1AC1; break;
case 0x1AC2: desc = "ERROR_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION: The compression operation could not be completed because a transaction is active on the file."; code = 0x1AC2; break;
case 0x1AC3: desc = "ERROR_VOLUME_DIRTY: The operation could not be completed because the volume is dirty. Please run chkdsk and try again."; code = 0x1AC3; break;
case 0x1AC4: desc = "ERROR_NO_LINK_TRACKING_IN_TRANSACTION: The link tracking operation could not be completed because a transaction is active."; code = 0x1AC4; break;
case 0x1AC5: desc = "ERROR_OPERATION_NOT_SUPPORTED_IN_TRANSACTION: This operation cannot be performed in a transaction."; code = 0x1AC5; break;
case 0x1AC6: desc = "ERROR_EXPIRED_HANDLE: The handle is no longer properly associated with its transaction. It may have been opened in a transactional resource manager that was subsequently forced to restart. Please close the handle and open a new one."; code = 0x1AC6; break;
case 0x1AC7: desc = "ERROR_TRANSACTION_NOT_ENLISTED: The specified operation could not be performed because the resource manager is not enlisted in the transaction."; code = 0x1AC7; break;
case 0x1B59: desc = "ERROR_CTX_WINSTATION_NAME_INVALID: The specified session name is invalid."; code = 0x1B59; break;
case 0x1B5A: desc = "ERROR_CTX_INVALID_PD: The specified protocol driver is invalid."; code = 0x1B5A; break;
case 0x1B5B: desc = "ERROR_CTX_PD_NOT_FOUND: The specified protocol driver was not found in the system path."; code = 0x1B5B; break;
case 0x1B5C: desc = "ERROR_CTX_WD_NOT_FOUND: The specified terminal connection driver was not found in the system path."; code = 0x1B5C; break;
case 0x1B5D: desc = "ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY: A registry key for event logging could not be created for this session."; code = 0x1B5D; break;
case 0x1B5E: desc = "ERROR_CTX_SERVICE_NAME_COLLISION: A service with the same name already exists on the system."; code = 0x1B5E; break;
case 0x1B5F: desc = "ERROR_CTX_CLOSE_PENDING: A close operation is pending on the session."; code = 0x1B5F; break;
case 0x1B60: desc = "ERROR_CTX_NO_OUTBUF: There are no free output buffers available."; code = 0x1B60; break;
case 0x1B61: desc = "ERROR_CTX_MODEM_INF_NOT_FOUND: The MODEM.INF file was not found."; code = 0x1B61; break;
case 0x1B62: desc = "ERROR_CTX_INVALID_MODEMNAME: The modem name was not found in MODEM.INF."; code = 0x1B62; break;
case 0x1B63: desc = "ERROR_CTX_MODEM_RESPONSE_ERROR: The modem did not accept the command sent to it. Verify that the configured modem name matches the attached modem."; code = 0x1B63; break;
case 0x1B64: desc = "ERROR_CTX_MODEM_RESPONSE_TIMEOUT: The modem did not respond to the command sent to it. Verify that the modem is properly cabled and powered on."; code = 0x1B64; break;
case 0x1B65: desc = "ERROR_CTX_MODEM_RESPONSE_NO_CARRIER: Carrier detect has failed or carrier has been dropped due to disconnect."; code = 0x1B65; break;
case 0x1B66: desc = "ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE: Dial tone not detected within the required time. Verify that the phone cable is properly attached and functional."; code = 0x1B66; break;
case 0x1B67: desc = "ERROR_CTX_MODEM_RESPONSE_BUSY: Busy signal detected at remote site on callback."; code = 0x1B67; break;
case 0x1B68: desc = "ERROR_CTX_MODEM_RESPONSE_VOICE: Voice detected at remote site on callback."; code = 0x1B68; break;
case 0x1B69: desc = "ERROR_CTX_TD_ERROR: Transport driver error."; code = 0x1B69; break;
case 0x1B6E: desc = "ERROR_CTX_WINSTATION_NOT_FOUND: The specified session cannot be found."; code = 0x1B6E; break;
case 0x1B6F: desc = "ERROR_CTX_WINSTATION_ALREADY_EXISTS: The specified session name is already in use."; code = 0x1B6F; break;
case 0x1B70: desc = "ERROR_CTX_WINSTATION_BUSY: The task you are trying to do can't be completed because Remote Desktop Services is currently busy. Please try again in a few minutes. Other users should still be able to log on."; code = 0x1B70; break;
case 0x1B71: desc = "ERROR_CTX_BAD_VIDEO_MODE: An attempt has been made to connect to a session whose video mode is not supported by the current client."; code = 0x1B71; break;
case 0x1B7B: desc = "ERROR_CTX_GRAPHICS_INVALID: The application attempted to enable DOS graphics mode. DOS graphics mode is not supported."; code = 0x1B7B; break;
case 0x1B7D: desc = "ERROR_CTX_LOGON_DISABLED: Your interactive logon privilege has been disabled. Please contact your administrator."; code = 0x1B7D; break;
case 0x1B7E: desc = "ERROR_CTX_NOT_CONSOLE: The requested operation can be performed only on the system console. This is most often the result of a driver or system DLL requiring direct console access."; code = 0x1B7E; break;
case 0x1B80: desc = "ERROR_CTX_CLIENT_QUERY_TIMEOUT: The client failed to respond to the server connect message."; code = 0x1B80; break;
case 0x1B81: desc = "ERROR_CTX_CONSOLE_DISCONNECT: Disconnecting the console session is not supported."; code = 0x1B81; break;
case 0x1B82: desc = "ERROR_CTX_CONSOLE_CONNECT: Reconnecting a disconnected session to the console is not supported."; code = 0x1B82; break;
case 0x1B84: desc = "ERROR_CTX_SHADOW_DENIED: The request to control another session remotely was denied."; code = 0x1B84; break;
case 0x1B85: desc = "ERROR_CTX_WINSTATION_ACCESS_DENIED: The requested session access is denied."; code = 0x1B85; break;
case 0x1B89: desc = "ERROR_CTX_INVALID_WD: The specified terminal connection driver is invalid."; code = 0x1B89; break;
case 0x1B8A: desc = "ERROR_CTX_SHADOW_INVALID: The requested session cannot be controlled remotely. This may be because the session is disconnected or does not currently have a user logged on."; code = 0x1B8A; break;
case 0x1B8B: desc = "ERROR_CTX_SHADOW_DISABLED: The requested session is not configured to allow remote control."; code = 0x1B8B; break;
case 0x1B8C: desc = "ERROR_CTX_CLIENT_LICENSE_IN_USE: Your request to connect to this Terminal Server has been rejected. Your Terminal Server client license number is currently being used by another user. Please call your system administrator to obtain a unique license number."; code = 0x1B8C; break;
case 0x1B8D: desc = "ERROR_CTX_CLIENT_LICENSE_NOT_SET: Your request to connect to this Terminal Server has been rejected. Your Terminal Server client license number has not been entered for this copy of the Terminal Server client. Please contact your system administrator."; code = 0x1B8D; break;
case 0x1B8E: desc = "ERROR_CTX_LICENSE_NOT_AVAILABLE: The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator."; code = 0x1B8E; break;
case 0x1B8F: desc = "ERROR_CTX_LICENSE_CLIENT_INVALID: The client you are using is not licensed to use this system. Your logon request is denied."; code = 0x1B8F; break;
case 0x1B90: desc = "ERROR_CTX_LICENSE_EXPIRED: The system license has expired. Your logon request is denied."; code = 0x1B90; break;
case 0x1B91: desc = "ERROR_CTX_SHADOW_NOT_RUNNING: Remote control could not be terminated because the specified session is not currently being remotely controlled."; code = 0x1B91; break;
case 0x1B92: desc = "ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE: The remote control of the console was terminated because the display mode was changed. Changing the display mode in a remote control session is not supported."; code = 0x1B92; break;
case 0x1B93: desc = "ERROR_ACTIVATION_COUNT_EXCEEDED: Activation has already been reset the maximum number of times for this installation. Your activation timer will not be cleared."; code = 0x1B93; break;
case 0x1B94: desc = "ERROR_CTX_WINSTATIONS_DISABLED: Remote logins are currently disabled."; code = 0x1B94; break;
case 0x1B95: desc = "ERROR_CTX_ENCRYPTION_LEVEL_REQUIRED: You do not have the proper encryption level to access this Session."; code = 0x1B95; break;
case 0x1B96: desc = "ERROR_CTX_SESSION_IN_USE: The user %s\\%s is currently logged on to this computer. Only the current user or an administrator can log on to this computer."; code = 0x1B96; break;
case 0x1B97: desc = "ERROR_CTX_NO_FORCE_LOGOFF: The user %s\\%s is already logged on to the console of this computer. You do not have permission to log in at this time. To resolve this issue, contact %s\\%s and have them log off."; code = 0x1B97; break;
case 0x1B98: desc = "ERROR_CTX_ACCOUNT_RESTRICTION: Unable to log you on because of an account restriction."; code = 0x1B98; break;
case 0x1B99: desc = "ERROR_RDP_PROTOCOL_ERROR: The RDP protocol component %2 detected an error in the protocol stream and has disconnected the client."; code = 0x1B99; break;
case 0x1B9A: desc = "ERROR_CTX_CDM_CONNECT: The Client Drive Mapping Service Has Connected on Terminal Connection."; code = 0x1B9A; break;
case 0x1B9B: desc = "ERROR_CTX_CDM_DISCONNECT: The Client Drive Mapping Service Has Disconnected on Terminal Connection."; code = 0x1B9B; break;
case 0x1B9C: desc = "ERROR_CTX_SECURITY_LAYER_ERROR: The Terminal Server security layer detected an error in the protocol stream and has disconnected the client."; code = 0x1B9C; break;
case 0x1B9D: desc = "ERROR_TS_INCOMPATIBLE_SESSIONS: The target session is incompatible with the current session."; code = 0x1B9D; break;
case 0x1B9E: desc = "ERROR_TS_VIDEO_SUBSYSTEM_ERROR: Windows can't connect to your session because a problem occurred in the Windows video subsystem. Try connecting again later, or contact the server administrator for assistance."; code = 0x1B9E; break;
case 0x1F41: desc = "FRS_ERR_INVALID_API_SEQUENCE: The file replication service API was called incorrectly."; code = 0x1F41; break;
case 0x1F42: desc = "FRS_ERR_STARTING_SERVICE: The file replication service cannot be started."; code = 0x1F42; break;
case 0x1F43: desc = "FRS_ERR_STOPPING_SERVICE: The file replication service cannot be stopped."; code = 0x1F43; break;
case 0x1F44: desc = "FRS_ERR_INTERNAL_API: The file replication service API terminated the request. The event log may have more information."; code = 0x1F44; break;
case 0x1F45: desc = "FRS_ERR_INTERNAL: The file replication service terminated the request. The event log may have more information."; code = 0x1F45; break;
case 0x1F46: desc = "FRS_ERR_SERVICE_COMM: The file replication service cannot be contacted. The event log may have more information."; code = 0x1F46; break;
case 0x1F47: desc = "FRS_ERR_INSUFFICIENT_PRIV: The file replication service cannot satisfy the request because the user has insufficient privileges. The event log may have more information."; code = 0x1F47; break;
case 0x1F48: desc = "FRS_ERR_AUTHENTICATION: The file replication service cannot satisfy the request because authenticated RPC is not available. The event log may have more information."; code = 0x1F48; break;
case 0x1F49: desc = "FRS_ERR_PARENT_INSUFFICIENT_PRIV: The file replication service cannot satisfy the request because the user has insufficient privileges on the domain controller. The event log may have more information."; code = 0x1F49; break;
case 0x1F4A: desc = "FRS_ERR_PARENT_AUTHENTICATION: The file replication service cannot satisfy the request because authenticated RPC is not available on the domain controller. The event log may have more information."; code = 0x1F4A; break;
case 0x1F4B: desc = "FRS_ERR_CHILD_TO_PARENT_COMM: The file replication service cannot communicate with the file replication service on the domain controller. The event log may have more information."; code = 0x1F4B; break;
case 0x1F4C: desc = "FRS_ERR_PARENT_TO_CHILD_COMM: The file replication service on the domain controller cannot communicate with the file replication service on this computer. The event log may have more information."; code = 0x1F4C; break;
case 0x1F4D: desc = "FRS_ERR_SYSVOL_POPULATE: The file replication service cannot populate the system volume because of an internal error. The event log may have more information."; code = 0x1F4D; break;
case 0x1F4E: desc = "FRS_ERR_SYSVOL_POPULATE_TIMEOUT: The file replication service cannot populate the system volume because of an internal timeout. The event log may have more information."; code = 0x1F4E; break;
case 0x1F4F: desc = "FRS_ERR_SYSVOL_IS_BUSY: The file replication service cannot process the request. The system volume is busy with a previous request."; code = 0x1F4F; break;
case 0x1F50: desc = "FRS_ERR_SYSVOL_DEMOTE: The file replication service cannot stop replicating the system volume because of an internal error. The event log may have more information."; code = 0x1F50; break;
case 0x1F51: desc = "FRS_ERR_INVALID_SERVICE_PARAMETER: The file replication service detected an invalid parameter."; code = 0x1F51; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x2008 && rawError <= 0x2327)
{
switch(rawError)
{
case 0x2008: desc = "ERROR_DS_NOT_INSTALLED: An error occurred while installing the directory service. For more information, see the event log."; code = 0x2008; break;
case 0x2009: desc = "ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY: The directory service evaluated group memberships locally."; code = 0x2009; break;
case 0x200A: desc = "ERROR_DS_NO_ATTRIBUTE_OR_VALUE: The specified directory service attribute or value does not exist."; code = 0x200A; break;
case 0x200B: desc = "ERROR_DS_INVALID_ATTRIBUTE_SYNTAX: The attribute syntax specified to the directory service is invalid."; code = 0x200B; break;
case 0x200C: desc = "ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED: The attribute type specified to the directory service is not defined."; code = 0x200C; break;
case 0x200D: desc = "ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS: The specified directory service attribute or value already exists."; code = 0x200D; break;
case 0x200E: desc = "ERROR_DS_BUSY: The directory service is busy."; code = 0x200E; break;
case 0x200F: desc = "ERROR_DS_UNAVAILABLE: The directory service is unavailable."; code = 0x200F; break;
case 0x2010: desc = "ERROR_DS_NO_RIDS_ALLOCATED: The directory service was unable to allocate a relative identifier."; code = 0x2010; break;
case 0x2011: desc = "ERROR_DS_NO_MORE_RIDS: The directory service has exhausted the pool of relative identifiers."; code = 0x2011; break;
case 0x2012: desc = "ERROR_DS_INCORRECT_ROLE_OWNER: The requested operation could not be performed because the directory service is not the master for that type of operation."; code = 0x2012; break;
case 0x2013: desc = "ERROR_DS_RIDMGR_INIT_ERROR: The directory service was unable to initialize the subsystem that allocates relative identifiers."; code = 0x2013; break;
case 0x2014: desc = "ERROR_DS_OBJ_CLASS_VIOLATION: The requested operation did not satisfy one or more constraints associated with the class of the object."; code = 0x2014; break;
case 0x2015: desc = "ERROR_DS_CANT_ON_NON_LEAF: The directory service can perform the requested operation only on a leaf object."; code = 0x2015; break;
case 0x2016: desc = "ERROR_DS_CANT_ON_RDN: The directory service cannot perform the requested operation on the RDN attribute of an object."; code = 0x2016; break;
case 0x2017: desc = "ERROR_DS_CANT_MOD_OBJ_CLASS: The directory service detected an attempt to modify the object class of an object."; code = 0x2017; break;
case 0x2018: desc = "ERROR_DS_CROSS_DOM_MOVE_ERROR: The requested cross-domain move operation could not be performed."; code = 0x2018; break;
case 0x2019: desc = "ERROR_DS_GC_NOT_AVAILABLE: Unable to contact the global catalog server."; code = 0x2019; break;
case 0x201A: desc = "ERROR_SHARED_POLICY: The policy object is shared and can only be modified at the root."; code = 0x201A; break;
case 0x201B: desc = "ERROR_POLICY_OBJECT_NOT_FOUND: The policy object does not exist."; code = 0x201B; break;
case 0x201C: desc = "ERROR_POLICY_ONLY_IN_DS: The requested policy information is only in the directory service."; code = 0x201C; break;
case 0x201D: desc = "ERROR_PROMOTION_ACTIVE: A domain controller promotion is currently active."; code = 0x201D; break;
case 0x201E: desc = "ERROR_NO_PROMOTION_ACTIVE: A domain controller promotion is not currently active."; code = 0x201E; break;
case 0x2020: desc = "ERROR_DS_OPERATIONS_ERROR: An operations error occurred."; code = 0x2020; break;
case 0x2021: desc = "ERROR_DS_PROTOCOL_ERROR: A protocol error occurred."; code = 0x2021; break;
case 0x2022: desc = "ERROR_DS_TIMELIMIT_EXCEEDED: The time limit for this request was exceeded."; code = 0x2022; break;
case 0x2023: desc = "ERROR_DS_SIZELIMIT_EXCEEDED: The size limit for this request was exceeded."; code = 0x2023; break;
case 0x2024: desc = "ERROR_DS_ADMIN_LIMIT_EXCEEDED: The administrative limit for this request was exceeded."; code = 0x2024; break;
case 0x2025: desc = "ERROR_DS_COMPARE_FALSE: The compare response was false."; code = 0x2025; break;
case 0x2026: desc = "ERROR_DS_COMPARE_TRUE: The compare response was true."; code = 0x2026; break;
case 0x2027: desc = "ERROR_DS_AUTH_METHOD_NOT_SUPPORTED: The requested authentication method is not supported by the server."; code = 0x2027; break;
case 0x2028: desc = "ERROR_DS_STRONG_AUTH_REQUIRED: A more secure authentication method is required for this server."; code = 0x2028; break;
case 0x2029: desc = "ERROR_DS_INAPPROPRIATE_AUTH: Inappropriate authentication."; code = 0x2029; break;
case 0x202A: desc = "ERROR_DS_AUTH_UNKNOWN: The authentication mechanism is unknown."; code = 0x202A; break;
case 0x202B: desc = "ERROR_DS_REFERRAL: A referral was returned from the server."; code = 0x202B; break;
case 0x202C: desc = "ERROR_DS_UNAVAILABLE_CRIT_EXTENSION: The server does not support the requested critical extension."; code = 0x202C; break;
case 0x202D: desc = "ERROR_DS_CONFIDENTIALITY_REQUIRED: This request requires a secure connection."; code = 0x202D; break;
case 0x202E: desc = "ERROR_DS_INAPPROPRIATE_MATCHING: Inappropriate matching."; code = 0x202E; break;
case 0x202F: desc = "ERROR_DS_CONSTRAINT_VIOLATION: A constraint violation occurred."; code = 0x202F; break;
case 0x2030: desc = "ERROR_DS_NO_SUCH_OBJECT: There is no such object on the server."; code = 0x2030; break;
case 0x2031: desc = "ERROR_DS_ALIAS_PROBLEM: There is an alias problem."; code = 0x2031; break;
case 0x2032: desc = "ERROR_DS_INVALID_DN_SYNTAX: An invalid dn syntax has been specified."; code = 0x2032; break;
case 0x2033: desc = "ERROR_DS_IS_LEAF: The object is a leaf object."; code = 0x2033; break;
case 0x2034: desc = "ERROR_DS_ALIAS_DEREF_PROBLEM: There is an alias dereferencing problem."; code = 0x2034; break;
case 0x2035: desc = "ERROR_DS_UNWILLING_TO_PERFORM: The server is unwilling to process the request."; code = 0x2035; break;
case 0x2036: desc = "ERROR_DS_LOOP_DETECT: A loop has been detected."; code = 0x2036; break;
case 0x2037: desc = "ERROR_DS_NAMING_VIOLATION: There is a naming violation."; code = 0x2037; break;
case 0x2038: desc = "ERROR_DS_OBJECT_RESULTS_TOO_LARGE: The result set is too large."; code = 0x2038; break;
case 0x2039: desc = "ERROR_DS_AFFECTS_MULTIPLE_DSAS: The operation affects multiple DSAs."; code = 0x2039; break;
case 0x203A: desc = "ERROR_DS_SERVER_DOWN: The server is not operational."; code = 0x203A; break;
case 0x203B: desc = "ERROR_DS_LOCAL_ERROR: A local error has occurred."; code = 0x203B; break;
case 0x203C: desc = "ERROR_DS_ENCODING_ERROR: An encoding error has occurred."; code = 0x203C; break;
case 0x203D: desc = "ERROR_DS_DECODING_ERROR: A decoding error has occurred."; code = 0x203D; break;
case 0x203E: desc = "ERROR_DS_FILTER_UNKNOWN: The search filter cannot be recognized."; code = 0x203E; break;
case 0x203F: desc = "ERROR_DS_PARAM_ERROR: One or more parameters are illegal."; code = 0x203F; break;
case 0x2040: desc = "ERROR_DS_NOT_SUPPORTED: The specified method is not supported."; code = 0x2040; break;
case 0x2041: desc = "ERROR_DS_NO_RESULTS_RETURNED: No results were returned."; code = 0x2041; break;
case 0x2042: desc = "ERROR_DS_CONTROL_NOT_FOUND: The specified control is not supported by the server."; code = 0x2042; break;
case 0x2043: desc = "ERROR_DS_CLIENT_LOOP: A referral loop was detected by the client."; code = 0x2043; break;
case 0x2044: desc = "ERROR_DS_REFERRAL_LIMIT_EXCEEDED: The preset referral limit was exceeded."; code = 0x2044; break;
case 0x2045: desc = "ERROR_DS_SORT_CONTROL_MISSING: The search requires a SORT control."; code = 0x2045; break;
case 0x2046: desc = "ERROR_DS_OFFSET_RANGE_ERROR: The search results exceed the offset range specified."; code = 0x2046; break;
case 0x2047: desc = "ERROR_DS_RIDMGR_DISABLED: The directory service detected the subsystem that allocates relative identifiers is disabled. This can occur as a protective mechanism when the system determines a significant portion of relative identifiers (RIDs) have been exhausted. Please see http://go.microsoft.com/fwlink/p/?linkid=228610 for recommended diagnostic steps and the procedure to re-enable account creation."; code = 0x2047; break;
case 0x206D: desc = "ERROR_DS_ROOT_MUST_BE_NC: The root object must be the head of a naming context. The root object cannot have an instantiated parent."; code = 0x206D; break;
case 0x206E: desc = "ERROR_DS_ADD_REPLICA_INHIBITED: The add replica operation cannot be performed. The naming context must be writeable in order to create the replica."; code = 0x206E; break;
case 0x206F: desc = "ERROR_DS_ATT_NOT_DEF_IN_SCHEMA: A reference to an attribute that is not defined in the schema occurred."; code = 0x206F; break;
case 0x2070: desc = "ERROR_DS_MAX_OBJ_SIZE_EXCEEDED: The maximum size of an object has been exceeded."; code = 0x2070; break;
case 0x2071: desc = "ERROR_DS_OBJ_STRING_NAME_EXISTS: An attempt was made to add an object to the directory with a name that is already in use."; code = 0x2071; break;
case 0x2072: desc = "ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA: An attempt was made to add an object of a class that does not have an RDN defined in the schema."; code = 0x2072; break;
case 0x2073: desc = "ERROR_DS_RDN_DOESNT_MATCH_SCHEMA: An attempt was made to add an object using an RDN that is not the RDN defined in the schema."; code = 0x2073; break;
case 0x2074: desc = "ERROR_DS_NO_REQUESTED_ATTS_FOUND: None of the requested attributes were found on the objects."; code = 0x2074; break;
case 0x2075: desc = "ERROR_DS_USER_BUFFER_TO_SMALL: The user buffer is too small."; code = 0x2075; break;
case 0x2076: desc = "ERROR_DS_ATT_IS_NOT_ON_OBJ: The attribute specified in the operation is not present on the object."; code = 0x2076; break;
case 0x2077: desc = "ERROR_DS_ILLEGAL_MOD_OPERATION: Illegal modify operation. Some aspect of the modification is not permitted."; code = 0x2077; break;
case 0x2078: desc = "ERROR_DS_OBJ_TOO_LARGE: The specified object is too large."; code = 0x2078; break;
case 0x2079: desc = "ERROR_DS_BAD_INSTANCE_TYPE: The specified instance type is not valid."; code = 0x2079; break;
case 0x207A: desc = "ERROR_DS_MASTERDSA_REQUIRED: The operation must be performed at a master DSA."; code = 0x207A; break;
case 0x207B: desc = "ERROR_DS_OBJECT_CLASS_REQUIRED: The object class attribute must be specified."; code = 0x207B; break;
case 0x207C: desc = "ERROR_DS_MISSING_REQUIRED_ATT: A required attribute is missing."; code = 0x207C; break;
case 0x207D: desc = "ERROR_DS_ATT_NOT_DEF_FOR_CLASS: An attempt was made to modify an object to include an attribute that is not legal for its class."; code = 0x207D; break;
case 0x207E: desc = "ERROR_DS_ATT_ALREADY_EXISTS: The specified attribute is already present on the object."; code = 0x207E; break;
case 0x2080: desc = "ERROR_DS_CANT_ADD_ATT_VALUES: The specified attribute is not present, or has no values."; code = 0x2080; break;
case 0x2081: desc = "ERROR_DS_SINGLE_VALUE_CONSTRAINT: Multiple values were specified for an attribute that can have only one value."; code = 0x2081; break;
case 0x2082: desc = "ERROR_DS_RANGE_CONSTRAINT: A value for the attribute was not in the acceptable range of values."; code = 0x2082; break;
case 0x2083: desc = "ERROR_DS_ATT_VAL_ALREADY_EXISTS: The specified value already exists."; code = 0x2083; break;
case 0x2084: desc = "ERROR_DS_CANT_REM_MISSING_ATT: The attribute cannot be removed because it is not present on the object."; code = 0x2084; break;
case 0x2085: desc = "ERROR_DS_CANT_REM_MISSING_ATT_VAL: The attribute value cannot be removed because it is not present on the object."; code = 0x2085; break;
case 0x2086: desc = "ERROR_DS_ROOT_CANT_BE_SUBREF: The specified root object cannot be a subref."; code = 0x2086; break;
case 0x2087: desc = "ERROR_DS_NO_CHAINING: Chaining is not permitted."; code = 0x2087; break;
case 0x2088: desc = "ERROR_DS_NO_CHAINED_EVAL: Chained evaluation is not permitted."; code = 0x2088; break;
case 0x2089: desc = "ERROR_DS_NO_PARENT_OBJECT: The operation could not be performed because the object's parent is either uninstantiated or deleted."; code = 0x2089; break;
case 0x208A: desc = "ERROR_DS_PARENT_IS_AN_ALIAS: Having a parent that is an alias is not permitted. Aliases are leaf objects."; code = 0x208A; break;
case 0x208B: desc = "ERROR_DS_CANT_MIX_MASTER_AND_REPS: The object and parent must be of the same type, either both masters or both replicas."; code = 0x208B; break;
case 0x208C: desc = "ERROR_DS_CHILDREN_EXIST: The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object."; code = 0x208C; break;
case 0x208D: desc = "ERROR_DS_OBJ_NOT_FOUND: Directory object not found."; code = 0x208D; break;
case 0x208E: desc = "ERROR_DS_ALIASED_OBJ_MISSING: The aliased object is missing."; code = 0x208E; break;
case 0x208F: desc = "ERROR_DS_BAD_NAME_SYNTAX: The object name has bad syntax."; code = 0x208F; break;
case 0x2090: desc = "ERROR_DS_ALIAS_POINTS_TO_ALIAS: It is not permitted for an alias to refer to another alias."; code = 0x2090; break;
case 0x2091: desc = "ERROR_DS_CANT_DEREF_ALIAS: The alias cannot be dereferenced."; code = 0x2091; break;
case 0x2092: desc = "ERROR_DS_OUT_OF_SCOPE: The operation is out of scope."; code = 0x2092; break;
case 0x2093: desc = "ERROR_DS_OBJECT_BEING_REMOVED: The operation cannot continue because the object is in the process of being removed."; code = 0x2093; break;
case 0x2094: desc = "ERROR_DS_CANT_DELETE_DSA_OBJ: The DSA object cannot be deleted."; code = 0x2094; break;
case 0x2095: desc = "ERROR_DS_GENERIC_ERROR: A directory service error has occurred."; code = 0x2095; break;
case 0x2096: desc = "ERROR_DS_DSA_MUST_BE_INT_MASTER: The operation can only be performed on an internal master DSA object."; code = 0x2096; break;
case 0x2097: desc = "ERROR_DS_CLASS_NOT_DSA: The object must be of class DSA."; code = 0x2097; break;
case 0x2098: desc = "ERROR_DS_INSUFF_ACCESS_RIGHTS: Insufficient access rights to perform the operation."; code = 0x2098; break;
case 0x2099: desc = "ERROR_DS_ILLEGAL_SUPERIOR: The object cannot be added because the parent is not on the list of possible superiors."; code = 0x2099; break;
case 0x209A: desc = "ERROR_DS_ATTRIBUTE_OWNED_BY_SAM: Access to the attribute is not permitted because the attribute is owned by the Security Accounts Manager (SAM)."; code = 0x209A; break;
case 0x209B: desc = "ERROR_DS_NAME_TOO_MANY_PARTS: The name has too many parts."; code = 0x209B; break;
case 0x209C: desc = "ERROR_DS_NAME_TOO_LONG: The name is too long."; code = 0x209C; break;
case 0x209D: desc = "ERROR_DS_NAME_VALUE_TOO_LONG: The name value is too long."; code = 0x209D; break;
case 0x209E: desc = "ERROR_DS_NAME_UNPARSEABLE: The directory service encountered an error parsing a name."; code = 0x209E; break;
case 0x209F: desc = "ERROR_DS_NAME_TYPE_UNKNOWN: The directory service cannot get the attribute type for a name."; code = 0x209F; break;
case 0x20A0: desc = "ERROR_DS_NOT_AN_OBJECT: The name does not identify an object; the name identifies a phantom."; code = 0x20A0; break;
case 0x20A1: desc = "ERROR_DS_SEC_DESC_TOO_SHORT: The security descriptor is too short."; code = 0x20A1; break;
case 0x20A2: desc = "ERROR_DS_SEC_DESC_INVALID: The security descriptor is invalid."; code = 0x20A2; break;
case 0x20A3: desc = "ERROR_DS_NO_DELETED_NAME: Failed to create name for deleted object."; code = 0x20A3; break;
case 0x20A4: desc = "ERROR_DS_SUBREF_MUST_HAVE_PARENT: The parent of a new subref must exist."; code = 0x20A4; break;
case 0x20A5: desc = "ERROR_DS_NCNAME_MUST_BE_NC: The object must be a naming context."; code = 0x20A5; break;
case 0x20A6: desc = "ERROR_DS_CANT_ADD_SYSTEM_ONLY: It is not permitted to add an attribute which is owned by the system."; code = 0x20A6; break;
case 0x20A7: desc = "ERROR_DS_CLASS_MUST_BE_CONCRETE: The class of the object must be structural; you cannot instantiate an abstract class."; code = 0x20A7; break;
case 0x20A8: desc = "ERROR_DS_INVALID_DMD: The schema object could not be found."; code = 0x20A8; break;
case 0x20A9: desc = "ERROR_DS_OBJ_GUID_EXISTS: A local object with this GUID (dead or alive) already exists."; code = 0x20A9; break;
case 0x20AA: desc = "ERROR_DS_NOT_ON_BACKLINK: The operation cannot be performed on a back link."; code = 0x20AA; break;
case 0x20AB: desc = "ERROR_DS_NO_CROSSREF_FOR_NC: The cross reference for the specified naming context could not be found."; code = 0x20AB; break;
case 0x20AC: desc = "ERROR_DS_SHUTTING_DOWN: The operation could not be performed because the directory service is shutting down."; code = 0x20AC; break;
case 0x20AD: desc = "ERROR_DS_UNKNOWN_OPERATION: The directory service request is invalid."; code = 0x20AD; break;
case 0x20AE: desc = "ERROR_DS_INVALID_ROLE_OWNER: The role owner attribute could not be read."; code = 0x20AE; break;
case 0x20AF: desc = "ERROR_DS_COULDNT_CONTACT_FSMO: The requested FSMO operation failed. The current FSMO holder could not be contacted."; code = 0x20AF; break;
case 0x20B0: desc = "ERROR_DS_CROSS_NC_DN_RENAME: Modification of a DN across a naming context is not permitted."; code = 0x20B0; break;
case 0x20B1: desc = "ERROR_DS_CANT_MOD_SYSTEM_ONLY: The attribute cannot be modified because it is owned by the system."; code = 0x20B1; break;
case 0x20B2: desc = "ERROR_DS_REPLICATOR_ONLY: Only the replicator can perform this function."; code = 0x20B2; break;
case 0x20B3: desc = "ERROR_DS_OBJ_CLASS_NOT_DEFINED: The specified class is not defined."; code = 0x20B3; break;
case 0x20B4: desc = "ERROR_DS_OBJ_CLASS_NOT_SUBCLASS: The specified class is not a subclass."; code = 0x20B4; break;
case 0x20B5: desc = "ERROR_DS_NAME_REFERENCE_INVALID: The name reference is invalid."; code = 0x20B5; break;
case 0x20B6: desc = "ERROR_DS_CROSS_REF_EXISTS: A cross reference already exists."; code = 0x20B6; break;
case 0x20B7: desc = "ERROR_DS_CANT_DEL_MASTER_CROSSREF: It is not permitted to delete a master cross reference."; code = 0x20B7; break;
case 0x20B8: desc = "ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD: Subtree notifications are only supported on NC heads."; code = 0x20B8; break;
case 0x20B9: desc = "ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX: Notification filter is too complex."; code = 0x20B9; break;
case 0x20BA: desc = "ERROR_DS_DUP_RDN: Schema update failed: duplicate RDN."; code = 0x20BA; break;
case 0x20BB: desc = "ERROR_DS_DUP_OID: Schema update failed: duplicate OID."; code = 0x20BB; break;
case 0x20BC: desc = "ERROR_DS_DUP_MAPI_ID: Schema update failed: duplicate MAPI identifier."; code = 0x20BC; break;
case 0x20BD: desc = "ERROR_DS_DUP_SCHEMA_ID_GUID: Schema update failed: duplicate schema-id GUID."; code = 0x20BD; break;
case 0x20BE: desc = "ERROR_DS_DUP_LDAP_DISPLAY_NAME: Schema update failed: duplicate LDAP display name."; code = 0x20BE; break;
case 0x20BF: desc = "ERROR_DS_SEMANTIC_ATT_TEST: Schema update failed: range-lower less than range upper."; code = 0x20BF; break;
case 0x20C0: desc = "ERROR_DS_SYNTAX_MISMATCH: Schema update failed: syntax mismatch."; code = 0x20C0; break;
case 0x20C1: desc = "ERROR_DS_EXISTS_IN_MUST_HAVE: Schema deletion failed: attribute is used in must-contain."; code = 0x20C1; break;
case 0x20C2: desc = "ERROR_DS_EXISTS_IN_MAY_HAVE: Schema deletion failed: attribute is used in may-contain."; code = 0x20C2; break;
case 0x20C3: desc = "ERROR_DS_NONEXISTENT_MAY_HAVE: Schema update failed: attribute in may-contain does not exist."; code = 0x20C3; break;
case 0x20C4: desc = "ERROR_DS_NONEXISTENT_MUST_HAVE: Schema update failed: attribute in must-contain does not exist."; code = 0x20C4; break;
case 0x20C5: desc = "ERROR_DS_AUX_CLS_TEST_FAIL: Schema update failed: class in aux-class list does not exist or is not an auxiliary class."; code = 0x20C5; break;
case 0x20C6: desc = "ERROR_DS_NONEXISTENT_POSS_SUP: Schema update failed: class in poss-superiors does not exist."; code = 0x20C6; break;
case 0x20C7: desc = "ERROR_DS_SUB_CLS_TEST_FAIL: Schema update failed: class in subclassof list does not exist or does not satisfy hierarchy rules."; code = 0x20C7; break;
case 0x20C8: desc = "ERROR_DS_BAD_RDN_ATT_ID_SYNTAX: Schema update failed: Rdn-Att-Id has wrong syntax."; code = 0x20C8; break;
case 0x20C9: desc = "ERROR_DS_EXISTS_IN_AUX_CLS: Schema deletion failed: class is used as auxiliary class."; code = 0x20C9; break;
case 0x20CA: desc = "ERROR_DS_EXISTS_IN_SUB_CLS: Schema deletion failed: class is used as sub class."; code = 0x20CA; break;
case 0x20CB: desc = "ERROR_DS_EXISTS_IN_POSS_SUP: Schema deletion failed: class is used as poss superior."; code = 0x20CB; break;
case 0x20CC: desc = "ERROR_DS_RECALCSCHEMA_FAILED: Schema update failed in recalculating validation cache."; code = 0x20CC; break;
case 0x20CD: desc = "ERROR_DS_TREE_DELETE_NOT_FINISHED: The tree deletion is not finished. The request must be made again to continue deleting the tree."; code = 0x20CD; break;
case 0x20CE: desc = "ERROR_DS_CANT_DELETE: The requested delete operation could not be performed."; code = 0x20CE; break;
case 0x20CF: desc = "ERROR_DS_ATT_SCHEMA_REQ_ID: Cannot read the governs class identifier for the schema record."; code = 0x20CF; break;
case 0x20D0: desc = "ERROR_DS_BAD_ATT_SCHEMA_SYNTAX: The attribute schema has bad syntax."; code = 0x20D0; break;
case 0x20D1: desc = "ERROR_DS_CANT_CACHE_ATT: The attribute could not be cached."; code = 0x20D1; break;
case 0x20D2: desc = "ERROR_DS_CANT_CACHE_CLASS: The class could not be cached."; code = 0x20D2; break;
case 0x20D3: desc = "ERROR_DS_CANT_REMOVE_ATT_CACHE: The attribute could not be removed from the cache."; code = 0x20D3; break;
case 0x20D4: desc = "ERROR_DS_CANT_REMOVE_CLASS_CACHE: The class could not be removed from the cache."; code = 0x20D4; break;
case 0x20D5: desc = "ERROR_DS_CANT_RETRIEVE_DN: The distinguished name attribute could not be read."; code = 0x20D5; break;
case 0x20D6: desc = "ERROR_DS_MISSING_SUPREF: No superior reference has been configured for the directory service. The directory service is therefore unable to issue referrals to objects outside this forest."; code = 0x20D6; break;
case 0x20D7: desc = "ERROR_DS_CANT_RETRIEVE_INSTANCE: The instance type attribute could not be retrieved."; code = 0x20D7; break;
case 0x20D8: desc = "ERROR_DS_CODE_INCONSISTENCY: An internal error has occurred."; code = 0x20D8; break;
case 0x20D9: desc = "ERROR_DS_DATABASE_ERROR: A database error has occurred."; code = 0x20D9; break;
case 0x20DA: desc = "ERROR_DS_GOVERNSID_MISSING: The attribute GOVERNSID is missing."; code = 0x20DA; break;
case 0x20DB: desc = "ERROR_DS_MISSING_EXPECTED_ATT: An expected attribute is missing."; code = 0x20DB; break;
case 0x20DC: desc = "ERROR_DS_NCNAME_MISSING_CR_REF: The specified naming context is missing a cross reference."; code = 0x20DC; break;
case 0x20DD: desc = "ERROR_DS_SECURITY_CHECKING_ERROR: A security checking error has occurred."; code = 0x20DD; break;
case 0x20DE: desc = "ERROR_DS_SCHEMA_NOT_LOADED: The schema is not loaded."; code = 0x20DE; break;
case 0x20DF: desc = "ERROR_DS_SCHEMA_ALLOC_FAILED: Schema allocation failed. Please check if the machine is running low on memory."; code = 0x20DF; break;
case 0x20E0: desc = "ERROR_DS_ATT_SCHEMA_REQ_SYNTAX: Failed to obtain the required syntax for the attribute schema."; code = 0x20E0; break;
case 0x20E1: desc = "ERROR_DS_GCVERIFY_ERROR: The global catalog verification failed. The global catalog is not available or does not support the operation. Some part of the directory is currently not available."; code = 0x20E1; break;
case 0x20E2: desc = "ERROR_DS_DRA_SCHEMA_MISMATCH: The replication operation failed because of a schema mismatch between the servers involved."; code = 0x20E2; break;
case 0x20E3: desc = "ERROR_DS_CANT_FIND_DSA_OBJ: The DSA object could not be found."; code = 0x20E3; break;
case 0x20E4: desc = "ERROR_DS_CANT_FIND_EXPECTED_NC: The naming context could not be found."; code = 0x20E4; break;
case 0x20E5: desc = "ERROR_DS_CANT_FIND_NC_IN_CACHE: The naming context could not be found in the cache."; code = 0x20E5; break;
case 0x20E6: desc = "ERROR_DS_CANT_RETRIEVE_CHILD: The child object could not be retrieved."; code = 0x20E6; break;
case 0x20E7: desc = "ERROR_DS_SECURITY_ILLEGAL_MODIFY: The modification was not permitted for security reasons."; code = 0x20E7; break;
case 0x20E8: desc = "ERROR_DS_CANT_REPLACE_HIDDEN_REC: The operation cannot replace the hidden record."; code = 0x20E8; break;
case 0x20E9: desc = "ERROR_DS_BAD_HIERARCHY_FILE: The hierarchy file is invalid."; code = 0x20E9; break;
case 0x20EA: desc = "ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED: The attempt to build the hierarchy table failed."; code = 0x20EA; break;
case 0x20EB: desc = "ERROR_DS_CONFIG_PARAM_MISSING: The directory configuration parameter is missing from the registry."; code = 0x20EB; break;
case 0x20EC: desc = "ERROR_DS_COUNTING_AB_INDICES_FAILED: The attempt to count the address book indices failed."; code = 0x20EC; break;
case 0x20ED: desc = "ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED: The allocation of the hierarchy table failed."; code = 0x20ED; break;
case 0x20EE: desc = "ERROR_DS_INTERNAL_FAILURE: The directory service encountered an internal failure."; code = 0x20EE; break;
case 0x20EF: desc = "ERROR_DS_UNKNOWN_ERROR: The directory service encountered an unknown failure."; code = 0x20EF; break;
case 0x20F0: desc = "ERROR_DS_ROOT_REQUIRES_CLASS_TOP: A root object requires a class of 'top'."; code = 0x20F0; break;
case 0x20F1: desc = "ERROR_DS_REFUSING_FSMO_ROLES: This directory server is shutting down, and cannot take ownership of new floating single-master operation roles."; code = 0x20F1; break;
case 0x20F2: desc = "ERROR_DS_MISSING_FSMO_SETTINGS: The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles."; code = 0x20F2; break;
case 0x20F3: desc = "ERROR_DS_UNABLE_TO_SURRENDER_ROLES: The directory service was unable to transfer ownership of one or more floating single-master operation roles to other servers."; code = 0x20F3; break;
case 0x20F4: desc = "ERROR_DS_DRA_GENERIC: The replication operation failed."; code = 0x20F4; break;
case 0x20F5: desc = "ERROR_DS_DRA_INVALID_PARAMETER: An invalid parameter was specified for this replication operation."; code = 0x20F5; break;
case 0x20F6: desc = "ERROR_DS_DRA_BUSY: The directory service is too busy to complete the replication operation at this time."; code = 0x20F6; break;
case 0x20F7: desc = "ERROR_DS_DRA_BAD_DN: The distinguished name specified for this replication operation is invalid."; code = 0x20F7; break;
case 0x20F8: desc = "ERROR_DS_DRA_BAD_NC: The naming context specified for this replication operation is invalid."; code = 0x20F8; break;
case 0x20F9: desc = "ERROR_DS_DRA_DN_EXISTS: The distinguished name specified for this replication operation already exists."; code = 0x20F9; break;
case 0x20FA: desc = "ERROR_DS_DRA_INTERNAL_ERROR: The replication system encountered an internal error."; code = 0x20FA; break;
case 0x20FB: desc = "ERROR_DS_DRA_INCONSISTENT_DIT: The replication operation encountered a database inconsistency."; code = 0x20FB; break;
case 0x20FC: desc = "ERROR_DS_DRA_CONNECTION_FAILED: The server specified for this replication operation could not be contacted."; code = 0x20FC; break;
case 0x20FD: desc = "ERROR_DS_DRA_BAD_INSTANCE_TYPE: The replication operation encountered an object with an invalid instance type."; code = 0x20FD; break;
case 0x20FE: desc = "ERROR_DS_DRA_OUT_OF_MEM: The replication operation failed to allocate memory."; code = 0x20FE; break;
case 0x20FF: desc = "ERROR_DS_DRA_MAIL_PROBLEM: The replication operation encountered an error with the mail system."; code = 0x20FF; break;
case 0x2100: desc = "ERROR_DS_DRA_REF_ALREADY_EXISTS: The replication reference information for the target server already exists."; code = 0x2100; break;
case 0x2101: desc = "ERROR_DS_DRA_REF_NOT_FOUND: The replication reference information for the target server does not exist."; code = 0x2101; break;
case 0x2102: desc = "ERROR_DS_DRA_OBJ_IS_REP_SOURCE: The naming context cannot be removed because it is replicated to another server."; code = 0x2102; break;
case 0x2103: desc = "ERROR_DS_DRA_DB_ERROR: The replication operation encountered a database error."; code = 0x2103; break;
case 0x2104: desc = "ERROR_DS_DRA_NO_REPLICA: The naming context is in the process of being removed or is not replicated from the specified server."; code = 0x2104; break;
case 0x2105: desc = "ERROR_DS_DRA_ACCESS_DENIED: Replication access was denied."; code = 0x2105; break;
case 0x2106: desc = "ERROR_DS_DRA_NOT_SUPPORTED: The requested operation is not supported by this version of the directory service."; code = 0x2106; break;
case 0x2107: desc = "ERROR_DS_DRA_RPC_CANCELLED: The replication remote procedure call was cancelled."; code = 0x2107; break;
case 0x2108: desc = "ERROR_DS_DRA_SOURCE_DISABLED: The source server is currently rejecting replication requests."; code = 0x2108; break;
case 0x2109: desc = "ERROR_DS_DRA_SINK_DISABLED: The destination server is currently rejecting replication requests."; code = 0x2109; break;
case 0x210A: desc = "ERROR_DS_DRA_NAME_COLLISION: The replication operation failed due to a collision of object names."; code = 0x210A; break;
case 0x210B: desc = "ERROR_DS_DRA_SOURCE_REINSTALLED: The replication source has been reinstalled."; code = 0x210B; break;
case 0x210C: desc = "ERROR_DS_DRA_MISSING_PARENT: The replication operation failed because a required parent object is missing."; code = 0x210C; break;
case 0x210D: desc = "ERROR_DS_DRA_PREEMPTED: The replication operation was preempted."; code = 0x210D; break;
case 0x210E: desc = "ERROR_DS_DRA_ABANDON_SYNC: The replication synchronization attempt was abandoned because of a lack of updates."; code = 0x210E; break;
case 0x210F: desc = "ERROR_DS_DRA_SHUTDOWN: The replication operation was terminated because the system is shutting down."; code = 0x210F; break;
case 0x2110: desc = "ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET: Synchronization attempt failed because the destination DC is currently waiting to synchronize new partial attributes from source. This condition is normal if a recent schema change modified the partial attribute set. The destination partial attribute set is not a subset of source partial attribute set."; code = 0x2110; break;
case 0x2111: desc = "ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA: The replication synchronization attempt failed because a master replica attempted to sync from a partial replica."; code = 0x2111; break;
case 0x2112: desc = "ERROR_DS_DRA_EXTN_CONNECTION_FAILED: The server specified for this replication operation was contacted, but that server was unable to contact an additional server needed to complete the operation."; code = 0x2112; break;
case 0x2113: desc = "ERROR_DS_INSTALL_SCHEMA_MISMATCH: The version of the directory service schema of the source forest is not compatible with the version of directory service on this computer."; code = 0x2113; break;
case 0x2114: desc = "ERROR_DS_DUP_LINK_ID: Schema update failed: An attribute with the same link identifier already exists."; code = 0x2114; break;
case 0x2115: desc = "ERROR_DS_NAME_ERROR_RESOLVING: Name translation: Generic processing error."; code = 0x2115; break;
case 0x2116: desc = "ERROR_DS_NAME_ERROR_NOT_FOUND: Name translation: Could not find the name or insufficient right to see name."; code = 0x2116; break;
case 0x2117: desc = "ERROR_DS_NAME_ERROR_NOT_UNIQUE: Name translation: Input name mapped to more than one output name."; code = 0x2117; break;
case 0x2118: desc = "ERROR_DS_NAME_ERROR_NO_MAPPING: Name translation: Input name found, but not the associated output format."; code = 0x2118; break;
case 0x2119: desc = "ERROR_DS_NAME_ERROR_DOMAIN_ONLY: Name translation: Unable to resolve completely, only the domain was found."; code = 0x2119; break;
case 0x211A: desc = "ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING: Name translation: Unable to perform purely syntactical mapping at the client without going out to the wire."; code = 0x211A; break;
case 0x211B: desc = "ERROR_DS_CONSTRUCTED_ATT_MOD: Modification of a constructed attribute is not allowed."; code = 0x211B; break;
case 0x211C: desc = "ERROR_DS_WRONG_OM_OBJ_CLASS: The OM-Object-Class specified is incorrect for an attribute with the specified syntax."; code = 0x211C; break;
case 0x211D: desc = "ERROR_DS_DRA_REPL_PENDING: The replication request has been posted; waiting for reply."; code = 0x211D; break;
case 0x211E: desc = "ERROR_DS_DS_REQUIRED: The requested operation requires a directory service, and none was available."; code = 0x211E; break;
case 0x211F: desc = "ERROR_DS_INVALID_LDAP_DISPLAY_NAME: The LDAP display name of the class or attribute contains non-ASCII characters."; code = 0x211F; break;
case 0x2120: desc = "ERROR_DS_NON_BASE_SEARCH: The requested search operation is only supported for base searches."; code = 0x2120; break;
case 0x2121: desc = "ERROR_DS_CANT_RETRIEVE_ATTS: The search failed to retrieve attributes from the database."; code = 0x2121; break;
case 0x2122: desc = "ERROR_DS_BACKLINK_WITHOUT_LINK: The schema update operation tried to add a backward link attribute that has no corresponding forward link."; code = 0x2122; break;
case 0x2123: desc = "ERROR_DS_EPOCH_MISMATCH: Source and destination of a cross-domain move do not agree on the object's epoch number. Either source or destination does not have the latest version of the object."; code = 0x2123; break;
case 0x2124: desc = "ERROR_DS_SRC_NAME_MISMATCH: Source and destination of a cross-domain move do not agree on the object's current name. Either source or destination does not have the latest version of the object."; code = 0x2124; break;
case 0x2125: desc = "ERROR_DS_SRC_AND_DST_NC_IDENTICAL: Source and destination for the cross-domain move operation are identical. Caller should use local move operation instead of cross-domain move operation."; code = 0x2125; break;
case 0x2126: desc = "ERROR_DS_DST_NC_MISMATCH: Source and destination for a cross-domain move are not in agreement on the naming contexts in the forest. Either source or destination does not have the latest version of the Partitions container."; code = 0x2126; break;
case 0x2127: desc = "ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC: Destination of a cross-domain move is not authoritative for the destination naming context."; code = 0x2127; break;
case 0x2128: desc = "ERROR_DS_SRC_GUID_MISMATCH: Source and destination of a cross-domain move do not agree on the identity of the source object. Either source or destination does not have the latest version of the source object."; code = 0x2128; break;
case 0x2129: desc = "ERROR_DS_CANT_MOVE_DELETED_OBJECT: Object being moved across-domains is already known to be deleted by the destination server. The source server does not have the latest version of the source object."; code = 0x2129; break;
case 0x212A: desc = "ERROR_DS_PDC_OPERATION_IN_PROGRESS: Another operation which requires exclusive access to the PDC FSMO is already in progress."; code = 0x212A; break;
case 0x212B: desc = "ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD: A cross-domain move operation failed such that two versions of the moved object exist - one each in the source and destination domains. The destination object needs to be removed to restore the system to a consistent state."; code = 0x212B; break;
case 0x212C: desc = "ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION: This object may not be moved across domain boundaries either because cross-domain moves for this class are disallowed, or the object has some special characteristics, e.g.: trust account or restricted RID, which prevent its move."; code = 0x212C; break;
case 0x212D: desc = "ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS: Can't move objects with memberships across domain boundaries as once moved, this would violate the membership conditions of the account group. Remove the object from any account group memberships and retry."; code = 0x212D; break;
case 0x212E: desc = "ERROR_DS_NC_MUST_HAVE_NC_PARENT: A naming context head must be the immediate child of another naming context head, not of an interior node."; code = 0x212E; break;
case 0x212F: desc = "ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE: The directory cannot validate the proposed naming context name because it does not hold a replica of the naming context above the proposed naming context. Please ensure that the domain naming master role is held by a server that is configured as a global catalog server, and that the server is up to date with its replication partners. (Applies only to Windows 2000 Domain Naming masters.)"; code = 0x212F; break;
case 0x2130: desc = "ERROR_DS_DST_DOMAIN_NOT_NATIVE: Destination domain must be in native mode."; code = 0x2130; break;
case 0x2131: desc = "ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER: The operation cannot be performed because the server does not have an infrastructure container in the domain of interest."; code = 0x2131; break;
case 0x2132: desc = "ERROR_DS_CANT_MOVE_ACCOUNT_GROUP: Cross-domain move of non-empty account groups is not allowed."; code = 0x2132; break;
case 0x2133: desc = "ERROR_DS_CANT_MOVE_RESOURCE_GROUP: Cross-domain move of non-empty resource groups is not allowed."; code = 0x2133; break;
case 0x2134: desc = "ERROR_DS_INVALID_SEARCH_FLAG: The search flags for the attribute are invalid. The ANR bit is valid only on attributes of Unicode or Teletex strings."; code = 0x2134; break;
case 0x2135: desc = "ERROR_DS_NO_TREE_DELETE_ABOVE_NC: Tree deletions starting at an object which has an NC head as a descendant are not allowed."; code = 0x2135; break;
case 0x2136: desc = "ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE: The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use."; code = 0x2136; break;
case 0x2137: desc = "ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE: The directory service failed to identify the list of objects to delete while attempting a tree deletion."; code = 0x2137; break;
case 0x2138: desc = "ERROR_DS_SAM_INIT_FAILURE: Security Accounts Manager initialization failed because of the following error: %1. Error Status: 0x%2. Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information."; code = 0x2138; break;
case 0x2139: desc = "ERROR_DS_SENSITIVE_GROUP_VIOLATION: Only an administrator can modify the membership list of an administrative group."; code = 0x2139; break;
case 0x213A: desc = "ERROR_DS_CANT_MOD_PRIMARYGROUPID: Cannot change the primary group ID of a domain controller account."; code = 0x213A; break;
case 0x213B: desc = "ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD: An attempt is made to modify the base schema."; code = 0x213B; break;
case 0x213C: desc = "ERROR_DS_NONSAFE_SCHEMA_CHANGE: Adding a new mandatory attribute to an existing class, deleting a mandatory attribute from an existing class, or adding an optional attribute to the special class Top that is not a backlink attribute (directly or through inheritance, for example, by adding or deleting an auxiliary class) is not allowed."; code = 0x213C; break;
case 0x213D: desc = "ERROR_DS_SCHEMA_UPDATE_DISALLOWED: Schema update is not allowed on this DC because the DC is not the schema FSMO Role Owner."; code = 0x213D; break;
case 0x213E: desc = "ERROR_DS_CANT_CREATE_UNDER_SCHEMA: An object of this class cannot be created under the schema container. You can only create attribute-schema and class-schema objects under the schema container."; code = 0x213E; break;
case 0x213F: desc = "ERROR_DS_INSTALL_NO_SRC_SCH_VERSION: The replica/child install failed to get the objectVersion attribute on the schema container on the source DC. Either the attribute is missing on the schema container or the credentials supplied do not have permission to read it."; code = 0x213F; break;
case 0x2140: desc = "ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE: The replica/child install failed to read the objectVersion attribute in the SCHEMA section of the file schema.ini in the system32 directory."; code = 0x2140; break;
case 0x2141: desc = "ERROR_DS_INVALID_GROUP_TYPE: The specified group type is invalid."; code = 0x2141; break;
case 0x2142: desc = "ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN: You cannot nest global groups in a mixed domain if the group is security-enabled."; code = 0x2142; break;
case 0x2143: desc = "ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN: You cannot nest local groups in a mixed domain if the group is security-enabled."; code = 0x2143; break;
case 0x2144: desc = "ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER: A global group cannot have a local group as a member."; code = 0x2144; break;
case 0x2145: desc = "ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER: A global group cannot have a universal group as a member."; code = 0x2145; break;
case 0x2146: desc = "ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER: A universal group cannot have a local group as a member."; code = 0x2146; break;
case 0x2147: desc = "ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER: A global group cannot have a cross-domain member."; code = 0x2147; break;
case 0x2148: desc = "ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER: A local group cannot have another cross domain local group as a member."; code = 0x2148; break;
case 0x2149: desc = "ERROR_DS_HAVE_PRIMARY_MEMBERS: A group with primary members cannot change to a security-disabled group."; code = 0x2149; break;
case 0x214A: desc = "ERROR_DS_STRING_SD_CONVERSION_FAILED: The schema cache load failed to convert the string default SD on a class-schema object."; code = 0x214A; break;
case 0x214B: desc = "ERROR_DS_NAMING_MASTER_GC: Only DSAs configured to be Global Catalog servers should be allowed to hold the Domain Naming Master FSMO role. (Applies only to Windows 2000 servers.)"; code = 0x214B; break;
case 0x214C: desc = "ERROR_DS_DNS_LOOKUP_FAILURE: The DSA operation is unable to proceed because of a DNS lookup failure."; code = 0x214C; break;
case 0x214D: desc = "ERROR_DS_COULDNT_UPDATE_SPNS: While processing a change to the DNS Host Name for an object, the Service Principal Name values could not be kept in sync."; code = 0x214D; break;
case 0x214E: desc = "ERROR_DS_CANT_RETRIEVE_SD: The Security Descriptor attribute could not be read."; code = 0x214E; break;
case 0x214F: desc = "ERROR_DS_KEY_NOT_UNIQUE: The object requested was not found, but an object with that key was found."; code = 0x214F; break;
case 0x2150: desc = "ERROR_DS_WRONG_LINKED_ATT_SYNTAX: The syntax of the linked attribute being added is incorrect. Forward links can only have syntax 2.5.5.1, 2.5.5.7, and 2.5.5.14, and backlinks can only have syntax 2.5.5.1."; code = 0x2150; break;
case 0x2151: desc = "ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD: Security Account Manager needs to get the boot password."; code = 0x2151; break;
case 0x2152: desc = "ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY: Security Account Manager needs to get the boot key from floppy disk."; code = 0x2152; break;
case 0x2153: desc = "ERROR_DS_CANT_START: Directory Service cannot start."; code = 0x2153; break;
case 0x2154: desc = "ERROR_DS_INIT_FAILURE: Directory Services could not start."; code = 0x2154; break;
case 0x2155: desc = "ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION: The connection between client and server requires packet privacy or better."; code = 0x2155; break;
case 0x2156: desc = "ERROR_DS_SOURCE_DOMAIN_IN_FOREST: The source domain may not be in the same forest as destination."; code = 0x2156; break;
case 0x2157: desc = "ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST: The destination domain must be in the forest."; code = 0x2157; break;
case 0x2158: desc = "ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED: The operation requires that destination domain auditing be enabled."; code = 0x2158; break;
case 0x2159: desc = "ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN: The operation couldn't locate a DC for the source domain."; code = 0x2159; break;
case 0x215A: desc = "ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER: The source object must be a group or user."; code = 0x215A; break;
case 0x215B: desc = "ERROR_DS_SRC_SID_EXISTS_IN_FOREST: The source object's SID already exists in destination forest."; code = 0x215B; break;
case 0x215C: desc = "ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH: The source and destination object must be of the same type."; code = 0x215C; break;
case 0x215D: desc = "ERROR_SAM_INIT_FAILURE: Security Accounts Manager initialization failed because of the following error: %1. Error Status: 0x%2. Click OK to shut down the system and reboot into Safe Mode. Check the event log for detailed information."; code = 0x215D; break;
case 0x215E: desc = "ERROR_DS_DRA_SCHEMA_INFO_SHIP: Schema information could not be included in the replication request."; code = 0x215E; break;
case 0x215F: desc = "ERROR_DS_DRA_SCHEMA_CONFLICT: The replication operation could not be completed due to a schema incompatibility."; code = 0x215F; break;
case 0x2160: desc = "ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT: The replication operation could not be completed due to a previous schema incompatibility."; code = 0x2160; break;
case 0x2161: desc = "ERROR_DS_DRA_OBJ_NC_MISMATCH: The replication update could not be applied because either the source or the destination has not yet received information regarding a recent cross-domain move operation."; code = 0x2161; break;
case 0x2162: desc = "ERROR_DS_NC_STILL_HAS_DSAS: The requested domain could not be deleted because there exist domain controllers that still host this domain."; code = 0x2162; break;
case 0x2163: desc = "ERROR_DS_GC_REQUIRED: The requested operation can be performed only on a global catalog server."; code = 0x2163; break;
case 0x2164: desc = "ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY: A local group can only be a member of other local groups in the same domain."; code = 0x2164; break;
case 0x2165: desc = "ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS: Foreign security principals cannot be members of universal groups."; code = 0x2165; break;
case 0x2166: desc = "ERROR_DS_CANT_ADD_TO_GC: The attribute is not allowed to be replicated to the GC because of security reasons."; code = 0x2166; break;
case 0x2167: desc = "ERROR_DS_NO_CHECKPOINT_WITH_PDC: The checkpoint with the PDC could not be taken because there too many modifications being processed currently."; code = 0x2167; break;
case 0x2168: desc = "ERROR_DS_SOURCE_AUDITING_NOT_ENABLED: The operation requires that source domain auditing be enabled."; code = 0x2168; break;
case 0x2169: desc = "ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC: Security principal objects can only be created inside domain naming contexts."; code = 0x2169; break;
case 0x216A: desc = "ERROR_DS_INVALID_NAME_FOR_SPN: A Service Principal Name (SPN) could not be constructed because the provided hostname is not in the necessary format."; code = 0x216A; break;
case 0x216B: desc = "ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS: A Filter was passed that uses constructed attributes."; code = 0x216B; break;
case 0x216C: desc = "ERROR_DS_UNICODEPWD_NOT_IN_QUOTES: The unicodePwd attribute value must be enclosed in double quotes."; code = 0x216C; break;
case 0x216D: desc = "ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED: Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."; code = 0x216D; break;
case 0x216E: desc = "ERROR_DS_MUST_BE_RUN_ON_DST_DC: For security reasons, the operation must be run on the destination DC."; code = 0x216E; break;
case 0x216F: desc = "ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER: For security reasons, the source DC must be NT4SP4 or greater."; code = 0x216F; break;
case 0x2170: desc = "ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ: Critical Directory Service System objects cannot be deleted during tree delete operations. The tree delete may have been partially performed."; code = 0x2170; break;
case 0x2171: desc = "ERROR_DS_INIT_FAILURE_CONSOLE: Directory Services could not start because of the following error: %1. Error Status: 0x%2. Please click OK to shutdown the system. You can use the recovery console to diagnose the system further."; code = 0x2171; break;
case 0x2172: desc = "ERROR_DS_SAM_INIT_FAILURE_CONSOLE: Security Accounts Manager initialization failed because of the following error: %1. Error Status: 0x%2. Please click OK to shutdown the system. You can use the recovery console to diagnose the system further."; code = 0x2172; break;
case 0x2173: desc = "ERROR_DS_FOREST_VERSION_TOO_HIGH: The version of the operating system is incompatible with the current AD DS forest functional level or AD LDS Configuration Set functional level. You must upgrade to a new version of the operating system before this server can become an AD DS Domain Controller or add an AD LDS Instance in this AD DS Forest or AD LDS Configuration Set."; code = 0x2173; break;
case 0x2174: desc = "ERROR_DS_DOMAIN_VERSION_TOO_HIGH: The version of the operating system installed is incompatible with the current domain functional level. You must upgrade to a new version of the operating system before this server can become a domain controller in this domain."; code = 0x2174; break;
case 0x2175: desc = "ERROR_DS_FOREST_VERSION_TOO_LOW: The version of the operating system installed on this server no longer supports the current AD DS Forest functional level or AD LDS Configuration Set functional level. You must raise the AD DS Forest functional level or AD LDS Configuration Set functional level before this server can become an AD DS Domain Controller or an AD LDS Instance in this Forest or Configuration Set."; code = 0x2175; break;
case 0x2176: desc = "ERROR_DS_DOMAIN_VERSION_TOO_LOW: The version of the operating system installed on this server no longer supports the current domain functional level. You must raise the domain functional level before this server can become a domain controller in this domain."; code = 0x2176; break;
case 0x2177: desc = "ERROR_DS_INCOMPATIBLE_VERSION: The version of the operating system installed on this server is incompatible with the functional level of the domain or forest."; code = 0x2177; break;
case 0x2178: desc = "ERROR_DS_LOW_DSA_VERSION: The functional level of the domain (or forest) cannot be raised to the requested value, because there exist one or more domain controllers in the domain (or forest) that are at a lower incompatible functional level."; code = 0x2178; break;
case 0x2179: desc = "ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN: The forest functional level cannot be raised to the requested value since one or more domains are still in mixed domain mode. All domains in the forest must be in native mode, for you to raise the forest functional level."; code = 0x2179; break;
case 0x217A: desc = "ERROR_DS_NOT_SUPPORTED_SORT_ORDER: The sort order requested is not supported."; code = 0x217A; break;
case 0x217B: desc = "ERROR_DS_NAME_NOT_UNIQUE: The requested name already exists as a unique identifier."; code = 0x217B; break;
case 0x217C: desc = "ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4: The machine account was created pre-NT4. The account needs to be recreated."; code = 0x217C; break;
case 0x217D: desc = "ERROR_DS_OUT_OF_VERSION_STORE: The database is out of version store."; code = 0x217D; break;
case 0x217E: desc = "ERROR_DS_INCOMPATIBLE_CONTROLS_USED: Unable to continue operation because multiple conflicting controls were used."; code = 0x217E; break;
case 0x217F: desc = "ERROR_DS_NO_REF_DOMAIN: Unable to find a valid security descriptor reference domain for this partition."; code = 0x217F; break;
case 0x2180: desc = "ERROR_DS_RESERVED_LINK_ID: Schema update failed: The link identifier is reserved."; code = 0x2180; break;
case 0x2181: desc = "ERROR_DS_LINK_ID_NOT_AVAILABLE: Schema update failed: There are no link identifiers available."; code = 0x2181; break;
case 0x2182: desc = "ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER: An account group cannot have a universal group as a member."; code = 0x2182; break;
case 0x2183: desc = "ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE: Rename or move operations on naming context heads or read-only objects are not allowed."; code = 0x2183; break;
case 0x2184: desc = "ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC: Move operations on objects in the schema naming context are not allowed."; code = 0x2184; break;
case 0x2185: desc = "ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG: A system flag has been set on the object and does not allow the object to be moved or renamed."; code = 0x2185; break;
case 0x2186: desc = "ERROR_DS_MODIFYDN_WRONG_GRANDPARENT: This object is not allowed to change its grandparent container. Moves are not forbidden on this object, but are restricted to sibling containers."; code = 0x2186; break;
case 0x2187: desc = "ERROR_DS_NAME_ERROR_TRUST_REFERRAL: Unable to resolve completely, a referral to another forest is generated."; code = 0x2187; break;
case 0x2188: desc = "ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER: The requested action is not supported on standard server."; code = 0x2188; break;
case 0x2189: desc = "ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD: Could not access a partition of the directory service located on a remote server. Make sure at least one server is running for the partition in question."; code = 0x2189; break;
case 0x218A: desc = "ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2: The directory cannot validate the proposed naming context (or partition) name because it does not hold a replica nor can it contact a replica of the naming context above the proposed naming context. Please ensure that the parent naming context is properly registered in DNS, and at least one replica of this naming context is reachable by the Domain Naming master."; code = 0x218A; break;
case 0x218B: desc = "ERROR_DS_THREAD_LIMIT_EXCEEDED: The thread limit for this request was exceeded."; code = 0x218B; break;
case 0x218C: desc = "ERROR_DS_NOT_CLOSEST: The Global catalog server is not in the closest site."; code = 0x218C; break;
case 0x218D: desc = "ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF: The DS cannot derive a service principal name (SPN) with which to mutually authenticate the target server because the corresponding server object in the local DS database has no serverReference attribute."; code = 0x218D; break;
case 0x218E: desc = "ERROR_DS_SINGLE_USER_MODE_FAILED: The Directory Service failed to enter single user mode."; code = 0x218E; break;
case 0x218F: desc = "ERROR_DS_NTDSCRIPT_SYNTAX_ERROR: The Directory Service cannot parse the script because of a syntax error."; code = 0x218F; break;
case 0x2190: desc = "ERROR_DS_NTDSCRIPT_PROCESS_ERROR: The Directory Service cannot process the script because of an error."; code = 0x2190; break;
case 0x2191: desc = "ERROR_DS_DIFFERENT_REPL_EPOCHS: The directory service cannot perform the requested operation because the servers involved are of different replication epochs (which is usually related to a domain rename that is in progress)."; code = 0x2191; break;
case 0x2192: desc = "ERROR_DS_DRS_EXTENSIONS_CHANGED: The directory service binding must be renegotiated due to a change in the server extensions information."; code = 0x2192; break;
case 0x2193: desc = "ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR: Operation not allowed on a disabled cross ref."; code = 0x2193; break;
case 0x2194: desc = "ERROR_DS_NO_MSDS_INTID: Schema update failed: No values for msDS-IntId are available."; code = 0x2194; break;
case 0x2195: desc = "ERROR_DS_DUP_MSDS_INTID: Schema update failed: Duplicate msDS-INtId. Retry the operation."; code = 0x2195; break;
case 0x2196: desc = "ERROR_DS_EXISTS_IN_RDNATTID: Schema deletion failed: attribute is used in rDNAttID."; code = 0x2196; break;
case 0x2197: desc = "ERROR_DS_AUTHORIZATION_FAILED: The directory service failed to authorize the request."; code = 0x2197; break;
case 0x2198: desc = "ERROR_DS_INVALID_SCRIPT: The Directory Service cannot process the script because it is invalid."; code = 0x2198; break;
case 0x2199: desc = "ERROR_DS_REMOTE_CROSSREF_OP_FAILED: The remote create cross reference operation failed on the Domain Naming Master FSMO. The operation's error is in the extended data."; code = 0x2199; break;
case 0x219A: desc = "ERROR_DS_CROSS_REF_BUSY: A cross reference is in use locally with the same name."; code = 0x219A; break;
case 0x219B: desc = "ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN: The DS cannot derive a service principal name (SPN) with which to mutually authenticate the target server because the server's domain has been deleted from the forest."; code = 0x219B; break;
case 0x219C: desc = "ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC: Writeable NCs prevent this DC from demoting."; code = 0x219C; break;
case 0x219D: desc = "ERROR_DS_DUPLICATE_ID_FOUND: The requested object has a non-unique identifier and cannot be retrieved."; code = 0x219D; break;
case 0x219E: desc = "ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT: Insufficient attributes were given to create an object. This object may not exist because it may have been deleted and already garbage collected."; code = 0x219E; break;
case 0x219F: desc = "ERROR_DS_GROUP_CONVERSION_ERROR: The group cannot be converted due to attribute restrictions on the requested group type."; code = 0x219F; break;
case 0x21A0: desc = "ERROR_DS_CANT_MOVE_APP_BASIC_GROUP: Cross-domain move of non-empty basic application groups is not allowed."; code = 0x21A0; break;
case 0x21A1: desc = "ERROR_DS_CANT_MOVE_APP_QUERY_GROUP: Cross-domain move of non-empty query based application groups is not allowed."; code = 0x21A1; break;
case 0x21A2: desc = "ERROR_DS_ROLE_NOT_VERIFIED: The FSMO role ownership could not be verified because its directory partition has not replicated successfully with at least one replication partner."; code = 0x21A2; break;
case 0x21A3: desc = "ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL: The target container for a redirection of a well known object container cannot already be a special container."; code = 0x21A3; break;
case 0x21A4: desc = "ERROR_DS_DOMAIN_RENAME_IN_PROGRESS: The Directory Service cannot perform the requested operation because a domain rename operation is in progress."; code = 0x21A4; break;
case 0x21A5: desc = "ERROR_DS_EXISTING_AD_CHILD_NC: The directory service detected a child partition below the requested partition name. The partition hierarchy must be created in a top down method."; code = 0x21A5; break;
case 0x21A6: desc = "ERROR_DS_REPL_LIFETIME_EXCEEDED: The directory service cannot replicate with this server because the time since the last replication with this server has exceeded the tombstone lifetime."; code = 0x21A6; break;
case 0x21A7: desc = "ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER: The requested operation is not allowed on an object under the system container."; code = 0x21A7; break;
case 0x21A8: desc = "ERROR_DS_LDAP_SEND_QUEUE_FULL: The LDAP servers network send queue has filled up because the client is not processing the results of its requests fast enough. No more requests will be processed until the client catches up. If the client does not catch up then it will be disconnected."; code = 0x21A8; break;
case 0x21A9: desc = "ERROR_DS_DRA_OUT_SCHEDULE_WINDOW: The scheduled replication did not take place because the system was too busy to execute the request within the schedule window. The replication queue is overloaded. Consider reducing the number of partners or decreasing the scheduled replication frequency."; code = 0x21A9; break;
case 0x21AA: desc = "ERROR_DS_POLICY_NOT_KNOWN: At this time, it cannot be determined if the branch replication policy is available on the hub domain controller. Please retry at a later time to account for replication latencies."; code = 0x21AA; break;
case 0x21AB: desc = "ERROR_NO_SITE_SETTINGS_OBJECT: The site settings object for the specified site does not exist."; code = 0x21AB; break;
case 0x21AC: desc = "ERROR_NO_SECRETS: The local account store does not contain secret material for the specified account."; code = 0x21AC; break;
case 0x21AD: desc = "ERROR_NO_WRITABLE_DC_FOUND: Could not find a writable domain controller in the domain."; code = 0x21AD; break;
case 0x21AE: desc = "ERROR_DS_NO_SERVER_OBJECT: The server object for the domain controller does not exist."; code = 0x21AE; break;
case 0x21AF: desc = "ERROR_DS_NO_NTDSA_OBJECT: The NTDS Settings object for the domain controller does not exist."; code = 0x21AF; break;
case 0x21B0: desc = "ERROR_DS_NON_ASQ_SEARCH: The requested search operation is not supported for ASQ searches."; code = 0x21B0; break;
case 0x21B1: desc = "ERROR_DS_AUDIT_FAILURE: A required audit event could not be generated for the operation."; code = 0x21B1; break;
case 0x21B2: desc = "ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE: The search flags for the attribute are invalid. The subtree index bit is valid only on single valued attributes."; code = 0x21B2; break;
case 0x21B3: desc = "ERROR_DS_INVALID_SEARCH_FLAG_TUPLE: The search flags for the attribute are invalid. The tuple index bit is valid only on attributes of Unicode strings."; code = 0x21B3; break;
case 0x21B4: desc = "ERROR_DS_HIERARCHY_TABLE_TOO_DEEP: The address books are nested too deeply. Failed to build the hierarchy table."; code = 0x21B4; break;
case 0x21B5: desc = "ERROR_DS_DRA_CORRUPT_UTD_VECTOR: The specified up-to-date-ness vector is corrupt."; code = 0x21B5; break;
case 0x21B6: desc = "ERROR_DS_DRA_SECRETS_DENIED: The request to replicate secrets is denied."; code = 0x21B6; break;
case 0x21B7: desc = "ERROR_DS_RESERVED_MAPI_ID: Schema update failed: The MAPI identifier is reserved."; code = 0x21B7; break;
case 0x21B8: desc = "ERROR_DS_MAPI_ID_NOT_AVAILABLE: Schema update failed: There are no MAPI identifiers available."; code = 0x21B8; break;
case 0x21B9: desc = "ERROR_DS_DRA_MISSING_KRBTGT_SECRET: The replication operation failed because the required attributes of the local krbtgt object are missing."; code = 0x21B9; break;
case 0x21BA: desc = "ERROR_DS_DOMAIN_NAME_EXISTS_IN_FOREST: The domain name of the trusted domain already exists in the forest."; code = 0x21BA; break;
case 0x21BB: desc = "ERROR_DS_FLAT_NAME_EXISTS_IN_FOREST: The flat name of the trusted domain already exists in the forest."; code = 0x21BB; break;
case 0x21BC: desc = "ERROR_INVALID_USER_PRINCIPAL_NAME: The User Principal Name (UPN) is invalid."; code = 0x21BC; break;
case 0x21BD: desc = "ERROR_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS: OID mapped groups cannot have members."; code = 0x21BD; break;
case 0x21BE: desc = "ERROR_DS_OID_NOT_FOUND: The specified OID cannot be found."; code = 0x21BE; break;
case 0x21BF: desc = "ERROR_DS_DRA_RECYCLED_TARGET: The replication operation failed because the target object referred by a link value is recycled."; code = 0x21BF; break;
case 0x21C0: desc = "ERROR_DS_DISALLOWED_NC_REDIRECT: The redirect operation failed because the target object is in a NC different from the domain NC of the current domain controller."; code = 0x21C0; break;
case 0x21C1: desc = "ERROR_DS_HIGH_ADLDS_FFL: The functional level of the AD LDS configuration set cannot be lowered to the requested value."; code = 0x21C1; break;
case 0x21C2: desc = "ERROR_DS_HIGH_DSA_VERSION: The functional level of the domain (or forest) cannot be lowered to the requested value."; code = 0x21C2; break;
case 0x21C3: desc = "ERROR_DS_LOW_ADLDS_FFL: The functional level of the AD LDS configuration set cannot be raised to the requested value, because there exist one or more ADLDS instances that are at a lower incompatible functional level."; code = 0x21C3; break;
case 0x21C4: desc = "ERROR_DOMAIN_SID_SAME_AS_LOCAL_WORKSTATION: The domain join cannot be completed because the SID of the domain you attempted to join was identical to the SID of this machine. This is a symptom of an improperly cloned operating system install. You should run sysprep on this machine in order to generate a new machine SID. Please see http://go.microsoft.com/fwlink/p/?linkid=168895 for more information."; code = 0x21C4; break;
case 0x21C5: desc = "ERROR_DS_UNDELETE_SAM_VALIDATION_FAILED: The undelete operation failed because the Sam Account Name or Additional Sam Account Name of the object being undeleted conflicts with an existing live object."; code = 0x21C5; break;
case 0x21C6: desc = "ERROR_INCORRECT_ACCOUNT_TYPE: The system is not authoritative for the specified account and therefore cannot complete the operation. Please retry the operation using the provider associated with this account. If this is an online provider please use the provider's online site."; code = 0x21C6; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x2328 && rawError <= 0x2edf)
{
switch(rawError)
{
case 0x2329: desc = "DNS_ERROR_RCODE_FORMAT_ERROR: DNS server unable to interpret format."; code = 0x2329; break;
case 0x232A: desc = "DNS_ERROR_RCODE_SERVER_FAILURE: DNS server failure."; code = 0x232A; break;
case 0x232B: desc = "DNS_ERROR_RCODE_NAME_ERROR: DNS name does not exist."; code = 0x232B; break;
case 0x232C: desc = "DNS_ERROR_RCODE_NOT_IMPLEMENTED: DNS request not supported by name server."; code = 0x232C; break;
case 0x232D: desc = "DNS_ERROR_RCODE_REFUSED: DNS operation refused."; code = 0x232D; break;
case 0x232E: desc = "DNS_ERROR_RCODE_YXDOMAIN: DNS name that ought not exist, does exist."; code = 0x232E; break;
case 0x232F: desc = "DNS_ERROR_RCODE_YXRRSET: DNS RR set that ought not exist, does exist."; code = 0x232F; break;
case 0x2330: desc = "DNS_ERROR_RCODE_NXRRSET: DNS RR set that ought to exist, does not exist."; code = 0x2330; break;
case 0x2331: desc = "DNS_ERROR_RCODE_NOTAUTH: DNS server not authoritative for zone."; code = 0x2331; break;
case 0x2332: desc = "DNS_ERROR_RCODE_NOTZONE: DNS name in update or prereq is not in zone."; code = 0x2332; break;
case 0x2338: desc = "DNS_ERROR_RCODE_BADSIG: DNS signature failed to verify."; code = 0x2338; break;
case 0x2339: desc = "DNS_ERROR_RCODE_BADKEY: DNS bad key."; code = 0x2339; break;
case 0x233A: desc = "DNS_ERROR_RCODE_BADTIME: DNS signature validity expired."; code = 0x233A; break;
case 0x238D: desc = "DNS_ERROR_KEYMASTER_REQUIRED: Only the DNS server acting as the key master for the zone may perform this operation."; code = 0x238D; break;
case 0x238E: desc = "DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE: This operation is not allowed on a zone that is signed or has signing keys."; code = 0x238E; break;
case 0x238F: desc = "DNS_ERROR_NSEC3_INCOMPATIBLE_WITH_RSA_SHA1: NSEC3 is not compatible with the RSA-SHA-1 algorithm. Choose a different algorithm or use NSEC. This value was also named DNS_ERROR_INVALID_NSEC3_PARAMETERS"; code = 0x238F; break;
case 0x2390: desc = "DNS_ERROR_NOT_ENOUGH_SIGNING_KEY_DESCRIPTORS: The zone does not have enough signing keys. There must be at least one key signing key (KSK) and at least one zone signing key (ZSK)."; code = 0x2390; break;
case 0x2391: desc = "DNS_ERROR_UNSUPPORTED_ALGORITHM: The specified algorithm is not supported."; code = 0x2391; break;
case 0x2392: desc = "DNS_ERROR_INVALID_KEY_SIZE: The specified key size is not supported."; code = 0x2392; break;
case 0x2393: desc = "DNS_ERROR_SIGNING_KEY_NOT_ACCESSIBLE: One or more of the signing keys for a zone are not accessible to the DNS server. Zone signing will not be operational until this error is resolved."; code = 0x2393; break;
case 0x2394: desc = "DNS_ERROR_KSP_DOES_NOT_SUPPORT_PROTECTION: The specified key storage provider does not support DPAPI++ data protection. Zone signing will not be operational until this error is resolved."; code = 0x2394; break;
case 0x2395: desc = "DNS_ERROR_UNEXPECTED_DATA_PROTECTION_ERROR: An unexpected DPAPI++ error was encountered. Zone signing will not be operational until this error is resolved."; code = 0x2395; break;
case 0x2396: desc = "DNS_ERROR_UNEXPECTED_CNG_ERROR: An unexpected crypto error was encountered. Zone signing may not be operational until this error is resolved."; code = 0x2396; break;
case 0x2397: desc = "DNS_ERROR_UNKNOWN_SIGNING_PARAMETER_VERSION: The DNS server encountered a signing key with an unknown version. Zone signing will not be operational until this error is resolved."; code = 0x2397; break;
case 0x2398: desc = "DNS_ERROR_KSP_NOT_ACCESSIBLE: The specified key service provider cannot be opened by the DNS server."; code = 0x2398; break;
case 0x2399: desc = "DNS_ERROR_TOO_MANY_SKDS: The DNS server cannot accept any more signing keys with the specified algorithm and KSK flag value for this zone."; code = 0x2399; break;
case 0x239A: desc = "DNS_ERROR_INVALID_ROLLOVER_PERIOD: The specified rollover period is invalid."; code = 0x239A; break;
case 0x239B: desc = "DNS_ERROR_INVALID_INITIAL_ROLLOVER_OFFSET: The specified initial rollover offset is invalid."; code = 0x239B; break;
case 0x239C: desc = "DNS_ERROR_ROLLOVER_IN_PROGRESS: The specified signing key is already in process of rolling over keys."; code = 0x239C; break;
case 0x239D: desc = "DNS_ERROR_STANDBY_KEY_NOT_PRESENT: The specified signing key does not have a standby key to revoke."; code = 0x239D; break;
case 0x239E: desc = "DNS_ERROR_NOT_ALLOWED_ON_ZSK: This operation is not allowed on a zone signing key (ZSK)."; code = 0x239E; break;
case 0x239F: desc = "DNS_ERROR_NOT_ALLOWED_ON_ACTIVE_SKD: This operation is not allowed on an active signing key."; code = 0x239F; break;
case 0x23A0: desc = "DNS_ERROR_ROLLOVER_ALREADY_QUEUED: The specified signing key is already queued for rollover."; code = 0x23A0; break;
case 0x23A1: desc = "DNS_ERROR_NOT_ALLOWED_ON_UNSIGNED_ZONE: This operation is not allowed on an unsigned zone."; code = 0x23A1; break;
case 0x23A2: desc = "DNS_ERROR_BAD_KEYMASTER: This operation could not be completed because the DNS server listed as the current key master for this zone is down or misconfigured. Resolve the problem on the current key master for this zone or use another DNS server to seize the key master role."; code = 0x23A2; break;
case 0x23A3: desc = "DNS_ERROR_INVALID_SIGNATURE_VALIDITY_PERIOD: The specified signature validity period is invalid."; code = 0x23A3; break;
case 0x23A4: desc = "DNS_ERROR_INVALID_NSEC3_ITERATION_COUNT: The specified NSEC3 iteration count is higher than allowed by the minimum key length used in the zone."; code = 0x23A4; break;
case 0x23A5: desc = "DNS_ERROR_DNSSEC_IS_DISABLED: This operation could not be completed because the DNS server has been configured with DNSSEC features disabled. Enable DNSSEC on the DNS server."; code = 0x23A5; break;
case 0x23A6: desc = "DNS_ERROR_INVALID_XML: This operation could not be completed because the XML stream received is empty or syntactically invalid."; code = 0x23A6; break;
case 0x23A7: desc = "DNS_ERROR_NO_VALID_TRUST_ANCHORS: This operation completed, but no trust anchors were added because all of the trust anchors received were either invalid, unsupported, expired, or would not become valid in less than 30 days."; code = 0x23A7; break;
case 0x23A8: desc = "DNS_ERROR_ROLLOVER_NOT_POKEABLE: The specified signing key is not waiting for parental DS update."; code = 0x23A8; break;
case 0x23A9: desc = "DNS_ERROR_NSEC3_NAME_COLLISION: Hash collision detected during NSEC3 signing. Specify a different user-provided salt, or use a randomly generated salt, and attempt to sign the zone again."; code = 0x23A9; break;
case 0x23AA: desc = "DNS_ERROR_NSEC_INCOMPATIBLE_WITH_NSEC3_RSA_SHA1: NSEC is not compatible with the NSEC3-RSA-SHA-1 algorithm. Choose a different algorithm or use NSEC3."; code = 0x23AA; break;
case 0x251D: desc = "DNS_INFO_NO_RECORDS: No records found for given DNS query."; code = 0x251D; break;
case 0x251E: desc = "DNS_ERROR_BAD_PACKET: Bad DNS packet."; code = 0x251E; break;
case 0x251F: desc = "DNS_ERROR_NO_PACKET: No DNS packet."; code = 0x251F; break;
case 0x2520: desc = "DNS_ERROR_RCODE: DNS error, check rcode."; code = 0x2520; break;
case 0x2521: desc = "DNS_ERROR_UNSECURE_PACKET: Unsecured DNS packet."; code = 0x2521; break;
case 0x2522: desc = "DNS_REQUEST_PENDING: DNS query request is pending."; code = 0x2522; break;
case 0x254F: desc = "DNS_ERROR_INVALID_TYPE: Invalid DNS type."; code = 0x254F; break;
case 0x2550: desc = "DNS_ERROR_INVALID_IP_ADDRESS: Invalid IP address."; code = 0x2550; break;
case 0x2551: desc = "DNS_ERROR_INVALID_PROPERTY: Invalid property."; code = 0x2551; break;
case 0x2552: desc = "DNS_ERROR_TRY_AGAIN_LATER: Try DNS operation again later."; code = 0x2552; break;
case 0x2553: desc = "DNS_ERROR_NOT_UNIQUE: Record for given name and type is not unique."; code = 0x2553; break;
case 0x2554: desc = "DNS_ERROR_NON_RFC_NAME: DNS name does not comply with RFC specifications."; code = 0x2554; break;
case 0x2555: desc = "DNS_STATUS_FQDN: DNS name is a fully-qualified DNS name."; code = 0x2555; break;
case 0x2556: desc = "DNS_STATUS_DOTTED_NAME: DNS name is dotted (multi-label)."; code = 0x2556; break;
case 0x2557: desc = "DNS_STATUS_SINGLE_PART_NAME: DNS name is a single-part name."; code = 0x2557; break;
case 0x2558: desc = "DNS_ERROR_INVALID_NAME_CHAR: DNS name contains an invalid character."; code = 0x2558; break;
case 0x2559: desc = "DNS_ERROR_NUMERIC_NAME: DNS name is entirely numeric."; code = 0x2559; break;
case 0x255A: desc = "DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER: The operation requested is not permitted on a DNS root server."; code = 0x255A; break;
case 0x255B: desc = "DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION: The record could not be created because this part of the DNS namespace has been delegated to another server."; code = 0x255B; break;
case 0x255C: desc = "DNS_ERROR_CANNOT_FIND_ROOT_HINTS: The DNS server could not find a set of root hints."; code = 0x255C; break;
case 0x255D: desc = "DNS_ERROR_INCONSISTENT_ROOT_HINTS: The DNS server found root hints but they were not consistent across all adapters."; code = 0x255D; break;
case 0x255E: desc = "DNS_ERROR_DWORD_VALUE_TOO_SMALL: The specified value is too small for this parameter."; code = 0x255E; break;
case 0x255F: desc = "DNS_ERROR_DWORD_VALUE_TOO_LARGE: The specified value is too large for this parameter."; code = 0x255F; break;
case 0x2560: desc = "DNS_ERROR_BACKGROUND_LOADING: This operation is not allowed while the DNS server is loading zones in the background. Please try again later."; code = 0x2560; break;
case 0x2561: desc = "DNS_ERROR_NOT_ALLOWED_ON_RODC: The operation requested is not permitted on against a DNS server running on a read-only DC."; code = 0x2561; break;
case 0x2562: desc = "DNS_ERROR_NOT_ALLOWED_UNDER_DNAME: No data is allowed to exist underneath a DNAME record."; code = 0x2562; break;
case 0x2563: desc = "DNS_ERROR_DELEGATION_REQUIRED: This operation requires credentials delegation."; code = 0x2563; break;
case 0x2564: desc = "DNS_ERROR_INVALID_POLICY_TABLE: Name resolution policy table has been corrupted. DNS resolution will fail until it is fixed. Contact your network administrator."; code = 0x2564; break;
case 0x2581: desc = "DNS_ERROR_ZONE_DOES_NOT_EXIST: DNS zone does not exist."; code = 0x2581; break;
case 0x2582: desc = "DNS_ERROR_NO_ZONE_INFO: DNS zone information not available."; code = 0x2582; break;
case 0x2583: desc = "DNS_ERROR_INVALID_ZONE_OPERATION: Invalid operation for DNS zone."; code = 0x2583; break;
case 0x2584: desc = "DNS_ERROR_ZONE_CONFIGURATION_ERROR: Invalid DNS zone configuration."; code = 0x2584; break;
case 0x2585: desc = "DNS_ERROR_ZONE_HAS_NO_SOA_RECORD: DNS zone has no start of authority (SOA) record."; code = 0x2585; break;
case 0x2586: desc = "DNS_ERROR_ZONE_HAS_NO_NS_RECORDS: DNS zone has no Name Server (NS) record."; code = 0x2586; break;
case 0x2587: desc = "DNS_ERROR_ZONE_LOCKED: DNS zone is locked."; code = 0x2587; break;
case 0x2588: desc = "DNS_ERROR_ZONE_CREATION_FAILED: DNS zone creation failed."; code = 0x2588; break;
case 0x2589: desc = "DNS_ERROR_ZONE_ALREADY_EXISTS: DNS zone already exists."; code = 0x2589; break;
case 0x258A: desc = "DNS_ERROR_AUTOZONE_ALREADY_EXISTS: DNS automatic zone already exists."; code = 0x258A; break;
case 0x258B: desc = "DNS_ERROR_INVALID_ZONE_TYPE: Invalid DNS zone type."; code = 0x258B; break;
case 0x258C: desc = "DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP: Secondary DNS zone requires master IP address."; code = 0x258C; break;
case 0x258D: desc = "DNS_ERROR_ZONE_NOT_SECONDARY: DNS zone not secondary."; code = 0x258D; break;
case 0x258E: desc = "DNS_ERROR_NEED_SECONDARY_ADDRESSES: Need secondary IP address."; code = 0x258E; break;
case 0x258F: desc = "DNS_ERROR_WINS_INIT_FAILED: WINS initialization failed."; code = 0x258F; break;
case 0x2590: desc = "DNS_ERROR_NEED_WINS_SERVERS: Need WINS servers."; code = 0x2590; break;
case 0x2591: desc = "DNS_ERROR_NBSTAT_INIT_FAILED: NBTSTAT initialization call failed."; code = 0x2591; break;
case 0x2592: desc = "DNS_ERROR_SOA_DELETE_INVALID: Invalid delete of start of authority (SOA)."; code = 0x2592; break;
case 0x2593: desc = "DNS_ERROR_FORWARDER_ALREADY_EXISTS: A conditional forwarding zone already exists for that name."; code = 0x2593; break;
case 0x2594: desc = "DNS_ERROR_ZONE_REQUIRES_MASTER_IP: This zone must be configured with one or more master DNS server IP addresses."; code = 0x2594; break;
case 0x2595: desc = "DNS_ERROR_ZONE_IS_SHUTDOWN: The operation cannot be performed because this zone is shut down."; code = 0x2595; break;
case 0x2596: desc = "DNS_ERROR_ZONE_LOCKED_FOR_SIGNING: This operation cannot be performed because the zone is currently being signed. Please try again later."; code = 0x2596; break;
case 0x25B3: desc = "DNS_ERROR_PRIMARY_REQUIRES_DATAFILE: Primary DNS zone requires datafile."; code = 0x25B3; break;
case 0x25B4: desc = "DNS_ERROR_INVALID_DATAFILE_NAME: Invalid datafile name for DNS zone."; code = 0x25B4; break;
case 0x25B5: desc = "DNS_ERROR_DATAFILE_OPEN_FAILURE: Failed to open datafile for DNS zone."; code = 0x25B5; break;
case 0x25B6: desc = "DNS_ERROR_FILE_WRITEBACK_FAILED: Failed to write datafile for DNS zone."; code = 0x25B6; break;
case 0x25B7: desc = "DNS_ERROR_DATAFILE_PARSING: Failure while reading datafile for DNS zone."; code = 0x25B7; break;
case 0x25E5: desc = "DNS_ERROR_RECORD_DOES_NOT_EXIST: DNS record does not exist."; code = 0x25E5; break;
case 0x25E6: desc = "DNS_ERROR_RECORD_FORMAT: DNS record format error."; code = 0x25E6; break;
case 0x25E7: desc = "DNS_ERROR_NODE_CREATION_FAILED: Node creation failure in DNS."; code = 0x25E7; break;
case 0x25E8: desc = "DNS_ERROR_UNKNOWN_RECORD_TYPE: Unknown DNS record type."; code = 0x25E8; break;
case 0x25E9: desc = "DNS_ERROR_RECORD_TIMED_OUT: DNS record timed out."; code = 0x25E9; break;
case 0x25EA: desc = "DNS_ERROR_NAME_NOT_IN_ZONE: Name not in DNS zone."; code = 0x25EA; break;
case 0x25EB: desc = "DNS_ERROR_CNAME_LOOP: CNAME loop detected."; code = 0x25EB; break;
case 0x25EC: desc = "DNS_ERROR_NODE_IS_CNAME: Node is a CNAME DNS record."; code = 0x25EC; break;
case 0x25ED: desc = "DNS_ERROR_CNAME_COLLISION: A CNAME record already exists for given name."; code = 0x25ED; break;
case 0x25EE: desc = "DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT: Record only at DNS zone root."; code = 0x25EE; break;
case 0x25EF: desc = "DNS_ERROR_RECORD_ALREADY_EXISTS: DNS record already exists."; code = 0x25EF; break;
case 0x25F0: desc = "DNS_ERROR_SECONDARY_DATA: Secondary DNS zone data error."; code = 0x25F0; break;
case 0x25F1: desc = "DNS_ERROR_NO_CREATE_CACHE_DATA: Could not create DNS cache data."; code = 0x25F1; break;
case 0x25F2: desc = "DNS_ERROR_NAME_DOES_NOT_EXIST: DNS name does not exist."; code = 0x25F2; break;
case 0x25F3: desc = "DNS_WARNING_PTR_CREATE_FAILED: Could not create pointer (PTR) record."; code = 0x25F3; break;
case 0x25F4: desc = "DNS_WARNING_DOMAIN_UNDELETED: DNS domain was undeleted."; code = 0x25F4; break;
case 0x25F5: desc = "DNS_ERROR_DS_UNAVAILABLE: The directory service is unavailable."; code = 0x25F5; break;
case 0x25F6: desc = "DNS_ERROR_DS_ZONE_ALREADY_EXISTS: DNS zone already exists in the directory service."; code = 0x25F6; break;
case 0x25F7: desc = "DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE: DNS server not creating or reading the boot file for the directory service integrated DNS zone."; code = 0x25F7; break;
case 0x25F8: desc = "DNS_ERROR_NODE_IS_DNAME: Node is a DNAME DNS record."; code = 0x25F8; break;
case 0x25F9: desc = "DNS_ERROR_DNAME_COLLISION: A DNAME record already exists for given name."; code = 0x25F9; break;
case 0x25FA: desc = "DNS_ERROR_ALIAS_LOOP: An alias loop has been detected with either CNAME or DNAME records."; code = 0x25FA; break;
case 0x2617: desc = "DNS_INFO_AXFR_COMPLETE: DNS AXFR (zone transfer) complete."; code = 0x2617; break;
case 0x2618: desc = "DNS_ERROR_AXFR: DNS zone transfer failed."; code = 0x2618; break;
case 0x2619: desc = "DNS_INFO_ADDED_LOCAL_WINS: Added local WINS server."; code = 0x2619; break;
case 0x2649: desc = "DNS_STATUS_CONTINUE_NEEDED: Secure update call needs to continue update request."; code = 0x2649; break;
case 0x267B: desc = "DNS_ERROR_NO_TCPIP: TCP/IP network protocol not installed."; code = 0x267B; break;
case 0x267C: desc = "DNS_ERROR_NO_DNS_SERVERS: No DNS servers configured for local system."; code = 0x267C; break;
case 0x26AD: desc = "DNS_ERROR_DP_DOES_NOT_EXIST: The specified directory partition does not exist."; code = 0x26AD; break;
case 0x26AE: desc = "DNS_ERROR_DP_ALREADY_EXISTS: The specified directory partition already exists."; code = 0x26AE; break;
case 0x26AF: desc = "DNS_ERROR_DP_NOT_ENLISTED: This DNS server is not enlisted in the specified directory partition."; code = 0x26AF; break;
case 0x26B0: desc = "DNS_ERROR_DP_ALREADY_ENLISTED: This DNS server is already enlisted in the specified directory partition."; code = 0x26B0; break;
case 0x26B1: desc = "DNS_ERROR_DP_NOT_AVAILABLE: The directory partition is not available at this time. Please wait a few minutes and try again."; code = 0x26B1; break;
case 0x26B2: desc = "DNS_ERROR_DP_FSMO_ERROR: The operation failed because the domain naming master FSMO role could not be reached. The domain controller holding the domain naming master FSMO role is down or unable to service the request or is not running Windows Server 2003 or later."; code = 0x26B2; break;
case 0x2714: desc = "WSAEINTR: A blocking operation was interrupted by a call to WSACancelBlockingCall."; code = 0x2714; break;
case 0x2719: desc = "WSAEBADF: The file handle supplied is not valid."; code = 0x2719; break;
case 0x271D: desc = "WSAEACCES: An attempt was made to access a socket in a way forbidden by its access permissions."; code = 0x271D; break;
case 0x271E: desc = "WSAEFAULT: The system detected an invalid pointer address in attempting to use a pointer argument in a call."; code = 0x271E; break;
case 0x2726: desc = "WSAEINVAL: An invalid argument was supplied."; code = 0x2726; break;
case 0x2728: desc = "WSAEMFILE: Too many open sockets."; code = 0x2728; break;
case 0x2733: desc = "WSAEWOULDBLOCK: A non-blocking socket operation could not be completed immediately."; code = 0x2733; break;
case 0x2734: desc = "WSAEINPROGRESS: A blocking operation is currently executing."; code = 0x2734; break;
case 0x2735: desc = "WSAEALREADY: An operation was attempted on a non-blocking socket that already had an operation in progress."; code = 0x2735; break;
case 0x2736: desc = "WSAENOTSOCK: An operation was attempted on something that is not a socket."; code = 0x2736; break;
case 0x2737: desc = "WSAEDESTADDRREQ: A required address was omitted from an operation on a socket."; code = 0x2737; break;
case 0x2738: desc = "WSAEMSGSIZE: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself."; code = 0x2738; break;
case 0x2739: desc = "WSAEPROTOTYPE: A protocol was specified in the socket function call that does not support the semantics of the socket type requested."; code = 0x2739; break;
case 0x273A: desc = "WSAENOPROTOOPT: An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call."; code = 0x273A; break;
case 0x273B: desc = "WSAEPROTONOSUPPORT: The requested protocol has not been configured into the system, or no implementation for it exists."; code = 0x273B; break;
case 0x273C: desc = "WSAESOCKTNOSUPPORT: The support for the specified socket type does not exist in this address family."; code = 0x273C; break;
case 0x273D: desc = "WSAEOPNOTSUPP: The attempted operation is not supported for the type of object referenced."; code = 0x273D; break;
case 0x273E: desc = "WSAEPFNOSUPPORT: The protocol family has not been configured into the system or no implementation for it exists."; code = 0x273E; break;
case 0x273F: desc = "WSAEAFNOSUPPORT: An address incompatible with the requested protocol was used."; code = 0x273F; break;
case 0x2740: desc = "WSAEADDRINUSE: Only one usage of each socket address (protocol/network address/port) is normally permitted."; code = 0x2740; break;
case 0x2741: desc = "WSAEADDRNOTAVAIL: The requested address is not valid in its context."; code = 0x2741; break;
case 0x2742: desc = "WSAENETDOWN: A socket operation encountered a dead network."; code = 0x2742; break;
case 0x2743: desc = "WSAENETUNREACH: A socket operation was attempted to an unreachable network."; code = 0x2743; break;
case 0x2744: desc = "WSAENETRESET: The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress."; code = 0x2744; break;
case 0x2745: desc = "WSAECONNABORTED: An established connection was aborted by the software in your host machine."; code = 0x2745; break;
case 0x2746: desc = "WSAECONNRESET: An existing connection was forcibly closed by the remote host."; code = 0x2746; break;
case 0x2747: desc = "WSAENOBUFS: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."; code = 0x2747; break;
case 0x2748: desc = "WSAEISCONN: A connect request was made on an already connected socket."; code = 0x2748; break;
case 0x2749: desc = "WSAENOTCONN: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied."; code = 0x2749; break;
case 0x274A: desc = "WSAESHUTDOWN: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call."; code = 0x274A; break;
case 0x274B: desc = "WSAETOOMANYREFS: Too many references to some kernel object."; code = 0x274B; break;
case 0x274C: desc = "WSAETIMEDOUT: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."; code = 0x274C; break;
case 0x274D: desc = "WSAECONNREFUSED: No connection could be made because the target machine actively refused it."; code = 0x274D; break;
case 0x274E: desc = "WSAELOOP: Cannot translate name."; code = 0x274E; break;
case 0x274F: desc = "WSAENAMETOOLONG: Name component or name was too long."; code = 0x274F; break;
case 0x2750: desc = "WSAEHOSTDOWN: A socket operation failed because the destination host was down."; code = 0x2750; break;
case 0x2751: desc = "WSAEHOSTUNREACH: A socket operation was attempted to an unreachable host."; code = 0x2751; break;
case 0x2752: desc = "WSAENOTEMPTY: Cannot remove a directory that is not empty."; code = 0x2752; break;
case 0x2753: desc = "WSAEPROCLIM: A Windows Sockets implementation may have a limit on the number of applications that may use it simultaneously."; code = 0x2753; break;
case 0x2754: desc = "WSAEUSERS: Ran out of quota."; code = 0x2754; break;
case 0x2755: desc = "WSAEDQUOT: Ran out of disk quota."; code = 0x2755; break;
case 0x2756: desc = "WSAESTALE: File handle reference is no longer available."; code = 0x2756; break;
case 0x2757: desc = "WSAEREMOTE: Item is not available locally."; code = 0x2757; break;
case 0x276B: desc = "WSASYSNOTREADY: WSAStartup cannot function at this time because the underlying system it uses to provide network services is currently unavailable."; code = 0x276B; break;
case 0x276C: desc = "WSAVERNOTSUPPORTED: The Windows Sockets version requested is not supported."; code = 0x276C; break;
case 0x276D: desc = "WSANOTINITIALISED: Either the application has not called WSAStartup, or WSAStartup failed."; code = 0x276D; break;
case 0x2775: desc = "WSAEDISCON: Returned by WSARecv or WSARecvFrom to indicate the remote party has initiated a graceful shutdown sequence."; code = 0x2775; break;
case 0x2776: desc = "WSAENOMORE: No more results can be returned by WSALookupServiceNext."; code = 0x2776; break;
case 0x2777: desc = "WSAECANCELLED: A call to WSALookupServiceEnd was made while this call was still processing. The call has been canceled."; code = 0x2777; break;
case 0x2778: desc = "WSAEINVALIDPROCTABLE: The procedure call table is invalid."; code = 0x2778; break;
case 0x2779: desc = "WSAEINVALIDPROVIDER: The requested service provider is invalid."; code = 0x2779; break;
case 0x277A: desc = "WSAEPROVIDERFAILEDINIT: The requested service provider could not be loaded or initialized."; code = 0x277A; break;
case 0x277B: desc = "WSASYSCALLFAILURE: A system call has failed."; code = 0x277B; break;
case 0x277C: desc = "WSASERVICE_NOT_FOUND: No such service is known. The service cannot be found in the specified name space."; code = 0x277C; break;
case 0x277D: desc = "WSATYPE_NOT_FOUND: The specified class was not found."; code = 0x277D; break;
case 0x277E: desc = "WSA_E_NO_MORE: No more results can be returned by WSALookupServiceNext."; code = 0x277E; break;
case 0x277F: desc = "WSA_E_CANCELLED: A call to WSALookupServiceEnd was made while this call was still processing. The call has been canceled."; code = 0x277F; break;
case 0x2780: desc = "WSAEREFUSED: A database query failed because it was actively refused."; code = 0x2780; break;
case 0x2AF9: desc = "WSAHOST_NOT_FOUND: No such host is known."; code = 0x2AF9; break;
case 0x2AFA: desc = "WSATRY_AGAIN: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server."; code = 0x2AFA; break;
case 0x2AFB: desc = "WSANO_RECOVERY: A non-recoverable error occurred during a database lookup."; code = 0x2AFB; break;
case 0x2AFC: desc = "WSANO_DATA: The requested name is valid, but no data of the requested type was found."; code = 0x2AFC; break;
case 0x2AFD: desc = "WSA_QOS_RECEIVERS: At least one reserve has arrived."; code = 0x2AFD; break;
case 0x2AFE: desc = "WSA_QOS_SENDERS: At least one path has arrived."; code = 0x2AFE; break;
case 0x2AFF: desc = "WSA_QOS_NO_SENDERS: There are no senders."; code = 0x2AFF; break;
case 0x2B00: desc = "WSA_QOS_NO_RECEIVERS: There are no receivers."; code = 0x2B00; break;
case 0x2B01: desc = "WSA_QOS_REQUEST_CONFIRMED: Reserve has been confirmed."; code = 0x2B01; break;
case 0x2B02: desc = "WSA_QOS_ADMISSION_FAILURE: Error due to lack of resources."; code = 0x2B02; break;
case 0x2B03: desc = "WSA_QOS_POLICY_FAILURE: Rejected for administrative reasons - bad credentials."; code = 0x2B03; break;
case 0x2B04: desc = "WSA_QOS_BAD_STYLE: Unknown or conflicting style."; code = 0x2B04; break;
case 0x2B05: desc = "WSA_QOS_BAD_OBJECT: Problem with some part of the filterspec or providerspecific buffer in general."; code = 0x2B05; break;
case 0x2B06: desc = "WSA_QOS_TRAFFIC_CTRL_ERROR: Problem with some part of the flowspec."; code = 0x2B06; break;
case 0x2B07: desc = "WSA_QOS_GENERIC_ERROR: General QOS error."; code = 0x2B07; break;
case 0x2B08: desc = "WSA_QOS_ESERVICETYPE: An invalid or unrecognized service type was found in the flowspec."; code = 0x2B08; break;
case 0x2B09: desc = "WSA_QOS_EFLOWSPEC: An invalid or inconsistent flowspec was found in the QOS structure."; code = 0x2B09; break;
case 0x2B0A: desc = "WSA_QOS_EPROVSPECBUF: Invalid QOS provider-specific buffer."; code = 0x2B0A; break;
case 0x2B0B: desc = "WSA_QOS_EFILTERSTYLE: An invalid QOS filter style was used."; code = 0x2B0B; break;
case 0x2B0C: desc = "WSA_QOS_EFILTERTYPE: An invalid QOS filter type was used."; code = 0x2B0C; break;
case 0x2B0D: desc = "WSA_QOS_EFILTERCOUNT: An incorrect number of QOS FILTERSPECs were specified in the FLOWDESCRIPTOR."; code = 0x2B0D; break;
case 0x2B0E: desc = "WSA_QOS_EOBJLENGTH: An object with an invalid ObjectLength field was specified in the QOS provider-specific buffer."; code = 0x2B0E; break;
case 0x2B0F: desc = "WSA_QOS_EFLOWCOUNT: An incorrect number of flow descriptors was specified in the QOS structure."; code = 0x2B0F; break;
case 0x2B10: desc = "WSA_QOS_EUNKOWNPSOBJ: An unrecognized object was found in the QOS provider-specific buffer."; code = 0x2B10; break;
case 0x2B11: desc = "WSA_QOS_EPOLICYOBJ: An invalid policy object was found in the QOS provider-specific buffer."; code = 0x2B11; break;
case 0x2B12: desc = "WSA_QOS_EFLOWDESC: An invalid QOS flow descriptor was found in the flow descriptor list."; code = 0x2B12; break;
case 0x2B13: desc = "WSA_QOS_EPSFLOWSPEC: An invalid or inconsistent flowspec was found in the QOS provider specific buffer."; code = 0x2B13; break;
case 0x2B14: desc = "WSA_QOS_EPSFILTERSPEC: An invalid FILTERSPEC was found in the QOS provider-specific buffer."; code = 0x2B14; break;
case 0x2B15: desc = "WSA_QOS_ESDMODEOBJ: An invalid shape discard mode object was found in the QOS provider specific buffer."; code = 0x2B15; break;
case 0x2B16: desc = "WSA_QOS_ESHAPERATEOBJ: An invalid shaping rate object was found in the QOS provider-specific buffer."; code = 0x2B16; break;
case 0x2B17: desc = "WSA_QOS_RESERVED_PETYPE: A reserved policy element was found in the QOS provider-specific buffer."; code = 0x2B17; break;
case 0x2B18: desc = "WSA_SECURE_HOST_NOT_FOUND: No such host is known securely."; code = 0x2B18; break;
case 0x2B19: desc = "WSA_IPSEC_NAME_POLICY_ERROR: Name based IPSEC policy could not be added."; code = 0x2B19; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else if (rawError >= 0x2ee0 && rawError < 0x32C8)
{
// Internet stuf see https://msdn.microsoft.com/en-us/library/windows/desktop/aa385465(v=vs.85).aspx
switch (rawError)
{
case 12111: desc = "ERROR_FTP_DROPPED: The FTP operation was not completed because the session was aborted."; code = 12111; break;
case 12112: desc = "ERROR_FTP_NO_PASSIVE_MODE: Passive mode is not available on the server."; code = 12112; break;
case 12110: desc = "ERROR_FTP_TRANSFER_IN_PROGRESS: The requested operation cannot be made on the FTP session handle because an operation is already in progress."; code = 12110; break;
case 12137: desc = "ERROR_GOPHER_ATTRIBUTE_NOT_FOUND: The requested attribute could not be located.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12137; break;
case 12132: desc = "ERROR_GOPHER_DATA_ERROR: An error was detected while receiving data from the Gopher server.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12132; break;
case 12133: desc = "ERROR_GOPHER_END_OF_DATA: The end of the data has been reached.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12133; break;
case 12135: desc = "ERROR_GOPHER_INCORRECT_LOCATOR_TYPE: The type of the locator is not correct for this operation.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12135; break;
case 12134: desc = "ERROR_GOPHER_INVALID_LOCATOR: The supplied locator is not valid.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12134; break;
case 12131: desc = "ERROR_GOPHER_NOT_FILE: The request must be made for a file locator.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12131; break;
case 12136: desc = "ERROR_GOPHER_NOT_GOPHER_PLUS: The requested operation can be made only against a Gopher+ server, or with a locator that specifies a Gopher+ operation.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12136; break;
case 12130: desc = "ERROR_GOPHER_PROTOCOL_ERROR: An error was detected while parsing data returned from the Gopher server.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12130; break;
case 12138: desc = "ERROR_GOPHER_UNKNOWN_LOCATOR: The locator type is unknown.Note Windows XP and Windows Server 2003 R2 and earlier only. "; code = 12138; break;
case 12162: desc = "ERROR_HTTP_COOKIE_DECLINED: The HTTP cookie was declined by the server."; code = 12162; break;
case 12161: desc = "ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION: The HTTP cookie requires confirmation.Note Windows Vista and Windows Server 2008 and earlier only. "; code = 12161; break;
case 12151: desc = "ERROR_HTTP_DOWNLEVEL_SERVER: The server did not return any headers."; code = 12151; break;
case 12155: desc = "ERROR_HTTP_HEADER_ALREADY_EXISTS: The header could not be added because it already exists."; code = 12155; break;
case 12150: desc = "ERROR_HTTP_HEADER_NOT_FOUND: The requested header could not be located."; code = 12150; break;
case 12153: desc = "ERROR_HTTP_INVALID_HEADER: The supplied header is invalid."; code = 12153; break;
case 12154: desc = "ERROR_HTTP_INVALID_QUERY_REQUEST: The request made to HttpQueryInfo is invalid."; code = 12154; break;
case 12152: desc = "ERROR_HTTP_INVALID_SERVER_RESPONSE: The server response could not be parsed."; code = 12152; break;
case 12160: desc = "ERROR_HTTP_NOT_REDIRECTED: The HTTP request was not redirected."; code = 12160; break;
case 12156: desc = "ERROR_HTTP_REDIRECT_FAILED: The redirection failed because either the scheme changed (for example, HTTP to FTP) or all attempts made to redirect failed (default is five attempts)."; code = 12156; break;
case 12168: desc = "ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION: The redirection requires user confirmation."; code = 12168; break;
case 12047: desc = "ERROR_INTERNET_ASYNC_THREAD_FAILED: The application could not start an asynchronous thread."; code = 12047; break;
case 12166: desc = "ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT: There was an error in the automatic proxy configuration script."; code = 12166; break;
case 12010: desc = "ERROR_INTERNET_BAD_OPTION_LENGTH: The length of an option supplied to InternetQueryOption or InternetSetOption is incorrect for the type of option specified."; code = 12010; break;
case 12022: desc = "ERROR_INTERNET_BAD_REGISTRY_PARAMETER: A required registry value was located but is an incorrect type or has an invalid value."; code = 12022; break;
case 12029: desc = "ERROR_INTERNET_CANNOT_CONNECT: The attempt to connect to the server failed."; code = 12029; break;
case 12042: desc = "ERROR_INTERNET_CHG_POST_IS_NON_SECURE: The application is posting and attempting to change multiple lines of text on a server that is not secure."; code = 12042; break;
case 12044: desc = "ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED: The server is requesting client authentication."; code = 12044; break;
case 12046: desc = "ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP: Client authorization is not set up on this computer."; code = 12046; break;
case 12030: desc = "ERROR_INTERNET_CONNECTION_ABORTED: The connection with the server has been terminated."; code = 12030; break;
case 12031: desc = "ERROR_INTERNET_CONNECTION_RESET: The connection with the server has been reset."; code = 12031; break;
case 12175: desc = "ERROR_INTERNET_DECODING_FAILED: WinINet failed to perform content decoding on the response. For more information, see the Content Encoding topic."; code = 12175; break;
case 12049: desc = "ERROR_INTERNET_DIALOG_PENDING: Another thread has a password dialog box in progress."; code = 12049; break;
case 12163: desc = "ERROR_INTERNET_DISCONNECTED: The Internet connection has been lost."; code = 12163; break;
case 12003: desc = "ERROR_INTERNET_EXTENDED_ERROR: An extended error was returned from the server. This is typically a string or buffer containing a verbose error message. Call InternetGetLastResponseInfo to retrieve the error text."; code = 12003; break;
case 12171: desc = "ERROR_INTERNET_FAILED_DUETOSECURITYCHECK: The function failed due to a security check."; code = 12171; break;
case 12032: desc = "ERROR_INTERNET_FORCE_RETRY: The function needs to redo the request."; code = 12032; break;
case 12054: desc = "ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED: The requested resource requires Fortezza authentication."; code = 12054; break;
case 12036: desc = "ERROR_INTERNET_HANDLE_EXISTS: The request failed because the handle already exists."; code = 12036; break;
case 12039: desc = "ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR: The application is moving from a non-SSL to an SSL connection because of a redirect."; code = 12039; break;
case 12052: desc = "ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR: The data being submitted to an SSL connection is being redirected to a non-SSL connection."; code = 12052; break;
case 12040: desc = "ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR: The application is moving from an SSL to an non-SSL connection because of a redirect."; code = 12040; break;
case 12027: desc = "ERROR_INTERNET_INCORRECT_FORMAT: The format of the request is invalid."; code = 12027; break;
case 12019: desc = "ERROR_INTERNET_INCORRECT_HANDLE_STATE: The requested operation cannot be carried out because the handle supplied is not in the correct state."; code = 12019; break;
case 12018: desc = "ERROR_INTERNET_INCORRECT_HANDLE_TYPE: The type of handle supplied is incorrect for this operation."; code = 12018; break;
case 12014: desc = "ERROR_INTERNET_INCORRECT_PASSWORD: The request to connect and log on to an FTP server could not be completed because the supplied password is incorrect."; code = 12014; break;
case 12013: desc = "ERROR_INTERNET_INCORRECT_USER_NAME: The request to connect and log on to an FTP server could not be completed because the supplied user name is incorrect."; code = 12013; break;
case 12053: desc = "ERROR_INTERNET_INSERT_CDROM: The request requires a CD-ROM to be inserted in the CD-ROM drive to locate the resource requested.Note Windows Vista and Windows Server 2008 and earlier only. "; code = 12053; break;
case 12004: desc = "ERROR_INTERNET_INTERNAL_ERROR: An internal error has occurred."; code = 12004; break;
case 12045: desc = "ERROR_INTERNET_INVALID_CA: The function is unfamiliar with the Certificate Authority that generated the server's certificate."; code = 12045; break;
case 12016: desc = "ERROR_INTERNET_INVALID_OPERATION: The requested operation is invalid."; code = 12016; break;
case 12009: desc = "ERROR_INTERNET_INVALID_OPTION: A request to InternetQueryOption or InternetSetOption specified an invalid option value."; code = 12009; break;
case 12033: desc = "ERROR_INTERNET_INVALID_PROXY_REQUEST: The request to the proxy was invalid."; code = 12033; break;
case 12005: desc = "ERROR_INTERNET_INVALID_URL: The URL is invalid."; code = 12005; break;
case 12028: desc = "ERROR_INTERNET_ITEM_NOT_FOUND: The requested item could not be located."; code = 12028; break;
case 12015: desc = "ERROR_INTERNET_LOGIN_FAILURE: The request to connect and log on to an FTP server failed."; code = 12015; break;
case 12174: desc = "ERROR_INTERNET_LOGIN_FAILURE_DISPLAY_ENTITY_BODY: The MS-Logoff digest header has been returned from the website. This header specifically instructs the digest package to purge credentials for the associated realm. This error will only be returned if INTERNET_ERROR_MASK_LOGIN_FAILURE_DISPLAY_ENTITY_BODY option has been set; otherwise, ERROR_INTERNET_LOGIN_FAILURE is returned."; code = 12174; break;
case 12041: desc = "ERROR_INTERNET_MIXED_SECURITY: The content is not entirely secure. Some of the content being viewed may have come from unsecured servers."; code = 12041; break;
case 12007: desc = "ERROR_INTERNET_NAME_NOT_RESOLVED: The server name could not be resolved."; code = 12007; break;
case 12173: desc = "ERROR_INTERNET_NEED_MSN_SSPI_PKG: Not currently implemented."; code = 12173; break;
case 12034: desc = "ERROR_INTERNET_NEED_UI: A user interface or other blocking operation has been requested.Note Windows Vista and Windows Server 2008 and earlier only. "; code = 12034; break;
case 12025: desc = "ERROR_INTERNET_NO_CALLBACK: An asynchronous request could not be made because a callback function has not been set."; code = 12025; break;
case 12024: desc = "ERROR_INTERNET_NO_CONTEXT: An asynchronous request could not be made because a zero context value was supplied."; code = 12024; break;
case 12023: desc = "ERROR_INTERNET_NO_DIRECT_ACCESS: Direct network access cannot be made at this time."; code = 12023; break;
case 12172: desc = "ERROR_INTERNET_NOT_INITIALIZED: Initialization of the WinINet API has not occurred. Indicates that a higher-level function, such as InternetOpen, has not been called yet."; code = 12172; break;
case 12020: desc = "ERROR_INTERNET_NOT_PROXY_REQUEST: The request cannot be made via a proxy."; code = 12020; break;
case 12017: desc = "ERROR_INTERNET_OPERATION_CANCELLED: The operation was canceled, usually because the handle on which the request was operating was closed before the operation completed."; code = 12017; break;
case 12011: desc = "ERROR_INTERNET_OPTION_NOT_SETTABLE: The requested option cannot be set, only queried."; code = 12011; break;
case 12001: desc = "ERROR_INTERNET_OUT_OF_HANDLES: No more handles could be generated at this time."; code = 12001; break;
case 12043: desc = "ERROR_INTERNET_POST_IS_NON_SECURE: The application is posting data to a server that is not secure."; code = 12043; break;
case 12008: desc = "ERROR_INTERNET_PROTOCOL_NOT_FOUND: The requested protocol could not be located."; code = 12008; break;
case 12165: desc = "ERROR_INTERNET_PROXY_SERVER_UNREACHABLE: The designated proxy server cannot be reached."; code = 12165; break;
case 12048: desc = "ERROR_INTERNET_REDIRECT_SCHEME_CHANGE: The function could not handle the redirection, because the scheme changed (for example, HTTP to FTP)."; code = 12048; break;
case 12021: desc = "ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND: A required registry value could not be located."; code = 12021; break;
case 12026: desc = "ERROR_INTERNET_REQUEST_PENDING: The required operation could not be completed because one or more requests are pending."; code = 12026; break;
case 12050: desc = "ERROR_INTERNET_RETRY_DIALOG: The dialog box should be retried."; code = 12050; break;
case 12038: desc = "ERROR_INTERNET_SEC_CERT_CN_INVALID: SSL certificate common name (host name field) is incorrect—for example, if you entered www.server.com and the common name on the certificate says www.different.com."; code = 12038; break;
case 12037: desc = "ERROR_INTERNET_SEC_CERT_DATE_INVALID: SSL certificate date that was received from the server is bad. The certificate is expired."; code = 12037; break;
case 12055: desc = "ERROR_INTERNET_SEC_CERT_ERRORS: The SSL certificate contains errors."; code = 12055; break;
case 12056: desc = "ERROR_INTERNET_SEC_CERT_NO_REV: The SSL certificate was not revoked."; code = 12056; break;
case 12057: desc = "ERROR_INTERNET_SEC_CERT_REV_FAILED: Revocation of the SSL certificate failed."; code = 12057; break;
case 12170: desc = "ERROR_INTERNET_SEC_CERT_REVOKED: The SSL certificate was revoked."; code = 12170; break;
case 12169: desc = "ERROR_INTERNET_SEC_INVALID_CERT: The SSL certificate is invalid."; code = 12169; break;
case 12157: desc = "ERROR_INTERNET_SECURITY_CHANNEL_ERROR: The application experienced an internal error loading the SSL libraries."; code = 12157; break;
case 12164: desc = "ERROR_INTERNET_SERVER_UNREACHABLE: The website or server indicated is unreachable."; code = 12164; break;
case 12012: desc = "ERROR_INTERNET_SHUTDOWN: WinINet support is being shut down or unloaded."; code = 12012; break;
case 12159: desc = "ERROR_INTERNET_TCPIP_NOT_INSTALLED: The required protocol stack is not loaded and the application cannot start WinSock."; code = 12159; break;
case 12002: desc = "ERROR_INTERNET_TIMEOUT: The request has timed out."; code = 12002; break;
case 12158: desc = "ERROR_INTERNET_UNABLE_TO_CACHE_FILE: The function was unable to cache the file."; code = 12158; break;
case 12167: desc = "ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT: The automatic proxy configuration script could not be downloaded. The INTERNET_FLAG_MUST_CACHE_REQUEST flag was set."; code = 12167; break;
case 12006: desc = "ERROR_INTERNET_UNRECOGNIZED_SCHEME: The URL scheme could not be recognized, or is not supported."; code = 12006; break;
/*ERROR_INVALID_HANDLE
The handle that was passed to the API has been either invalidated or closed.
Header: Declared in Winerror.h
ERROR_MORE_DATA
More data is available.
Header: Declared in Winerror.h
ERROR_NO_MORE_FILES
No more files have been found.
Header: Declared in Winerror.h
ERROR_NO_MORE_ITEMS
No more items have been found.
Header: Declared in Winerror.h*/
default:
desc = "Undefined error, probably one of these: ERROR_INVALID_HANDLE \r\nThe handle that was passed to the API has been either invalidated or closed.\r\nHeader: Declared in Winerror.h\r\nERROR_MORE_DATA\r\nMore data is available.\r\nHeader: Declared in Winerror.h\r\n ERROR_NO_MORE_FILES\r\nNo more files have been found.\r\nHeader: Declared in Winerror.h\r\nERROR_NO_MORE_ITEMS\r\nNo more items have been found.\r\nHeader: Declared in Winerror.h";
code = rawError;
break;
}
}
else if (rawError >= 0x32C8 && rawError <= 0x3e7f)
{
switch(rawError)
{
case 0x32C8: desc = "ERROR_IPSEC_QM_POLICY_EXISTS: The specified quick mode policy already exists."; code = 0x32C8; break;
case 0x32C9: desc = "ERROR_IPSEC_QM_POLICY_NOT_FOUND: The specified quick mode policy was not found."; code = 0x32C9; break;
case 0x32CA: desc = "ERROR_IPSEC_QM_POLICY_IN_USE: The specified quick mode policy is being used."; code = 0x32CA; break;
case 0x32CB: desc = "ERROR_IPSEC_MM_POLICY_EXISTS: The specified main mode policy already exists."; code = 0x32CB; break;
case 0x32CC: desc = "ERROR_IPSEC_MM_POLICY_NOT_FOUND: The specified main mode policy was not found."; code = 0x32CC; break;
case 0x32CD: desc = "ERROR_IPSEC_MM_POLICY_IN_USE: The specified main mode policy is being used."; code = 0x32CD; break;
case 0x32CE: desc = "ERROR_IPSEC_MM_FILTER_EXISTS: The specified main mode filter already exists."; code = 0x32CE; break;
case 0x32CF: desc = "ERROR_IPSEC_MM_FILTER_NOT_FOUND: The specified main mode filter was not found."; code = 0x32CF; break;
case 0x32D0: desc = "ERROR_IPSEC_TRANSPORT_FILTER_EXISTS: The specified transport mode filter already exists."; code = 0x32D0; break;
case 0x32D1: desc = "ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND: The specified transport mode filter does not exist."; code = 0x32D1; break;
case 0x32D2: desc = "ERROR_IPSEC_MM_AUTH_EXISTS: The specified main mode authentication list exists."; code = 0x32D2; break;
case 0x32D3: desc = "ERROR_IPSEC_MM_AUTH_NOT_FOUND: The specified main mode authentication list was not found."; code = 0x32D3; break;
case 0x32D4: desc = "ERROR_IPSEC_MM_AUTH_IN_USE: The specified main mode authentication list is being used."; code = 0x32D4; break;
case 0x32D5: desc = "ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND: The specified default main mode policy was not found."; code = 0x32D5; break;
case 0x32D6: desc = "ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND: The specified default main mode authentication list was not found."; code = 0x32D6; break;
case 0x32D7: desc = "ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND: The specified default quick mode policy was not found."; code = 0x32D7; break;
case 0x32D8: desc = "ERROR_IPSEC_TUNNEL_FILTER_EXISTS: The specified tunnel mode filter exists."; code = 0x32D8; break;
case 0x32D9: desc = "ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND: The specified tunnel mode filter was not found."; code = 0x32D9; break;
case 0x32DA: desc = "ERROR_IPSEC_MM_FILTER_PENDING_DELETION: The Main Mode filter is pending deletion."; code = 0x32DA; break;
case 0x32DB: desc = "ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION: The transport filter is pending deletion."; code = 0x32DB; break;
case 0x32DC: desc = "ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION: The tunnel filter is pending deletion."; code = 0x32DC; break;
case 0x32DD: desc = "ERROR_IPSEC_MM_POLICY_PENDING_DELETION: The Main Mode policy is pending deletion."; code = 0x32DD; break;
case 0x32DE: desc = "ERROR_IPSEC_MM_AUTH_PENDING_DELETION: The Main Mode authentication bundle is pending deletion."; code = 0x32DE; break;
case 0x32DF: desc = "ERROR_IPSEC_QM_POLICY_PENDING_DELETION: The Quick Mode policy is pending deletion."; code = 0x32DF; break;
case 0x32E0: desc = "WARNING_IPSEC_MM_POLICY_PRUNED: The Main Mode policy was successfully added, but some of the requested offers are not supported."; code = 0x32E0; break;
case 0x32E1: desc = "WARNING_IPSEC_QM_POLICY_PRUNED: The Quick Mode policy was successfully added, but some of the requested offers are not supported."; code = 0x32E1; break;
case 0x35E8: desc = "ERROR_IPSEC_IKE_NEG_STATUS_BEGIN: ERROR_IPSEC_IKE_NEG_STATUS_BEGIN"; code = 0x35E8; break;
case 0x35E9: desc = "ERROR_IPSEC_IKE_AUTH_FAIL: IKE authentication credentials are unacceptable."; code = 0x35E9; break;
case 0x35EA: desc = "ERROR_IPSEC_IKE_ATTRIB_FAIL: IKE security attributes are unacceptable."; code = 0x35EA; break;
case 0x35EB: desc = "ERROR_IPSEC_IKE_NEGOTIATION_PENDING: IKE Negotiation in progress."; code = 0x35EB; break;
case 0x35EC: desc = "ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR: General processing error."; code = 0x35EC; break;
case 0x35ED: desc = "ERROR_IPSEC_IKE_TIMED_OUT: Negotiation timed out."; code = 0x35ED; break;
case 0x35EE: desc = "ERROR_IPSEC_IKE_NO_CERT: IKE failed to find valid machine certificate. Contact your Network Security Administrator about installing a valid certificate in the appropriate Certificate Store."; code = 0x35EE; break;
case 0x35EF: desc = "ERROR_IPSEC_IKE_SA_DELETED: IKE SA deleted by peer before establishment completed."; code = 0x35EF; break;
case 0x35F0: desc = "ERROR_IPSEC_IKE_SA_REAPED: IKE SA deleted before establishment completed."; code = 0x35F0; break;
case 0x35F1: desc = "ERROR_IPSEC_IKE_MM_ACQUIRE_DROP: Negotiation request sat in Queue too long."; code = 0x35F1; break;
case 0x35F2: desc = "ERROR_IPSEC_IKE_QM_ACQUIRE_DROP: Negotiation request sat in Queue too long."; code = 0x35F2; break;
case 0x35F3: desc = "ERROR_IPSEC_IKE_QUEUE_DROP_MM: Negotiation request sat in Queue too long."; code = 0x35F3; break;
case 0x35F4: desc = "ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM: Negotiation request sat in Queue too long."; code = 0x35F4; break;
case 0x35F5: desc = "ERROR_IPSEC_IKE_DROP_NO_RESPONSE: No response from peer."; code = 0x35F5; break;
case 0x35F6: desc = "ERROR_IPSEC_IKE_MM_DELAY_DROP: Negotiation took too long."; code = 0x35F6; break;
case 0x35F7: desc = "ERROR_IPSEC_IKE_QM_DELAY_DROP: Negotiation took too long."; code = 0x35F7; break;
case 0x35F8: desc = "ERROR_IPSEC_IKE_ERROR: Unknown error occurred."; code = 0x35F8; break;
case 0x35F9: desc = "ERROR_IPSEC_IKE_CRL_FAILED: Certificate Revocation Check failed."; code = 0x35F9; break;
case 0x35FA: desc = "ERROR_IPSEC_IKE_INVALID_KEY_USAGE: Invalid certificate key usage."; code = 0x35FA; break;
case 0x35FB: desc = "ERROR_IPSEC_IKE_INVALID_CERT_TYPE: Invalid certificate type."; code = 0x35FB; break;
case 0x35FC: desc = "ERROR_IPSEC_IKE_NO_PRIVATE_KEY: IKE negotiation failed because the machine certificate used does not have a private key. IPsec certificates require a private key. Contact your Network Security administrator about replacing with a certificate that has a private key."; code = 0x35FC; break;
case 0x35FD: desc = "ERROR_IPSEC_IKE_SIMULTANEOUS_REKEY: Simultaneous rekeys were detected."; code = 0x35FD; break;
case 0x35FE: desc = "ERROR_IPSEC_IKE_DH_FAIL: Failure in Diffie-Hellman computation."; code = 0x35FE; break;
case 0x35FF: desc = "ERROR_IPSEC_IKE_CRITICAL_PAYLOAD_NOT_RECOGNIZED: Don't know how to process critical payload."; code = 0x35FF; break;
case 0x3600: desc = "ERROR_IPSEC_IKE_INVALID_HEADER: Invalid header."; code = 0x3600; break;
case 0x3601: desc = "ERROR_IPSEC_IKE_NO_POLICY: No policy configured."; code = 0x3601; break;
case 0x3602: desc = "ERROR_IPSEC_IKE_INVALID_SIGNATURE: Failed to verify signature."; code = 0x3602; break;
case 0x3603: desc = "ERROR_IPSEC_IKE_KERBEROS_ERROR: Failed to authenticate using Kerberos."; code = 0x3603; break;
case 0x3604: desc = "ERROR_IPSEC_IKE_NO_PUBLIC_KEY: Peer's certificate did not have a public key."; code = 0x3604; break;
case 0x3605: desc = "ERROR_IPSEC_IKE_PROCESS_ERR: Error processing error payload."; code = 0x3605; break;
case 0x3606: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_SA: Error processing SA payload."; code = 0x3606; break;
case 0x3607: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_PROP: Error processing Proposal payload."; code = 0x3607; break;
case 0x3608: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_TRANS: Error processing Transform payload."; code = 0x3608; break;
case 0x3609: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_KE: Error processing KE payload."; code = 0x3609; break;
case 0x360A: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_ID: Error processing ID payload."; code = 0x360A; break;
case 0x360B: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_CERT: Error processing Cert payload."; code = 0x360B; break;
case 0x360C: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ: Error processing Certificate Request payload."; code = 0x360C; break;
case 0x360D: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_HASH: Error processing Hash payload."; code = 0x360D; break;
case 0x360E: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_SIG: Error processing Signature payload."; code = 0x360E; break;
case 0x360F: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_NONCE: Error processing Nonce payload."; code = 0x360F; break;
case 0x3610: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY: Error processing Notify payload."; code = 0x3610; break;
case 0x3611: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_DELETE: Error processing Delete Payload."; code = 0x3611; break;
case 0x3612: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR: Error processing VendorId payload."; code = 0x3612; break;
case 0x3613: desc = "ERROR_IPSEC_IKE_INVALID_PAYLOAD: Invalid payload received."; code = 0x3613; break;
case 0x3614: desc = "ERROR_IPSEC_IKE_LOAD_SOFT_SA: Soft SA loaded."; code = 0x3614; break;
case 0x3615: desc = "ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN: Soft SA torn down."; code = 0x3615; break;
case 0x3616: desc = "ERROR_IPSEC_IKE_INVALID_COOKIE: Invalid cookie received."; code = 0x3616; break;
case 0x3617: desc = "ERROR_IPSEC_IKE_NO_PEER_CERT: Peer failed to send valid machine certificate."; code = 0x3617; break;
case 0x3618: desc = "ERROR_IPSEC_IKE_PEER_CRL_FAILED: Certification Revocation check of peer's certificate failed."; code = 0x3618; break;
case 0x3619: desc = "ERROR_IPSEC_IKE_POLICY_CHANGE: New policy invalidated SAs formed with old policy."; code = 0x3619; break;
case 0x361A: desc = "ERROR_IPSEC_IKE_NO_MM_POLICY: There is no available Main Mode IKE policy."; code = 0x361A; break;
case 0x361B: desc = "ERROR_IPSEC_IKE_NOTCBPRIV: Failed to enabled TCB privilege."; code = 0x361B; break;
case 0x361C: desc = "ERROR_IPSEC_IKE_SECLOADFAIL: Failed to load SECURITY.DLL."; code = 0x361C; break;
case 0x361D: desc = "ERROR_IPSEC_IKE_FAILSSPINIT: Failed to obtain security function table dispatch address from SSPI."; code = 0x361D; break;
case 0x361E: desc = "ERROR_IPSEC_IKE_FAILQUERYSSP: Failed to query Kerberos package to obtain max token size."; code = 0x361E; break;
case 0x361F: desc = "ERROR_IPSEC_IKE_SRVACQFAIL: Failed to obtain Kerberos server credentials for ISAKMP/ERROR_IPSEC_IKE service. Kerberos authentication will not function. The most likely reason for this is lack of domain membership. This is normal if your computer is a member of a workgroup."; code = 0x361F; break;
case 0x3620: desc = "ERROR_IPSEC_IKE_SRVQUERYCRED: Failed to determine SSPI principal name for ISAKMP/ERROR_IPSEC_IKE service (QueryCredentialsAttributes)."; code = 0x3620; break;
case 0x3621: desc = "ERROR_IPSEC_IKE_GETSPIFAIL: Failed to obtain new SPI for the inbound SA from IPsec driver. The most common cause for this is that the driver does not have the correct filter. Check your policy to verify the filters."; code = 0x3621; break;
case 0x3622: desc = "ERROR_IPSEC_IKE_INVALID_FILTER: Given filter is invalid."; code = 0x3622; break;
case 0x3623: desc = "ERROR_IPSEC_IKE_OUT_OF_MEMORY: Memory allocation failed."; code = 0x3623; break;
case 0x3624: desc = "ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED: Failed to add Security Association to IPsec Driver. The most common cause for this is if the IKE negotiation took too long to complete. If the problem persists, reduce the load on the faulting machine."; code = 0x3624; break;
case 0x3625: desc = "ERROR_IPSEC_IKE_INVALID_POLICY: Invalid policy."; code = 0x3625; break;
case 0x3626: desc = "ERROR_IPSEC_IKE_UNKNOWN_DOI: Invalid DOI."; code = 0x3626; break;
case 0x3627: desc = "ERROR_IPSEC_IKE_INVALID_SITUATION: Invalid situation."; code = 0x3627; break;
case 0x3628: desc = "ERROR_IPSEC_IKE_DH_FAILURE: Diffie-Hellman failure."; code = 0x3628; break;
case 0x3629: desc = "ERROR_IPSEC_IKE_INVALID_GROUP: Invalid Diffie-Hellman group."; code = 0x3629; break;
case 0x362A: desc = "ERROR_IPSEC_IKE_ENCRYPT: Error encrypting payload."; code = 0x362A; break;
case 0x362B: desc = "ERROR_IPSEC_IKE_DECRYPT: Error decrypting payload."; code = 0x362B; break;
case 0x362C: desc = "ERROR_IPSEC_IKE_POLICY_MATCH: Policy match error."; code = 0x362C; break;
case 0x362D: desc = "ERROR_IPSEC_IKE_UNSUPPORTED_ID: Unsupported ID."; code = 0x362D; break;
case 0x362E: desc = "ERROR_IPSEC_IKE_INVALID_HASH: Hash verification failed."; code = 0x362E; break;
case 0x362F: desc = "ERROR_IPSEC_IKE_INVALID_HASH_ALG: Invalid hash algorithm."; code = 0x362F; break;
case 0x3630: desc = "ERROR_IPSEC_IKE_INVALID_HASH_SIZE: Invalid hash size."; code = 0x3630; break;
case 0x3631: desc = "ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG: Invalid encryption algorithm."; code = 0x3631; break;
case 0x3632: desc = "ERROR_IPSEC_IKE_INVALID_AUTH_ALG: Invalid authentication algorithm."; code = 0x3632; break;
case 0x3633: desc = "ERROR_IPSEC_IKE_INVALID_SIG: Invalid certificate signature."; code = 0x3633; break;
case 0x3634: desc = "ERROR_IPSEC_IKE_LOAD_FAILED: Load failed."; code = 0x3634; break;
case 0x3635: desc = "ERROR_IPSEC_IKE_RPC_DELETE: Deleted via RPC call."; code = 0x3635; break;
case 0x3636: desc = "ERROR_IPSEC_IKE_BENIGN_REINIT: Temporary state created to perform reinitialization. This is not a real failure."; code = 0x3636; break;
case 0x3637: desc = "ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY: The lifetime value received in the Responder Lifetime Notify is below the Windows 2000 configured minimum value. Please fix the policy on the peer machine."; code = 0x3637; break;
case 0x3638: desc = "ERROR_IPSEC_IKE_INVALID_MAJOR_VERSION: The recipient cannot handle version of IKE specified in the header."; code = 0x3638; break;
case 0x3639: desc = "ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN: Key length in certificate is too small for configured security requirements."; code = 0x3639; break;
case 0x363A: desc = "ERROR_IPSEC_IKE_MM_LIMIT: Max number of established MM SAs to peer exceeded."; code = 0x363A; break;
case 0x363B: desc = "ERROR_IPSEC_IKE_NEGOTIATION_DISABLED: IKE received a policy that disables negotiation."; code = 0x363B; break;
case 0x363C: desc = "ERROR_IPSEC_IKE_QM_LIMIT: Reached maximum quick mode limit for the main mode. New main mode will be started."; code = 0x363C; break;
case 0x363D: desc = "ERROR_IPSEC_IKE_MM_EXPIRED: Main mode SA lifetime expired or peer sent a main mode delete."; code = 0x363D; break;
case 0x363E: desc = "ERROR_IPSEC_IKE_PEER_MM_ASSUMED_INVALID: Main mode SA assumed to be invalid because peer stopped responding."; code = 0x363E; break;
case 0x363F: desc = "ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH: Certificate doesn't chain to a trusted root in IPsec policy."; code = 0x363F; break;
case 0x3640: desc = "ERROR_IPSEC_IKE_UNEXPECTED_MESSAGE_ID: Received unexpected message ID."; code = 0x3640; break;
case 0x3641: desc = "ERROR_IPSEC_IKE_INVALID_AUTH_PAYLOAD: Received invalid authentication offers."; code = 0x3641; break;
case 0x3642: desc = "ERROR_IPSEC_IKE_DOS_COOKIE_SENT: Sent DoS cookie notify to initiator."; code = 0x3642; break;
case 0x3643: desc = "ERROR_IPSEC_IKE_SHUTTING_DOWN: IKE service is shutting down."; code = 0x3643; break;
case 0x3644: desc = "ERROR_IPSEC_IKE_CGA_AUTH_FAILED: Could not verify binding between CGA address and certificate."; code = 0x3644; break;
case 0x3645: desc = "ERROR_IPSEC_IKE_PROCESS_ERR_NATOA: Error processing NatOA payload."; code = 0x3645; break;
case 0x3646: desc = "ERROR_IPSEC_IKE_INVALID_MM_FOR_QM: Parameters of the main mode are invalid for this quick mode."; code = 0x3646; break;
case 0x3647: desc = "ERROR_IPSEC_IKE_QM_EXPIRED: Quick mode SA was expired by IPsec driver."; code = 0x3647; break;
case 0x3648: desc = "ERROR_IPSEC_IKE_TOO_MANY_FILTERS: Too many dynamically added IKEEXT filters were detected."; code = 0x3648; break;
case 0x3649: desc = "ERROR_IPSEC_IKE_NEG_STATUS_END: ERROR_IPSEC_IKE_NEG_STATUS_END"; code = 0x3649; break;
case 0x364A: desc = "ERROR_IPSEC_IKE_KILL_DUMMY_NAP_TUNNEL: NAP reauth succeeded and must delete the dummy NAP IKEv2 tunnel."; code = 0x364A; break;
case 0x364B: desc = "ERROR_IPSEC_IKE_INNER_IP_ASSIGNMENT_FAILURE: Error in assigning inner IP address to initiator in tunnel mode."; code = 0x364B; break;
case 0x364C: desc = "ERROR_IPSEC_IKE_REQUIRE_CP_PAYLOAD_MISSING: Require configuration payload missing."; code = 0x364C; break;
case 0x364D: desc = "ERROR_IPSEC_KEY_MODULE_IMPERSONATION_NEGOTIATION_PENDING: A negotiation running as the security principle who issued the connection is in progress."; code = 0x364D; break;
case 0x364E: desc = "ERROR_IPSEC_IKE_COEXISTENCE_SUPPRESS: SA was deleted due to IKEv1/AuthIP co-existence suppress check."; code = 0x364E; break;
case 0x364F: desc = "ERROR_IPSEC_IKE_RATELIMIT_DROP: Incoming SA request was dropped due to peer IP address rate limiting."; code = 0x364F; break;
case 0x3650: desc = "ERROR_IPSEC_IKE_PEER_DOESNT_SUPPORT_MOBIKE: Peer does not support MOBIKE."; code = 0x3650; break;
case 0x3651: desc = "ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE: SA establishment is not authorized."; code = 0x3651; break;
case 0x3652: desc = "ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_FAILURE: SA establishment is not authorized because there is not a sufficiently strong PKINIT-based credential."; code = 0x3652; break;
case 0x3653: desc = "ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE_WITH_OPTIONAL_RETRY: SA establishment is not authorized. You may need to enter updated or different credentials such as a smartcard."; code = 0x3653; break;
case 0x3654: desc = "ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_AND_CERTMAP_FAILURE: SA establishment is not authorized because there is not a sufficiently strong PKINIT-based credential. This might be related to certificate-to-account mapping failure for the SA."; code = 0x3654; break;
case 0x3655: desc = "ERROR_IPSEC_IKE_NEG_STATUS_EXTENDED_END: ERROR_IPSEC_IKE_NEG_STATUS_EXTENDED_END"; code = 0x3655; break;
case 0x3656: desc = "ERROR_IPSEC_BAD_SPI: The SPI in the packet does not match a valid IPsec SA."; code = 0x3656; break;
case 0x3657: desc = "ERROR_IPSEC_SA_LIFETIME_EXPIRED: Packet was received on an IPsec SA whose lifetime has expired."; code = 0x3657; break;
case 0x3658: desc = "ERROR_IPSEC_WRONG_SA: Packet was received on an IPsec SA that does not match the packet characteristics."; code = 0x3658; break;
case 0x3659: desc = "ERROR_IPSEC_REPLAY_CHECK_FAILED: Packet sequence number replay check failed."; code = 0x3659; break;
case 0x365A: desc = "ERROR_IPSEC_INVALID_PACKET: IPsec header and/or trailer in the packet is invalid."; code = 0x365A; break;
case 0x365B: desc = "ERROR_IPSEC_INTEGRITY_CHECK_FAILED: IPsec integrity check failed."; code = 0x365B; break;
case 0x365C: desc = "ERROR_IPSEC_CLEAR_TEXT_DROP: IPsec dropped a clear text packet."; code = 0x365C; break;
case 0x365D: desc = "ERROR_IPSEC_AUTH_FIREWALL_DROP: IPsec dropped an incoming ESP packet in authenticated firewall mode. This drop is benign."; code = 0x365D; break;
case 0x365E: desc = "ERROR_IPSEC_THROTTLE_DROP: IPsec dropped a packet due to DoS throttling."; code = 0x365E; break;
case 0x3665: desc = "ERROR_IPSEC_DOSP_BLOCK: IPsec DoS Protection matched an explicit block rule."; code = 0x3665; break;
case 0x3666: desc = "ERROR_IPSEC_DOSP_RECEIVED_MULTICAST: IPsec DoS Protection received an IPsec specific multicast packet which is not allowed."; code = 0x3666; break;
case 0x3667: desc = "ERROR_IPSEC_DOSP_INVALID_PACKET: IPsec DoS Protection received an incorrectly formatted packet."; code = 0x3667; break;
case 0x3668: desc = "ERROR_IPSEC_DOSP_STATE_LOOKUP_FAILED: IPsec DoS Protection failed to look up state."; code = 0x3668; break;
case 0x3669: desc = "ERROR_IPSEC_DOSP_MAX_ENTRIES: IPsec DoS Protection failed to create state because the maximum number of entries allowed by policy has been reached."; code = 0x3669; break;
case 0x366A: desc = "ERROR_IPSEC_DOSP_KEYMOD_NOT_ALLOWED: IPsec DoS Protection received an IPsec negotiation packet for a keying module which is not allowed by policy."; code = 0x366A; break;
case 0x366B: desc = "ERROR_IPSEC_DOSP_NOT_INSTALLED: IPsec DoS Protection has not been enabled."; code = 0x366B; break;
case 0x366C: desc = "ERROR_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES: IPsec DoS Protection failed to create a per internal IP rate limit queue because the maximum number of queues allowed by policy has been reached."; code = 0x366C; break;
case 0x36B0: desc = "ERROR_SXS_SECTION_NOT_FOUND: The requested section was not present in the activation context."; code = 0x36B0; break;
case 0x36B1: desc = "ERROR_SXS_CANT_GEN_ACTCTX: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail."; code = 0x36B1; break;
case 0x36B2: desc = "ERROR_SXS_INVALID_ACTCTXDATA_FORMAT: The application binding data format is invalid."; code = 0x36B2; break;
case 0x36B3: desc = "ERROR_SXS_ASSEMBLY_NOT_FOUND: The referenced assembly is not installed on your system."; code = 0x36B3; break;
case 0x36B4: desc = "ERROR_SXS_MANIFEST_FORMAT_ERROR: The manifest file does not begin with the required tag and format information."; code = 0x36B4; break;
case 0x36B5: desc = "ERROR_SXS_MANIFEST_PARSE_ERROR: The manifest file contains one or more syntax errors."; code = 0x36B5; break;
case 0x36B6: desc = "ERROR_SXS_ACTIVATION_CONTEXT_DISABLED: The application attempted to activate a disabled activation context."; code = 0x36B6; break;
case 0x36B7: desc = "ERROR_SXS_KEY_NOT_FOUND: The requested lookup key was not found in any active activation context."; code = 0x36B7; break;
case 0x36B8: desc = "ERROR_SXS_VERSION_CONFLICT: A component version required by the application conflicts with another component version already active."; code = 0x36B8; break;
case 0x36B9: desc = "ERROR_SXS_WRONG_SECTION_TYPE: The type requested activation context section does not match the query API used."; code = 0x36B9; break;
case 0x36BA: desc = "ERROR_SXS_THREAD_QUERIES_DISABLED: Lack of system resources has required isolated activation to be disabled for the current thread of execution."; code = 0x36BA; break;
case 0x36BB: desc = "ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET: An attempt to set the process default activation context failed because the process default activation context was already set."; code = 0x36BB; break;
case 0x36BC: desc = "ERROR_SXS_UNKNOWN_ENCODING_GROUP: The encoding group identifier specified is not recognized."; code = 0x36BC; break;
case 0x36BD: desc = "ERROR_SXS_UNKNOWN_ENCODING: The encoding requested is not recognized."; code = 0x36BD; break;
case 0x36BE: desc = "ERROR_SXS_INVALID_XML_NAMESPACE_URI: The manifest contains a reference to an invalid URI."; code = 0x36BE; break;
case 0x36BF: desc = "ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED: The application manifest contains a reference to a dependent assembly which is not installed."; code = 0x36BF; break;
case 0x36C0: desc = "ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED: The manifest for an assembly used by the application has a reference to a dependent assembly which is not installed."; code = 0x36C0; break;
case 0x36C1: desc = "ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE: The manifest contains an attribute for the assembly identity which is not valid."; code = 0x36C1; break;
case 0x36C2: desc = "ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE: The manifest is missing the required default namespace specification on the assembly element."; code = 0x36C2; break;
case 0x36C3: desc = "ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE: The manifest has a default namespace specified on the assembly element but its value is not \"urn:schemas-microsoft-com:asm.v1\"."; code = 0x36C3; break;
case 0x36C4: desc = "ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT: The private manifest probed has crossed a path with an unsupported reparse point."; code = 0x36C4; break;
case 0x36C5: desc = "ERROR_SXS_DUPLICATE_DLL_NAME: Two or more components referenced directly or indirectly by the application manifest have files by the same name."; code = 0x36C5; break;
case 0x36C6: desc = "ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME: Two or more components referenced directly or indirectly by the application manifest have window classes with the same name."; code = 0x36C6; break;
case 0x36C7: desc = "ERROR_SXS_DUPLICATE_CLSID: Two or more components referenced directly or indirectly by the application manifest have the same COM server CLSIDs."; code = 0x36C7; break;
case 0x36C8: desc = "ERROR_SXS_DUPLICATE_IID: Two or more components referenced directly or indirectly by the application manifest have proxies for the same COM interface IIDs."; code = 0x36C8; break;
case 0x36C9: desc = "ERROR_SXS_DUPLICATE_TLBID: Two or more components referenced directly or indirectly by the application manifest have the same COM type library TLBIDs."; code = 0x36C9; break;
case 0x36CA: desc = "ERROR_SXS_DUPLICATE_PROGID: Two or more components referenced directly or indirectly by the application manifest have the same COM ProgIDs."; code = 0x36CA; break;
case 0x36CB: desc = "ERROR_SXS_DUPLICATE_ASSEMBLY_NAME: Two or more components referenced directly or indirectly by the application manifest are different versions of the same component which is not permitted."; code = 0x36CB; break;
case 0x36CC: desc = "ERROR_SXS_FILE_HASH_MISMATCH: A component's file does not match the verification information present in the component manifest."; code = 0x36CC; break;
case 0x36CD: desc = "ERROR_SXS_POLICY_PARSE_ERROR: The policy manifest contains one or more syntax errors."; code = 0x36CD; break;
case 0x36CE: desc = "ERROR_SXS_XML_E_MISSINGQUOTE: Manifest Parse Error : A string literal was expected, but no opening quote character was found."; code = 0x36CE; break;
case 0x36CF: desc = "ERROR_SXS_XML_E_COMMENTSYNTAX: Manifest Parse Error : Incorrect syntax was used in a comment."; code = 0x36CF; break;
case 0x36D0: desc = "ERROR_SXS_XML_E_BADSTARTNAMECHAR: Manifest Parse Error : A name was started with an invalid character."; code = 0x36D0; break;
case 0x36D1: desc = "ERROR_SXS_XML_E_BADNAMECHAR: Manifest Parse Error : A name contained an invalid character."; code = 0x36D1; break;
case 0x36D2: desc = "ERROR_SXS_XML_E_BADCHARINSTRING: Manifest Parse Error : A string literal contained an invalid character."; code = 0x36D2; break;
case 0x36D3: desc = "ERROR_SXS_XML_E_XMLDECLSYNTAX: Manifest Parse Error : Invalid syntax for an xml declaration."; code = 0x36D3; break;
case 0x36D4: desc = "ERROR_SXS_XML_E_BADCHARDATA: Manifest Parse Error : An Invalid character was found in text content."; code = 0x36D4; break;
case 0x36D5: desc = "ERROR_SXS_XML_E_MISSINGWHITESPACE: Manifest Parse Error : Required white space was missing."; code = 0x36D5; break;
case 0x36D6: desc = "ERROR_SXS_XML_E_EXPECTINGTAGEND: Manifest Parse Error : The character '>' was expected."; code = 0x36D6; break;
case 0x36D7: desc = "ERROR_SXS_XML_E_MISSINGSEMICOLON: Manifest Parse Error : A semi colon character was expected."; code = 0x36D7; break;
case 0x36D8: desc = "ERROR_SXS_XML_E_UNBALANCEDPAREN: Manifest Parse Error : Unbalanced parentheses."; code = 0x36D8; break;
case 0x36D9: desc = "ERROR_SXS_XML_E_INTERNALERROR: Manifest Parse Error : Internal error."; code = 0x36D9; break;
case 0x36DA: desc = "ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE: Manifest Parse Error : Whitespace is not allowed at this location."; code = 0x36DA; break;
case 0x36DB: desc = "ERROR_SXS_XML_E_INCOMPLETE_ENCODING: Manifest Parse Error : End of file reached in invalid state for current encoding."; code = 0x36DB; break;
case 0x36DC: desc = "ERROR_SXS_XML_E_MISSING_PAREN: Manifest Parse Error : Missing parenthesis."; code = 0x36DC; break;
case 0x36DD: desc = "ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE: Manifest Parse Error : A single or double closing quote character (\' or \") is missing."; code = 0x36DD; break;
case 0x36DE: desc = "ERROR_SXS_XML_E_MULTIPLE_COLONS: Manifest Parse Error : Multiple colons are not allowed in a name."; code = 0x36DE; break;
case 0x36DF: desc = "ERROR_SXS_XML_E_INVALID_DECIMAL: Manifest Parse Error : Invalid character for decimal digit."; code = 0x36DF; break;
case 0x36E0: desc = "ERROR_SXS_XML_E_INVALID_HEXIDECIMAL: Manifest Parse Error : Invalid character for hexadecimal digit."; code = 0x36E0; break;
case 0x36E1: desc = "ERROR_SXS_XML_E_INVALID_UNICODE: Manifest Parse Error : Invalid unicode character value for this platform."; code = 0x36E1; break;
case 0x36E2: desc = "ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK: Manifest Parse Error : Expecting whitespace or '?'."; code = 0x36E2; break;
case 0x36E3: desc = "ERROR_SXS_XML_E_UNEXPECTEDENDTAG: Manifest Parse Error : End tag was not expected at this location."; code = 0x36E3; break;
case 0x36E4: desc = "ERROR_SXS_XML_E_UNCLOSEDTAG: Manifest Parse Error : The following tags were not closed: %1."; code = 0x36E4; break;
case 0x36E5: desc = "ERROR_SXS_XML_E_DUPLICATEATTRIBUTE: Manifest Parse Error : Duplicate attribute."; code = 0x36E5; break;
case 0x36E6: desc = "ERROR_SXS_XML_E_MULTIPLEROOTS: Manifest Parse Error : Only one top level element is allowed in an XML document."; code = 0x36E6; break;
case 0x36E7: desc = "ERROR_SXS_XML_E_INVALIDATROOTLEVEL: Manifest Parse Error : Invalid at the top level of the document."; code = 0x36E7; break;
case 0x36E8: desc = "ERROR_SXS_XML_E_BADXMLDECL: Manifest Parse Error : Invalid xml declaration."; code = 0x36E8; break;
case 0x36E9: desc = "ERROR_SXS_XML_E_MISSINGROOT: Manifest Parse Error : XML document must have a top level element."; code = 0x36E9; break;
case 0x36EA: desc = "ERROR_SXS_XML_E_UNEXPECTEDEOF: Manifest Parse Error : Unexpected end of file."; code = 0x36EA; break;
case 0x36EB: desc = "ERROR_SXS_XML_E_BADPEREFINSUBSET: Manifest Parse Error : Parameter entities cannot be used inside markup declarations in an internal subset."; code = 0x36EB; break;
case 0x36EC: desc = "ERROR_SXS_XML_E_UNCLOSEDSTARTTAG: Manifest Parse Error : Element was not closed."; code = 0x36EC; break;
case 0x36ED: desc = "ERROR_SXS_XML_E_UNCLOSEDENDTAG: Manifest Parse Error : End element was missing the character '>'."; code = 0x36ED; break;
case 0x36EE: desc = "ERROR_SXS_XML_E_UNCLOSEDSTRING: Manifest Parse Error : A string literal was not closed."; code = 0x36EE; break;
case 0x36EF: desc = "ERROR_SXS_XML_E_UNCLOSEDCOMMENT: Manifest Parse Error : A comment was not closed."; code = 0x36EF; break;
case 0x36F0: desc = "ERROR_SXS_XML_E_UNCLOSEDDECL: Manifest Parse Error : A declaration was not closed."; code = 0x36F0; break;
case 0x36F1: desc = "ERROR_SXS_XML_E_UNCLOSEDCDATA: Manifest Parse Error : A CDATA section was not closed."; code = 0x36F1; break;
case 0x36F2: desc = "ERROR_SXS_XML_E_RESERVEDNAMESPACE: Manifest Parse Error : The namespace prefix is not allowed to start with the reserved string \"xml\"."; code = 0x36F2; break;
case 0x36F3: desc = "ERROR_SXS_XML_E_INVALIDENCODING: Manifest Parse Error : System does not support the specified encoding."; code = 0x36F3; break;
case 0x36F4: desc = "ERROR_SXS_XML_E_INVALIDSWITCH: Manifest Parse Error : Switch from current encoding to specified encoding not supported."; code = 0x36F4; break;
case 0x36F5: desc = "ERROR_SXS_XML_E_BADXMLCASE: Manifest Parse Error : The name 'xml' is reserved and must be lower case."; code = 0x36F5; break;
case 0x36F6: desc = "ERROR_SXS_XML_E_INVALID_STANDALONE: Manifest Parse Error : The standalone attribute must have the value 'yes' or 'no'."; code = 0x36F6; break;
case 0x36F7: desc = "ERROR_SXS_XML_E_UNEXPECTED_STANDALONE: Manifest Parse Error : The standalone attribute cannot be used in external entities."; code = 0x36F7; break;
case 0x36F8: desc = "ERROR_SXS_XML_E_INVALID_VERSION: Manifest Parse Error : Invalid version number."; code = 0x36F8; break;
case 0x36F9: desc = "ERROR_SXS_XML_E_MISSINGEQUALS: Manifest Parse Error : Missing equals sign between attribute and attribute value."; code = 0x36F9; break;
case 0x36FA: desc = "ERROR_SXS_PROTECTION_RECOVERY_FAILED: Assembly Protection Error : Unable to recover the specified assembly."; code = 0x36FA; break;
case 0x36FB: desc = "ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT: Assembly Protection Error : The public key for an assembly was too short to be allowed."; code = 0x36FB; break;
case 0x36FC: desc = "ERROR_SXS_PROTECTION_CATALOG_NOT_VALID: Assembly Protection Error : The catalog for an assembly is not valid, or does not match the assembly's manifest."; code = 0x36FC; break;
case 0x36FD: desc = "ERROR_SXS_UNTRANSLATABLE_HRESULT: An HRESULT could not be translated to a corresponding Win32 error code."; code = 0x36FD; break;
case 0x36FE: desc = "ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING: Assembly Protection Error : The catalog for an assembly is missing."; code = 0x36FE; break;
case 0x36FF: desc = "ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE: The supplied assembly identity is missing one or more attributes which must be present in this context."; code = 0x36FF; break;
case 0x3700: desc = "ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME: The supplied assembly identity has one or more attribute names that contain characters not permitted in XML names."; code = 0x3700; break;
case 0x3701: desc = "ERROR_SXS_ASSEMBLY_MISSING: The referenced assembly could not be found."; code = 0x3701; break;
case 0x3702: desc = "ERROR_SXS_CORRUPT_ACTIVATION_STACK: The activation context activation stack for the running thread of execution is corrupt."; code = 0x3702; break;
case 0x3703: desc = "ERROR_SXS_CORRUPTION: The application isolation metadata for this process or thread has become corrupt."; code = 0x3703; break;
case 0x3704: desc = "ERROR_SXS_EARLY_DEACTIVATION: The activation context being deactivated is not the most recently activated one."; code = 0x3704; break;
case 0x3705: desc = "ERROR_SXS_INVALID_DEACTIVATION: The activation context being deactivated is not active for the current thread of execution."; code = 0x3705; break;
case 0x3706: desc = "ERROR_SXS_MULTIPLE_DEACTIVATION: The activation context being deactivated has already been deactivated."; code = 0x3706; break;
case 0x3707: desc = "ERROR_SXS_PROCESS_TERMINATION_REQUESTED: A component used by the isolation facility has requested to terminate the process."; code = 0x3707; break;
case 0x3708: desc = "ERROR_SXS_RELEASE_ACTIVATION_CONTEXT: A kernel mode component is releasing a reference on an activation context."; code = 0x3708; break;
case 0x3709: desc = "ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY: The activation context of system default assembly could not be generated."; code = 0x3709; break;
case 0x370A: desc = "ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE: The value of an attribute in an identity is not within the legal range."; code = 0x370A; break;
case 0x370B: desc = "ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME: The name of an attribute in an identity is not within the legal range."; code = 0x370B; break;
case 0x370C: desc = "ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE: An identity contains two definitions for the same attribute."; code = 0x370C; break;
case 0x370D: desc = "ERROR_SXS_IDENTITY_PARSE_ERROR: The identity string is malformed. This may be due to a trailing comma, more than two unnamed attributes, missing attribute name or missing attribute value."; code = 0x370D; break;
case 0x370E: desc = "ERROR_MALFORMED_SUBSTITUTION_STRING: A string containing localized substitutable content was malformed. Either a dollar sign ($) was followed by something other than a left parenthesis or another dollar sign or an substitution's right parenthesis was not found."; code = 0x370E; break;
case 0x370F: desc = "ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN: The public key token does not correspond to the public key specified."; code = 0x370F; break;
case 0x3710: desc = "ERROR_UNMAPPED_SUBSTITUTION_STRING: A substitution string had no mapping."; code = 0x3710; break;
case 0x3711: desc = "ERROR_SXS_ASSEMBLY_NOT_LOCKED: The component must be locked before making the request."; code = 0x3711; break;
case 0x3712: desc = "ERROR_SXS_COMPONENT_STORE_CORRUPT: The component store has been corrupted."; code = 0x3712; break;
case 0x3713: desc = "ERROR_ADVANCED_INSTALLER_FAILED: An advanced installer failed during setup or servicing."; code = 0x3713; break;
case 0x3714: desc = "ERROR_XML_ENCODING_MISMATCH: The character encoding in the XML declaration did not match the encoding used in the document."; code = 0x3714; break;
case 0x3715: desc = "ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT: The identities of the manifests are identical but their contents are different."; code = 0x3715; break;
case 0x3716: desc = "ERROR_SXS_IDENTITIES_DIFFERENT: The component identities are different."; code = 0x3716; break;
case 0x3717: desc = "ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT: The assembly is not a deployment."; code = 0x3717; break;
case 0x3718: desc = "ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY: The file is not a part of the assembly."; code = 0x3718; break;
case 0x3719: desc = "ERROR_SXS_MANIFEST_TOO_BIG: The size of the manifest exceeds the maximum allowed."; code = 0x3719; break;
case 0x371A: desc = "ERROR_SXS_SETTING_NOT_REGISTERED: The setting is not registered."; code = 0x371A; break;
case 0x371B: desc = "ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE: One or more required members of the transaction are not present."; code = 0x371B; break;
case 0x371C: desc = "ERROR_SMI_PRIMITIVE_INSTALLER_FAILED: The SMI primitive installer failed during setup or servicing."; code = 0x371C; break;
case 0x371D: desc = "ERROR_GENERIC_COMMAND_FAILED: A generic command executable returned a result that indicates failure."; code = 0x371D; break;
case 0x371E: desc = "ERROR_SXS_FILE_HASH_MISSING: A component is missing file verification information in its manifest."; code = 0x371E; break;
case 0x3A98: desc = "ERROR_EVT_INVALID_CHANNEL_PATH: The specified channel path is invalid."; code = 0x3A98; break;
case 0x3A99: desc = "ERROR_EVT_INVALID_QUERY: The specified query is invalid."; code = 0x3A99; break;
case 0x3A9A: desc = "ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND: The publisher metadata cannot be found in the resource."; code = 0x3A9A; break;
case 0x3A9B: desc = "ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND: The template for an event definition cannot be found in the resource (error = %1)."; code = 0x3A9B; break;
case 0x3A9C: desc = "ERROR_EVT_INVALID_PUBLISHER_NAME: The specified publisher name is invalid."; code = 0x3A9C; break;
case 0x3A9D: desc = "ERROR_EVT_INVALID_EVENT_DATA: The event data raised by the publisher is not compatible with the event template definition in the publisher's manifest."; code = 0x3A9D; break;
case 0x3A9F: desc = "ERROR_EVT_CHANNEL_NOT_FOUND: The specified channel could not be found. Check channel configuration."; code = 0x3A9F; break;
case 0x3AA0: desc = "ERROR_EVT_MALFORMED_XML_TEXT: The specified xml text was not well-formed. See Extended Error for more details."; code = 0x3AA0; break;
case 0x3AA1: desc = "ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL: The caller is trying to subscribe to a direct channel which is not allowed. The events for a direct channel go directly to a logfile and cannot be subscribed to."; code = 0x3AA1; break;
case 0x3AA2: desc = "ERROR_EVT_CONFIGURATION_ERROR: Configuration error."; code = 0x3AA2; break;
case 0x3AA3: desc = "ERROR_EVT_QUERY_RESULT_STALE: The query result is stale / invalid. This may be due to the log being cleared or rolling over after the query result was created. Users should handle this code by releasing the query result object and reissuing the query."; code = 0x3AA3; break;
case 0x3AA4: desc = "ERROR_EVT_QUERY_RESULT_INVALID_POSITION: Query result is currently at an invalid position."; code = 0x3AA4; break;
case 0x3AA5: desc = "ERROR_EVT_NON_VALIDATING_MSXML: Registered MSXML doesn't support validation."; code = 0x3AA5; break;
case 0x3AA6: desc = "ERROR_EVT_FILTER_ALREADYSCOPED: An expression can only be followed by a change of scope operation if it itself evaluates to a node set and is not already part of some other change of scope operation."; code = 0x3AA6; break;
case 0x3AA7: desc = "ERROR_EVT_FILTER_NOTELTSET: Can't perform a step operation from a term that does not represent an element set."; code = 0x3AA7; break;
case 0x3AA8: desc = "ERROR_EVT_FILTER_INVARG: Left hand side arguments to binary operators must be either attributes, nodes or variables and right hand side arguments must be constants."; code = 0x3AA8; break;
case 0x3AA9: desc = "ERROR_EVT_FILTER_INVTEST: A step operation must involve either a node test or, in the case of a predicate, an algebraic expression against which to test each node in the node set identified by the preceeding node set can be evaluated."; code = 0x3AA9; break;
case 0x3AAA: desc = "ERROR_EVT_FILTER_INVTYPE: This data type is currently unsupported."; code = 0x3AAA; break;
case 0x3AAB: desc = "ERROR_EVT_FILTER_PARSEERR: A syntax error occurred at position %1!d!."; code = 0x3AAB; break;
case 0x3AAC: desc = "ERROR_EVT_FILTER_UNSUPPORTEDOP: This operator is unsupported by this implementation of the filter."; code = 0x3AAC; break;
case 0x3AAD: desc = "ERROR_EVT_FILTER_UNEXPECTEDTOKEN: The token encountered was unexpected."; code = 0x3AAD; break;
case 0x3AAE: desc = "ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL: The requested operation cannot be performed over an enabled direct channel. The channel must first be disabled before performing the requested operation."; code = 0x3AAE; break;
case 0x3AAF: desc = "ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE: Channel property %1!s! contains invalid value. The value has invalid type, is outside of valid range, can't be updated or is not supported by this type of channel."; code = 0x3AAF; break;
case 0x3AB0: desc = "ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE: Publisher property %1!s! contains invalid value. The value has invalid type, is outside of valid range, can't be updated or is not supported by this type of publisher."; code = 0x3AB0; break;
case 0x3AB1: desc = "ERROR_EVT_CHANNEL_CANNOT_ACTIVATE: The channel fails to activate."; code = 0x3AB1; break;
case 0x3AB2: desc = "ERROR_EVT_FILTER_TOO_COMPLEX: The xpath expression exceeded supported complexity. Please symplify it or split it into two or more simple expressions."; code = 0x3AB2; break;
case 0x3AB3: desc = "ERROR_EVT_MESSAGE_NOT_FOUND: the message resource is present but the message is not found in the string/message table."; code = 0x3AB3; break;
case 0x3AB4: desc = "ERROR_EVT_MESSAGE_ID_NOT_FOUND: The message id for the desired message could not be found."; code = 0x3AB4; break;
case 0x3AB5: desc = "ERROR_EVT_UNRESOLVED_VALUE_INSERT: The substitution string for insert index (%1) could not be found."; code = 0x3AB5; break;
case 0x3AB6: desc = "ERROR_EVT_UNRESOLVED_PARAMETER_INSERT: The description string for parameter reference (%1) could not be found."; code = 0x3AB6; break;
case 0x3AB7: desc = "ERROR_EVT_MAX_INSERTS_REACHED: The maximum number of replacements has been reached."; code = 0x3AB7; break;
case 0x3AB8: desc = "ERROR_EVT_EVENT_DEFINITION_NOT_FOUND: The event definition could not be found for event id (%1)."; code = 0x3AB8; break;
case 0x3AB9: desc = "ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND: The locale specific resource for the desired message is not present."; code = 0x3AB9; break;
case 0x3ABA: desc = "ERROR_EVT_VERSION_TOO_OLD: The resource is too old to be compatible."; code = 0x3ABA; break;
case 0x3ABB: desc = "ERROR_EVT_VERSION_TOO_NEW: The resource is too new to be compatible."; code = 0x3ABB; break;
case 0x3ABC: desc = "ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY: The channel at index %1!d! of the query can't be opened."; code = 0x3ABC; break;
case 0x3ABD: desc = "ERROR_EVT_PUBLISHER_DISABLED: The publisher has been disabled and its resource is not available. This usually occurs when the publisher is in the process of being uninstalled or upgraded."; code = 0x3ABD; break;
case 0x3ABE: desc = "ERROR_EVT_FILTER_OUT_OF_RANGE: Attempted to create a numeric type that is outside of its valid range."; code = 0x3ABE; break;
case 0x3AE8: desc = "ERROR_EC_SUBSCRIPTION_CANNOT_ACTIVATE: The subscription fails to activate."; code = 0x3AE8; break;
case 0x3AE9: desc = "ERROR_EC_LOG_DISABLED: The log of the subscription is in disabled state, and can not be used to forward events to. The log must first be enabled before the subscription can be activated."; code = 0x3AE9; break;
case 0x3AEA: desc = "ERROR_EC_CIRCULAR_FORWARDING: When forwarding events from local machine to itself, the query of the subscription can't contain target log of the subscription."; code = 0x3AEA; break;
case 0x3AEB: desc = "ERROR_EC_CREDSTORE_FULL: The credential store that is used to save credentials is full."; code = 0x3AEB; break;
case 0x3AEC: desc = "ERROR_EC_CRED_NOT_FOUND: The credential used by this subscription can't be found in credential store."; code = 0x3AEC; break;
case 0x3AED: desc = "ERROR_EC_NO_ACTIVE_CHANNEL: No active channel is found for the query."; code = 0x3AED; break;
case 0x3AFC: desc = "ERROR_MUI_FILE_NOT_FOUND: The resource loader failed to find MUI file."; code = 0x3AFC; break;
case 0x3AFD: desc = "ERROR_MUI_INVALID_FILE: The resource loader failed to load MUI file because the file fail to pass validation."; code = 0x3AFD; break;
case 0x3AFE: desc = "ERROR_MUI_INVALID_RC_CONFIG: The RC Manifest is corrupted with garbage data or unsupported version or missing required item."; code = 0x3AFE; break;
case 0x3AFF: desc = "ERROR_MUI_INVALID_LOCALE_NAME: The RC Manifest has invalid culture name."; code = 0x3AFF; break;
case 0x3B00: desc = "ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME: The RC Manifest has invalid ultimatefallback name."; code = 0x3B00; break;
case 0x3B01: desc = "ERROR_MUI_FILE_NOT_LOADED: The resource loader cache doesn't have loaded MUI entry."; code = 0x3B01; break;
case 0x3B02: desc = "ERROR_RESOURCE_ENUM_USER_STOP: User stopped resource enumeration."; code = 0x3B02; break;
case 0x3B03: desc = "ERROR_MUI_INTLSETTINGS_UILANG_NOT_INSTALLED: UI language installation failed."; code = 0x3B03; break;
case 0x3B04: desc = "ERROR_MUI_INTLSETTINGS_INVALID_LOCALE_NAME: Locale installation failed."; code = 0x3B04; break;
case 0x3B06: desc = "ERROR_MRM_RUNTIME_NO_DEFAULT_OR_NEUTRAL_RESOURCE: A resource does not have default or neutral value."; code = 0x3B06; break;
case 0x3B07: desc = "ERROR_MRM_INVALID_PRICONFIG: Invalid PRI config file."; code = 0x3B07; break;
case 0x3B08: desc = "ERROR_MRM_INVALID_FILE_TYPE: Invalid file type."; code = 0x3B08; break;
case 0x3B09: desc = "ERROR_MRM_UNKNOWN_QUALIFIER: Unknown qualifier."; code = 0x3B09; break;
case 0x3B0A: desc = "ERROR_MRM_INVALID_QUALIFIER_VALUE: Invalid qualifier value."; code = 0x3B0A; break;
case 0x3B0B: desc = "ERROR_MRM_NO_CANDIDATE: No Candidate found."; code = 0x3B0B; break;
case 0x3B0C: desc = "ERROR_MRM_NO_MATCH_OR_DEFAULT_CANDIDATE: The ResourceMap or NamedResource has an item that does not have default or neutral resource.."; code = 0x3B0C; break;
case 0x3B0D: desc = "ERROR_MRM_RESOURCE_TYPE_MISMATCH: Invalid ResourceCandidate type."; code = 0x3B0D; break;
case 0x3B0E: desc = "ERROR_MRM_DUPLICATE_MAP_NAME: Duplicate Resource Map."; code = 0x3B0E; break;
case 0x3B0F: desc = "ERROR_MRM_DUPLICATE_ENTRY: Duplicate Entry."; code = 0x3B0F; break;
case 0x3B10: desc = "ERROR_MRM_INVALID_RESOURCE_IDENTIFIER: Invalid Resource Identifier."; code = 0x3B10; break;
case 0x3B11: desc = "ERROR_MRM_FILEPATH_TOO_LONG: Filepath too long."; code = 0x3B11; break;
case 0x3B12: desc = "ERROR_MRM_UNSUPPORTED_DIRECTORY_TYPE: Unsupported directory type."; code = 0x3B12; break;
case 0x3B16: desc = "ERROR_MRM_INVALID_PRI_FILE: Invalid PRI File."; code = 0x3B16; break;
case 0x3B17: desc = "ERROR_MRM_NAMED_RESOURCE_NOT_FOUND: NamedResource Not Found."; code = 0x3B17; break;
case 0x3B1F: desc = "ERROR_MRM_MAP_NOT_FOUND: ResourceMap Not Found."; code = 0x3B1F; break;
case 0x3B20: desc = "ERROR_MRM_UNSUPPORTED_PROFILE_TYPE: Unsupported MRT profile type."; code = 0x3B20; break;
case 0x3B21: desc = "ERROR_MRM_INVALID_QUALIFIER_OPERATOR: Invalid qualifier operator."; code = 0x3B21; break;
case 0x3B22: desc = "ERROR_MRM_INDETERMINATE_QUALIFIER_VALUE: Unable to determine qualifier value or qualifier value has not been set."; code = 0x3B22; break;
case 0x3B23: desc = "ERROR_MRM_AUTOMERGE_ENABLED: Automerge is enabled in the PRI file."; code = 0x3B23; break;
case 0x3B24: desc = "ERROR_MRM_TOO_MANY_RESOURCES: Too many resources defined for package."; code = 0x3B24; break;
case 0x3B60: desc = "ERROR_MCA_INVALID_CAPABILITIES_STRING: The monitor returned a DDC/CI capabilities string that did not comply with the ACCESS.bus 3.0, DDC/CI 1.1 or MCCS 2 Revision 1 specification."; code = 0x3B60; break;
case 0x3B61: desc = "ERROR_MCA_INVALID_VCP_VERSION: The monitor's VCP Version (0xDF) VCP code returned an invalid version value."; code = 0x3B61; break;
case 0x3B62: desc = "ERROR_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION: The monitor does not comply with the MCCS specification it claims to support."; code = 0x3B62; break;
case 0x3B63: desc = "ERROR_MCA_MCCS_VERSION_MISMATCH: The MCCS version in a monitor's mccs_ver capability does not match the MCCS version the monitor reports when the VCP Version (0xDF) VCP code is used."; code = 0x3B63; break;
case 0x3B64: desc = "ERROR_MCA_UNSUPPORTED_MCCS_VERSION: The Monitor Configuration API only works with monitors that support the MCCS 1.0 specification, MCCS 2.0 specification or the MCCS 2.0 Revision 1 specification."; code = 0x3B64; break;
case 0x3B65: desc = "ERROR_MCA_INTERNAL_ERROR: An internal Monitor Configuration API error occurred."; code = 0x3B65; break;
case 0x3B66: desc = "ERROR_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED: The monitor returned an invalid monitor technology type. CRT, Plasma and LCD (TFT) are examples of monitor technology types. This error implies that the monitor violated the MCCS 2.0 or MCCS 2.0 Revision 1 specification."; code = 0x3B66; break;
case 0x3B67: desc = "ERROR_MCA_UNSUPPORTED_COLOR_TEMPERATURE: The caller of SetMonitorColorTemperature specified a color temperature that the current monitor did not support. This error implies that the monitor violated the MCCS 2.0 or MCCS 2.0 Revision 1 specification."; code = 0x3B67; break;
case 0x3B92: desc = "ERROR_AMBIGUOUS_SYSTEM_DEVICE: The requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria."; code = 0x3B92; break;
case 0x3BC3: desc = "ERROR_SYSTEM_DEVICE_NOT_FOUND: The requested system device cannot be found."; code = 0x3BC3; break;
case 0x3BC4: desc = "ERROR_HASH_NOT_SUPPORTED: Hash generation for the specified hash version and hash type is not enabled on the server."; code = 0x3BC4; break;
case 0x3BC5: desc = "ERROR_HASH_NOT_PRESENT: The hash requested from the server is not available or no longer valid."; code = 0x3BC5; break;
case 0x3BD9: desc = "ERROR_SECONDARY_IC_PROVIDER_NOT_REGISTERED: The secondary interrupt controller instance that manages the specified interrupt is not registered."; code = 0x3BD9; break;
case 0x3BDA: desc = "ERROR_GPIO_CLIENT_INFORMATION_INVALID: The information supplied by the GPIO client driver is invalid."; code = 0x3BDA; break;
case 0x3BDB: desc = "ERROR_GPIO_VERSION_NOT_SUPPORTED: The version specified by the GPIO client driver is not supported."; code = 0x3BDB; break;
case 0x3BDC: desc = "ERROR_GPIO_INVALID_REGISTRATION_PACKET: The registration packet supplied by the GPIO client driver is not valid."; code = 0x3BDC; break;
case 0x3BDD: desc = "ERROR_GPIO_OPERATION_DENIED: The requested operation is not suppported for the specified handle."; code = 0x3BDD; break;
case 0x3BDE: desc = "ERROR_GPIO_INCOMPATIBLE_CONNECT_MODE: The requested connect mode conflicts with an existing mode on one or more of the specified pins."; code = 0x3BDE; break;
case 0x3BDF: desc = "ERROR_GPIO_INTERRUPT_ALREADY_UNMASKED: The interrupt requested to be unmasked is not masked."; code = 0x3BDF; break;
case 0x3C28: desc = "ERROR_CANNOT_SWITCH_RUNLEVEL: The requested run level switch cannot be completed successfully."; code = 0x3C28; break;
case 0x3C29: desc = "ERROR_INVALID_RUNLEVEL_SETTING: The service has an invalid run level setting. The run level for a service must not be higher than the run level of its dependent services."; code = 0x3C29; break;
case 0x3C2A: desc = "ERROR_RUNLEVEL_SWITCH_TIMEOUT: The requested run level switch cannot be completed successfully since one or more services will not stop or restart within the specified timeout."; code = 0x3C2A; break;
case 0x3C2B: desc = "ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT: A run level switch agent did not respond within the specified timeout."; code = 0x3C2B; break;
case 0x3C2C: desc = "ERROR_RUNLEVEL_SWITCH_IN_PROGRESS: A run level switch is currently in progress."; code = 0x3C2C; break;
case 0x3C2D: desc = "ERROR_SERVICES_FAILED_AUTOSTART: One or more services failed to start during the service startup phase of a run level switch."; code = 0x3C2D; break;
case 0x3C8D: desc = "ERROR_COM_TASK_STOP_PENDING: The task stop request cannot be completed immediately since task needs more time to shutdown."; code = 0x3C8D; break;
case 0x3CF0: desc = "ERROR_INSTALL_OPEN_PACKAGE_FAILED: Package could not be opened."; code = 0x3CF0; break;
case 0x3CF1: desc = "ERROR_INSTALL_PACKAGE_NOT_FOUND: Package was not found."; code = 0x3CF1; break;
case 0x3CF2: desc = "ERROR_INSTALL_INVALID_PACKAGE: Package data is invalid."; code = 0x3CF2; break;
case 0x3CF3: desc = "ERROR_INSTALL_RESOLVE_DEPENDENCY_FAILED: Package failed updates, dependency or conflict validation."; code = 0x3CF3; break;
case 0x3CF4: desc = "ERROR_INSTALL_OUT_OF_DISK_SPACE: There is not enough disk space on your computer. Please free up some space and try again."; code = 0x3CF4; break;
case 0x3CF5: desc = "ERROR_INSTALL_NETWORK_FAILURE: There was a problem downloading your product."; code = 0x3CF5; break;
case 0x3CF6: desc = "ERROR_INSTALL_REGISTRATION_FAILURE: Package could not be registered."; code = 0x3CF6; break;
case 0x3CF7: desc = "ERROR_INSTALL_DEREGISTRATION_FAILURE: Package could not be unregistered."; code = 0x3CF7; break;
case 0x3CF8: desc = "ERROR_INSTALL_CANCEL: User cancelled the install request."; code = 0x3CF8; break;
case 0x3CF9: desc = "ERROR_INSTALL_FAILED: Install failed. Please contact your software vendor."; code = 0x3CF9; break;
case 0x3CFA: desc = "ERROR_REMOVE_FAILED: Removal failed. Please contact your software vendor."; code = 0x3CFA; break;
case 0x3CFB: desc = "ERROR_PACKAGE_ALREADY_EXISTS: The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details."; code = 0x3CFB; break;
case 0x3CFC: desc = "ERROR_NEEDS_REMEDIATION: The application cannot be started. Try reinstalling the application to fix the problem."; code = 0x3CFC; break;
case 0x3CFD: desc = "ERROR_INSTALL_PREREQUISITE_FAILED: A Prerequisite for an install could not be satisfied."; code = 0x3CFD; break;
case 0x3CFE: desc = "ERROR_PACKAGE_REPOSITORY_CORRUPTED: The package repository is corrupted."; code = 0x3CFE; break;
case 0x3CFF: desc = "ERROR_INSTALL_POLICY_FAILURE: To install this application you need either a Windows developer license or a sideloading-enabled system."; code = 0x3CFF; break;
case 0x3D00: desc = "ERROR_PACKAGE_UPDATING: The application cannot be started because it is currently updating."; code = 0x3D00; break;
case 0x3D01: desc = "ERROR_DEPLOYMENT_BLOCKED_BY_POLICY: The package deployment operation is blocked by policy. Please contact your system administrator."; code = 0x3D01; break;
case 0x3D02: desc = "ERROR_PACKAGES_IN_USE: The package could not be installed because resources it modifies are currently in use."; code = 0x3D02; break;
case 0x3D03: desc = "ERROR_RECOVERY_FILE_CORRUPT: The package could not be recovered because necessary data for recovery have been corrupted."; code = 0x3D03; break;
case 0x3D04: desc = "ERROR_INVALID_STAGED_SIGNATURE: The signature is invalid. To register in developer mode, AppxSignature.p7x and AppxBlockMap.xml must be valid or should not be present."; code = 0x3D04; break;
case 0x3D05: desc = "ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED: An error occurred while deleting the package's previously existing application data."; code = 0x3D05; break;
case 0x3D06: desc = "ERROR_INSTALL_PACKAGE_DOWNGRADE: The package could not be installed because a higher version of this package is already installed."; code = 0x3D06; break;
case 0x3D07: desc = "ERROR_SYSTEM_NEEDS_REMEDIATION: An error in a system binary was detected. Try refreshing the PC to fix the problem."; code = 0x3D07; break;
case 0x3D08: desc = "ERROR_APPX_INTEGRITY_FAILURE_CLR_NGEN: A corrupted CLR NGEN binary was detected on the system."; code = 0x3D08; break;
case 0x3D09: desc = "ERROR_RESILIENCY_FILE_CORRUPT: The operation could not be resumed because necessary data for recovery have been corrupted."; code = 0x3D09; break;
case 0x3D0A: desc = "ERROR_INSTALL_FIREWALL_SERVICE_NOT_RUNNING: The package could not be installed because the Windows Firewall service is not running. Enable the Windows Firewall service and try again."; code = 0x3D0A; break;
case 0x3D54: desc = "APPMODEL_ERROR_NO_PACKAGE: The process has no package identity."; code = 0x3D54; break;
case 0x3D55: desc = "APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT: The package runtime information is corrupted."; code = 0x3D55; break;
case 0x3D56: desc = "APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT: The package identity is corrupted."; code = 0x3D56; break;
case 0x3D57: desc = "APPMODEL_ERROR_NO_APPLICATION: The process has no application identity."; code = 0x3D57; break;
case 0x3DB8: desc = "ERROR_STATE_LOAD_STORE_FAILED: Loading the state store failed."; code = 0x3DB8; break;
case 0x3DB9: desc = "ERROR_STATE_GET_VERSION_FAILED: Retrieving the state version for the application failed."; code = 0x3DB9; break;
case 0x3DBA: desc = "ERROR_STATE_SET_VERSION_FAILED: Setting the state version for the application failed."; code = 0x3DBA; break;
case 0x3DBB: desc = "ERROR_STATE_STRUCTURED_RESET_FAILED: Resetting the structured state of the application failed."; code = 0x3DBB; break;
case 0x3DBC: desc = "ERROR_STATE_OPEN_CONTAINER_FAILED: State Manager failed to open the container."; code = 0x3DBC; break;
case 0x3DBD: desc = "ERROR_STATE_CREATE_CONTAINER_FAILED: State Manager failed to create the container."; code = 0x3DBD; break;
case 0x3DBE: desc = "ERROR_STATE_DELETE_CONTAINER_FAILED: State Manager failed to delete the container."; code = 0x3DBE; break;
case 0x3DBF: desc = "ERROR_STATE_READ_SETTING_FAILED: State Manager failed to read the setting."; code = 0x3DBF; break;
case 0x3DC0: desc = "ERROR_STATE_WRITE_SETTING_FAILED: State Manager failed to write the setting."; code = 0x3DC0; break;
case 0x3DC1: desc = "ERROR_STATE_DELETE_SETTING_FAILED: State Manager failed to delete the setting."; code = 0x3DC1; break;
case 0x3DC2: desc = "ERROR_STATE_QUERY_SETTING_FAILED: State Manager failed to query the setting."; code = 0x3DC2; break;
case 0x3DC3: desc = "ERROR_STATE_READ_COMPOSITE_SETTING_FAILED: State Manager failed to read the composite setting."; code = 0x3DC3; break;
case 0x3DC4: desc = "ERROR_STATE_WRITE_COMPOSITE_SETTING_FAILED: State Manager failed to write the composite setting."; code = 0x3DC4; break;
case 0x3DC5: desc = "ERROR_STATE_ENUMERATE_CONTAINER_FAILED: State Manager failed to enumerate the containers."; code = 0x3DC5; break;
case 0x3DC6: desc = "ERROR_STATE_ENUMERATE_SETTINGS_FAILED: State Manager failed to enumerate the settings."; code = 0x3DC6; break;
case 0x3DC7: desc = "ERROR_STATE_COMPOSITE_SETTING_VALUE_SIZE_LIMIT_EXCEEDED: The size of the state manager composite setting value has exceeded the limit."; code = 0x3DC7; break;
case 0x3DC8: desc = "ERROR_STATE_SETTING_VALUE_SIZE_LIMIT_EXCEEDED: The size of the state manager setting value has exceeded the limit."; code = 0x3DC8; break;
case 0x3DC9: desc = "ERROR_STATE_SETTING_NAME_SIZE_LIMIT_EXCEEDED: The length of the state manager setting name has exceeded the limit."; code = 0x3DC9; break;
case 0x3DCA: desc = "ERROR_STATE_CONTAINER_NAME_SIZE_LIMIT_EXCEEDED: The length of the state manager container name has exceeded the limit."; code = 0x3DCA; break;
case 0x3DE1: desc = "ERROR_API_UNAVAILABLE: This API cannot be used in the context of the caller's application type."; code = 0x3DE1; break;
default:
desc = "Unknown error, it might be out of range.";
code = rawError;
break;
}
}
else
{
desc = "Unknown error, it might be out of range.";
code = rawError;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment