Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Win32ErrorCodes (Constants)
 
.
Summary
Constants for Win32 error codes.

C# Constants:

/// <summary>

/// Win32 Error Codes.

/// <para>

/// All Win32 error codes MUST be in the range 0x0000 to 0xFFFF,

/// although Win32 error codes can be used both in 16-bit fields

/// (such as within the HRESULT) as well as 32-bit fields.</para>

/// </summary>

public static class Win32ErrorCodes

    {

    /// <summary>The operation completed successfully.</summary>

    public const int ERROR_SUCCESS = 0x00000000;

    /// <summary>The operation completed successfully.</summary>

    public const int NERR_Success = 0x00000000;

    /// <summary>Incorrect function.</summary>

    public const int ERROR_INVALID_FUNCTION = 0x00000001;

    /// <summary>The system cannot find the file specified.</summary>

    public const int ERROR_FILE_NOT_FOUND = 0x00000002;

    /// <summary>The system cannot find the path specified.</summary>

    public const int ERROR_PATH_NOT_FOUND = 0x00000003;

    /// <summary>The system cannot open the file.</summary>

    public const int ERROR_TOO_MANY_OPEN_FILES = 0x00000004;

    /// <summary>Access is denied.</summary>

    public const int ERROR_ACCESS_DENIED = 0x00000005;

    /// <summary>The handle is invalid.</summary>

    public const int ERROR_INVALID_HANDLE = 0x00000006;

    /// <summary>The storage control blocks were destroyed.</summary>

    public const int ERROR_ARENA_TRASHED = 0x00000007;

    /// <summary>Not enough storage is available to process this command.</summary>

    public const int ERROR_NOT_ENOUGH_MEMORY = 0x00000008;

    /// <summary>The storage control block address is invalid.</summary>

    public const int ERROR_INVALID_BLOCK = 0x00000009;

    /// <summary>The environment is incorrect.</summary>

    public const int ERROR_BAD_ENVIRONMENT = 0x0000000A;

    /// <summary>An attempt was made to load a program with an incorrect format.</summary>

    public const int ERROR_BAD_FORMAT = 0x0000000B;

    /// <summary>The access code is invalid.</summary>

    public const int ERROR_INVALID_ACCESS = 0x0000000C;

    /// <summary>The data is invalid.</summary>

    public const int ERROR_INVALID_DATA = 0x0000000D;

    /// <summary>Not enough storage is available to complete this operation.</summary>

    public const int ERROR_OUTOFMEMORY = 0x0000000E;

    /// <summary>The system cannot find the drive specified.</summary>

    public const int ERROR_INVALID_DRIVE = 0x0000000F;

    /// <summary>The directory cannot be removed.</summary>

    public const int ERROR_CURRENT_DIRECTORY = 0x00000010;

    /// <summary>The system cannot move the file to a different disk drive.</summary>

    public const int ERROR_NOT_SAME_DEVICE = 0x00000011;

    /// <summary>There are no more files.</summary>

    public const int ERROR_NO_MORE_FILES = 0x00000012;

    /// <summary>The media is write-protected.</summary>

    public const int ERROR_WRITE_PROTECT = 0x00000013;

    /// <summary>The system cannot find the device specified.</summary>

    public const int ERROR_BAD_UNIT = 0x00000014;

    /// <summary>The device is not ready.</summary>

    public const int ERROR_NOT_READY = 0x00000015;

    /// <summary>The device does not recognize the command.</summary>

    public const int ERROR_BAD_COMMAND = 0x00000016;

    /// <summary>Data error (cyclic redundancy check).</summary>

    public const int ERROR_CRC = 0x00000017;

    /// <summary>The program issued a command but the command length is incorrect.</summary>

    public const int ERROR_BAD_LENGTH = 0x00000018;

    /// <summary>The drive cannot locate a specific area or track on the disk.</summary>

    public const int ERROR_SEEK = 0x00000019;

    /// <summary>The specified disk cannot be accessed.</summary>

    public const int ERROR_NOT_DOS_DISK = 0x0000001A;

    /// <summary>The drive cannot find the sector requested.</summary>

    public const int ERROR_SECTOR_NOT_FOUND = 0x0000001B;

    /// <summary>The printer is out of paper.</summary>

    public const int ERROR_OUT_OF_PAPER = 0x0000001C;

    /// <summary>The system cannot write to the specified device.</summary>

    public const int ERROR_WRITE_FAULT = 0x0000001D;

    /// <summary>The system cannot read from the specified device.</summary>

    public const int ERROR_READ_FAULT = 0x0000001E;

    /// <summary>A device attached to the system is not functioning.</summary>

    public const int ERROR_GEN_FAILURE = 0x0000001F;

    /// <summary>The process cannot access the file because it is being used by another process.</summary>

    public const int ERROR_SHARING_VIOLATION = 0x00000020;

    /// <summary>The process cannot access the file because another process has locked a portion of the file.</summary>

    public const int ERROR_LOCK_VIOLATION = 0x00000021;

    /// <summary>The wrong disk is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.</summary>

    public const int ERROR_WRONG_DISK = 0x00000022;

    /// <summary>Too many files opened for sharing.</summary>

    public const int ERROR_SHARING_BUFFER_EXCEEDED = 0x00000024;

    /// <summary>Reached the end of the file.</summary>

    public const int ERROR_HANDLE_EOF = 0x00000026;

    /// <summary>The disk is full.</summary>

    public const int ERROR_HANDLE_DISK_FULL = 0x00000027;

    /// <summary>The request is not supported.</summary>

    public const int ERROR_NOT_SUPPORTED = 0x00000032;

    /// <summary>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.</summary>

    public const int ERROR_REM_NOT_LIST = 0x00000033;

    /// <summary>You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name, and then try again.</summary>

    public const int ERROR_DUP_NAME = 0x00000034;

    /// <summary>The network path was not found.</summary>

    public const int ERROR_BAD_NETPATH = 0x00000035;

    /// <summary>The network is busy.</summary>

    public const int ERROR_NETWORK_BUSY = 0x00000036;

    /// <summary>The specified network resource or device is no longer available.</summary>

    public const int ERROR_DEV_NOT_EXIST = 0x00000037;

    /// <summary>The network BIOS command limit has been reached.</summary>

    public const int ERROR_TOO_MANY_CMDS = 0x00000038;

    /// <summary>A network adapter hardware error occurred.</summary>

    public const int ERROR_ADAP_HDW_ERR = 0x00000039;

    /// <summary>The specified server cannot perform the requested operation.</summary>

    public const int ERROR_BAD_NET_RESP = 0x0000003A;

    /// <summary>An unexpected network error occurred.</summary>

    public const int ERROR_UNEXP_NET_ERR = 0x0000003B;

    /// <summary>The remote adapter is not compatible.</summary>

    public const int ERROR_BAD_REM_ADAP = 0x0000003C;

    /// <summary>The print queue is full.</summary>

    public const int ERROR_PRINTQ_FULL = 0x0000003D;

    /// <summary>Space to store the file waiting to be printed is not available on the server.</summary>

    public const int ERROR_NO_SPOOL_SPACE = 0x0000003E;

    /// <summary>Your file waiting to be printed was deleted.</summary>

    public const int ERROR_PRINT_CANCELLED = 0x0000003F;

    /// <summary>The specified network name is no longer available.</summary>

    public const int ERROR_NETNAME_DELETED = 0x00000040;

    /// <summary>Network access is denied.</summary>

    public const int ERROR_NETWORK_ACCESS_DENIED = 0x00000041;

    /// <summary>The network resource type is not correct.</summary>

    public const int ERROR_BAD_DEV_TYPE = 0x00000042;

    /// <summary>The network name cannot be found.</summary>

    public const int ERROR_BAD_NET_NAME = 0x00000043;

    /// <summary>The name limit for the local computer network adapter card was exceeded.</summary>

    public const int ERROR_TOO_MANY_NAMES = 0x00000044;

    /// <summary>The network BIOS session limit was exceeded.</summary>

    public const int ERROR_TOO_MANY_SESS = 0x00000045;

    /// <summary>The remote server has been paused or is in the process of being started.</summary>

    public const int ERROR_SHARING_PAUSED = 0x00000046;

    /// <summary>No more connections can be made to this remote computer at this time because the computer has accepted the maximum number of connections.</summary>

    public const int ERROR_REQ_NOT_ACCEP = 0x00000047;

    /// <summary>The specified printer or disk device has been paused.</summary>

    public const int ERROR_REDIR_PAUSED = 0x00000048;

    /// <summary>The file exists.</summary>

    public const int ERROR_FILE_EXISTS = 0x00000050;

    /// <summary>The directory or file cannot be created.</summary>

    public const int ERROR_CANNOT_MAKE = 0x00000052;

    /// <summary>Fail on INT 24.</summary>

    public const int ERROR_FAIL_I24 = 0x00000053;

    /// <summary>Storage to process this request is not available.</summary>

    public const int ERROR_OUT_OF_STRUCTURES = 0x00000054;

    /// <summary>The local device name is already in use.</summary>

    public const int ERROR_ALREADY_ASSIGNED = 0x00000055;

    /// <summary>The specified network password is not correct.</summary>

    public const int ERROR_INVALID_PASSWORD = 0x00000056;

    /// <summary>The parameter is incorrect.</summary>

    public const int ERROR_INVALID_PARAMETER = 0x00000057;

    /// <summary>A write fault occurred on the network.</summary>

    public const int ERROR_NET_WRITE_FAULT = 0x00000058;

    /// <summary>The system cannot start another process at this time.</summary>

    public const int ERROR_NO_PROC_SLOTS = 0x00000059;

    /// <summary>Cannot create another system semaphore.</summary>

    public const int ERROR_TOO_MANY_SEMAPHORES = 0x00000064;

    /// <summary>The exclusive semaphore is owned by another process.</summary>

    public const int ERROR_EXCL_SEM_ALREADY_OWNED = 0x00000065;

    /// <summary>The semaphore is set and cannot be closed.</summary>

    public const int ERROR_SEM_IS_SET = 0x00000066;

    /// <summary>The semaphore cannot be set again.</summary>

    public const int ERROR_TOO_MANY_SEM_REQUESTS = 0x00000067;

    /// <summary>Cannot request exclusive semaphores at interrupt time.</summary>

    public const int ERROR_INVALID_AT_INTERRUPT_TIME = 0x00000068;

    /// <summary>The previous ownership of this semaphore has ended.</summary>

    public const int ERROR_SEM_OWNER_DIED = 0x00000069;

    /// <summary>Insert the disk for drive %1.</summary>

    public const int ERROR_SEM_USER_LIMIT = 0x0000006A;

    /// <summary>The program stopped because an alternate disk was not inserted.</summary>

    public const int ERROR_DISK_CHANGE = 0x0000006B;

    /// <summary>The disk is in use or locked by another process.</summary>

    public const int ERROR_DRIVE_LOCKED = 0x0000006C;

    /// <summary>The pipe has been ended.</summary>

    public const int ERROR_BROKEN_PIPE = 0x0000006D;

    /// <summary>The system cannot open the device or file specified.</summary>

    public const int ERROR_OPEN_FAILED = 0x0000006E;

    /// <summary>The file name is too long.</summary>

    public const int ERROR_BUFFER_OVERFLOW = 0x0000006F;

    /// <summary>There is not enough space on the disk.</summary>

    public const int ERROR_DISK_FULL = 0x00000070;

    /// <summary>No more internal file identifiers are available.</summary>

    public const int ERROR_NO_MORE_SEARCH_HANDLES = 0x00000071;

    /// <summary>The target internal file identifier is incorrect.</summary>

    public const int ERROR_INVALID_TARGET_HANDLE = 0x00000072;

    /// <summary>The Input Output Control (IOCTL) call made by the application program is not correct.</summary>

    public const int ERROR_INVALID_CATEGORY = 0x00000075;

    /// <summary>The verify-on-write switch parameter value is not correct.</summary>

    public const int ERROR_INVALID_VERIFY_SWITCH = 0x00000076;

    /// <summary>The system does not support the command requested.</summary>

    public const int ERROR_BAD_DRIVER_LEVEL = 0x00000077;

    /// <summary>This function is not supported on this system.</summary>

    public const int ERROR_CALL_NOT_IMPLEMENTED = 0x00000078;

    /// <summary>The semaphore time-out period has expired.</summary>

    public const int ERROR_SEM_TIMEOUT = 0x00000079;

    /// <summary>The data area passed to a system call is too small.</summary>

    public const int ERROR_INSUFFICIENT_BUFFER = 0x0000007A;

    /// <summary>The file name, directory name, or volume label syntax is incorrect.</summary>

    public const int ERROR_INVALID_NAME = 0x0000007B;

    /// <summary>The system call level is not correct.</summary>

    public const int ERROR_INVALID_LEVEL = 0x0000007C;

    /// <summary>The disk has no volume label.</summary>

    public const int ERROR_NO_VOLUME_LABEL = 0x0000007D;

    /// <summary>The specified module could not be found.</summary>

    public const int ERROR_MOD_NOT_FOUND = 0x0000007E;

    /// <summary>The specified procedure could not be found.</summary>

    public const int ERROR_PROC_NOT_FOUND = 0x0000007F;

    /// <summary>There are no child processes to wait for.</summary>

    public const int ERROR_WAIT_NO_CHILDREN = 0x00000080;

    /// <summary>The %1 application cannot be run in Win32 mode.</summary>

    public const int ERROR_CHILD_NOT_COMPLETE = 0x00000081;

    /// <summary>Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.</summary>

    public const int ERROR_DIRECT_ACCESS_HANDLE = 0x00000082;

    /// <summary>An attempt was made to move the file pointer before the beginning of the file.</summary>

    public const int ERROR_NEGATIVE_SEEK = 0x00000083;

    /// <summary>The file pointer cannot be set on the specified device or file.</summary>

    public const int ERROR_SEEK_ON_DEVICE = 0x00000084;

    /// <summary>A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.</summary>

    public const int ERROR_IS_JOIN_TARGET = 0x00000085;

    /// <summary>An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.</summary>

    public const int ERROR_IS_JOINED = 0x00000086;

    /// <summary>An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.</summary>

    public const int ERROR_IS_SUBSTED = 0x00000087;

    /// <summary>The system tried to delete the JOIN of a drive that is not joined.</summary>

    public const int ERROR_NOT_JOINED = 0x00000088;

    /// <summary>The system tried to delete the substitution of a drive that is not substituted.</summary>

    public const int ERROR_NOT_SUBSTED = 0x00000089;

    /// <summary>The system tried to join a drive to a directory on a joined drive.</summary>

    public const int ERROR_JOIN_TO_JOIN = 0x0000008A;

    /// <summary>The system tried to substitute a drive to a directory on a substituted drive.</summary>

    public const int ERROR_SUBST_TO_SUBST = 0x0000008B;

    /// <summary>The system tried to join a drive to a directory on a substituted drive.</summary>

    public const int ERROR_JOIN_TO_SUBST = 0x0000008C;

    /// <summary>The system tried to SUBST a drive to a directory on a joined drive.</summary>

    public const int ERROR_SUBST_TO_JOIN = 0x0000008D;

    /// <summary>The system cannot perform a JOIN or SUBST at this time.</summary>

    public const int ERROR_BUSY_DRIVE = 0x0000008E;

    /// <summary>The system cannot join or substitute a drive to or for a directory on the same drive.</summary>

    public const int ERROR_SAME_DRIVE = 0x0000008F;

    /// <summary>The directory is not a subdirectory of the root directory.</summary>

    public const int ERROR_DIR_NOT_ROOT = 0x00000090;

    /// <summary>The directory is not empty.</summary>

    public const int ERROR_DIR_NOT_EMPTY = 0x00000091;

    /// <summary>The path specified is being used in a substitute.</summary>

    public const int ERROR_IS_SUBST_PATH = 0x00000092;

    /// <summary>Not enough resources are available to process this command.</summary>

    public const int ERROR_IS_JOIN_PATH = 0x00000093;

    /// <summary>The path specified cannot be used at this time.</summary>

    public const int ERROR_PATH_BUSY = 0x00000094;

    /// <summary>An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.</summary>

    public const int ERROR_IS_SUBST_TARGET = 0x00000095;

    /// <summary>System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.</summary>

    public const int ERROR_SYSTEM_TRACE = 0x00000096;

    /// <summary>The number of specified semaphore events for DosMuxSemWait is not correct.</summary>

    public const int ERROR_INVALID_EVENT_COUNT = 0x00000097;

    /// <summary>DosMuxSemWait did not execute; too many semaphores are already set.</summary>

    public const int ERROR_TOO_MANY_MUXWAITERS = 0x00000098;

    /// <summary>The DosMuxSemWait list is not correct.</summary>

    public const int ERROR_INVALID_LIST_FORMAT = 0x00000099;

    /// <summary>The volume label you entered exceeds the label character limit of the destination file system.</summary>

    public const int ERROR_LABEL_TOO_LONG = 0x0000009A;

    /// <summary>Cannot create another thread.</summary>

    public const int ERROR_TOO_MANY_TCBS = 0x0000009B;

    /// <summary>The recipient process has refused the signal.</summary>

    public const int ERROR_SIGNAL_REFUSED = 0x0000009C;

    /// <summary>The segment is already discarded and cannot be locked.</summary>

    public const int ERROR_DISCARDED = 0x0000009D;

    /// <summary>The segment is already unlocked.</summary>

    public const int ERROR_NOT_LOCKED = 0x0000009E;

    /// <summary>The address for the thread ID is not correct.</summary>

    public const int ERROR_BAD_THREADID_ADDR = 0x0000009F;

    /// <summary>One or more arguments are not correct.</summary>

    public const int ERROR_BAD_ARGUMENTS = 0x000000A0;

    /// <summary>The specified path is invalid.</summary>

    public const int ERROR_BAD_PATHNAME = 0x000000A1;

    /// <summary>A signal is already pending.</summary>

    public const int ERROR_SIGNAL_PENDING = 0x000000A2;

    /// <summary>No more threads can be created in the system.</summary>

    public const int ERROR_MAX_THRDS_REACHED = 0x000000A4;

    /// <summary>Unable to lock a region of a file.</summary>

    public const int ERROR_LOCK_FAILED = 0x000000A7;

    /// <summary>The requested resource is in use.</summary>

    public const int ERROR_BUSY = 0x000000AA;

    /// <summary>A lock request was not outstanding for the supplied cancel region.</summary>

    public const int ERROR_CANCEL_VIOLATION = 0x000000AD;

    /// <summary>The file system does not support atomic changes to the lock type.</summary>

    public const int ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 0x000000AE;

    /// <summary>The system detected a segment number that was not correct.</summary>

    public const int ERROR_INVALID_SEGMENT_NUMBER = 0x000000B4;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INVALID_ORDINAL = 0x000000B6;

    /// <summary>Cannot create a file when that file already exists.</summary>

    public const int ERROR_ALREADY_EXISTS = 0x000000B7;

    /// <summary>The flag passed is not correct.</summary>

    public const int ERROR_INVALID_FLAG_NUMBER = 0x000000BA;

    /// <summary>The specified system semaphore name was not found.</summary>

    public const int ERROR_SEM_NOT_FOUND = 0x000000BB;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INVALID_STARTING_CODESEG = 0x000000BC;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INVALID_STACKSEG = 0x000000BD;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INVALID_MODULETYPE = 0x000000BE;

    /// <summary>Cannot run %1 in Win32 mode.</summary>

    public const int ERROR_INVALID_EXE_SIGNATURE = 0x000000BF;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_EXE_MARKED_INVALID = 0x000000C0;

    /// <summary>%1 is not a valid Win32 application.</summary>

    public const int ERROR_BAD_EXE_FORMAT = 0x000000C1;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_ITERATED_DATA_EXCEEDS_64k = 0x000000C2;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INVALID_MINALLOCSIZE = 0x000000C3;

    /// <summary>The operating system cannot run this application program.</summary>

    public const int ERROR_DYNLINK_FROM_INVALID_RING = 0x000000C4;

    /// <summary>The operating system is not presently configured to run this application.</summary>

    public const int ERROR_IOPL_NOT_ENABLED = 0x000000C5;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INVALID_SEGDPL = 0x000000C6;

    /// <summary>The operating system cannot run this application program.</summary>

    public const int ERROR_AUTODATASEG_EXCEEDS_64k = 0x000000C7;

    /// <summary>The code segment cannot be greater than or equal to 64 KB.</summary>

    public const int ERROR_RING2SEG_MUST_BE_MOVABLE = 0x000000C8;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 0x000000C9;

    /// <summary>The operating system cannot run %1.</summary>

    public const int ERROR_INFLOOP_IN_RELOC_CHAIN = 0x000000CA;

    /// <summary>The system could not find the environment option that was entered.</summary>

    public const int ERROR_ENVVAR_NOT_FOUND = 0x000000CB;

    /// <summary>No process in the command subtree has a signal handler.</summary>

    public const int ERROR_NO_SIGNAL_SENT = 0x000000CD;

    /// <summary>The file name or extension is too long.</summary>

    public const int ERROR_FILENAME_EXCED_RANGE = 0x000000CE;

    /// <summary>The ring 2 stack is in use.</summary>

    public const int ERROR_RING2_STACK_IN_USE = 0x000000CF;

    /// <summary>The asterisk https://www.pinvoke.net/emoticons/star.gif or question mark (?) global file name characters are entered incorrectly, or too many global file name characters are specified.</summary>

    public const int ERROR_META_EXPANSION_TOO_LONG = 0x000000D0;

    /// <summary>The signal being posted is not correct.</summary>

    public const int ERROR_INVALID_SIGNAL_NUMBER = 0x000000D1;

    /// <summary>The signal handler cannot be set.</summary>

    public const int ERROR_THREAD_1_INACTIVE = 0x000000D2;

    /// <summary>The segment is locked and cannot be reallocated.</summary>

    public const int ERROR_LOCKED = 0x000000D4;

    /// <summary>Too many dynamic-link modules are attached to this program or dynamic-link module.</summary>

    public const int ERROR_TOO_MANY_MODULES = 0x000000D6;

    /// <summary>Cannot nest calls to LoadModule.</summary>

    public const int ERROR_NESTING_NOT_ALLOWED = 0x000000D7;

    /// <summary>This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.</summary>

    public const int ERROR_EXE_MACHINE_TYPE_MISMATCH = 0x000000D8;

    /// <summary>The image file %1 is signed, unable to modify.</summary>

    public const int ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 0x000000D9;

    /// <summary>The image file %1 is strong signed, unable to modify.</summary>

    public const int ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 0x000000DA;

    /// <summary>This file is checked out or locked for editing by another user.</summary>

    public const int ERROR_FILE_CHECKED_OUT = 0x000000DC;

    /// <summary>The file must be checked out before saving changes.</summary>

    public const int ERROR_CHECKOUT_REQUIRED = 0x000000DD;

    /// <summary>The file type being saved or retrieved has been blocked.</summary>

    public const int ERROR_BAD_FILE_TYPE = 0x000000DE;

    /// <summary>The file size exceeds the limit allowed and cannot be saved.</summary>

    public const int ERROR_FILE_TOO_LARGE = 0x000000DF;

    /// <summary>Access denied. Before opening files in this location, you must first browse to the website and select the option to sign in automatically.</summary>

    public const int ERROR_FORMS_AUTH_REQUIRED = 0x000000E0;

    /// <summary>Operation did not complete successfully because the file contains a virus.</summary>

    public const int ERROR_VIRUS_INFECTED = 0x000000E1;

    /// <summary>This file contains a virus and cannot be opened. Due to the nature of this virus, the file has been removed from this location.</summary>

    public const int ERROR_VIRUS_DELETED = 0x000000E2;

    /// <summary>The pipe is local.</summary>

    public const int ERROR_PIPE_LOCAL = 0x000000E5;

    /// <summary>The pipe state is invalid.</summary>

    public const int ERROR_BAD_PIPE = 0x000000E6;

    /// <summary>All pipe instances are busy.</summary>

    public const int ERROR_PIPE_BUSY = 0x000000E7;

    /// <summary>The pipe is being closed.</summary>

    public const int ERROR_NO_DATA = 0x000000E8;

    /// <summary>No process is on the other end of the pipe.</summary>

    public const int ERROR_PIPE_NOT_CONNECTED = 0x000000E9;

    /// <summary>More data is available.</summary>

    public const int ERROR_MORE_DATA = 0x000000EA;

    /// <summary>The session was canceled.</summary>

    public const int ERROR_VC_DISCONNECTED = 0x000000F0;

    /// <summary>The specified extended attribute name was invalid.</summary>

    public const int ERROR_INVALID_EA_NAME = 0x000000FE;

    /// <summary>The extended attributes are inconsistent.</summary>

    public const int ERROR_EA_LIST_INCONSISTENT = 0x000000FF;

    /// <summary>The wait operation timed out.</summary>

    public const int WAIT_TIMEOUT = 0x00000102;

    /// <summary>No more data is available.</summary>

    public const int ERROR_NO_MORE_ITEMS = 0x00000103;

    /// <summary>The copy functions cannot be used.</summary>

    public const int ERROR_CANNOT_COPY = 0x0000010A;

    /// <summary>The directory name is invalid.</summary>

    public const int ERROR_DIRECTORY = 0x0000010B;

    /// <summary>The extended attributes did not fit in the buffer.</summary>

    public const int ERROR_EAS_DIDNT_FIT = 0x00000113;

    /// <summary>The extended attribute file on the mounted file system is corrupt.</summary>

    public const int ERROR_EA_FILE_CORRUPT = 0x00000114;

    /// <summary>The extended attribute table file is full.</summary>

    public const int ERROR_EA_TABLE_FULL = 0x00000115;

    /// <summary>The specified extended attribute handle is invalid.</summary>

    public const int ERROR_INVALID_EA_HANDLE = 0x00000116;

    /// <summary>The mounted file system does not support extended attributes.</summary>

    public const int ERROR_EAS_NOT_SUPPORTED = 0x0000011A;

    /// <summary>Attempt to release mutex not owned by caller.</summary>

    public const int ERROR_NOT_OWNER = 0x00000120;

    /// <summary>Too many posts were made to a semaphore.</summary>

    public const int ERROR_TOO_MANY_POSTS = 0x0000012A;

    /// <summary>Only part of a ReadProcessMemory or WriteProcessMemory request was completed.</summary>

    public const int ERROR_PARTIAL_COPY = 0x0000012B;

    /// <summary>The oplock request is denied.</summary>

    public const int ERROR_OPLOCK_NOT_GRANTED = 0x0000012C;

    /// <summary>An invalid oplock acknowledgment was received by the system.</summary>

    public const int ERROR_INVALID_OPLOCK_PROTOCOL = 0x0000012D;

    /// <summary>The volume is too fragmented to complete this operation.</summary>

    public const int ERROR_DISK_TOO_FRAGMENTED = 0x0000012E;

    /// <summary>The file cannot be opened because it is in the process of being deleted.</summary>

    public const int ERROR_DELETE_PENDING = 0x0000012F;

    /// <summary>The system cannot find message text for message number 0x%1 in the message file for %2.</summary>

    public const int ERROR_MR_MID_NOT_FOUND = 0x0000013D;

    /// <summary>The scope specified was not found.</summary>

    public const int ERROR_SCOPE_NOT_FOUND = 0x0000013E;

    /// <summary>No action was taken because a system reboot is required.</summary>

    public const int ERROR_FAIL_NOACTION_REBOOT = 0x0000015E;

    /// <summary>The shutdown operation failed.</summary>

    public const int ERROR_FAIL_SHUTDOWN = 0x0000015F;

    /// <summary>The restart operation failed.</summary>

    public const int ERROR_FAIL_RESTART = 0x00000160;

    /// <summary>The maximum number of sessions has been reached.</summary>

    public const int ERROR_MAX_SESSIONS_REACHED = 0x00000161;

    /// <summary>The thread is already in background processing mode.</summary>

    public const int ERROR_THREAD_MODE_ALREADY_BACKGROUND = 0x00000190;

    /// <summary>The thread is not in background processing mode.</summary>

    public const int ERROR_THREAD_MODE_NOT_BACKGROUND = 0x00000191;

    /// <summary>The process is already in background processing mode.</summary>

    public const int ERROR_PROCESS_MODE_ALREADY_BACKGROUND = 0x00000192;

    /// <summary>The process is not in background processing mode.</summary>

    public const int ERROR_PROCESS_MODE_NOT_BACKGROUND = 0x00000193;

    /// <summary>Attempt to access invalid address.</summary>

    public const int ERROR_INVALID_ADDRESS = 0x000001E7;

    /// <summary>User profile cannot be loaded.</summary>

    public const int ERROR_USER_PROFILE_LOAD = 0x000001F4;

    /// <summary>Arithmetic result exceeded 32 bits.</summary>

    public const int ERROR_ARITHMETIC_OVERFLOW = 0x00000216;

    /// <summary>There is a process on the other end of the pipe.</summary>

    public const int ERROR_PIPE_CONNECTED = 0x00000217;

    /// <summary>Waiting for a process to open the other end of the pipe.</summary>

    public const int ERROR_PIPE_LISTENING = 0x00000218;

    /// <summary>Application verifier has found an error in the current process.</summary>

    public const int ERROR_VERIFIER_STOP = 0x00000219;

    /// <summary>An error occurred in the ABIOS subsystem.</summary>

    public const int ERROR_ABIOS_ERROR = 0x0000021A;

    /// <summary>A warning occurred in the WX86 subsystem.</summary>

    public const int ERROR_WX86_WARNING = 0x0000021B;

    /// <summary>An error occurred in the WX86 subsystem.</summary>

    public const int ERROR_WX86_ERROR = 0x0000021C;

    /// <summary>An attempt was made to cancel or set a timer that has an associated asynchronous procedure call (APC) and the subject thread is not the thread that originally set the timer with an associated APC routine.</summary>

    public const int ERROR_TIMER_NOT_CANCELED = 0x0000021D;

    /// <summary>Unwind exception code.</summary>

    public const int ERROR_UNWIND = 0x0000021E;

    /// <summary>An invalid or unaligned stack was encountered during an unwind operation.</summary>

    public const int ERROR_BAD_STACK = 0x0000021F;

    /// <summary>An invalid unwind target was encountered during an unwind operation.</summary>

    public const int ERROR_INVALID_UNWIND_TARGET = 0x00000220;

    /// <summary>Invalid object attributes specified to NtCreatePort or invalid port attributes specified to NtConnectPort.</summary>

    public const int ERROR_INVALID_PORT_ATTRIBUTES = 0x00000221;

    /// <summary>Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port.</summary>

    public const int ERROR_PORT_MESSAGE_TOO_LONG = 0x00000222;

    /// <summary>An attempt was made to lower a quota limit below the current usage.</summary>

    public const int ERROR_INVALID_QUOTA_LOWER = 0x00000223;

    /// <summary>An attempt was made to attach to a device that was already attached to another device.</summary>

    public const int ERROR_DEVICE_ALREADY_ATTACHED = 0x00000224;

    /// <summary>An attempt was made to execute an instruction at an unaligned address, and the host system does not support unaligned instruction references.</summary>

    public const int ERROR_INSTRUCTION_MISALIGNMENT = 0x00000225;

    /// <summary>Profiling not started.</summary>

    public const int ERROR_PROFILING_NOT_STARTED = 0x00000226;

    /// <summary>Profiling not stopped.</summary>

    public const int ERROR_PROFILING_NOT_STOPPED = 0x00000227;

    /// <summary>The passed ACL did not contain the minimum required information.</summary>

    public const int ERROR_COULD_NOT_INTERPRET = 0x00000228;

    /// <summary>The number of active profiling objects is at the maximum and no more can be started.</summary>

    public const int ERROR_PROFILING_AT_LIMIT = 0x00000229;

    /// <summary>Used to indicate that an operation cannot continue without blocking for I/O.</summary>

    public const int ERROR_CANT_WAIT = 0x0000022A;

    /// <summary>Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current process.</summary>

    public const int ERROR_CANT_TERMINATE_SELF = 0x0000022B;

    /// <summary>If an MM error is returned that is not defined in the standard FsRtl filter, it is converted to one of the following errors that is guaranteed to be in the filter. In this case, information is lost; however, the filter correctly handles the exception.</summary>

    public const int ERROR_UNEXPECTED_MM_CREATE_ERR = 0x0000022C;

    /// <summary>If an MM error is returned that is not defined in the standard FsRtl filter, it is converted to one of the following errors that is guaranteed to be in the filter. In this case, information is lost; however, the filter correctly handles the exception.</summary>

    public const int ERROR_UNEXPECTED_MM_MAP_ERROR = 0x0000022D;

    /// <summary>If an MM error is returned that is not defined in the standard FsRtl filter, it is converted to one of the following errors that is guaranteed to be in the filter. In this case, information is lost; however, the filter correctly handles the exception.</summary>

    public const int ERROR_UNEXPECTED_MM_EXTEND_ERR = 0x0000022E;

    /// <summary>A malformed function table was encountered during an unwind operation.</summary>

    public const int ERROR_BAD_FUNCTION_TABLE = 0x0000022F;

    /// <summary>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 might cause a file creation attempt to fail.</summary>

    public const int ERROR_NO_GUID_TRANSLATION = 0x00000230;

    /// <summary>Indicates that an attempt was made to grow a local domain table (LDT) by setting its size, or that the size was not an even number of selectors.</summary>

    public const int ERROR_INVALID_LDT_SIZE = 0x00000231;

    /// <summary>Indicates that the starting value for the LDT information was not an integral multiple of the selector size.</summary>

    public const int ERROR_INVALID_LDT_OFFSET = 0x00000233;

    /// <summary>Indicates that the user supplied an invalid descriptor when trying to set up LDT descriptors.</summary>

    public const int ERROR_INVALID_LDT_DESCRIPTOR = 0x00000234;

    /// <summary>Indicates a process has too many threads to perform the requested action. For example, assignment of a primary token can be performed only when a process has zero or one threads.</summary>

    public const int ERROR_TOO_MANY_THREADS = 0x00000235;

    /// <summary>An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.</summary>

    public const int ERROR_THREAD_NOT_IN_PROCESS = 0x00000236;

    /// <summary>Page file quota was exceeded.</summary>

    public const int ERROR_PAGEFILE_QUOTA_EXCEEDED = 0x00000237;

    /// <summary>The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role.</summary>

    public const int ERROR_LOGON_SERVER_CONFLICT = 0x00000238;

    /// <summary>On applicable Windows Server releases, the Security Accounts Manager (SAM) database is significantly out of synchronization with the copy on the domain controller. A complete synchronization is required.</summary>

    public const int ERROR_SYNCHRONIZATION_REQUIRED = 0x00000239;

    /// <summary>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.</summary>

    public const int ERROR_NET_OPEN_FAILED = 0x0000023A;

    /// <summary>{Privilege Failed} The I/O permissions for the process could not be changed.</summary>

    public const int ERROR_IO_PRIVILEGE_FAILED = 0x0000023B;

    /// <summary>{Application Exit by CTRL+C} The application terminated as a result of a CTRL+C.</summary>

    public const int ERROR_CONTROL_C_EXIT = 0x0000023C;

    /// <summary>{Missing System File} The required system file %hs is bad or missing.</summary>

    public const int ERROR_MISSING_SYSTEMFILE = 0x0000023D;

    /// <summary>{Application Error} The exception %s (0x%08lx) occurred in the application at location 0x%08lx.</summary>

    public const int ERROR_UNHANDLED_EXCEPTION = 0x0000023E;

    /// <summary>{Application Error} The application failed to initialize properly (0x%lx). Click OK to terminate the application.</summary>

    public const int ERROR_APP_INIT_FAILURE = 0x0000023F;

    /// <summary>{Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld.</summary>

    public const int ERROR_PAGEFILE_CREATE_FAILED = 0x00000240;

    /// <summary>The hash for the image cannot be found in the system catalogs. The image is likely corrupt or the victim of tampering.</summary>

    public const int ERROR_INVALID_IMAGE_HASH = 0x00000241;

    /// <summary>{No Paging File Specified} No paging file was specified in the system configuration.</summary>

    public const int ERROR_NO_PAGEFILE = 0x00000242;

    /// <summary>{EXCEPTION} A real-mode application issued a floating-point instruction, and floating-point hardware is not present.</summary>

    public const int ERROR_ILLEGAL_FLOAT_CONTEXT = 0x00000243;

    /// <summary>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.</summary>

    public const int ERROR_NO_EVENT_PAIR = 0x00000244;

    /// <summary>A domain server has an incorrect configuration.</summary>

    public const int ERROR_DOMAIN_CTRLR_CONFIG_ERROR = 0x00000245;

    /// <summary>An illegal character was encountered. For a multibyte character set, this includes a lead byte without a succeeding trail byte. For the Unicode character set, this includes the characters 0xFFFF and 0xFFFE.</summary>

    public const int ERROR_ILLEGAL_CHARACTER = 0x00000246;

    /// <summary>The Unicode character is not defined in the Unicode character set installed on the system.</summary>

    public const int ERROR_UNDEFINED_CHARACTER = 0x00000247;

    /// <summary>The paging file cannot be created on a floppy disk.</summary>

    public const int ERROR_FLOPPY_VOLUME = 0x00000248;

    /// <summary>The system bios failed to connect a system interrupt to the device or bus for which the device is connected.</summary>

    public const int ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT = 0x00000249;

    /// <summary>This operation is only allowed for the primary domain controller (PDC) of the domain.</summary>

    public const int ERROR_BACKUP_CONTROLLER = 0x0000024A;

    /// <summary>An attempt was made to acquire a mutant such that its maximum count would have been exceeded.</summary>

    public const int ERROR_MUTANT_LIMIT_EXCEEDED = 0x0000024B;

    /// <summary>A volume has been accessed for which a file system driver is required that has not yet been loaded.</summary>

    public const int ERROR_FS_DRIVER_REQUIRED = 0x0000024C;

    /// <summary>{Registry File Failure} The registry cannot load the hive (file): %hs or its log or alternate. It is corrupt, absent, or not writable.</summary>

    public const int ERROR_CANNOT_LOAD_REGISTRY_FILE = 0x0000024D;

    /// <summary>{Unexpected Failure in DebugActiveProcess} An unexpected failure occurred while processing a DebugActiveProcess API request. Choosing OK will terminate the process, and choosing Cancel will ignore the error.</summary>

    public const int ERROR_DEBUG_ATTACH_FAILED = 0x0000024E;

    /// <summary>{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.</summary>

    public const int ERROR_SYSTEM_PROCESS_TERMINATED = 0x0000024F;

    /// <summary>{Data Not Accepted} The transport driver interface (TDI) client could not handle the data received during an indication.</summary>

    public const int ERROR_DATA_NOT_ACCEPTED = 0x00000250;

    /// <summary>The NT Virtual DOS Machine (NTVDM) encountered a hard error.</summary>

    public const int ERROR_VDM_HARD_ERROR = 0x00000251;

    /// <summary>{Cancel Timeout} The driver %hs failed to complete a canceled I/O request in the allotted time.</summary>

    public const int ERROR_DRIVER_CANCEL_TIMEOUT = 0x00000252;

    /// <summary>{Reply Message Mismatch} An attempt was made to reply to a local procedure call (LPC) message, but the thread specified by the client ID in the message was not waiting on that message.</summary>

    public const int ERROR_REPLY_MESSAGE_MISMATCH = 0x00000253;

    /// <summary>{Delayed Write Failed} Windows was unable to save all the data for the file %hs. The data has been lost. This error might be caused by a failure of your computer hardware or network connection. Try to save this file elsewhere.</summary>

    public const int ERROR_LOST_WRITEBEHIND_DATA = 0x00000254;

    /// <summary>The parameters passed to the server in the client/server shared memory window were invalid. Too much data might have been put in the shared memory window.</summary>

    public const int ERROR_CLIENT_SERVER_PARAMETERS_INVALID = 0x00000255;

    /// <summary>The stream is not a tiny stream.</summary>

    public const int ERROR_NOT_TINY_STREAM = 0x00000256;

    /// <summary>The request must be handled by the stack overflow code.</summary>

    public const int ERROR_STACK_OVERFLOW_READ = 0x00000257;

    /// <summary>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.</summary>

    public const int ERROR_CONVERT_TO_LARGE = 0x00000258;

    /// <summary>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.</summary>

    public const int ERROR_FOUND_OUT_OF_SCOPE = 0x00000259;

    /// <summary>The bucket array must be grown. Retry transaction after doing so.</summary>

    public const int ERROR_ALLOCATE_BUCKET = 0x0000025A;

    /// <summary>The user/kernel marshaling buffer has overflowed.</summary>

    public const int ERROR_MARSHALL_OVERFLOW = 0x0000025B;

    /// <summary>The supplied variant structure contains invalid data.</summary>

    public const int ERROR_INVALID_VARIANT = 0x0000025C;

    /// <summary>The specified buffer contains ill-formed data.</summary>

    public const int ERROR_BAD_COMPRESSION_BUFFER = 0x0000025D;

    /// <summary>{Audit Failed} An attempt to generate a security audit failed.</summary>

    public const int ERROR_AUDIT_FAILED = 0x0000025E;

    /// <summary>The timer resolution was not previously set by the current process.</summary>

    public const int ERROR_TIMER_RESOLUTION_NOT_SET = 0x0000025F;

    /// <summary>There is insufficient account information to log you on.</summary>

    public const int ERROR_INSUFFICIENT_LOGON_INFO = 0x00000260;

    /// <summary>{Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly. The stack pointer has been left in an inconsistent state. The entry point should be declared as WINAPI or STDCALL. Select YES to fail the DLL load. Select NO to continue execution. Selecting NO can cause the application to operate incorrectly.</summary>

    public const int ERROR_BAD_DLL_ENTRYPOINT = 0x00000261;

    /// <summary>{Invalid Service Callback Entrypoint} The %hs service is not written correctly. The stack pointer has been left in an inconsistent state. The callback entry point should be declared as WINAPI or STDCALL. Selecting OK will cause the service to continue operation. However, the service process might operate incorrectly.</summary>

    public const int ERROR_BAD_SERVICE_ENTRYPOINT = 0x00000262;

    /// <summary>There is an IP address conflict with another system on the network.</summary>

    public const int ERROR_IP_ADDRESS_CONFLICT1 = 0x00000263;

    /// <summary>There is an IP address conflict with another system on the network.</summary>

    public const int ERROR_IP_ADDRESS_CONFLICT2 = 0x00000264;

    /// <summary>{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.</summary>

    public const int ERROR_REGISTRY_QUOTA_LIMIT = 0x00000265;

    /// <summary>A callback return system service cannot be executed when no callback is active.</summary>

    public const int ERROR_NO_CALLBACK_ACTIVE = 0x00000266;

    /// <summary>The password provided is too short to meet the policy of your user account. Choose a longer password.</summary>

    public const int ERROR_PWD_TOO_SHORT = 0x00000267;

    /// <summary>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, contact your administrator immediately to have a new one assigned.</summary>

    public const int ERROR_PWD_TOO_RECENT = 0x00000268;

    /// <summary>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. Select a password that you have not previously used.</summary>

    public const int ERROR_PWD_HISTORY_CONFLICT = 0x00000269;

    /// <summary>The specified compression format is unsupported.</summary>

    public const int ERROR_UNSUPPORTED_COMPRESSION = 0x0000026A;

    /// <summary>The specified hardware profile configuration is invalid.</summary>

    public const int ERROR_INVALID_HW_PROFILE = 0x0000026B;

    /// <summary>The specified Plug and Play registry device path is invalid.</summary>

    public const int ERROR_INVALID_PLUGPLAY_DEVICE_PATH = 0x0000026C;

    /// <summary>The specified quota list is internally inconsistent with its descriptor.</summary>

    public const int ERROR_QUOTA_LIST_INCONSISTENT = 0x0000026D;

    /// <summary>{Windows Evaluation Notification} The evaluation period for this installation of Windows has expired. This system will shut down in 1 hour. To restore access to this installation of Windows, upgrade this installation using a licensed distribution of this product.</summary>

    public const int ERROR_EVALUATION_EXPIRATION = 0x0000026E;

    /// <summary>{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.</summary>

    public const int ERROR_ILLEGAL_DLL_RELOCATION = 0x0000026F;

    /// <summary>{DLL Initialization Failed} The application failed to initialize because the window station is shutting down.</summary>

    public const int ERROR_DLL_INIT_FAILED_LOGOFF = 0x00000270;

    /// <summary>The validation process needs to continue on to the next step.</summary>

    public const int ERROR_VALIDATE_CONTINUE = 0x00000271;

    /// <summary>There are no more matches for the current index enumeration.</summary>

    public const int ERROR_NO_MORE_MATCHES = 0x00000272;

    /// <summary>The range could not be added to the range list because of a conflict.</summary>

    public const int ERROR_RANGE_LIST_CONFLICT = 0x00000273;

    /// <summary>The server process is running under a SID different than that required by the client.</summary>

    public const int ERROR_SERVER_SID_MISMATCH = 0x00000274;

    /// <summary>A group marked use for deny only cannot be enabled.</summary>

    public const int ERROR_CANT_ENABLE_DENY_ONLY = 0x00000275;

    /// <summary>{EXCEPTION} Multiple floating point faults.</summary>

    public const int ERROR_FLOAT_MULTIPLE_FAULTS = 0x00000276;

    /// <summary>{EXCEPTION} Multiple floating point traps.</summary>

    public const int ERROR_FLOAT_MULTIPLE_TRAPS = 0x00000277;

    /// <summary>The requested interface is not supported.</summary>

    public const int ERROR_NOINTERFACE = 0x00000278;

    /// <summary>{System Standby Failed} The driver %hs does not support standby mode. Updating this driver might allow the system to go to standby mode.</summary>

    public const int ERROR_DRIVER_FAILED_SLEEP = 0x00000279;

    /// <summary>The system file %1 has become corrupt and has been replaced.</summary>

    public const int ERROR_CORRUPT_SYSTEM_FILE = 0x0000027A;

    /// <summary>{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 might be denied. For more information, see Help.</summary>

    public const int ERROR_COMMITMENT_MINIMUM = 0x0000027B;

    /// <summary>A device was removed so enumeration must be restarted.</summary>

    public const int ERROR_PNP_RESTART_ENUMERATION = 0x0000027C;

    /// <summary>{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.</summary>

    public const int ERROR_SYSTEM_IMAGE_BAD_SIGNATURE = 0x0000027D;

    /// <summary>Device will not start without a reboot.</summary>

    public const int ERROR_PNP_REBOOT_REQUIRED = 0x0000027E;

    /// <summary>There is not enough power to complete the requested operation.</summary>

    public const int ERROR_INSUFFICIENT_POWER = 0x0000027F;

    /// <summary>The system is in the process of shutting down.</summary>

    public const int ERROR_SYSTEM_SHUTDOWN = 0x00000281;

    /// <summary>An attempt to remove a process DebugPort was made, but a port was not already associated with the process.</summary>

    public const int ERROR_PORT_NOT_SET = 0x00000282;

    /// <summary>This version of Windows is not compatible with the behavior version of directory forest, domain, or domain controller.</summary>

    public const int ERROR_DS_VERSION_CHECK_FAILURE = 0x00000283;

    /// <summary>The specified range could not be found in the range list.</summary>

    public const int ERROR_RANGE_NOT_FOUND = 0x00000284;

    /// <summary>The driver was not loaded because the system is booting into safe mode.</summary>

    public const int ERROR_NOT_SAFE_MODE_DRIVER = 0x00000286;

    /// <summary>The driver was not loaded because it failed its initialization call.</summary>

    public const int ERROR_FAILED_DRIVER_ENTRY = 0x00000287;

    /// <summary>The device encountered an error while applying power or reading the device configuration. This might be caused by a failure of your hardware or by a poor connection.</summary>

    public const int ERROR_DEVICE_ENUMERATION_ERROR = 0x00000288;

    /// <summary>The create operation failed because the name contained at least one mount point that resolves to a volume to which the specified device object is not attached.</summary>

    public const int ERROR_MOUNT_POINT_NOT_RESOLVED = 0x00000289;

    /// <summary>The device object parameter is either not a valid device object or is not attached to the volume specified by the file name.</summary>

    public const int ERROR_INVALID_DEVICE_OBJECT_PARAMETER = 0x0000028A;

    /// <summary>A machine check error has occurred. Check the system event log for additional information.</summary>

    public const int ERROR_MCA_OCCURED = 0x0000028B;

    /// <summary>There was an error [%2] processing the driver database.</summary>

    public const int ERROR_DRIVER_DATABASE_ERROR = 0x0000028C;

    /// <summary>The system hive size has exceeded its limit.</summary>

    public const int ERROR_SYSTEM_HIVE_TOO_LARGE = 0x0000028D;

    /// <summary>The driver could not be loaded because a previous version of the driver is still in memory.</summary>

    public const int ERROR_DRIVER_FAILED_PRIOR_UNLOAD = 0x0000028E;

    /// <summary>{Volume Shadow Copy Service} Wait while the Volume Shadow Copy Service prepares volume %hs for hibernation.</summary>

    public const int ERROR_VOLSNAP_PREPARE_HIBERNATE = 0x0000028F;

    /// <summary>The system has failed to hibernate (the error code is %hs). Hibernation will be disabled until the system is restarted.</summary>

    public const int ERROR_HIBERNATION_FAILURE = 0x00000290;

    /// <summary>The requested operation could not be completed due to a file system limitation.</summary>

    public const int ERROR_FILE_SYSTEM_LIMITATION = 0x00000299;

    /// <summary>An assertion failure has occurred.</summary>

    public const int ERROR_ASSERTION_FAILURE = 0x0000029C;

    /// <summary>An error occurred in the Advanced Configuration and Power Interface (ACPI) subsystem.</summary>

    public const int ERROR_ACPI_ERROR = 0x0000029D;

    /// <summary>WOW assertion error.</summary>

    public const int ERROR_WOW_ASSERTION = 0x0000029E;

    /// <summary>A device is missing in the system BIOS MultiProcessor Specification (MPS) table. This device will not be used. Contact your system vendor for system BIOS update.</summary>

    public const int ERROR_PNP_BAD_MPS_TABLE = 0x0000029F;

    /// <summary>A translator failed to translate resources.</summary>

    public const int ERROR_PNP_TRANSLATION_FAILED = 0x000002A0;

    /// <summary>An interrupt request (IRQ) translator failed to translate resources.</summary>

    public const int ERROR_PNP_IRQ_TRANSLATION_FAILED = 0x000002A1;

    /// <summary>Driver %2 returned invalid ID for a child device (%3).</summary>

    public const int ERROR_PNP_INVALID_ID = 0x000002A2;

    /// <summary>{Kernel Debugger Awakened} the system debugger was awakened by an interrupt.</summary>

    public const int ERROR_WAKE_SYSTEM_DEBUGGER = 0x000002A3;

    /// <summary>{Handles Closed} Handles to objects have been automatically closed because of the requested operation.</summary>

    public const int ERROR_HANDLES_CLOSED = 0x000002A4;

    /// <summary>{Too Much Information} The specified ACL contained more information than was expected.</summary>

    public const int ERROR_EXTRANEOUS_INFORMATION = 0x000002A5;

    /// <summary>This warning level status indicates that the transaction state already exists for the registry subtree, but that a transaction commit was previously aborted. The commit has NOT been completed, but it has not been rolled back either (so it can still be committed if desired).</summary>

    public const int ERROR_RXACT_COMMIT_NECESSARY = 0x000002A6;

    /// <summary>{Media Changed} The media might have changed.</summary>

    public const int ERROR_MEDIA_CHECK = 0x000002A7;

    /// <summary>{GUID Substitution} During the translation of a GUID to a Windows SID, no administratively defined GUID prefix was found. A substitute prefix was used, which will not compromise system security. However, this might provide more restrictive access than intended.</summary>

    public const int ERROR_GUID_SUBSTITUTION_MADE = 0x000002A8;

    /// <summary>The create operation stopped after reaching a symbolic link.</summary>

    public const int ERROR_STOPPED_ON_SYMLINK = 0x000002A9;

    /// <summary>A long jump has been executed.</summary>

    public const int ERROR_LONGJUMP = 0x000002AA;

    /// <summary>The Plug and Play query operation was not successful.</summary>

    public const int ERROR_PLUGPLAY_QUERY_VETOED = 0x000002AB;

    /// <summary>A frame consolidation has been executed.</summary>

    public const int ERROR_UNWIND_CONSOLIDATE = 0x000002AC;

    /// <summary>{Registry Hive Recovered} Registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost.</summary>

    public const int ERROR_REGISTRY_HIVE_RECOVERED = 0x000002AD;

    /// <summary>The application is attempting to run executable code from the module %hs. This might be insecure. An alternative, %hs, is available. Should the application use the secure module %hs?</summary>

    public const int ERROR_DLL_MIGHT_BE_INSECURE = 0x000002AE;

    /// <summary>The application is loading executable code from the module %hs. This is secure, but might be incompatible with previous releases of the operating system. An alternative, %hs, is available. Should the application use the secure module %hs?</summary>

    public const int ERROR_DLL_MIGHT_BE_INCOMPATIBLE = 0x000002AF;

    /// <summary>Debugger did not handle the exception.</summary>

    public const int ERROR_DBG_EXCEPTION_NOT_HANDLED = 0x000002B0;

    /// <summary>Debugger will reply later.</summary>

    public const int ERROR_DBG_REPLY_LATER = 0x000002B1;

    /// <summary>Debugger cannot provide handle.</summary>

    public const int ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE = 0x000002B2;

    /// <summary>Debugger terminated thread.</summary>

    public const int ERROR_DBG_TERMINATE_THREAD = 0x000002B3;

    /// <summary>Debugger terminated process.</summary>

    public const int ERROR_DBG_TERMINATE_PROCESS = 0x000002B4;

    /// <summary>Debugger got control C.</summary>

    public const int ERROR_DBG_CONTROL_C = 0x000002B5;

    /// <summary>Debugger printed exception on control C.</summary>

    public const int ERROR_DBG_PRINTEXCEPTION_C = 0x000002B6;

    /// <summary>Debugger received Routing Information Protocol (RIP) exception.</summary>

    public const int ERROR_DBG_RIPEXCEPTION = 0x000002B7;

    /// <summary>Debugger received control break.</summary>

    public const int ERROR_DBG_CONTROL_BREAK = 0x000002B8;

    /// <summary>Debugger command communication exception.</summary>

    public const int ERROR_DBG_COMMAND_EXCEPTION = 0x000002B9;

    /// <summary>{Object Exists} An attempt was made to create an object and the object name already existed.</summary>

    public const int ERROR_OBJECT_NAME_EXISTS = 0x000002BA;

    /// <summary>{Thread Suspended} A thread termination occurred while the thread was suspended. The thread was resumed and termination proceeded.</summary>

    public const int ERROR_THREAD_WAS_SUSPENDED = 0x000002BB;

    /// <summary>{Image Relocated} An image file could not be mapped at the address specified in the image file. Local fixes must be performed on this image.</summary>

    public const int ERROR_IMAGE_NOT_AT_BASE = 0x000002BC;

    /// <summary>This informational level status indicates that a specified registry subtree transaction state did not yet exist and had to be created.</summary>

    public const int ERROR_RXACT_STATE_CREATED = 0x000002BD;

    /// <summary>{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.</summary>

    public const int ERROR_SEGMENT_NOTIFICATION = 0x000002BE;

    /// <summary>{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.</summary>

    public const int ERROR_BAD_CURRENT_DIRECTORY = 0x000002BF;

    /// <summary>{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 it was unable to reassign the failing area of the device.</summary>

    public const int ERROR_FT_READ_RECOVERY_FROM_BACKUP = 0x000002C0;

    /// <summary>{Redundant Write} To satisfy a write request, the Windows NT operating system 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 it was not able to reassign the failing area of the device.</summary>

    public const int ERROR_FT_WRITE_RECOVERY = 0x000002C1;

    /// <summary>{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.</summary>

    public const int ERROR_IMAGE_MACHINE_TYPE_MISMATCH = 0x000002C2;

    /// <summary>{Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.</summary>

    public const int ERROR_RECEIVE_PARTIAL = 0x000002C3;

    /// <summary>{Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.</summary>

    public const int ERROR_RECEIVE_EXPEDITED = 0x000002C4;

    /// <summary>{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.</summary>

    public const int ERROR_RECEIVE_PARTIAL_EXPEDITED = 0x000002C5;

    /// <summary>{TDI Event Done} The TDI indication has completed successfully.</summary>

    public const int ERROR_EVENT_DONE = 0x000002C6;

    /// <summary>{TDI Event Pending} The TDI indication has entered the pending state.</summary>

    public const int ERROR_EVENT_PENDING = 0x000002C7;

    /// <summary>Checking file system on %wZ.</summary>

    public const int ERROR_CHECKING_FILE_SYSTEM = 0x000002C8;

    /// <summary>{Fatal Application Exit} %hs.</summary>

    public const int ERROR_FATAL_APP_EXIT = 0x000002C9;

    /// <summary>The specified registry key is referenced by a predefined handle.</summary>

    public const int ERROR_PREDEFINED_HANDLE = 0x000002CA;

    /// <summary>{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.</summary>

    public const int ERROR_WAS_UNLOCKED = 0x000002CB;

    /// <summary>{Page Locked} One of the pages to lock was already locked.</summary>

    public const int ERROR_WAS_LOCKED = 0x000002CD;

    /// <summary>The value already corresponds with a Win 32 error code.</summary>

    public const int ERROR_ALREADY_WIN32 = 0x000002CF;

    /// <summary>{Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.</summary>

    public const int ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE = 0x000002D0;

    /// <summary>A yield execution was performed and no thread was available to run.</summary>

    public const int ERROR_NO_YIELD_PERFORMED = 0x000002D1;

    /// <summary>The resume flag to a timer API was ignored.</summary>

    public const int ERROR_TIMER_RESUME_IGNORED = 0x000002D2;

    /// <summary>The arbiter has deferred arbitration of these resources to its parent.</summary>

    public const int ERROR_ARBITRATION_UNHANDLED = 0x000002D3;

    /// <summary>The inserted CardBus device cannot be started because of a configuration error on %hs"."</summary>

    public const int ERROR_CARDBUS_NOT_SUPPORTED = 0x000002D4;

    /// <summary>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. If problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported.</summary>

    public const int ERROR_MP_PROCESSOR_MISMATCH = 0x000002D5;

    /// <summary>The system was put into hibernation.</summary>

    public const int ERROR_HIBERNATED = 0x000002D6;

    /// <summary>The system was resumed from hibernation.</summary>

    public const int ERROR_RESUME_HIBERNATION = 0x000002D7;

    /// <summary>Windows has detected that the system firmware (BIOS) was updated (previous firmware date = %2, current firmware date %3).</summary>

    public const int ERROR_FIRMWARE_UPDATED = 0x000002D8;

    /// <summary>A device driver is leaking locked I/O pages, causing system degradation. The system has automatically enabled a tracking code to try and catch the culprit.</summary>

    public const int ERROR_DRIVERS_LEAKING_LOCKED_PAGES = 0x000002D9;

    /// <summary>The system has awoken.</summary>

    public const int ERROR_WAKE_SYSTEM = 0x000002DA;

    /// <summary>The call failed because the handle associated with it was closed.</summary>

    public const int ERROR_ABANDONED_WAIT_0 = 0x000002DF;

    /// <summary>The requested operation requires elevation.</summary>

    public const int ERROR_ELEVATION_REQUIRED = 0x000002E4;

    /// <summary>A reparse should be performed by the object manager because the name of the file resulted in a symbolic link.</summary>

    public const int ERROR_REPARSE = 0x000002E5;

    /// <summary>An open/create operation completed while an oplock break is underway.</summary>

    public const int ERROR_OPLOCK_BREAK_IN_PROGRESS = 0x000002E6;

    /// <summary>A new volume has been mounted by a file system.</summary>

    public const int ERROR_VOLUME_MOUNTED = 0x000002E7;

    /// <summary>This success level status indicates that the transaction state already exists for the registry subtree, but that a transaction commit was previously aborted. The commit has now been completed.</summary>

    public const int ERROR_RXACT_COMMITTED = 0x000002E8;

    /// <summary>This indicates that a notify change request has been completed due to closing the handle which made the notify change request.</summary>

    public const int ERROR_NOTIFY_CLEANUP = 0x000002E9;

    /// <summary>{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.</summary>

    public const int ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED = 0x000002EA;

    /// <summary>Page fault was a transition fault.</summary>

    public const int ERROR_PAGE_FAULT_TRANSITION = 0x000002EB;

    /// <summary>Page fault was a demand zero fault.</summary>

    public const int ERROR_PAGE_FAULT_DEMAND_ZERO = 0x000002EC;

    /// <summary>Page fault was a demand zero fault.</summary>

    public const int ERROR_PAGE_FAULT_COPY_ON_WRITE = 0x000002ED;

    /// <summary>Page fault was a demand zero fault.</summary>

    public const int ERROR_PAGE_FAULT_GUARD_PAGE = 0x000002EE;

    /// <summary>Page fault was satisfied by reading from a secondary storage device.</summary>

    public const int ERROR_PAGE_FAULT_PAGING_FILE = 0x000002EF;

    /// <summary>Cached page was locked during operation.</summary>

    public const int ERROR_CACHE_PAGE_LOCKED = 0x000002F0;

    /// <summary>Crash dump exists in paging file.</summary>

    public const int ERROR_CRASH_DUMP = 0x000002F1;

    /// <summary>Specified buffer contains all zeros.</summary>

    public const int ERROR_BUFFER_ALL_ZEROS = 0x000002F2;

    /// <summary>A reparse should be performed by the object manager because the name of the file resulted in a symbolic link.</summary>

    public const int ERROR_REPARSE_OBJECT = 0x000002F3;

    /// <summary>The device has succeeded a query-stop and its resource requirements have changed.</summary>

    public const int ERROR_RESOURCE_REQUIREMENTS_CHANGED = 0x000002F4;

    /// <summary>The translator has translated these resources into the global space and no further translations should be performed.</summary>

    public const int ERROR_TRANSLATION_COMPLETE = 0x000002F5;

    /// <summary>A process being terminated has no threads to terminate.</summary>

    public const int ERROR_NOTHING_TO_TERMINATE = 0x000002F6;

    /// <summary>The specified process is not part of a job.</summary>

    public const int ERROR_PROCESS_NOT_IN_JOB = 0x000002F7;

    /// <summary>The specified process is part of a job.</summary>

    public const int ERROR_PROCESS_IN_JOB = 0x000002F8;

    /// <summary>{Volume Shadow Copy Service} The system is now ready for hibernation.</summary>

    public const int ERROR_VOLSNAP_HIBERNATE_READY = 0x000002F9;

    /// <summary>A file system or file system filter driver has successfully completed an FsFilter operation.</summary>

    public const int ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY = 0x000002FA;

    /// <summary>The specified interrupt vector was already connected.</summary>

    public const int ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED = 0x000002FB;

    /// <summary>The specified interrupt vector is still connected.</summary>

    public const int ERROR_INTERRUPT_STILL_CONNECTED = 0x000002FC;

    /// <summary>An operation is blocked waiting for an oplock.</summary>

    public const int ERROR_WAIT_FOR_OPLOCK = 0x000002FD;

    /// <summary>Debugger handled exception.</summary>

    public const int ERROR_DBG_EXCEPTION_HANDLED = 0x000002FE;

    /// <summary>Debugger continued.</summary>

    public const int ERROR_DBG_CONTINUE = 0x000002FF;

    /// <summary>An exception occurred in a user mode callback and the kernel callback frame should be removed.</summary>

    public const int ERROR_CALLBACK_POP_STACK = 0x00000300;

    /// <summary>Compression is disabled for this volume.</summary>

    public const int ERROR_COMPRESSION_DISABLED = 0x00000301;

    /// <summary>The data provider cannot fetch backward through a result set.</summary>

    public const int ERROR_CANTFETCHBACKWARDS = 0x00000302;

    /// <summary>The data provider cannot scroll backward through a result set.</summary>

    public const int ERROR_CANTSCROLLBACKWARDS = 0x00000303;

    /// <summary>The data provider requires that previously fetched data is released before asking for more data.</summary>

    public const int ERROR_ROWSNOTRELEASED = 0x00000304;

    /// <summary>The data provider was not able to interpret the flags set for a column binding in an accessor.</summary>

    public const int ERROR_BAD_ACCESSOR_FLAGS = 0x00000305;

    /// <summary>One or more errors occurred while processing the request.</summary>

    public const int ERROR_ERRORS_ENCOUNTERED = 0x00000306;

    /// <summary>The implementation is not capable of performing the request.</summary>

    public const int ERROR_NOT_CAPABLE = 0x00000307;

    /// <summary>The client of a component requested an operation that is not valid given the state of the component instance.</summary>

    public const int ERROR_REQUEST_OUT_OF_SEQUENCE = 0x00000308;

    /// <summary>A version number could not be parsed.</summary>

    public const int ERROR_VERSION_PARSE_ERROR = 0x00000309;

    /// <summary>The iterator's start position is invalid.</summary>

    public const int ERROR_BADSTARTPOSITION = 0x0000030A;

    /// <summary>The hardware has reported an uncorrectable memory error.</summary>

    public const int ERROR_MEMORY_HARDWARE = 0x0000030B;

    /// <summary>The attempted operation required self-healing to be enabled.</summary>

    public const int ERROR_DISK_REPAIR_DISABLED = 0x0000030C;

    /// <summary>The Desktop heap encountered an error while allocating session memory. There is more information in the system event log.</summary>

    public const int ERROR_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE = 0x0000030D;

    /// <summary>The system power state is transitioning from %2 to %3.</summary>

    public const int ERROR_SYSTEM_POWERSTATE_TRANSITION = 0x0000030E;

    /// <summary>The system power state is transitioning from %2 to %3 but could enter %4.</summary>

    public const int ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 0x0000030F;

    /// <summary>A thread is getting dispatched with MCA EXCEPTION because of MCA.</summary>

    public const int ERROR_MCA_EXCEPTION = 0x00000310;

    /// <summary>Access to %1 is monitored by policy rule %2.</summary>

    public const int ERROR_ACCESS_AUDIT_BY_POLICY = 0x00000311;

    /// <summary>Access to %1 has been restricted by your administrator by policy rule %2.</summary>

    public const int ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 0x00000312;

    /// <summary>A valid hibernation file has been invalidated and should be abandoned.</summary>

    public const int ERROR_ABANDON_HIBERFILE = 0x00000313;

    /// <summary>{Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error can be caused by network connectivity issues. Try to save this file elsewhere.</summary>

    public const int ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 0x00000314;

    /// <summary>{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. Try to save this file elsewhere.</summary>

    public const int ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 0x00000315;

    /// <summary>{Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error can be caused if the device has been removed or the media is write-protected.</summary>

    public const int ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 0x00000316;

    /// <summary>Access to the extended attribute was denied.</summary>

    public const int ERROR_EA_ACCESS_DENIED = 0x000003E2;

    /// <summary>The I/O operation has been aborted because of either a thread exit or an application request.</summary>

    public const int ERROR_OPERATION_ABORTED = 0x000003E3;

    /// <summary>Overlapped I/O event is not in a signaled state.</summary>

    public const int ERROR_IO_INCOMPLETE = 0x000003E4;

    /// <summary>Overlapped I/O operation is in progress.</summary>

    public const int ERROR_IO_PENDING = 0x000003E5;

    /// <summary>Invalid access to memory location.</summary>

    public const int ERROR_NOACCESS = 0x000003E6;

    /// <summary>Error performing in-page operation.</summary>

    public const int ERROR_SWAPERROR = 0x000003E7;

    /// <summary>Recursion too deep; the stack overflowed.</summary>

    public const int ERROR_STACK_OVERFLOW = 0x000003E9;

    /// <summary>The window cannot act on the sent message.</summary>

    public const int ERROR_INVALID_MESSAGE = 0x000003EA;

    /// <summary>Cannot complete this function.</summary>

    public const int ERROR_CAN_NOT_COMPLETE = 0x000003EB;

    /// <summary>Invalid flags.</summary>

    public const int ERROR_INVALID_FLAGS = 0x000003EC;

    /// <summary>The volume does not contain a recognized file system. Be sure that all required file system drivers are loaded and that the volume is not corrupted.</summary>

    public const int ERROR_UNRECOGNIZED_VOLUME = 0x000003ED;

    /// <summary>The volume for a file has been externally altered so that the opened file is no longer valid.</summary>

    public const int ERROR_FILE_INVALID = 0x000003EE;

    /// <summary>The requested operation cannot be performed in full-screen mode.</summary>

    public const int ERROR_FULLSCREEN_MODE = 0x000003EF;

    /// <summary>An attempt was made to reference a token that does not exist.</summary>

    public const int ERROR_NO_TOKEN = 0x000003F0;

    /// <summary>The configuration registry database is corrupt.</summary>

    public const int ERROR_BADDB = 0x000003F1;

    /// <summary>The configuration registry key is invalid.</summary>

    public const int ERROR_BADKEY = 0x000003F2;

    /// <summary>The configuration registry key could not be opened.</summary>

    public const int ERROR_CANTOPEN = 0x000003F3;

    /// <summary>The configuration registry key could not be read.</summary>

    public const int ERROR_CANTREAD = 0x000003F4;

    /// <summary>The configuration registry key could not be written.</summary>

    public const int ERROR_CANTWRITE = 0x000003F5;

    /// <summary>One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.</summary>

    public const int ERROR_REGISTRY_RECOVERED = 0x000003F6;

    /// <summary>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.</summary>

    public const int ERROR_REGISTRY_CORRUPT = 0x000003F7;

    /// <summary>An I/O operation initiated by the registry failed and cannot be recovered. The registry could not read in, write out, or flush one of the files that contain the system's image of the registry.</summary>

    public const int ERROR_REGISTRY_IO_FAILED = 0x000003F8;

    /// <summary>The system attempted to load or restore a file into the registry, but the specified file is not in a registry file format.</summary>

    public const int ERROR_NOT_REGISTRY_FILE = 0x000003F9;

    /// <summary>Illegal operation attempted on a registry key that has been marked for deletion.</summary>

    public const int ERROR_KEY_DELETED = 0x000003FA;

    /// <summary>System could not allocate the required space in a registry log.</summary>

    public const int ERROR_NO_LOG_SPACE = 0x000003FB;

    /// <summary>Cannot create a symbolic link in a registry key that already has subkeys or values.</summary>

    public const int ERROR_KEY_HAS_CHILDREN = 0x000003FC;

    /// <summary>Cannot create a stable subkey under a volatile parent key.</summary>

    public const int ERROR_CHILD_MUST_BE_VOLATILE = 0x000003FD;

    /// <summary>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.</summary>

    public const int ERROR_NOTIFY_ENUM_DIR = 0x000003FE;

    /// <summary>A stop control has been sent to a service that other running services are dependent on.</summary>

    public const int ERROR_DEPENDENT_SERVICES_RUNNING = 0x0000041B;

    /// <summary>The requested control is not valid for this service.</summary>

    public const int ERROR_INVALID_SERVICE_CONTROL = 0x0000041C;

    /// <summary>The service did not respond to the start or control request in a timely fashion.</summary>

    public const int ERROR_SERVICE_REQUEST_TIMEOUT = 0x0000041D;

    /// <summary>A thread could not be created for the service.</summary>

    public const int ERROR_SERVICE_NO_THREAD = 0x0000041E;

    /// <summary>The service database is locked.</summary>

    public const int ERROR_SERVICE_DATABASE_LOCKED = 0x0000041F;

    /// <summary>An instance of the service is already running.</summary>

    public const int ERROR_SERVICE_ALREADY_RUNNING = 0x00000420;

    /// <summary>The account name is invalid or does not exist, or the password is invalid for the account name specified.</summary>

    public const int ERROR_INVALID_SERVICE_ACCOUNT = 0x00000421;

    /// <summary>The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.</summary>

    public const int ERROR_SERVICE_DISABLED = 0x00000422;

    /// <summary>Circular service dependency was specified.</summary>

    public const int ERROR_CIRCULAR_DEPENDENCY = 0x00000423;

    /// <summary>The specified service does not exist as an installed service.</summary>

    public const int ERROR_SERVICE_DOES_NOT_EXIST = 0x00000424;

    /// <summary>The service cannot accept control messages at this time.</summary>

    public const int ERROR_SERVICE_CANNOT_ACCEPT_CTRL = 0x00000425;

    /// <summary>The service has not been started.</summary>

    public const int ERROR_SERVICE_NOT_ACTIVE = 0x00000426;

    /// <summary>The service process could not connect to the service controller.</summary>

    public const int ERROR_FAILED_SERVICE_CONTROLLER_CONNECT = 0x00000427;

    /// <summary>An exception occurred in the service when handling the control request.</summary>

    public const int ERROR_EXCEPTION_IN_SERVICE = 0x00000428;

    /// <summary>The database specified does not exist.</summary>

    public const int ERROR_DATABASE_DOES_NOT_EXIST = 0x00000429;

    /// <summary>The service has returned a service-specific error code.</summary>

    public const int ERROR_SERVICE_SPECIFIC_ERROR = 0x0000042A;

    /// <summary>The process terminated unexpectedly.</summary>

    public const int ERROR_PROCESS_ABORTED = 0x0000042B;

    /// <summary>The dependency service or group failed to start.</summary>

    public const int ERROR_SERVICE_DEPENDENCY_FAIL = 0x0000042C;

    /// <summary>The service did not start due to a logon failure.</summary>

    public const int ERROR_SERVICE_LOGON_FAILED = 0x0000042D;

    /// <summary>After starting, the service stopped responding in a start-pending state.</summary>

    public const int ERROR_SERVICE_START_HANG = 0x0000042E;

    /// <summary>The specified service database lock is invalid.</summary>

    public const int ERROR_INVALID_SERVICE_LOCK = 0x0000042F;

    /// <summary>The specified service has been marked for deletion.</summary>

    public const int ERROR_SERVICE_MARKED_FOR_DELETE = 0x00000430;

    /// <summary>The specified service already exists.</summary>

    public const int ERROR_SERVICE_EXISTS = 0x00000431;

    /// <summary>The system is currently running with the last-known-good configuration.</summary>

    public const int ERROR_ALREADY_RUNNING_LKG = 0x00000432;

    /// <summary>The dependency service does not exist or has been marked for deletion.</summary>

    public const int ERROR_SERVICE_DEPENDENCY_DELETED = 0x00000433;

    /// <summary>The current boot has already been accepted for use as the last-known-good control set.</summary>

    public const int ERROR_BOOT_ALREADY_ACCEPTED = 0x00000434;

    /// <summary>No attempts to start the service have been made since the last boot.</summary>

    public const int ERROR_SERVICE_NEVER_STARTED = 0x00000435;

    /// <summary>The name is already in use as either a service name or a service display name.</summary>

    public const int ERROR_DUPLICATE_SERVICE_NAME = 0x00000436;

    /// <summary>The account specified for this service is different from the account specified for other services running in the same process.</summary>

    public const int ERROR_DIFFERENT_SERVICE_ACCOUNT = 0x00000437;

    /// <summary>Failure actions can only be set for Win32 services, not for drivers.</summary>

    public const int ERROR_CANNOT_DETECT_DRIVER_FAILURE = 0x00000438;

    /// <summary>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.</summary>

    public const int ERROR_CANNOT_DETECT_PROCESS_ABORT = 0x00000439;

    /// <summary>No recovery program has been configured for this service.</summary>

    public const int ERROR_NO_RECOVERY_PROGRAM = 0x0000043A;

    /// <summary>The executable program that this service is configured to run in does not implement the service.</summary>

    public const int ERROR_SERVICE_NOT_IN_EXE = 0x0000043B;

    /// <summary>This service cannot be started in Safe Mode.</summary>

    public const int ERROR_NOT_SAFEBOOT_SERVICE = 0x0000043C;

    /// <summary>The physical end of the tape has been reached.</summary>

    public const int ERROR_END_OF_MEDIA = 0x0000044C;

    /// <summary>A tape access reached a filemark.</summary>

    public const int ERROR_FILEMARK_DETECTED = 0x0000044D;

    /// <summary>The beginning of the tape or a partition was encountered.</summary>

    public const int ERROR_BEGINNING_OF_MEDIA = 0x0000044E;

    /// <summary>A tape access reached the end of a set of files.</summary>

    public const int ERROR_SETMARK_DETECTED = 0x0000044F;

    /// <summary>No more data is on the tape.</summary>

    public const int ERROR_NO_DATA_DETECTED = 0x00000450;

    /// <summary>Tape could not be partitioned.</summary>

    public const int ERROR_PARTITION_FAILURE = 0x00000451;

    /// <summary>When accessing a new tape of a multivolume partition, the current block size is incorrect.</summary>

    public const int ERROR_INVALID_BLOCK_LENGTH = 0x00000452;

    /// <summary>Tape partition information could not be found when loading a tape.</summary>

    public const int ERROR_DEVICE_NOT_PARTITIONED = 0x00000453;

    /// <summary>Unable to lock the media eject mechanism.</summary>

    public const int ERROR_UNABLE_TO_LOCK_MEDIA = 0x00000454;

    /// <summary>Unable to unload the media.</summary>

    public const int ERROR_UNABLE_TO_UNLOAD_MEDIA = 0x00000455;

    /// <summary>The media in the drive might have changed.</summary>

    public const int ERROR_MEDIA_CHANGED = 0x00000456;

    /// <summary>The I/O bus was reset.</summary>

    public const int ERROR_BUS_RESET = 0x00000457;

    /// <summary>No media in drive.</summary>

    public const int ERROR_NO_MEDIA_IN_DRIVE = 0x00000458;

    /// <summary>No mapping for the Unicode character exists in the target multibyte code page.</summary>

    public const int ERROR_NO_UNICODE_TRANSLATION = 0x00000459;

    /// <summary>A DLL initialization routine failed.</summary>

    public const int ERROR_DLL_INIT_FAILED = 0x0000045A;

    /// <summary>A system shutdown is in progress.</summary>

    public const int ERROR_SHUTDOWN_IN_PROGRESS = 0x0000045B;

    /// <summary>Unable to abort the system shutdown because no shutdown was in progress.</summary>

    public const int ERROR_NO_SHUTDOWN_IN_PROGRESS = 0x0000045C;

    /// <summary>The request could not be performed because of an I/O device error.</summary>

    public const int ERROR_IO_DEVICE = 0x0000045D;

    /// <summary>No serial device was successfully initialized. The serial driver will unload.</summary>

    public const int ERROR_SERIAL_NO_DEVICE = 0x0000045E;

    /// <summary>Unable to open a device that was sharing an IRQ with other devices. At least one other device that uses that IRQ was already opened.</summary>

    public const int ERROR_IRQ_BUSY = 0x0000045F;

    /// <summary>A serial I/O operation was completed by another write to the serial port. (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)</summary>

    public const int ERROR_MORE_WRITES = 0x00000460;

    /// <summary>A serial I/O operation completed because the time-out period expired. (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)</summary>

    public const int ERROR_COUNTER_TIMEOUT = 0x00000461;

    /// <summary>No ID address mark was found on the floppy disk.</summary>

    public const int ERROR_FLOPPY_ID_MARK_NOT_FOUND = 0x00000462;

    /// <summary>Mismatch between the floppy disk sector ID field and the floppy disk controller track address.</summary>

    public const int ERROR_FLOPPY_WRONG_CYLINDER = 0x00000463;

    /// <summary>The floppy disk controller reported an error that is not recognized by the floppy disk driver.</summary>

    public const int ERROR_FLOPPY_UNKNOWN_ERROR = 0x00000464;

    /// <summary>The floppy disk controller returned inconsistent results in its registers.</summary>

    public const int ERROR_FLOPPY_BAD_REGISTERS = 0x00000465;

    /// <summary>While accessing the hard disk, a recalibrate operation failed, even after retries.</summary>

    public const int ERROR_DISK_RECALIBRATE_FAILED = 0x00000466;

    /// <summary>While accessing the hard disk, a disk operation failed even after retries.</summary>

    public const int ERROR_DISK_OPERATION_FAILED = 0x00000467;

    /// <summary>While accessing the hard disk, a disk controller reset was needed, but that also failed.</summary>

    public const int ERROR_DISK_RESET_FAILED = 0x00000468;

    /// <summary>Physical end of tape encountered.</summary>

    public const int ERROR_EOM_OVERFLOW = 0x00000469;

    /// <summary>Not enough server storage is available to process this command.</summary>

    public const int ERROR_NOT_ENOUGH_SERVER_MEMORY = 0x0000046A;

    /// <summary>A potential deadlock condition has been detected.</summary>

    public const int ERROR_POSSIBLE_DEADLOCK = 0x0000046B;

    /// <summary>The base address or the file offset specified does not have the proper alignment.</summary>

    public const int ERROR_MAPPED_ALIGNMENT = 0x0000046C;

    /// <summary>An attempt to change the system power state was vetoed by another application or driver.</summary>

    public const int ERROR_SET_POWER_STATE_VETOED = 0x00000474;

    /// <summary>The system BIOS failed an attempt to change the system power state.</summary>

    public const int ERROR_SET_POWER_STATE_FAILED = 0x00000475;

    /// <summary>An attempt was made to create more links on a file than the file system supports.</summary>

    public const int ERROR_TOO_MANY_LINKS = 0x00000476;

    /// <summary>The specified program requires a newer version of Windows.</summary>

    public const int ERROR_OLD_WIN_VERSION = 0x0000047E;

    /// <summary>The specified program is not a Windows or MS-DOS program.</summary>

    public const int ERROR_APP_WRONG_OS = 0x0000047F;

    /// <summary>Cannot start more than one instance of the specified program.</summary>

    public const int ERROR_SINGLE_INSTANCE_APP = 0x00000480;

    /// <summary>The specified program was written for an earlier version of Windows.</summary>

    public const int ERROR_RMODE_APP = 0x00000481;

    /// <summary>One of the library files needed to run this application is damaged.</summary>

    public const int ERROR_INVALID_DLL = 0x00000482;

    /// <summary>No application is associated with the specified file for this operation.</summary>

    public const int ERROR_NO_ASSOCIATION = 0x00000483;

    /// <summary>An error occurred in sending the command to the application.</summary>

    public const int ERROR_DDE_FAIL = 0x00000484;

    /// <summary>One of the library files needed to run this application cannot be found.</summary>

    public const int ERROR_DLL_NOT_FOUND = 0x00000485;

    /// <summary>The current process has used all of its system allowance of handles for Windows manager objects.</summary>

    public const int ERROR_NO_MORE_USER_HANDLES = 0x00000486;

    /// <summary>The message can be used only with synchronous operations.</summary>

    public const int ERROR_MESSAGE_SYNC_ONLY = 0x00000487;

    /// <summary>The indicated source element has no media.</summary>

    public const int ERROR_SOURCE_ELEMENT_EMPTY = 0x00000488;

    /// <summary>The indicated destination element already contains media.</summary>

    public const int ERROR_DESTINATION_ELEMENT_FULL = 0x00000489;

    /// <summary>The indicated element does not exist.</summary>

    public const int ERROR_ILLEGAL_ELEMENT_ADDRESS = 0x0000048A;

    /// <summary>The indicated element is part of a magazine that is not present.</summary>

    public const int ERROR_MAGAZINE_NOT_PRESENT = 0x0000048B;

    /// <summary>The indicated device requires re-initialization due to hardware errors.</summary>

    public const int ERROR_DEVICE_REINITIALIZATION_NEEDED = 0x0000048C;

    /// <summary>The device has indicated that cleaning is required before further operations are attempted.</summary>

    public const int ERROR_DEVICE_REQUIRES_CLEANING = 0x0000048D;

    /// <summary>The device has indicated that its door is open.</summary>

    public const int ERROR_DEVICE_DOOR_OPEN = 0x0000048E;

    /// <summary>The device is not connected.</summary>

    public const int ERROR_DEVICE_NOT_CONNECTED = 0x0000048F;

    /// <summary>Element not found.</summary>

    public const int ERROR_NOT_FOUND = 0x00000490;

    /// <summary>There was no match for the specified key in the index.</summary>

    public const int ERROR_NO_MATCH = 0x00000491;

    /// <summary>The property set specified does not exist on the object.</summary>

    public const int ERROR_SET_NOT_FOUND = 0x00000492;

    /// <summary>The point passed to GetMouseMovePoints is not in the buffer.</summary>

    public const int ERROR_POINT_NOT_FOUND = 0x00000493;

    /// <summary>The tracking (workstation) service is not running.</summary>

    public const int ERROR_NO_TRACKING_SERVICE = 0x00000494;

    /// <summary>The volume ID could not be found.</summary>

    public const int ERROR_NO_VOLUME_ID = 0x00000495;

    /// <summary>Unable to remove the file to be replaced.</summary>

    public const int ERROR_UNABLE_TO_REMOVE_REPLACED = 0x00000497;

    /// <summary>Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name.</summary>

    public const int ERROR_UNABLE_TO_MOVE_REPLACEMENT = 0x00000498;

    /// <summary>Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name.</summary>

    public const int ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 = 0x00000499;

    /// <summary>The volume change journal is being deleted.</summary>

    public const int ERROR_JOURNAL_DELETE_IN_PROGRESS = 0x0000049A;

    /// <summary>The volume change journal is not active.</summary>

    public const int ERROR_JOURNAL_NOT_ACTIVE = 0x0000049B;

    /// <summary>A file was found, but it might not be the correct file.</summary>

    public const int ERROR_POTENTIAL_FILE_FOUND = 0x0000049C;

    /// <summary>The journal entry has been deleted from the journal.</summary>

    public const int ERROR_JOURNAL_ENTRY_DELETED = 0x0000049D;

    /// <summary>A system shutdown has already been scheduled.</summary>

    public const int ERROR_SHUTDOWN_IS_SCHEDULED = 0x000004A6;

    /// <summary>The system shutdown cannot be initiated because there are other users logged on to the computer.</summary>

    public const int ERROR_SHUTDOWN_USERS_LOGGED_ON = 0x000004A7;

    /// <summary>The specified device name is invalid.</summary>

    public const int ERROR_BAD_DEVICE = 0x000004B0;

    /// <summary>The device is not currently connected but it is a remembered connection.</summary>

    public const int ERROR_CONNECTION_UNAVAIL = 0x000004B1;

    /// <summary>The local device name has a remembered connection to another network resource.</summary>

    public const int ERROR_DEVICE_ALREADY_REMEMBERED = 0x000004B2;

    /// <summary>The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Try retyping the path or contact your network administrator.</summary>

    public const int ERROR_NO_NET_OR_BAD_PATH = 0x000004B3;

    /// <summary>The specified network provider name is invalid.</summary>

    public const int ERROR_BAD_PROVIDER = 0x000004B4;

    /// <summary>Unable to open the network connection profile.</summary>

    public const int ERROR_CANNOT_OPEN_PROFILE = 0x000004B5;

    /// <summary>The network connection profile is corrupted.</summary>

    public const int ERROR_BAD_PROFILE = 0x000004B6;

    /// <summary>Cannot enumerate a noncontainer.</summary>

    public const int ERROR_NOT_CONTAINER = 0x000004B7;

    /// <summary>An extended error has occurred.</summary>

    public const int ERROR_EXTENDED_ERROR = 0x000004B8;

    /// <summary>The format of the specified group name is invalid.</summary>

    public const int ERROR_INVALID_GROUPNAME = 0x000004B9;

    /// <summary>The format of the specified computer name is invalid.</summary>

    public const int ERROR_INVALID_COMPUTERNAME = 0x000004BA;

    /// <summary>The format of the specified event name is invalid.</summary>

    public const int ERROR_INVALID_EVENTNAME = 0x000004BB;

    /// <summary>The format of the specified domain name is invalid.</summary>

    public const int ERROR_INVALID_DOMAINNAME = 0x000004BC;

    /// <summary>The format of the specified service name is invalid.</summary>

    public const int ERROR_INVALID_SERVICENAME = 0x000004BD;

    /// <summary>The format of the specified network name is invalid.</summary>

    public const int ERROR_INVALID_NETNAME = 0x000004BE;

    /// <summary>The format of the specified share name is invalid.</summary>

    public const int ERROR_INVALID_SHARENAME = 0x000004BF;

    /// <summary>The format of the specified password is invalid.</summary>

    public const int ERROR_INVALID_PASSWORDNAME = 0x000004C0;

    /// <summary>The format of the specified message name is invalid.</summary>

    public const int ERROR_INVALID_MESSAGENAME = 0x000004C1;

    /// <summary>The format of the specified message destination is invalid.</summary>

    public const int ERROR_INVALID_MESSAGEDEST = 0x000004C2;

    /// <summary>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.</summary>

    public const int ERROR_SESSION_CREDENTIAL_CONFLICT = 0x000004C3;

    /// <summary>An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.</summary>

    public const int ERROR_REMOTE_SESSION_LIMIT_EXCEEDED = 0x000004C4;

    /// <summary>The workgroup or domain name is already in use by another computer on the network.</summary>

    public const int ERROR_DUP_DOMAINNAME = 0x000004C5;

    /// <summary>The network is not present or not started.</summary>

    public const int ERROR_NO_NETWORK = 0x000004C6;

    /// <summary>The operation was canceled by the user.</summary>

    public const int ERROR_CANCELLED = 0x000004C7;

    /// <summary>The requested operation cannot be performed on a file with a user-mapped section open.</summary>

    public const int ERROR_USER_MAPPED_FILE = 0x000004C8;

    /// <summary>The remote system refused the network connection.</summary>

    public const int ERROR_CONNECTION_REFUSED = 0x000004C9;

    /// <summary>The network connection was gracefully closed.</summary>

    public const int ERROR_GRACEFUL_DISCONNECT = 0x000004CA;

    /// <summary>The network transport endpoint already has an address associated with it.</summary>

    public const int ERROR_ADDRESS_ALREADY_ASSOCIATED = 0x000004CB;

    /// <summary>An address has not yet been associated with the network endpoint.</summary>

    public const int ERROR_ADDRESS_NOT_ASSOCIATED = 0x000004CC;

    /// <summary>An operation was attempted on a nonexistent network connection.</summary>

    public const int ERROR_CONNECTION_INVALID = 0x000004CD;

    /// <summary>An invalid operation was attempted on an active network connection.</summary>

    public const int ERROR_CONNECTION_ACTIVE = 0x000004CE;

    /// <summary>The network location cannot be reached. For information about network troubleshooting, see Windows Help.</summary>

    public const int ERROR_NETWORK_UNREACHABLE = 0x000004CF;

    /// <summary>The network location cannot be reached. For information about network troubleshooting, see Windows Help.</summary>

    public const int ERROR_HOST_UNREACHABLE = 0x000004D0;

    /// <summary>The network location cannot be reached. For information about network troubleshooting, see Windows Help.</summary>

    public const int ERROR_PROTOCOL_UNREACHABLE = 0x000004D1;

    /// <summary>No service is operating at the destination network endpoint on the remote system.</summary>

    public const int ERROR_PORT_UNREACHABLE = 0x000004D2;

    /// <summary>The request was aborted.</summary>

    public const int ERROR_REQUEST_ABORTED = 0x000004D3;

    /// <summary>The network connection was aborted by the local system.</summary>

    public const int ERROR_CONNECTION_ABORTED = 0x000004D4;

    /// <summary>The operation could not be completed. A retry should be performed.</summary>

    public const int ERROR_RETRY = 0x000004D5;

    /// <summary>A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.</summary>

    public const int ERROR_CONNECTION_COUNT_LIMIT = 0x000004D6;

    /// <summary>Attempting to log on during an unauthorized time of day for this account.</summary>

    public const int ERROR_LOGIN_TIME_RESTRICTION = 0x000004D7;

    /// <summary>The account is not authorized to log on from this station.</summary>

    public const int ERROR_LOGIN_WKSTA_RESTRICTION = 0x000004D8;

    /// <summary>The network address could not be used for the operation requested.</summary>

    public const int ERROR_INCORRECT_ADDRESS = 0x000004D9;

    /// <summary>The service is already registered.</summary>

    public const int ERROR_ALREADY_REGISTERED = 0x000004DA;

    /// <summary>The specified service does not exist.</summary>

    public const int ERROR_SERVICE_NOT_FOUND = 0x000004DB;

    /// <summary>The operation being requested was not performed because the user has not been authenticated.</summary>

    public const int ERROR_NOT_AUTHENTICATED = 0x000004DC;

    /// <summary>The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.</summary>

    public const int ERROR_NOT_LOGGED_ON = 0x000004DD;

    /// <summary>Continue with work in progress.</summary>

    public const int ERROR_CONTINUE = 0x000004DE;

    /// <summary>An attempt was made to perform an initialization operation when initialization has already been completed.</summary>

    public const int ERROR_ALREADY_INITIALIZED = 0x000004DF;

    /// <summary>No more local devices.</summary>

    public const int ERROR_NO_MORE_DEVICES = 0x000004E0;

    /// <summary>The specified site does not exist.</summary>

    public const int ERROR_NO_SUCH_SITE = 0x000004E1;

    /// <summary>A domain controller with the specified name already exists.</summary>

    public const int ERROR_DOMAIN_CONTROLLER_EXISTS = 0x000004E2;

    /// <summary>This operation is supported only when you are connected to the server.</summary>

    public const int ERROR_ONLY_IF_CONNECTED = 0x000004E3;

    /// <summary>The group policy framework should call the extension even if there are no changes.</summary>

    public const int ERROR_OVERRIDE_NOCHANGES = 0x000004E4;

    /// <summary>The specified user does not have a valid profile.</summary>

    public const int ERROR_BAD_USER_PROFILE = 0x000004E5;

    /// <summary>This operation is not supported on a computer running Windows Server 2003 operating system for Small Business Server.</summary>

    public const int ERROR_NOT_SUPPORTED_ON_SBS = 0x000004E6;

    /// <summary>The server machine is shutting down.</summary>

    public const int ERROR_SERVER_SHUTDOWN_IN_PROGRESS = 0x000004E7;

    /// <summary>The remote system is not available. For information about network troubleshooting, see Windows Help.</summary>

    public const int ERROR_HOST_DOWN = 0x000004E8;

    /// <summary>The security identifier provided is not from an account domain.</summary>

    public const int ERROR_NON_ACCOUNT_SID = 0x000004E9;

    /// <summary>The security identifier provided does not have a domain component.</summary>

    public const int ERROR_NON_DOMAIN_SID = 0x000004EA;

    /// <summary>AppHelp dialog canceled, thus preventing the application from starting.</summary>

    public const int ERROR_APPHELP_BLOCK = 0x000004EB;

    /// <summary>This program is blocked by Group Policy. For more information, contact your system administrator.</summary>

    public const int ERROR_ACCESS_DISABLED_BY_POLICY = 0x000004EC;

    /// <summary>A program attempt to use an invalid register value. Normally caused by an uninitialized register. This error is Itanium specific.</summary>

    public const int ERROR_REG_NAT_CONSUMPTION = 0x000004ED;

    /// <summary>The share is currently offline or does not exist.</summary>

    public const int ERROR_CSCSHARE_OFFLINE = 0x000004EE;

    /// <summary>The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon. There is more information in the system event log.</summary>

    public const int ERROR_PKINIT_FAILURE = 0x000004EF;

    /// <summary>The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.</summary>

    public const int ERROR_SMARTCARD_SUBSYSTEM_FAILURE = 0x000004F0;

    /// <summary>The system detected a possible attempt to compromise security. Ensure that you can contact the server that authenticated you.</summary>

    public const int ERROR_DOWNGRADE_DETECTED = 0x000004F1;

    /// <summary>The machine is locked and cannot be shut down without the force option.</summary>

    public const int ERROR_MACHINE_LOCKED = 0x000004F7;

    /// <summary>An application-defined callback gave invalid data when called.</summary>

    public const int ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 0x000004F9;

    /// <summary>The Group Policy framework should call the extension in the synchronous foreground policy refresh.</summary>

    public const int ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED = 0x000004FA;

    /// <summary>This driver has been blocked from loading.</summary>

    public const int ERROR_DRIVER_BLOCKED = 0x000004FB;

    /// <summary>A DLL referenced a module that was neither a DLL nor the process's executable image.</summary>

    public const int ERROR_INVALID_IMPORT_OF_NON_DLL = 0x000004FC;

    /// <summary>Windows cannot open this program because it has been disabled.</summary>

    public const int ERROR_ACCESS_DISABLED_WEBBLADE = 0x000004FD;

    /// <summary>Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.</summary>

    public const int ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER = 0x000004FE;

    /// <summary>A transaction recover failed.</summary>

    public const int ERROR_RECOVERY_FAILURE = 0x000004FF;

    /// <summary>The current thread has already been converted to a fiber.</summary>

    public const int ERROR_ALREADY_FIBER = 0x00000500;

    /// <summary>The current thread has already been converted from a fiber.</summary>

    public const int ERROR_ALREADY_THREAD = 0x00000501;

    /// <summary>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.</summary>

    public const int ERROR_STACK_BUFFER_OVERRUN = 0x00000502;

    /// <summary>Data present in one of the parameters is more than the function can operate on.</summary>

    public const int ERROR_PARAMETER_QUOTA_EXCEEDED = 0x00000503;

    /// <summary>An attempt to perform an operation on a debug object failed because the object is in the process of being deleted.</summary>

    public const int ERROR_DEBUGGER_INACTIVE = 0x00000504;

    /// <summary>An attempt to delay-load a .dll or get a function address in a delay-loaded .dll failed.</summary>

    public const int ERROR_DELAY_LOAD_FAILED = 0x00000505;

    /// <summary>%1 is a 16-bit application. You do not have permissions to execute 16-bit applications. Check your permissions with your system administrator.</summary>

    public const int ERROR_VDM_DISALLOWED = 0x00000506;

    /// <summary>Insufficient information exists to identify the cause of failure.</summary>

    public const int ERROR_UNIDENTIFIED_ERROR = 0x00000507;

    /// <summary>The parameter passed to a C runtime function is incorrect.</summary>

    public const int ERROR_INVALID_CRUNTIME_PARAMETER = 0x00000508;

    /// <summary>The operation occurred beyond the valid data length of the file.</summary>

    public const int ERROR_BEYOND_VDL = 0x00000509;

    /// <summary>The service start failed because one or more services in the same process have an incompatible service SID type setting. A service with a restricted service SID type can only coexist in the same process with other services with a restricted SID type.</summary>

    public const int ERROR_INCOMPATIBLE_SERVICE_SID_TYPE = 0x0000050A;

    /// <summary>The process hosting the driver for this device has been terminated.</summary>

    public const int ERROR_DRIVER_PROCESS_TERMINATED = 0x0000050B;

    /// <summary>An operation attempted to exceed an implementation-defined limit.</summary>

    public const int ERROR_IMPLEMENTATION_LIMIT = 0x0000050C;

    /// <summary>Either the target process, or the target thread's containing process, is a protected process.</summary>

    public const int ERROR_PROCESS_IS_PROTECTED = 0x0000050D;

    /// <summary>The service notification client is lagging too far behind the current state of services in the machine.</summary>

    public const int ERROR_SERVICE_NOTIFY_CLIENT_LAGGING = 0x0000050E;

    /// <summary>An operation failed because the storage quota was exceeded.</summary>

    public const int ERROR_DISK_QUOTA_EXCEEDED = 0x0000050F;

    /// <summary>An operation failed because the content was blocked.</summary>

    public const int ERROR_CONTENT_BLOCKED = 0x00000510;

    /// <summary>A privilege that the service requires to function properly does not exist in the service account configuration. The Services Microsoft Management Console (MMC) snap-in (Services.msc) and the Local Security Settings MMC snap-in (Secpol.msc) can be used to view the service configuration and the account configuration.</summary>

    public const int ERROR_INCOMPATIBLE_SERVICE_PRIVILEGE = 0x00000511;

    /// <summary>Indicates a particular SID cannot be assigned as the label of an object.</summary>

    public const int ERROR_INVALID_LABEL = 0x00000513;

    /// <summary>Not all privileges or groups referenced are assigned to the caller.</summary>

    public const int ERROR_NOT_ALL_ASSIGNED = 0x00000514;

    /// <summary>Some mapping between account names and SIDs was not done.</summary>

    public const int ERROR_SOME_NOT_MAPPED = 0x00000515;

    /// <summary>No system quota limits are specifically set for this account.</summary>

    public const int ERROR_NO_QUOTAS_FOR_ACCOUNT = 0x00000516;

    /// <summary>No encryption key is available. A well-known encryption key was returned.</summary>

    public const int ERROR_LOCAL_USER_SESSION_KEY = 0x00000517;

    /// <summary>The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a null string.</summary>

    public const int ERROR_NULL_LM_PASSWORD = 0x00000518;

    /// <summary>The revision level is unknown.</summary>

    public const int ERROR_UNKNOWN_REVISION = 0x00000519;

    /// <summary>Indicates two revision levels are incompatible.</summary>

    public const int ERROR_REVISION_MISMATCH = 0x0000051A;

    /// <summary>This SID cannot be assigned as the owner of this object.</summary>

    public const int ERROR_INVALID_OWNER = 0x0000051B;

    /// <summary>This SID cannot be assigned as the primary group of an object.</summary>

    public const int ERROR_INVALID_PRIMARY_GROUP = 0x0000051C;

    /// <summary>An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.</summary>

    public const int ERROR_NO_IMPERSONATION_TOKEN = 0x0000051D;

    /// <summary>The group cannot be disabled.</summary>

    public const int ERROR_CANT_DISABLE_MANDATORY = 0x0000051E;

    /// <summary>There are currently no logon servers available to service the logon request.</summary>

    public const int ERROR_NO_LOGON_SERVERS = 0x0000051F;

    /// <summary>A specified logon session does not exist. It might already have been terminated.</summary>

    public const int ERROR_NO_SUCH_LOGON_SESSION = 0x00000520;

    /// <summary>A specified privilege does not exist.</summary>

    public const int ERROR_NO_SUCH_PRIVILEGE = 0x00000521;

    /// <summary>A required privilege is not held by the client.</summary>

    public const int ERROR_PRIVILEGE_NOT_HELD = 0x00000522;

    /// <summary>The name provided is not a properly formed account name.</summary>

    public const int ERROR_INVALID_ACCOUNT_NAME = 0x00000523;

    /// <summary>The specified account already exists.</summary>

    public const int ERROR_USER_EXISTS = 0x00000524;

    /// <summary>The specified account does not exist.</summary>

    public const int ERROR_NO_SUCH_USER = 0x00000525;

    /// <summary>The specified group already exists.</summary>

    public const int ERROR_GROUP_EXISTS = 0x00000526;

    /// <summary>The specified group does not exist.</summary>

    public const int ERROR_NO_SUCH_GROUP = 0x00000527;

    /// <summary>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.</summary>

    public const int ERROR_MEMBER_IN_GROUP = 0x00000528;

    /// <summary>The specified user account is not a member of the specified group account.</summary>

    public const int ERROR_MEMBER_NOT_IN_GROUP = 0x00000529;

    /// <summary>The last remaining administration account cannot be disabled or deleted.</summary>

    public const int ERROR_LAST_ADMIN = 0x0000052A;

    /// <summary>Unable to update the password. The value provided as the current password is incorrect.</summary>

    public const int ERROR_WRONG_PASSWORD = 0x0000052B;

    /// <summary>Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.</summary>

    public const int ERROR_ILL_FORMED_PASSWORD = 0x0000052C;

    /// <summary>Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.</summary>

    public const int ERROR_PASSWORD_RESTRICTION = 0x0000052D;

    /// <summary>Logon failure: Unknown user name or bad password.</summary>

    public const int ERROR_LOGON_FAILURE = 0x0000052E;

    /// <summary>Logon failure: User account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.</summary>

    public const int ERROR_ACCOUNT_RESTRICTION = 0x0000052F;

    /// <summary>Logon failure: Account logon time restriction violation.</summary>

    public const int ERROR_INVALID_LOGON_HOURS = 0x00000530;

    /// <summary>Logon failure: User not allowed to log on to this computer.</summary>

    public const int ERROR_INVALID_WORKSTATION = 0x00000531;

    /// <summary>Logon failure: The specified account password has expired.</summary>

    public const int ERROR_PASSWORD_EXPIRED = 0x00000532;

    /// <summary>Logon failure: Account currently disabled.</summary>

    public const int ERROR_ACCOUNT_DISABLED = 0x00000533;

    /// <summary>No mapping between account names and SIDs was done.</summary>

    public const int ERROR_NONE_MAPPED = 0x00000534;

    /// <summary>Too many local user identifiers (LUIDs) were requested at one time.</summary>

    public const int ERROR_TOO_MANY_LUIDS_REQUESTED = 0x00000535;

    /// <summary>No more LUIDs are available.</summary>

    public const int ERROR_LUIDS_EXHAUSTED = 0x00000536;

    /// <summary>The sub-authority part of an SID is invalid for this particular use.</summary>

    public const int ERROR_INVALID_SUB_AUTHORITY = 0x00000537;

    /// <summary>The ACL structure is invalid.</summary>

    public const int ERROR_INVALID_ACL = 0x00000538;

    /// <summary>The SID structure is invalid.</summary>

    public const int ERROR_INVALID_SID = 0x00000539;

    /// <summary>The security descriptor structure is invalid.</summary>

    public const int ERROR_INVALID_SECURITY_DESCR = 0x0000053A;

    /// <summary>The inherited ACL or ACE could not be built.</summary>

    public const int ERROR_BAD_INHERITANCE_ACL = 0x0000053C;

    /// <summary>The server is currently disabled.</summary>

    public const int ERROR_SERVER_DISABLED = 0x0000053D;

    /// <summary>The server is currently enabled.</summary>

    public const int ERROR_SERVER_NOT_DISABLED = 0x0000053E;

    /// <summary>The value provided was an invalid value for an identifier authority.</summary>

    public const int ERROR_INVALID_ID_AUTHORITY = 0x0000053F;

    /// <summary>No more memory is available for security information updates.</summary>

    public const int ERROR_ALLOTTED_SPACE_EXCEEDED = 0x00000540;

    /// <summary>The specified attributes are invalid, or incompatible with the attributes for the group as a whole.</summary>

    public const int ERROR_INVALID_GROUP_ATTRIBUTES = 0x00000541;

    /// <summary>Either a required impersonation level was not provided, or the provided impersonation level is invalid.</summary>

    public const int ERROR_BAD_IMPERSONATION_LEVEL = 0x00000542;

    /// <summary>Cannot open an anonymous level security token.</summary>

    public const int ERROR_CANT_OPEN_ANONYMOUS = 0x00000543;

    /// <summary>The validation information class requested was invalid.</summary>

    public const int ERROR_BAD_VALIDATION_CLASS = 0x00000544;

    /// <summary>The type of the token is inappropriate for its attempted use.</summary>

    public const int ERROR_BAD_TOKEN_TYPE = 0x00000545;

    /// <summary>Unable to perform a security operation on an object that has no associated security.</summary>

    public const int ERROR_NO_SECURITY_ON_OBJECT = 0x00000546;

    /// <summary>Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.</summary>

    public const int ERROR_CANT_ACCESS_DOMAIN_INFO = 0x00000547;

    /// <summary>The SAM or local security authority (LSA) server was in the wrong state to perform the security operation.</summary>

    public const int ERROR_INVALID_SERVER_STATE = 0x00000548;

    /// <summary>The domain was in the wrong state to perform the security operation.</summary>

    public const int ERROR_INVALID_DOMAIN_STATE = 0x00000549;

    /// <summary>This operation is only allowed for the PDC of the domain.</summary>

    public const int ERROR_INVALID_DOMAIN_ROLE = 0x0000054A;

    /// <summary>The specified domain either does not exist or could not be contacted.</summary>

    public const int ERROR_NO_SUCH_DOMAIN = 0x0000054B;

    /// <summary>The specified domain already exists.</summary>

    public const int ERROR_DOMAIN_EXISTS = 0x0000054C;

    /// <summary>An attempt was made to exceed the limit on the number of domains per server.</summary>

    public const int ERROR_DOMAIN_LIMIT_EXCEEDED = 0x0000054D;

    /// <summary>Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.</summary>

    public const int ERROR_INTERNAL_DB_CORRUPTION = 0x0000054E;

    /// <summary>An internal error occurred.</summary>

    public const int ERROR_INTERNAL_ERROR = 0x0000054F;

    /// <summary>Generic access types were contained in an access mask that should already be mapped to nongeneric types.</summary>

    public const int ERROR_GENERIC_NOT_MAPPED = 0x00000550;

    /// <summary>A security descriptor is not in the right format (absolute or self-relative).</summary>

    public const int ERROR_BAD_DESCRIPTOR_FORMAT = 0x00000551;

    /// <summary>The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.</summary>

    public const int ERROR_NOT_LOGON_PROCESS = 0x00000552;

    /// <summary>Cannot start a new logon session with an ID that is already in use.</summary>

    public const int ERROR_LOGON_SESSION_EXISTS = 0x00000553;

    /// <summary>A specified authentication package is unknown.</summary>

    public const int ERROR_NO_SUCH_PACKAGE = 0x00000554;

    /// <summary>The logon session is not in a state that is consistent with the requested operation.</summary>

    public const int ERROR_BAD_LOGON_SESSION_STATE = 0x00000555;

    /// <summary>The logon session ID is already in use.</summary>

    public const int ERROR_LOGON_SESSION_COLLISION = 0x00000556;

    /// <summary>A logon request contained an invalid logon type value.</summary>

    public const int ERROR_INVALID_LOGON_TYPE = 0x00000557;

    /// <summary>Unable to impersonate using a named pipe until data has been read from that pipe.</summary>

    public const int ERROR_CANNOT_IMPERSONATE = 0x00000558;

    /// <summary>The transaction state of a registry subtree is incompatible with the requested operation.</summary>

    public const int ERROR_RXACT_INVALID_STATE = 0x00000559;

    /// <summary>An internal security database corruption has been encountered.</summary>

    public const int ERROR_RXACT_COMMIT_FAILURE = 0x0000055A;

    /// <summary>Cannot perform this operation on built-in accounts.</summary>

    public const int ERROR_SPECIAL_ACCOUNT = 0x0000055B;

    /// <summary>Cannot perform this operation on this built-in special group.</summary>

    public const int ERROR_SPECIAL_GROUP = 0x0000055C;

    /// <summary>Cannot perform this operation on this built-in special user.</summary>

    public const int ERROR_SPECIAL_USER = 0x0000055D;

    /// <summary>The user cannot be removed from a group because the group is currently the user's primary group.</summary>

    public const int ERROR_MEMBERS_PRIMARY_GROUP = 0x0000055E;

    /// <summary>The token is already in use as a primary token.</summary>

    public const int ERROR_TOKEN_ALREADY_IN_USE = 0x0000055F;

    /// <summary>The specified local group does not exist.</summary>

    public const int ERROR_NO_SUCH_ALIAS = 0x00000560;

    /// <summary>The specified account name is not a member of the group.</summary>

    public const int ERROR_MEMBER_NOT_IN_ALIAS = 0x00000561;

    /// <summary>The specified account name is already a member of the group.</summary>

    public const int ERROR_MEMBER_IN_ALIAS = 0x00000562;

    /// <summary>The specified local group already exists.</summary>

    public const int ERROR_ALIAS_EXISTS = 0x00000563;

    /// <summary>Logon failure: The user has not been granted the requested logon type at this computer.</summary>

    public const int ERROR_LOGON_NOT_GRANTED = 0x00000564;

    /// <summary>The maximum number of secrets that can be stored in a single system has been exceeded.</summary>

    public const int ERROR_TOO_MANY_SECRETS = 0x00000565;

    /// <summary>The length of a secret exceeds the maximum length allowed.</summary>

    public const int ERROR_SECRET_TOO_LONG = 0x00000566;

    /// <summary>The local security authority database contains an internal inconsistency.</summary>

    public const int ERROR_INTERNAL_DB_ERROR = 0x00000567;

    /// <summary>During a logon attempt, the user's security context accumulated too many SIDs.</summary>

    public const int ERROR_TOO_MANY_CONTEXT_IDS = 0x00000568;

    /// <summary>Logon failure: The user has not been granted the requested logon type at this computer.</summary>

    public const int ERROR_LOGON_TYPE_NOT_GRANTED = 0x00000569;

    /// <summary>A cross-encrypted password is necessary to change a user password.</summary>

    public const int ERROR_NT_CROSS_ENCRYPTION_REQUIRED = 0x0000056A;

    /// <summary>A member could not be added to or removed from the local group because the member does not exist.</summary>

    public const int ERROR_NO_SUCH_MEMBER = 0x0000056B;

    /// <summary>A new member could not be added to a local group because the member has the wrong account type.</summary>

    public const int ERROR_INVALID_MEMBER = 0x0000056C;

    /// <summary>Too many SIDs have been specified.</summary>

    public const int ERROR_TOO_MANY_SIDS = 0x0000056D;

    /// <summary>A cross-encrypted password is necessary to change this user password.</summary>

    public const int ERROR_LM_CROSS_ENCRYPTION_REQUIRED = 0x0000056E;

    /// <summary>Indicates an ACL contains no inheritable components.</summary>

    public const int ERROR_NO_INHERITANCE = 0x0000056F;

    /// <summary>The file or directory is corrupted and unreadable.</summary>

    public const int ERROR_FILE_CORRUPT = 0x00000570;

    /// <summary>The disk structure is corrupted and unreadable.</summary>

    public const int ERROR_DISK_CORRUPT = 0x00000571;

    /// <summary>There is no user session key for the specified logon session.</summary>

    public const int ERROR_NO_USER_SESSION_KEY = 0x00000572;

    /// <summary>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 the service has accepted the maximum number of connections.</summary>

    public const int ERROR_LICENSE_QUOTA_EXCEEDED = 0x00000573;

    /// <summary>Logon failure: The target account name is incorrect.</summary>

    public const int ERROR_WRONG_TARGET_NAME = 0x00000574;

    /// <summary>Mutual authentication failed. The server's password is out of date at the domain controller.</summary>

    public const int ERROR_MUTUAL_AUTH_FAILED = 0x00000575;

    /// <summary>There is a time and/or date difference between the client and server.</summary>

    public const int ERROR_TIME_SKEW = 0x00000576;

    /// <summary>This operation cannot be performed on the current domain.</summary>

    public const int ERROR_CURRENT_DOMAIN_NOT_ALLOWED = 0x00000577;

    /// <summary>Invalid window handle.</summary>

    public const int ERROR_INVALID_WINDOW_HANDLE = 0x00000578;

    /// <summary>Invalid menu handle.</summary>

    public const int ERROR_INVALID_MENU_HANDLE = 0x00000579;

    /// <summary>Invalid cursor handle.</summary>

    public const int ERROR_INVALID_CURSOR_HANDLE = 0x0000057A;

    /// <summary>Invalid accelerator table handle.</summary>

    public const int ERROR_INVALID_ACCEL_HANDLE = 0x0000057B;

    /// <summary>Invalid hook handle.</summary>

    public const int ERROR_INVALID_HOOK_HANDLE = 0x0000057C;

    /// <summary>Invalid handle to a multiple-window position structure.</summary>

    public const int ERROR_INVALID_DWP_HANDLE = 0x0000057D;

    /// <summary>Cannot create a top-level child window.</summary>

    public const int ERROR_TLW_WITH_WSCHILD = 0x0000057E;

    /// <summary>Cannot find window class.</summary>

    public const int ERROR_CANNOT_FIND_WND_CLASS = 0x0000057F;

    /// <summary>Invalid window; it belongs to other thread.</summary>

    public const int ERROR_WINDOW_OF_OTHER_THREAD = 0x00000580;

    /// <summary>Hot key is already registered.</summary>

    public const int ERROR_HOTKEY_ALREADY_REGISTERED = 0x00000581;

    /// <summary>Class already exists.</summary>

    public const int ERROR_CLASS_ALREADY_EXISTS = 0x00000582;

    /// <summary>Class does not exist.</summary>

    public const int ERROR_CLASS_DOES_NOT_EXIST = 0x00000583;

    /// <summary>Class still has open windows.</summary>

    public const int ERROR_CLASS_HAS_WINDOWS = 0x00000584;

    /// <summary>Invalid index.</summary>

    public const int ERROR_INVALID_INDEX = 0x00000585;

    /// <summary>Invalid icon handle.</summary>

    public const int ERROR_INVALID_ICON_HANDLE = 0x00000586;

    /// <summary>Using private DIALOG window words.</summary>

    public const int ERROR_PRIVATE_DIALOG_INDEX = 0x00000587;

    /// <summary>The list box identifier was not found.</summary>

    public const int ERROR_LISTBOX_ID_NOT_FOUND = 0x00000588;

    /// <summary>No wildcards were found.</summary>

    public const int ERROR_NO_WILDCARD_CHARACTERS = 0x00000589;

    /// <summary>Thread does not have a clipboard open.</summary>

    public const int ERROR_CLIPBOARD_NOT_OPEN = 0x0000058A;

    /// <summary>Hot key is not registered.</summary>

    public const int ERROR_HOTKEY_NOT_REGISTERED = 0x0000058B;

    /// <summary>The window is not a valid dialog window.</summary>

    public const int ERROR_WINDOW_NOT_DIALOG = 0x0000058C;

    /// <summary>Control ID not found.</summary>

    public const int ERROR_CONTROL_ID_NOT_FOUND = 0x0000058D;

    /// <summary>Invalid message for a combo box because it does not have an edit control.</summary>

    public const int ERROR_INVALID_COMBOBOX_MESSAGE = 0x0000058E;

    /// <summary>The window is not a combo box.</summary>

    public const int ERROR_WINDOW_NOT_COMBOBOX = 0x0000058F;

    /// <summary>Height must be less than 256.</summary>

    public const int ERROR_INVALID_EDIT_HEIGHT = 0x00000590;

    /// <summary>Invalid device context (DC) handle.</summary>

    public const int ERROR_DC_NOT_FOUND = 0x00000591;

    /// <summary>Invalid hook procedure type.</summary>

    public const int ERROR_INVALID_HOOK_FILTER = 0x00000592;

    /// <summary>Invalid hook procedure.</summary>

    public const int ERROR_INVALID_FILTER_PROC = 0x00000593;

    /// <summary>Cannot set nonlocal hook without a module handle.</summary>

    public const int ERROR_HOOK_NEEDS_HMOD = 0x00000594;

    /// <summary>This hook procedure can only be set globally.</summary>

    public const int ERROR_GLOBAL_ONLY_HOOK = 0x00000595;

    /// <summary>The journal hook procedure is already installed.</summary>

    public const int ERROR_JOURNAL_HOOK_SET = 0x00000596;

    /// <summary>The hook procedure is not installed.</summary>

    public const int ERROR_HOOK_NOT_INSTALLED = 0x00000597;

    /// <summary>Invalid message for single-selection list box.</summary>

    public const int ERROR_INVALID_LB_MESSAGE = 0x00000598;

    /// <summary>LB_SETCOUNT sent to non-lazy list box.</summary>

    public const int ERROR_SETCOUNT_ON_BAD_LB = 0x00000599;

    /// <summary>This list box does not support tab stops.</summary>

    public const int ERROR_LB_WITHOUT_TABSTOPS = 0x0000059A;

    /// <summary>Cannot destroy object created by another thread.</summary>

    public const int ERROR_DESTROY_OBJECT_OF_OTHER_THREAD = 0x0000059B;

    /// <summary>Child windows cannot have menus.</summary>

    public const int ERROR_CHILD_WINDOW_MENU = 0x0000059C;

    /// <summary>The window does not have a system menu.</summary>

    public const int ERROR_NO_SYSTEM_MENU = 0x0000059D;

    /// <summary>Invalid message box style.</summary>

    public const int ERROR_INVALID_MSGBOX_STYLE = 0x0000059E;

    /// <summary>Invalid system-wide (SPI_*) parameter.</summary>

    public const int ERROR_INVALID_SPI_VALUE = 0x0000059F;

    /// <summary>Screen already locked.</summary>

    public const int ERROR_SCREEN_ALREADY_LOCKED = 0x000005A0;

    /// <summary>All handles to windows in a multiple-window position structure must have the same parent.</summary>

    public const int ERROR_HWNDS_HAVE_DIFF_PARENT = 0x000005A1;

    /// <summary>The window is not a child window.</summary>

    public const int ERROR_NOT_CHILD_WINDOW = 0x000005A2;

    /// <summary>Invalid GW_* command.</summary>

    public const int ERROR_INVALID_GW_COMMAND = 0x000005A3;

    /// <summary>Invalid thread identifier.</summary>

    public const int ERROR_INVALID_THREAD_ID = 0x000005A4;

    /// <summary>Cannot process a message from a window that is not a multiple document interface (MDI) window.</summary>

    public const int ERROR_NON_MDICHILD_WINDOW = 0x000005A5;

    /// <summary>Pop-up menu already active.</summary>

    public const int ERROR_POPUP_ALREADY_ACTIVE = 0x000005A6;

    /// <summary>The window does not have scroll bars.</summary>

    public const int ERROR_NO_SCROLLBARS = 0x000005A7;

    /// <summary>Scroll bar range cannot be greater than MAXLONG.</summary>

    public const int ERROR_INVALID_SCROLLBAR_RANGE = 0x000005A8;

    /// <summary>Cannot show or remove the window in the way specified.</summary>

    public const int ERROR_INVALID_SHOWWIN_COMMAND = 0x000005A9;

    /// <summary>Insufficient system resources exist to complete the requested service.</summary>

    public const int ERROR_NO_SYSTEM_RESOURCES = 0x000005AA;

    /// <summary>Insufficient system resources exist to complete the requested service.</summary>

    public const int ERROR_NONPAGED_SYSTEM_RESOURCES = 0x000005AB;

    /// <summary>Insufficient system resources exist to complete the requested service.</summary>

    public const int ERROR_PAGED_SYSTEM_RESOURCES = 0x000005AC;

    /// <summary>Insufficient quota to complete the requested service.</summary>

    public const int ERROR_WORKING_SET_QUOTA = 0x000005AD;

    /// <summary>Insufficient quota to complete the requested service.</summary>

    public const int ERROR_PAGEFILE_QUOTA = 0x000005AE;

    /// <summary>The paging file is too small for this operation to complete.</summary>

    public const int ERROR_COMMITMENT_LIMIT = 0x000005AF;

    /// <summary>A menu item was not found.</summary>

    public const int ERROR_MENU_ITEM_NOT_FOUND = 0x000005B0;

    /// <summary>Invalid keyboard layout handle.</summary>

    public const int ERROR_INVALID_KEYBOARD_HANDLE = 0x000005B1;

    /// <summary>Hook type not allowed.</summary>

    public const int ERROR_HOOK_TYPE_NOT_ALLOWED = 0x000005B2;

    /// <summary>This operation requires an interactive window station.</summary>

    public const int ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION = 0x000005B3;

    /// <summary>This operation returned because the time-out period expired.</summary>

    public const int ERROR_TIMEOUT = 0x000005B4;

    /// <summary>Invalid monitor handle.</summary>

    public const int ERROR_INVALID_MONITOR_HANDLE = 0x000005B5;

    /// <summary>Incorrect size argument.</summary>

    public const int ERROR_INCORRECT_SIZE = 0x000005B6;

    /// <summary>The symbolic link cannot be followed because its type is disabled.</summary>

    public const int ERROR_SYMLINK_CLASS_DISABLED = 0x000005B7;

    /// <summary>This application does not support the current operation on symbolic links.</summary>

    public const int ERROR_SYMLINK_NOT_SUPPORTED = 0x000005B8;

    /// <summary>The event log file is corrupted.</summary>

    public const int ERROR_EVENTLOG_FILE_CORRUPT = 0x000005DC;

    /// <summary>No event log file could be opened, so the event logging service did not start.</summary>

    public const int ERROR_EVENTLOG_CANT_START = 0x000005DD;

    /// <summary>The event log file is full.</summary>

    public const int ERROR_LOG_FILE_FULL = 0x000005DE;

    /// <summary>The event log file has changed between read operations.</summary>

    public const int ERROR_EVENTLOG_FILE_CHANGED = 0x000005DF;

    /// <summary>The specified task name is invalid.</summary>

    public const int ERROR_INVALID_TASK_NAME = 0x0000060E;

    /// <summary>The specified task index is invalid.</summary>

    public const int ERROR_INVALID_TASK_INDEX = 0x0000060F;

    /// <summary>The specified thread is already joining a task.</summary>

    public const int ERROR_THREAD_ALREADY_IN_TASK = 0x00000610;

    /// <summary>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.</summary>

    public const int ERROR_INSTALL_SERVICE_FAILURE = 0x00000641;

    /// <summary>User canceled installation.</summary>

    public const int ERROR_INSTALL_USEREXIT = 0x00000642;

    /// <summary>Fatal error during installation.</summary>

    public const int ERROR_INSTALL_FAILURE = 0x00000643;

    /// <summary>Installation suspended, incomplete.</summary>

    public const int ERROR_INSTALL_SUSPEND = 0x00000644;

    /// <summary>This action is valid only for products that are currently installed.</summary>

    public const int ERROR_UNKNOWN_PRODUCT = 0x00000645;

    /// <summary>Feature ID not registered.</summary>

    public const int ERROR_UNKNOWN_FEATURE = 0x00000646;

    /// <summary>Component ID not registered.</summary>

    public const int ERROR_UNKNOWN_COMPONENT = 0x00000647;

    /// <summary>Unknown property.</summary>

    public const int ERROR_UNKNOWN_PROPERTY = 0x00000648;

    /// <summary>Handle is in an invalid state.</summary>

    public const int ERROR_INVALID_HANDLE_STATE = 0x00000649;

    /// <summary>The configuration data for this product is corrupt. Contact your support personnel.</summary>

    public const int ERROR_BAD_CONFIGURATION = 0x0000064A;

    /// <summary>Component qualifier not present.</summary>

    public const int ERROR_INDEX_ABSENT = 0x0000064B;

    /// <summary>The installation source for this product is not available. Verify that the source exists and that you can access it.</summary>

    public const int ERROR_INSTALL_SOURCE_ABSENT = 0x0000064C;

    /// <summary>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.</summary>

    public const int ERROR_INSTALL_PACKAGE_VERSION = 0x0000064D;

    /// <summary>Product is uninstalled.</summary>

    public const int ERROR_PRODUCT_UNINSTALLED = 0x0000064E;

    /// <summary>SQL query syntax invalid or unsupported.</summary>

    public const int ERROR_BAD_QUERY_SYNTAX = 0x0000064F;

    /// <summary>Record field does not exist.</summary>

    public const int ERROR_INVALID_FIELD = 0x00000650;

    /// <summary>The device has been removed.</summary>

    public const int ERROR_DEVICE_REMOVED = 0x00000651;

    /// <summary>Another installation is already in progress. Complete that installation before proceeding with this install.</summary>

    public const int ERROR_INSTALL_ALREADY_RUNNING = 0x00000652;

    /// <summary>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.</summary>

    public const int ERROR_INSTALL_PACKAGE_OPEN_FAILED = 0x00000653;

    /// <summary>This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.</summary>

    public const int ERROR_INSTALL_PACKAGE_INVALID = 0x00000654;

    /// <summary>There was an error starting the Windows Installer service user interface. Contact your support personnel.</summary>

    public const int ERROR_INSTALL_UI_FAILURE = 0x00000655;

    /// <summary>Error opening installation log file. Verify that the specified log file location exists and that you can write to it.</summary>

    public const int ERROR_INSTALL_LOG_FAILURE = 0x00000656;

    /// <summary>The language of this installation package is not supported by your system.</summary>

    public const int ERROR_INSTALL_LANGUAGE_UNSUPPORTED = 0x00000657;

    /// <summary>Error applying transforms. Verify that the specified transform paths are valid.</summary>

    public const int ERROR_INSTALL_TRANSFORM_FAILURE = 0x00000658;

    /// <summary>This installation is forbidden by system policy. Contact your system administrator.</summary>

    public const int ERROR_INSTALL_PACKAGE_REJECTED = 0x00000659;

    /// <summary>Function could not be executed.</summary>

    public const int ERROR_FUNCTION_NOT_CALLED = 0x0000065A;

    /// <summary>Function failed during execution.</summary>

    public const int ERROR_FUNCTION_FAILED = 0x0000065B;

    /// <summary>Invalid or unknown table specified.</summary>

    public const int ERROR_INVALID_TABLE = 0x0000065C;

    /// <summary>Data supplied is of wrong type.</summary>

    public const int ERROR_DATATYPE_MISMATCH = 0x0000065D;

    /// <summary>Data of this type is not supported.</summary>

    public const int ERROR_UNSUPPORTED_TYPE = 0x0000065E;

    /// <summary>The Windows Installer service failed to start. Contact your support personnel.</summary>

    public const int ERROR_CREATE_FAILED = 0x0000065F;

    /// <summary>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.</summary>

    public const int ERROR_INSTALL_TEMP_UNWRITABLE = 0x00000660;

    /// <summary>This installation package is not supported by this processor type. Contact your product vendor.</summary>

    public const int ERROR_INSTALL_PLATFORM_UNSUPPORTED = 0x00000661;

    /// <summary>Component not used on this computer.</summary>

    public const int ERROR_INSTALL_NOTUSED = 0x00000662;

    /// <summary>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.</summary>

    public const int ERROR_PATCH_PACKAGE_OPEN_FAILED = 0x00000663;

    /// <summary>This update package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer update package.</summary>

    public const int ERROR_PATCH_PACKAGE_INVALID = 0x00000664;

    /// <summary>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.</summary>

    public const int ERROR_PATCH_PACKAGE_UNSUPPORTED = 0x00000665;

    /// <summary>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 in Control Panel.</summary>

    public const int ERROR_PRODUCT_VERSION = 0x00000666;

    /// <summary>Invalid command-line argument. Consult the Windows Installer SDK for detailed command line help.</summary>

    public const int ERROR_INVALID_COMMAND_LINE = 0x00000667;

    /// <summary>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.</summary>

    public const int ERROR_INSTALL_REMOTE_DISALLOWED = 0x00000668;

    /// <summary>The requested operation completed successfully. The system will be restarted so the changes can take effect.</summary>

    public const int ERROR_SUCCESS_REBOOT_INITIATED = 0x00000669;

    /// <summary>The upgrade cannot be installed by the Windows Installer service because the program to be upgraded might be missing, or the upgrade might 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.</summary>

    public const int ERROR_PATCH_TARGET_NOT_FOUND = 0x0000066A;

    /// <summary>The update package is not permitted by a software restriction policy.</summary>

    public const int ERROR_PATCH_PACKAGE_REJECTED = 0x0000066B;

    /// <summary>One or more customizations are not permitted by a software restriction policy.</summary>

    public const int ERROR_INSTALL_TRANSFORM_REJECTED = 0x0000066C;

    /// <summary>The Windows Installer does not permit installation from a Remote Desktop Connection.</summary>

    public const int ERROR_INSTALL_REMOTE_PROHIBITED = 0x0000066D;

    /// <summary>Uninstallation of the update package is not supported.</summary>

    public const int ERROR_PATCH_REMOVAL_UNSUPPORTED = 0x0000066E;

    /// <summary>The update is not applied to this product.</summary>

    public const int ERROR_UNKNOWN_PATCH = 0x0000066F;

    /// <summary>No valid sequence could be found for the set of updates.</summary>

    public const int ERROR_PATCH_NO_SEQUENCE = 0x00000670;

    /// <summary>Update removal was disallowed by policy.</summary>

    public const int ERROR_PATCH_REMOVAL_DISALLOWED = 0x00000671;

    /// <summary>The XML update data is invalid.</summary>

    public const int ERROR_INVALID_PATCH_XML = 0x00000672;

    /// <summary>Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update.</summary>

    public const int ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT = 0x00000673;

    /// <summary>The Windows Installer service is not accessible in Safe Mode. 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.</summary>

    public const int ERROR_INSTALL_SERVICE_SAFEBOOT = 0x00000674;

    /// <summary>The string binding is invalid.</summary>

    public const int RPC_S_INVALID_STRING_BINDING = 0x000006A4;

    /// <summary>The binding handle is not the correct type.</summary>

    public const int RPC_S_WRONG_KIND_OF_BINDING = 0x000006A5;

    /// <summary>The binding handle is invalid.</summary>

    public const int RPC_S_INVALID_BINDING = 0x000006A6;

    /// <summary>The RPC protocol sequence is not supported.</summary>

    public const int RPC_S_PROTSEQ_NOT_SUPPORTED = 0x000006A7;

    /// <summary>The RPC protocol sequence is invalid.</summary>

    public const int RPC_S_INVALID_RPC_PROTSEQ = 0x000006A8;

    /// <summary>The string UUID is invalid.</summary>

    public const int RPC_S_INVALID_STRING_UUID = 0x000006A9;

    /// <summary>The endpoint format is invalid.</summary>

    public const int RPC_S_INVALID_ENDPOINT_FORMAT = 0x000006AA;

    /// <summary>The network address is invalid.</summary>

    public const int RPC_S_INVALID_NET_ADDR = 0x000006AB;

    /// <summary>No endpoint was found.</summary>

    public const int RPC_S_NO_ENDPOINT_FOUND = 0x000006AC;

    /// <summary>The time-out value is invalid.</summary>

    public const int RPC_S_INVALID_TIMEOUT = 0x000006AD;

    /// <summary>The object UUID) was not found.</summary>

    public const int RPC_S_OBJECT_NOT_FOUND = 0x000006AE;

    /// <summary>The object UUID) has already been registered.</summary>

    public const int RPC_S_ALREADY_REGISTERED = 0x000006AF;

    /// <summary>The type UUID has already been registered.</summary>

    public const int RPC_S_TYPE_ALREADY_REGISTERED = 0x000006B0;

    /// <summary>The RPC server is already listening.</summary>

    public const int RPC_S_ALREADY_LISTENING = 0x000006B1;

    /// <summary>No protocol sequences have been registered.</summary>

    public const int RPC_S_NO_PROTSEQS_REGISTERED = 0x000006B2;

    /// <summary>The RPC server is not listening.</summary>

    public const int RPC_S_NOT_LISTENING = 0x000006B3;

    /// <summary>The manager type is unknown.</summary>

    public const int RPC_S_UNKNOWN_MGR_TYPE = 0x000006B4;

    /// <summary>The interface is unknown.</summary>

    public const int RPC_S_UNKNOWN_IF = 0x000006B5;

    /// <summary>There are no bindings.</summary>

    public const int RPC_S_NO_BINDINGS = 0x000006B6;

    /// <summary>There are no protocol sequences.</summary>

    public const int RPC_S_NO_PROTSEQS = 0x000006B7;

    /// <summary>The endpoint cannot be created.</summary>

    public const int RPC_S_CANT_CREATE_ENDPOINT = 0x000006B8;

    /// <summary>Not enough resources are available to complete this operation.</summary>

    public const int RPC_S_OUT_OF_RESOURCES = 0x000006B9;

    /// <summary>The RPC server is unavailable.</summary>

    public const int RPC_S_SERVER_UNAVAILABLE = 0x000006BA;

    /// <summary>The RPC server is too busy to complete this operation.</summary>

    public const int RPC_S_SERVER_TOO_BUSY = 0x000006BB;

    /// <summary>The network options are invalid.</summary>

    public const int RPC_S_INVALID_NETWORK_OPTIONS = 0x000006BC;

    /// <summary>There are no RPCs active on this thread.</summary>

    public const int RPC_S_NO_CALL_ACTIVE = 0x000006BD;

    /// <summary>The RPC failed.</summary>

    public const int RPC_S_CALL_FAILED = 0x000006BE;

    /// <summary>The RPC failed and did not execute.</summary>

    public const int RPC_S_CALL_FAILED_DNE = 0x000006BF;

    /// <summary>An RPC protocol error occurred.</summary>

    public const int RPC_S_PROTOCOL_ERROR = 0x000006C0;

    /// <summary>Access to the HTTP proxy is denied.</summary>

    public const int RPC_S_PROXY_ACCESS_DENIED = 0x000006C1;

    /// <summary>The transfer syntax is not supported by the RPC server.</summary>

    public const int RPC_S_UNSUPPORTED_TRANS_SYN = 0x000006C2;

    /// <summary>The UUID type is not supported.</summary>

    public const int RPC_S_UNSUPPORTED_TYPE = 0x000006C4;

    /// <summary>The tag is invalid.</summary>

    public const int RPC_S_INVALID_TAG = 0x000006C5;

    /// <summary>The array bounds are invalid.</summary>

    public const int RPC_S_INVALID_BOUND = 0x000006C6;

    /// <summary>The binding does not contain an entry name.</summary>

    public const int RPC_S_NO_ENTRY_NAME = 0x000006C7;

    /// <summary>The name syntax is invalid.</summary>

    public const int RPC_S_INVALID_NAME_SYNTAX = 0x000006C8;

    /// <summary>The name syntax is not supported.</summary>

    public const int RPC_S_UNSUPPORTED_NAME_SYNTAX = 0x000006C9;

    /// <summary>No network address is available to use to public construct a UUID.</summary>

    public const int RPC_S_UUID_NO_ADDRESS = 0x000006CB;

    /// <summary>The endpoint is a duplicate.</summary>

    public const int RPC_S_DUPLICATE_ENDPOINT = 0x000006CC;

    /// <summary>The authentication type is unknown.</summary>

    public const int RPC_S_UNKNOWN_AUTHN_TYPE = 0x000006CD;

    /// <summary>The maximum number of calls is too small.</summary>

    public const int RPC_S_MAX_CALLS_TOO_SMALL = 0x000006CE;

    /// <summary>The string is too long.</summary>

    public const int RPC_S_STRING_TOO_LONG = 0x000006CF;

    /// <summary>The RPC protocol sequence was not found.</summary>

    public const int RPC_S_PROTSEQ_NOT_FOUND = 0x000006D0;

    /// <summary>The procedure number is out of range.</summary>

    public const int RPC_S_PROCNUM_OUT_OF_RANGE = 0x000006D1;

    /// <summary>The binding does not contain any authentication information.</summary>

    public const int RPC_S_BINDING_HAS_NO_AUTH = 0x000006D2;

    /// <summary>The authentication service is unknown.</summary>

    public const int RPC_S_UNKNOWN_AUTHN_SERVICE = 0x000006D3;

    /// <summary>The authentication level is unknown.</summary>

    public const int RPC_S_UNKNOWN_AUTHN_LEVEL = 0x000006D4;

    /// <summary>The security context is invalid.</summary>

    public const int RPC_S_INVALID_AUTH_IDENTITY = 0x000006D5;

    /// <summary>The authorization service is unknown.</summary>

    public const int RPC_S_UNKNOWN_AUTHZ_SERVICE = 0x000006D6;

    /// <summary>The entry is invalid.</summary>

    public const int EPT_S_INVALID_ENTRY = 0x000006D7;

    /// <summary>The server endpoint cannot perform the operation.</summary>

    public const int EPT_S_CANT_PERFORM_OP = 0x000006D8;

    /// <summary>There are no more endpoints available from the endpoint mapper.</summary>

    public const int EPT_S_NOT_REGISTERED = 0x000006D9;

    /// <summary>No interfaces have been exported.</summary>

    public const int RPC_S_NOTHING_TO_EXPORT = 0x000006DA;

    /// <summary>The entry name is incomplete.</summary>

    public const int RPC_S_INCOMPLETE_NAME = 0x000006DB;

    /// <summary>The version option is invalid.</summary>

    public const int RPC_S_INVALID_VERS_OPTION = 0x000006DC;

    /// <summary>There are no more members.</summary>

    public const int RPC_S_NO_MORE_MEMBERS = 0x000006DD;

    /// <summary>There is nothing to unexport.</summary>

    public const int RPC_S_NOT_ALL_OBJS_UNEXPORTED = 0x000006DE;

    /// <summary>The interface was not found.</summary>

    public const int RPC_S_INTERFACE_NOT_FOUND = 0x000006DF;

    /// <summary>The entry already exists.</summary>

    public const int RPC_S_ENTRY_ALREADY_EXISTS = 0x000006E0;

    /// <summary>The entry is not found.</summary>

    public const int RPC_S_ENTRY_NOT_FOUND = 0x000006E1;

    /// <summary>The name service is unavailable.</summary>

    public const int RPC_S_NAME_SERVICE_UNAVAILABLE = 0x000006E2;

    /// <summary>The network address family is invalid.</summary>

    public const int RPC_S_INVALID_NAF_ID = 0x000006E3;

    /// <summary>The requested operation is not supported.</summary>

    public const int RPC_S_CANNOT_SUPPORT = 0x000006E4;

    /// <summary>No security context is available to allow impersonation.</summary>

    public const int RPC_S_NO_CONTEXT_AVAILABLE = 0x000006E5;

    /// <summary>An internal error occurred in an RPC.</summary>

    public const int RPC_S_INTERNAL_ERROR = 0x000006E6;

    /// <summary>The RPC server attempted an integer division by zero.</summary>

    public const int RPC_S_ZERO_DIVIDE = 0x000006E7;

    /// <summary>An addressing error occurred in the RPC server.</summary>

    public const int RPC_S_ADDRESS_ERROR = 0x000006E8;

    /// <summary>A floating-point operation at the RPC server caused a division by zero.</summary>

    public const int RPC_S_FP_DIV_ZERO = 0x000006E9;

    /// <summary>A floating-point underflow occurred at the RPC server.</summary>

    public const int RPC_S_FP_UNDERFLOW = 0x000006EA;

    /// <summary>A floating-point overflow occurred at the RPC server.</summary>

    public const int RPC_S_FP_OVERFLOW = 0x000006EB;

    /// <summary>The list of RPC servers available for the binding of auto handles has been exhausted.</summary>

    public const int RPC_X_NO_MORE_ENTRIES = 0x000006EC;

    /// <summary>Unable to open the character translation table file.</summary>

    public const int RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 0x000006ED;

    /// <summary>The file containing the character translation table has fewer than 512 bytes.</summary>

    public const int RPC_X_SS_CHAR_TRANS_SHORT_FILE = 0x000006EE;

    /// <summary>A null context handle was passed from the client to the host during an RPC.</summary>

    public const int RPC_X_SS_IN_NULL_CONTEXT = 0x000006EF;

    /// <summary>The context handle changed during an RPC.</summary>

    public const int RPC_X_SS_CONTEXT_DAMAGED = 0x000006F1;

    /// <summary>The binding handles passed to an RPC do not match.</summary>

    public const int RPC_X_SS_HANDLES_MISMATCH = 0x000006F2;

    /// <summary>The stub is unable to get the RPC handle.</summary>

    public const int RPC_X_SS_CANNOT_GET_CALL_HANDLE = 0x000006F3;

    /// <summary>A null reference pointer was passed to the stub.</summary>

    public const int RPC_X_NULL_REF_POINTER = 0x000006F4;

    /// <summary>The enumeration value is out of range.</summary>

    public const int RPC_X_ENUM_VALUE_OUT_OF_RANGE = 0x000006F5;

    /// <summary>The byte count is too small.</summary>

    public const int RPC_X_BYTE_COUNT_TOO_SMALL = 0x000006F6;

    /// <summary>The stub received bad data.</summary>

    public const int RPC_X_BAD_STUB_DATA = 0x000006F7;

    /// <summary>The supplied user buffer is not valid for the requested operation.</summary>

    public const int ERROR_INVALID_USER_BUFFER = 0x000006F8;

    /// <summary>The disk media is not recognized. It might not be formatted.</summary>

    public const int ERROR_UNRECOGNIZED_MEDIA = 0x000006F9;

    /// <summary>The workstation does not have a trust secret.</summary>

    public const int ERROR_NO_TRUST_LSA_SECRET = 0x000006FA;

    /// <summary>The security database on the server does not have a computer account for this workstation trust relationship.</summary>

    public const int ERROR_NO_TRUST_SAM_ACCOUNT = 0x000006FB;

    /// <summary>The trust relationship between the primary domain and the trusted domain failed.</summary>

    public const int ERROR_TRUSTED_DOMAIN_FAILURE = 0x000006FC;

    /// <summary>The trust relationship between this workstation and the primary domain failed.</summary>

    public const int ERROR_TRUSTED_RELATIONSHIP_FAILURE = 0x000006FD;

    /// <summary>The network logon failed.</summary>

    public const int ERROR_TRUST_FAILURE = 0x000006FE;

    /// <summary>An RPC is already in progress for this thread.</summary>

    public const int RPC_S_CALL_IN_PROGRESS = 0x000006FF;

    /// <summary>An attempt was made to log on, but the network logon service was not started.</summary>

    public const int ERROR_NETLOGON_NOT_STARTED = 0x00000700;

    /// <summary>The user's account has expired.</summary>

    public const int ERROR_ACCOUNT_EXPIRED = 0x00000701;

    /// <summary>The redirector is in use and cannot be unloaded.</summary>

    public const int ERROR_REDIRECTOR_HAS_OPEN_HANDLES = 0x00000702;

    /// <summary>The specified printer driver is already installed.</summary>

    public const int ERROR_PRINTER_DRIVER_ALREADY_INSTALLED = 0x00000703;

    /// <summary>The specified port is unknown.</summary>

    public const int ERROR_UNKNOWN_PORT = 0x00000704;

    /// <summary>The printer driver is unknown.</summary>

    public const int ERROR_UNKNOWN_PRINTER_DRIVER = 0x00000705;

    /// <summary>The print processor is unknown.</summary>

    public const int ERROR_UNKNOWN_PRINTPROCESSOR = 0x00000706;

    /// <summary>The specified separator file is invalid.</summary>

    public const int ERROR_INVALID_SEPARATOR_FILE = 0x00000707;

    /// <summary>The specified priority is invalid.</summary>

    public const int ERROR_INVALID_PRIORITY = 0x00000708;

    /// <summary>The printer name is invalid.</summary>

    public const int ERROR_INVALID_PRINTER_NAME = 0x00000709;

    /// <summary>The printer already exists.</summary>

    public const int ERROR_PRINTER_ALREADY_EXISTS = 0x0000070A;

    /// <summary>The printer command is invalid.</summary>

    public const int ERROR_INVALID_PRINTER_COMMAND = 0x0000070B;

    /// <summary>The specified data type is invalid.</summary>

    public const int ERROR_INVALID_DATATYPE = 0x0000070C;

    /// <summary>The environment specified is invalid.</summary>

    public const int ERROR_INVALID_ENVIRONMENT = 0x0000070D;

    /// <summary>There are no more bindings.</summary>

    public const int RPC_S_NO_MORE_BINDINGS = 0x0000070E;

    /// <summary>The account used is an interdomain trust account. Use your global user account or local user account to access this server.</summary>

    public const int ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 0x0000070F;

    /// <summary>The account used is a computer account. Use your global user account or local user account to access this server.</summary>

    public const int ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 0x00000710;

    /// <summary>The account used is a server trust account. Use your global user account or local user account to access this server.</summary>

    public const int ERROR_NOLOGON_SERVER_TRUST_ACCOUNT = 0x00000711;

    /// <summary>The name or SID of the domain specified is inconsistent with the trust information for that domain.</summary>

    public const int ERROR_DOMAIN_TRUST_INCONSISTENT = 0x00000712;

    /// <summary>The server is in use and cannot be unloaded.</summary>

    public const int ERROR_SERVER_HAS_OPEN_HANDLES = 0x00000713;

    /// <summary>The specified image file did not contain a resource section.</summary>

    public const int ERROR_RESOURCE_DATA_NOT_FOUND = 0x00000714;

    /// <summary>The specified resource type cannot be found in the image file.</summary>

    public const int ERROR_RESOURCE_TYPE_NOT_FOUND = 0x00000715;

    /// <summary>The specified resource name cannot be found in the image file.</summary>

    public const int ERROR_RESOURCE_NAME_NOT_FOUND = 0x00000716;

    /// <summary>The specified resource language ID cannot be found in the image file.</summary>

    public const int ERROR_RESOURCE_LANG_NOT_FOUND = 0x00000717;

    /// <summary>Not enough quota is available to process this command.</summary>

    public const int ERROR_NOT_ENOUGH_QUOTA = 0x00000718;

    /// <summary>No interfaces have been registered.</summary>

    public const int RPC_S_NO_INTERFACES = 0x00000719;

    /// <summary>The RPC was canceled.</summary>

    public const int RPC_S_CALL_CANCELLED = 0x0000071A;

    /// <summary>The binding handle does not contain all the required information.</summary>

    public const int RPC_S_BINDING_INCOMPLETE = 0x0000071B;

    /// <summary>A communications failure occurred during an RPC.</summary>

    public const int RPC_S_COMM_FAILURE = 0x0000071C;

    /// <summary>The requested authentication level is not supported.</summary>

    public const int RPC_S_UNSUPPORTED_AUTHN_LEVEL = 0x0000071D;

    /// <summary>No principal name is registered.</summary>

    public const int RPC_S_NO_PRINC_NAME = 0x0000071E;

    /// <summary>The error specified is not a valid Windows RPC error code.</summary>

    public const int RPC_S_NOT_RPC_ERROR = 0x0000071F;

    /// <summary>A UUID that is valid only on this computer has been allocated.</summary>

    public const int RPC_S_UUID_LOCAL_ONLY = 0x00000720;

    /// <summary>A security package-specific error occurred.</summary>

    public const int RPC_S_SEC_PKG_ERROR = 0x00000721;

    /// <summary>The thread is not canceled.</summary>

    public const int RPC_S_NOT_CANCELLED = 0x00000722;

    /// <summary>Invalid operation on the encoding/decoding handle.</summary>

    public const int RPC_X_INVALID_ES_ACTION = 0x00000723;

    /// <summary>Incompatible version of the serializing package.</summary>

    public const int RPC_X_WRONG_ES_VERSION = 0x00000724;

    /// <summary>Incompatible version of the RPC stub.</summary>

    public const int RPC_X_WRONG_STUB_VERSION = 0x00000725;

    /// <summary>The RPC pipe object is invalid or corrupted.</summary>

    public const int RPC_X_INVALID_PIPE_OBJECT = 0x00000726;

    /// <summary>An invalid operation was attempted on an RPC pipe object.</summary>

    public const int RPC_X_WRONG_PIPE_ORDER = 0x00000727;

    /// <summary>Unsupported RPC pipe version.</summary>

    public const int RPC_X_WRONG_PIPE_VERSION = 0x00000728;

    /// <summary>The group member was not found.</summary>

    public const int RPC_S_GROUP_MEMBER_NOT_FOUND = 0x0000076A;

    /// <summary>The endpoint mapper database entry could not be created.</summary>

    public const int EPT_S_CANT_CREATE = 0x0000076B;

    /// <summary>The object UUID is the nil UUID.</summary>

    public const int RPC_S_INVALID_OBJECT = 0x0000076C;

    /// <summary>The specified time is invalid.</summary>

    public const int ERROR_INVALID_TIME = 0x0000076D;

    /// <summary>The specified form name is invalid.</summary>

    public const int ERROR_INVALID_FORM_NAME = 0x0000076E;

    /// <summary>The specified form size is invalid.</summary>

    public const int ERROR_INVALID_FORM_SIZE = 0x0000076F;

    /// <summary>The specified printer handle is already being waited on.</summary>

    public const int ERROR_ALREADY_WAITING = 0x00000770;

    /// <summary>The specified printer has been deleted.</summary>

    public const int ERROR_PRINTER_DELETED = 0x00000771;

    /// <summary>The state of the printer is invalid.</summary>

    public const int ERROR_INVALID_PRINTER_STATE = 0x00000772;

    /// <summary>The user's password must be changed before logging on the first time.</summary>

    public const int ERROR_PASSWORD_MUST_CHANGE = 0x00000773;

    /// <summary>Could not find the domain controller for this domain.</summary>

    public const int ERROR_DOMAIN_CONTROLLER_NOT_FOUND = 0x00000774;

    /// <summary>The referenced account is currently locked out and cannot be logged on to.</summary>

    public const int ERROR_ACCOUNT_LOCKED_OUT = 0x00000775;

    /// <summary>The object exporter specified was not found.</summary>

    public const int OR_INVALID_OXID = 0x00000776;

    /// <summary>The object specified was not found.</summary>

    public const int OR_INVALID_OID = 0x00000777;

    /// <summary>The object set specified was not found.</summary>

    public const int OR_INVALID_SET = 0x00000778;

    /// <summary>Some data remains to be sent in the request buffer.</summary>

    public const int RPC_S_SEND_INCOMPLETE = 0x00000779;

    /// <summary>Invalid asynchronous RPC handle.</summary>

    public const int RPC_S_INVALID_ASYNC_HANDLE = 0x0000077A;

    /// <summary>Invalid asynchronous RPC call handle for this operation.</summary>

    public const int RPC_S_INVALID_ASYNC_CALL = 0x0000077B;

    /// <summary>The RPC pipe object has already been closed.</summary>

    public const int RPC_X_PIPE_CLOSED = 0x0000077C;

    /// <summary>The RPC call completed before all pipes were processed.</summary>

    public const int RPC_X_PIPE_DISCIPLINE_ERROR = 0x0000077D;

    /// <summary>No more data is available from the RPC pipe.</summary>

    public const int RPC_X_PIPE_EMPTY = 0x0000077E;

    /// <summary>No site name is available for this machine.</summary>

    public const int ERROR_NO_SITENAME = 0x0000077F;

    /// <summary>The file cannot be accessed by the system.</summary>

    public const int ERROR_CANT_ACCESS_FILE = 0x00000780;

    /// <summary>The name of the file cannot be resolved by the system.</summary>

    public const int ERROR_CANT_RESOLVE_FILENAME = 0x00000781;

    /// <summary>The entry is not of the expected type.</summary>

    public const int RPC_S_ENTRY_TYPE_MISMATCH = 0x00000782;

    /// <summary>Not all object UUIDs could be exported to the specified entry.</summary>

    public const int RPC_S_NOT_ALL_OBJS_EXPORTED = 0x00000783;

    /// <summary>The interface could not be exported to the specified entry.</summary>

    public const int RPC_S_INTERFACE_NOT_EXPORTED = 0x00000784;

    /// <summary>The specified profile entry could not be added.</summary>

    public const int RPC_S_PROFILE_NOT_ADDED = 0x00000785;

    /// <summary>The specified profile element could not be added.</summary>

    public const int RPC_S_PRF_ELT_NOT_ADDED = 0x00000786;

    /// <summary>The specified profile element could not be removed.</summary>

    public const int RPC_S_PRF_ELT_NOT_REMOVED = 0x00000787;

    /// <summary>The group element could not be added.</summary>

    public const int RPC_S_GRP_ELT_NOT_ADDED = 0x00000788;

    /// <summary>The group element could not be removed.</summary>

    public const int RPC_S_GRP_ELT_NOT_REMOVED = 0x00000789;

    /// <summary>The printer driver is not compatible with a policy enabled on your computer that blocks Windows NT 4.0 operating system drivers.</summary>

    public const int ERROR_KM_DRIVER_BLOCKED = 0x0000078A;

    /// <summary>The context has expired and can no longer be used.</summary>

    public const int ERROR_CONTEXT_EXPIRED = 0x0000078B;

    /// <summary>The current user's delegated trust creation quota has been exceeded.</summary>

    public const int ERROR_PER_USER_TRUST_QUOTA_EXCEEDED = 0x0000078C;

    /// <summary>The total delegated trust creation quota has been exceeded.</summary>

    public const int ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED = 0x0000078D;

    /// <summary>The current user's delegated trust deletion quota has been exceeded.</summary>

    public const int ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED = 0x0000078E;

    /// <summary>Logon failure: The machine you are logging on to is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine.</summary>

    public const int ERROR_AUTHENTICATION_FIREWALL_FAILED = 0x0000078F;

    /// <summary>Remote connections to the Print Spooler are blocked by a policy set on your machine.</summary>

    public const int ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 0x00000790;

    /// <summary>The pixel format is invalid.</summary>

    public const int ERROR_INVALID_PIXEL_FORMAT = 0x000007D0;

    /// <summary>The specified driver is invalid.</summary>

    public const int ERROR_BAD_DRIVER = 0x000007D1;

    /// <summary>The window style or class attribute is invalid for this operation.</summary>

    public const int ERROR_INVALID_WINDOW_STYLE = 0x000007D2;

    /// <summary>The requested metafile operation is not supported.</summary>

    public const int ERROR_METAFILE_NOT_SUPPORTED = 0x000007D3;

    /// <summary>The requested transformation operation is not supported.</summary>

    public const int ERROR_TRANSFORM_NOT_SUPPORTED = 0x000007D4;

    /// <summary>The requested clipping operation is not supported.</summary>

    public const int ERROR_CLIPPING_NOT_SUPPORTED = 0x000007D5;

    /// <summary>The specified color management module is invalid.</summary>

    public const int ERROR_INVALID_CMM = 0x000007DA;

    /// <summary>The specified color profile is invalid.</summary>

    public const int ERROR_INVALID_PROFILE = 0x000007DB;

    /// <summary>The specified tag was not found.</summary>

    public const int ERROR_TAG_NOT_FOUND = 0x000007DC;

    /// <summary>A required tag is not present.</summary>

    public const int ERROR_TAG_NOT_PRESENT = 0x000007DD;

    /// <summary>The specified tag is already present.</summary>

    public const int ERROR_DUPLICATE_TAG = 0x000007DE;

    /// <summary>The specified color profile is not associated with any device.</summary>

    public const int ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 0x000007DF;

    /// <summary>The specified color profile was not found.</summary>

    public const int ERROR_PROFILE_NOT_FOUND = 0x000007E0;

    /// <summary>The specified color space is invalid.</summary>

    public const int ERROR_INVALID_COLORSPACE = 0x000007E1;

    /// <summary>Image Color Management is not enabled.</summary>

    public const int ERROR_ICM_NOT_ENABLED = 0x000007E2;

    /// <summary>There was an error while deleting the color transform.</summary>

    public const int ERROR_DELETING_ICM_XFORM = 0x000007E3;

    /// <summary>The specified color transform is invalid.</summary>

    public const int ERROR_INVALID_TRANSFORM = 0x000007E4;

    /// <summary>The specified transform does not match the bitmap's color space.</summary>

    public const int ERROR_COLORSPACE_MISMATCH = 0x000007E5;

    /// <summary>The specified named color index is not present in the profile.</summary>

    public const int ERROR_INVALID_COLORINDEX = 0x000007E6;

    /// <summary>The specified profile is intended for a device of a different type than the specified device.</summary>

    public const int ERROR_PROFILE_DOES_NOT_MATCH_DEVICE = 0x000007E7;

    /// <summary>The workstation driver is not installed.</summary>

    public const int NERR_NetNotStarted = 0x00000836;

    /// <summary>The server could not be located.</summary>

    public const int NERR_UnknownServer = 0x00000837;

    /// <summary>An internal error occurred. The network cannot access a shared memory segment.</summary>

    public const int NERR_ShareMem = 0x00000838;

    /// <summary>A network resource shortage occurred.</summary>

    public const int NERR_NoNetworkResource = 0x00000839;

    /// <summary>This operation is not supported on workstations.</summary>

    public const int NERR_RemoteOnly = 0x0000083A;

    /// <summary>The device is not connected.</summary>

    public const int NERR_DevNotRedirected = 0x0000083B;

    /// <summary>The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.</summary>

    public const int ERROR_CONNECTED_OTHER_PASSWORD = 0x0000083C;

    /// <summary>The network connection was made successfully using default credentials.</summary>

    public const int ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT = 0x0000083D;

    /// <summary>The Server service is not started.</summary>

    public const int NERR_ServerNotStarted = 0x00000842;

    /// <summary>The queue is empty.</summary>

    public const int NERR_ItemNotFound = 0x00000843;

    /// <summary>The device or directory does not exist.</summary>

    public const int NERR_UnknownDevDir = 0x00000844;

    /// <summary>The operation is invalid on a redirected resource.</summary>

    public const int NERR_RedirectedPath = 0x00000845;

    /// <summary>The name has already been shared.</summary>

    public const int NERR_DuplicateShare = 0x00000846;

    /// <summary>The server is currently out of the requested resource.</summary>

    public const int NERR_NoRoom = 0x00000847;

    /// <summary>Requested addition of items exceeds the maximum allowed.</summary>

    public const int NERR_TooManyItems = 0x00000849;

    /// <summary>The Peer service supports only two simultaneous users.</summary>

    public const int NERR_InvalidMaxUsers = 0x0000084A;

    /// <summary>The API return buffer is too small.</summary>

    public const int NERR_BufTooSmall = 0x0000084B;

    /// <summary>A remote API error occurred.</summary>

    public const int NERR_RemoteErr = 0x0000084F;

    /// <summary>An error occurred when opening or reading the configuration file.</summary>

    public const int NERR_LanmanIniError = 0x00000853;

    /// <summary>A general network error occurred.</summary>

    public const int NERR_NetworkError = 0x00000858;

    /// <summary>The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service.</summary>

    public const int NERR_WkstaInconsistentState = 0x00000859;

    /// <summary>The Workstation service has not been started.</summary>

    public const int NERR_WkstaNotStarted = 0x0000085A;

    /// <summary>The requested information is not available.</summary>

    public const int NERR_BrowserNotStarted = 0x0000085B;

    /// <summary>An internal error occurred.</summary>

    public const int NERR_InternalError = 0x0000085C;

    /// <summary>The server is not configured for transactions.</summary>

    public const int NERR_BadTransactConfig = 0x0000085D;

    /// <summary>The requested API is not supported on the remote server.</summary>

    public const int NERR_InvalidAPI = 0x0000085E;

    /// <summary>The event name is invalid.</summary>

    public const int NERR_BadEventName = 0x0000085F;

    /// <summary>The computer name already exists on the network. Change it and reboot the computer.</summary>

    public const int NERR_DupNameReboot = 0x00000860;

    /// <summary>The specified component could not be found in the configuration information.</summary>

    public const int NERR_CfgCompNotFound = 0x00000862;

    /// <summary>The specified parameter could not be found in the configuration information.</summary>

    public const int NERR_CfgParamNotFound = 0x00000863;

    /// <summary>A line in the configuration file is too long.</summary>

    public const int NERR_LineTooLong = 0x00000865;

    /// <summary>The printer does not exist.</summary>

    public const int NERR_QNotFound = 0x00000866;

    /// <summary>The print job does not exist.</summary>

    public const int NERR_JobNotFound = 0x00000867;

    /// <summary>The printer destination cannot be found.</summary>

    public const int NERR_DestNotFound = 0x00000868;

    /// <summary>The printer destination already exists.</summary>

    public const int NERR_DestExists = 0x00000869;

    /// <summary>The print queue already exists.</summary>

    public const int NERR_QExists = 0x0000086A;

    /// <summary>No more printers can be added.</summary>

    public const int NERR_QNoRoom = 0x0000086B;

    /// <summary>No more print jobs can be added.</summary>

    public const int NERR_JobNoRoom = 0x0000086C;

    /// <summary>No more printer destinations can be added.</summary>

    public const int NERR_DestNoRoom = 0x0000086D;

    /// <summary>This printer destination is idle and cannot accept control operations.</summary>

    public const int NERR_DestIdle = 0x0000086E;

    /// <summary>This printer destination request contains an invalid control function.</summary>

    public const int NERR_DestInvalidOp = 0x0000086F;

    /// <summary>The print processor is not responding.</summary>

    public const int NERR_ProcNoRespond = 0x00000870;

    /// <summary>The spooler is not running.</summary>

    public const int NERR_SpoolerNotLoaded = 0x00000871;

    /// <summary>This operation cannot be performed on the print destination in its current state.</summary>

    public const int NERR_DestInvalidState = 0x00000872;

    /// <summary>This operation cannot be performed on the print queue in its current state.</summary>

    public const int NERR_QinvalidState = 0x00000873;

    /// <summary>This operation cannot be performed on the print job in its current state.</summary>

    public const int NERR_JobInvalidState = 0x00000874;

    /// <summary>A spooler memory allocation failure occurred.</summary>

    public const int NERR_SpoolNoMemory = 0x00000875;

    /// <summary>The device driver does not exist.</summary>

    public const int NERR_DriverNotFound = 0x00000876;

    /// <summary>The data type is not supported by the print processor.</summary>

    public const int NERR_DataTypeInvalid = 0x00000877;

    /// <summary>The print processor is not installed.</summary>

    public const int NERR_ProcNotFound = 0x00000878;

    /// <summary>The service database is locked.</summary>

    public const int NERR_ServiceTableLocked = 0x00000884;

    /// <summary>The service table is full.</summary>

    public const int NERR_ServiceTableFull = 0x00000885;

    /// <summary>The requested service has already been started.</summary>

    public const int NERR_ServiceInstalled = 0x00000886;

    /// <summary>The service does not respond to control actions.</summary>

    public const int NERR_ServiceEntryLocked = 0x00000887;

    /// <summary>The service has not been started.</summary>

    public const int NERR_ServiceNotInstalled = 0x00000888;

    /// <summary>The service name is invalid.</summary>

    public const int NERR_BadServiceName = 0x00000889;

    /// <summary>The service is not responding to the control function.</summary>

    public const int NERR_ServiceCtlTimeout = 0x0000088A;

    /// <summary>The service control is busy.</summary>

    public const int NERR_ServiceCtlBusy = 0x0000088B;

    /// <summary>The configuration file contains an invalid service program name.</summary>

    public const int NERR_BadServiceProgName = 0x0000088C;

    /// <summary>The service could not be controlled in its present state.</summary>

    public const int NERR_ServiceNotCtrl = 0x0000088D;

    /// <summary>The service ended abnormally.</summary>

    public const int NERR_ServiceKillProc = 0x0000088E;

    /// <summary>The requested pause or stop is not valid for this service.</summary>

    public const int NERR_ServiceCtlNotValid = 0x0000088F;

    /// <summary>The service control dispatcher could not find the service name in the dispatch table.</summary>

    public const int NERR_NotInDispatchTbl = 0x00000890;

    /// <summary>The service control dispatcher pipe read failed.</summary>

    public const int NERR_BadControlRecv = 0x00000891;

    /// <summary>A thread for the new service could not be created.</summary>

    public const int NERR_ServiceNotStarting = 0x00000892;

    /// <summary>This workstation is already logged on to the LAN.</summary>

    public const int NERR_AlreadyLoggedOn = 0x00000898;

    /// <summary>The workstation is not logged on to the LAN.</summary>

    public const int NERR_NotLoggedOn = 0x00000899;

    /// <summary>The user name or group name parameter is invalid.</summary>

    public const int NERR_BadUsername = 0x0000089A;

    /// <summary>The password parameter is invalid.</summary>

    public const int NERR_BadPassword = 0x0000089B;

    /// <summary>The logon processor did not add the message alias.</summary>

    public const int NERR_UnableToAddName_W = 0x0000089C;

    /// <summary>The logon processor did not add the message alias.</summary>

    public const int NERR_UnableToAddName_F = 0x0000089D;

    /// <summary>@W The logoff processor did not delete the message alias.</summary>

    public const int NERR_UnableToDelName_W = 0x0000089E;

    /// <summary>The logoff processor did not delete the message alias.</summary>

    public const int NERR_UnableToDelName_F = 0x0000089F;

    /// <summary>Network logons are paused.</summary>

    public const int NERR_LogonsPaused = 0x000008A1;

    /// <summary>A centralized logon server conflict occurred.</summary>

    public const int NERR_LogonServerConflict = 0x000008A2;

    /// <summary>The server is configured without a valid user path.</summary>

    public const int NERR_LogonNoUserPath = 0x000008A3;

    /// <summary>An error occurred while loading or running the logon script.</summary>

    public const int NERR_LogonScriptError = 0x000008A4;

    /// <summary>The logon server was not specified. The computer will be logged on as STANDALONE.</summary>

    public const int NERR_StandaloneLogon = 0x000008A6;

    /// <summary>The logon server could not be found.</summary>

    public const int NERR_LogonServerNotFound = 0x000008A7;

    /// <summary>There is already a logon domain for this computer.</summary>

    public const int NERR_LogonDomainExists = 0x000008A8;

    /// <summary>The logon server could not validate the logon.</summary>

    public const int NERR_NonValidatedLogon = 0x000008A9;

    /// <summary>The security database could not be found.</summary>

    public const int NERR_ACFNotFound = 0x000008AB;

    /// <summary>The group name could not be found.</summary>

    public const int NERR_GroupNotFound = 0x000008AC;

    /// <summary>The user name could not be found.</summary>

    public const int NERR_UserNotFound = 0x000008AD;

    /// <summary>The resource name could not be found.</summary>

    public const int NERR_ResourceNotFound = 0x000008AE;

    /// <summary>The group already exists.</summary>

    public const int NERR_GroupExists = 0x000008AF;

    /// <summary>The user account already exists.</summary>

    public const int NERR_UserExists = 0x000008B0;

    /// <summary>The resource permission list already exists.</summary>

    public const int NERR_ResourceExists = 0x000008B1;

    /// <summary>This operation is allowed only on the PDC of the domain.</summary>

    public const int NERR_NotPrimary = 0x000008B2;

    /// <summary>The security database has not been started.</summary>

    public const int NERR_ACFNotLoaded = 0x000008B3;

    /// <summary>There are too many names in the user accounts database.</summary>

    public const int NERR_ACFNoRoom = 0x000008B4;

    /// <summary>A disk I/O failure occurred.</summary>

    public const int NERR_ACFFileIOFail = 0x000008B5;

    /// <summary>The limit of 64 entries per resource was exceeded.</summary>

    public const int NERR_ACFTooManyLists = 0x000008B6;

    /// <summary>Deleting a user with a session is not allowed.</summary>

    public const int NERR_UserLogon = 0x000008B7;

    /// <summary>The parent directory could not be located.</summary>

    public const int NERR_ACFNoParent = 0x000008B8;

    /// <summary>Unable to add to the security database session cache segment.</summary>

    public const int NERR_CanNotGrowSegment = 0x000008B9;

    /// <summary>This operation is not allowed on this special group.</summary>

    public const int NERR_SpeGroupOp = 0x000008BA;

    /// <summary>This user is not cached in the user accounts database session cache.</summary>

    public const int NERR_NotInCache = 0x000008BB;

    /// <summary>The user already belongs to this group.</summary>

    public const int NERR_UserInGroup = 0x000008BC;

    /// <summary>The user does not belong to this group.</summary>

    public const int NERR_UserNotInGroup = 0x000008BD;

    /// <summary>This user account is undefined.</summary>

    public const int NERR_AccountUndefined = 0x000008BE;

    /// <summary>This user account has expired.</summary>

    public const int NERR_AccountExpired = 0x000008BF;

    /// <summary>The user is not allowed to log on from this workstation.</summary>

    public const int NERR_InvalidWorkstation = 0x000008C0;

    /// <summary>The user is not allowed to log on at this time.</summary>

    public const int NERR_InvalidLogonHours = 0x000008C1;

    /// <summary>The password of this user has expired.</summary>

    public const int NERR_PasswordExpired = 0x000008C2;

    /// <summary>The password of this user cannot change.</summary>

    public const int NERR_PasswordCantChange = 0x000008C3;

    /// <summary>This password cannot be used now.</summary>

    public const int NERR_PasswordHistConflict = 0x000008C4;

    /// <summary>The password does not meet the password policy requirements. Check the minimum password length, password complexity, and password history requirements.</summary>

    public const int NERR_PasswordTooShort = 0x000008C5;

    /// <summary>The password of this user is too recent to change.</summary>

    public const int NERR_PasswordTooRecent = 0x000008C6;

    /// <summary>The security database is corrupted.</summary>

    public const int NERR_InvalidDatabase = 0x000008C7;

    /// <summary>No updates are necessary to this replicant network or local security database.</summary>

    public const int NERR_DatabaseUpToDate = 0x000008C8;

    /// <summary>This replicant database is outdated; synchronization is required.</summary>

    public const int NERR_SyncRequired = 0x000008C9;

    /// <summary>The network connection could not be found.</summary>

    public const int NERR_UseNotFound = 0x000008CA;

    /// <summary>This asg_type is invalid.</summary>

    public const int NERR_BadAsgType = 0x000008CB;

    /// <summary>This device is currently being shared.</summary>

    public const int NERR_DeviceIsShared = 0x000008CC;

    /// <summary>The computer name could not be added as a message alias. The name might already exist on the network.</summary>

    public const int NERR_NoComputerName = 0x000008DE;

    /// <summary>The Messenger service is already started.</summary>

    public const int NERR_MsgAlreadyStarted = 0x000008DF;

    /// <summary>The Messenger service failed to start.</summary>

    public const int NERR_MsgInitFailed = 0x000008E0;

    /// <summary>The message alias could not be found on the network.</summary>

    public const int NERR_NameNotFound = 0x000008E1;

    /// <summary>This message alias has already been forwarded.</summary>

    public const int NERR_AlreadyForwarded = 0x000008E2;

    /// <summary>This message alias has been added but is still forwarded.</summary>

    public const int NERR_AddForwarded = 0x000008E3;

    /// <summary>This message alias already exists locally.</summary>

    public const int NERR_AlreadyExists = 0x000008E4;

    /// <summary>The maximum number of added message aliases has been exceeded.</summary>

    public const int NERR_TooManyNames = 0x000008E5;

    /// <summary>The computer name could not be deleted.</summary>

    public const int NERR_DelComputerName = 0x000008E6;

    /// <summary>Messages cannot be forwarded back to the same workstation.</summary>

    public const int NERR_LocalForward = 0x000008E7;

    /// <summary>An error occurred in the domain message processor.</summary>

    public const int NERR_GrpMsgProcessor = 0x000008E8;

    /// <summary>The message was sent, but the recipient has paused the Messenger service.</summary>

    public const int NERR_PausedRemote = 0x000008E9;

    /// <summary>The message was sent but not received.</summary>

    public const int NERR_BadReceive = 0x000008EA;

    /// <summary>The message alias is currently in use. Try again later.</summary>

    public const int NERR_NameInUse = 0x000008EB;

    /// <summary>The Messenger service has not been started.</summary>

    public const int NERR_MsgNotStarted = 0x000008EC;

    /// <summary>The name is not on the local computer.</summary>

    public const int NERR_NotLocalName = 0x000008ED;

    /// <summary>The forwarded message alias could not be found on the network.</summary>

    public const int NERR_NoForwardName = 0x000008EE;

    /// <summary>The message alias table on the remote station is full.</summary>

    public const int NERR_RemoteFull = 0x000008EF;

    /// <summary>Messages for this alias are not currently being forwarded.</summary>

    public const int NERR_NameNotForwarded = 0x000008F0;

    /// <summary>The broadcast message was truncated.</summary>

    public const int NERR_TruncatedBroadcast = 0x000008F1;

    /// <summary>This is an invalid device name.</summary>

    public const int NERR_InvalidDevice = 0x000008F6;

    /// <summary>A write fault occurred.</summary>

    public const int NERR_WriteFault = 0x000008F7;

    /// <summary>A duplicate message alias exists on the network.</summary>

    public const int NERR_DuplicateName = 0x000008F9;

    /// <summary>This message alias will be deleted later.</summary>

    public const int NERR_DeleteLater = 0x000008FA;

    /// <summary>The message alias was not successfully deleted from all networks.</summary>

    public const int NERR_IncompleteDel = 0x000008FB;

    /// <summary>This operation is not supported on computers with multiple networks.</summary>

    public const int NERR_MultipleNets = 0x000008FC;

    /// <summary>This shared resource does not exist.</summary>

    public const int NERR_NetNameNotFound = 0x00000906;

    /// <summary>This device is not shared.</summary>

    public const int NERR_DeviceNotShared = 0x00000907;

    /// <summary>A session does not exist with that computer name.</summary>

    public const int NERR_ClientNameNotFound = 0x00000908;

    /// <summary>There is not an open file with that identification number.</summary>

    public const int NERR_FileIdNotFound = 0x0000090A;

    /// <summary>A failure occurred when executing a remote administration command.</summary>

    public const int NERR_ExecFailure = 0x0000090B;

    /// <summary>A failure occurred when opening a remote temporary file.</summary>

    public const int NERR_TmpFile = 0x0000090C;

    /// <summary>The data returned from a remote administration command has been truncated to 64 KB.</summary>

    public const int NERR_TooMuchData = 0x0000090D;

    /// <summary>This device cannot be shared as both a spooled and a nonspooled resource.</summary>

    public const int NERR_DeviceShareConflict = 0x0000090E;

    /// <summary>The information in the list of servers might be incorrect.</summary>

    public const int NERR_BrowserTableIncomplete = 0x0000090F;

    /// <summary>The computer is not active in this domain.</summary>

    public const int NERR_NotLocalDomain = 0x00000910;

    /// <summary>The share must be removed from the Distributed File System (DFS) before it can be deleted.</summary>

    public const int NERR_IsDfsShare = 0x00000911;

    /// <summary>The operation is invalid for this device.</summary>

    public const int NERR_DevInvalidOpCode = 0x0000091B;

    /// <summary>This device cannot be shared.</summary>

    public const int NERR_DevNotFound = 0x0000091C;

    /// <summary>This device was not open.</summary>

    public const int NERR_DevNotOpen = 0x0000091D;

    /// <summary>This device name list is invalid.</summary>

    public const int NERR_BadQueueDevString = 0x0000091E;

    /// <summary>The queue priority is invalid.</summary>

    public const int NERR_BadQueuePriority = 0x0000091F;

    /// <summary>There are no shared communication devices.</summary>

    public const int NERR_NoCommDevs = 0x00000921;

    /// <summary>The queue you specified does not exist.</summary>

    public const int NERR_QueueNotFound = 0x00000922;

    /// <summary>This list of devices is invalid.</summary>

    public const int NERR_BadDevString = 0x00000924;

    /// <summary>The requested device is invalid.</summary>

    public const int NERR_BadDev = 0x00000925;

    /// <summary>This device is already in use by the spooler.</summary>

    public const int NERR_InUseBySpooler = 0x00000926;

    /// <summary>This device is already in use as a communication device.</summary>

    public const int NERR_CommDevInUse = 0x00000927;

    /// <summary>This computer name is invalid.</summary>

    public const int NERR_InvalidComputer = 0x0000092F;

    /// <summary>The string and prefix specified are too long.</summary>

    public const int NERR_MaxLenExceeded = 0x00000932;

    /// <summary>This path component is invalid.</summary>

    public const int NERR_BadComponent = 0x00000934;

    /// <summary>Could not determine the type of input.</summary>

    public const int NERR_CantType = 0x00000935;

    /// <summary>The buffer for types is not big enough.</summary>

    public const int NERR_TooManyEntries = 0x0000093A;

    /// <summary>Profile files cannot exceed 64 KB.</summary>

    public const int NERR_ProfileFileTooBig = 0x00000942;

    /// <summary>The start offset is out of range.</summary>

    public const int NERR_ProfileOffset = 0x00000943;

    /// <summary>The system cannot delete current connections to network resources.</summary>

    public const int NERR_ProfileCleanup = 0x00000944;

    /// <summary>The system was unable to parse the command line in this file.</summary>

    public const int NERR_ProfileUnknownCmd = 0x00000945;

    /// <summary>An error occurred while loading the profile file.</summary>

    public const int NERR_ProfileLoadErr = 0x00000946;

    /// <summary>Errors occurred while saving the profile file. The profile was partially saved.</summary>

    public const int NERR_ProfileSaveErr = 0x00000947;

    /// <summary>Log file %1 is full.</summary>

    public const int NERR_LogOverflow = 0x00000949;

    /// <summary>This log file has changed between reads.</summary>

    public const int NERR_LogFileChanged = 0x0000094A;

    /// <summary>Log file %1 is corrupt.</summary>

    public const int NERR_LogFileCorrupt = 0x0000094B;

    /// <summary>The source path cannot be a directory.</summary>

    public const int NERR_SourceIsDir = 0x0000094C;

    /// <summary>The source path is illegal.</summary>

    public const int NERR_BadSource = 0x0000094D;

    /// <summary>The destination path is illegal.</summary>

    public const int NERR_BadDest = 0x0000094E;

    /// <summary>The source and destination paths are on different servers.</summary>

    public const int NERR_DifferentServers = 0x0000094F;

    /// <summary>The Run server you requested is paused.</summary>

    public const int NERR_RunSrvPaused = 0x00000951;

    /// <summary>An error occurred when communicating with a Run server.</summary>

    public const int NERR_ErrCommRunSrv = 0x00000955;

    /// <summary>An error occurred when starting a background process.</summary>

    public const int NERR_ErrorExecingGhost = 0x00000957;

    /// <summary>The shared resource you are connected to could not be found.</summary>

    public const int NERR_ShareNotFound = 0x00000958;

    /// <summary>The LAN adapter number is invalid.</summary>

    public const int NERR_InvalidLana = 0x00000960;

    /// <summary>There are open files on the connection.</summary>

    public const int NERR_OpenFiles = 0x00000961;

    /// <summary>Active connections still exist.</summary>

    public const int NERR_ActiveConns = 0x00000962;

    /// <summary>This share name or password is invalid.</summary>

    public const int NERR_BadPasswordCore = 0x00000963;

    /// <summary>The device is being accessed by an active process.</summary>

    public const int NERR_DevInUse = 0x00000964;

    /// <summary>The drive letter is in use locally.</summary>

    public const int NERR_LocalDrive = 0x00000965;

    /// <summary>The specified client is already registered for the specified event.</summary>

    public const int NERR_AlertExists = 0x0000097E;

    /// <summary>The alert table is full.</summary>

    public const int NERR_TooManyAlerts = 0x0000097F;

    /// <summary>An invalid or nonexistent alert name was raised.</summary>

    public const int NERR_NoSuchAlert = 0x00000980;

    /// <summary>The alert recipient is invalid.</summary>

    public const int NERR_BadRecipient = 0x00000981;

    /// <summary>A user's session with this server has been deleted.</summary>

    public const int NERR_AcctLimitExceeded = 0x00000982;

    /// <summary>The log file does not contain the requested record number.</summary>

    public const int NERR_InvalidLogSeek = 0x00000988;

    /// <summary>The user accounts database is not configured correctly.</summary>

    public const int NERR_BadUasConfig = 0x00000992;

    /// <summary>This operation is not permitted when the Net Logon service is running.</summary>

    public const int NERR_InvalidUASOp = 0x00000993;

    /// <summary>This operation is not allowed on the last administrative account.</summary>

    public const int NERR_LastAdmin = 0x00000994;

    /// <summary>Could not find the domain controller for this domain.</summary>

    public const int NERR_DCNotFound = 0x00000995;

    /// <summary>Could not set logon information for this user.</summary>

    public const int NERR_LogonTrackingError = 0x00000996;

    /// <summary>The Net Logon service has not been started.</summary>

    public const int NERR_NetlogonNotStarted = 0x00000997;

    /// <summary>Unable to add to the user accounts database.</summary>

    public const int NERR_CanNotGrowUASFile = 0x00000998;

    /// <summary>This server's clock is not synchronized with the PDC's clock.</summary>

    public const int NERR_TimeDiffAtDC = 0x00000999;

    /// <summary>A password mismatch has been detected.</summary>

    public const int NERR_PasswordMismatch = 0x0000099A;

    /// <summary>The server identification does not specify a valid server.</summary>

    public const int NERR_NoSuchServer = 0x0000099C;

    /// <summary>The session identification does not specify a valid session.</summary>

    public const int NERR_NoSuchSession = 0x0000099D;

    /// <summary>The connection identification does not specify a valid connection.</summary>

    public const int NERR_NoSuchConnection = 0x0000099E;

    /// <summary>There is no space for another entry in the table of available servers.</summary>

    public const int NERR_TooManyServers = 0x0000099F;

    /// <summary>The server has reached the maximum number of sessions it supports.</summary>

    public const int NERR_TooManySessions = 0x000009A0;

    /// <summary>The server has reached the maximum number of connections it supports.</summary>

    public const int NERR_TooManyConnections = 0x000009A1;

    /// <summary>The server cannot open more files because it has reached its maximum number.</summary>

    public const int NERR_TooManyFiles = 0x000009A2;

    /// <summary>There are no alternate servers registered on this server.</summary>

    public const int NERR_NoAlternateServers = 0x000009A3;

    /// <summary>Try the down-level (remote admin protocol) version of API instead.</summary>

    public const int NERR_TryDownLevel = 0x000009A6;

    /// <summary>The uninterruptible power supply (UPS) driver could not be accessed by the UPS service.</summary>

    public const int NERR_UPSDriverNotStarted = 0x000009B0;

    /// <summary>The UPS service is not configured correctly.</summary>

    public const int NERR_UPSInvalidConfig = 0x000009B1;

    /// <summary>The UPS service could not access the specified Comm Port.</summary>

    public const int NERR_UPSInvalidCommPort = 0x000009B2;

    /// <summary>The UPS indicated a line fail or low battery situation. Service not started.</summary>

    public const int NERR_UPSSignalAsserted = 0x000009B3;

    /// <summary>The UPS service failed to perform a system shut down.</summary>

    public const int NERR_UPSShutdownFailed = 0x000009B4;

    /// <summary>The program below returned an MS-DOS error code.</summary>

    public const int NERR_BadDosRetCode = 0x000009C4;

    /// <summary>The program below needs more memory.</summary>

    public const int NERR_ProgNeedsExtraMem = 0x000009C5;

    /// <summary>The program below called an unsupported MS-DOS function.</summary>

    public const int NERR_BadDosFunction = 0x000009C6;

    /// <summary>The workstation failed to boot.</summary>

    public const int NERR_RemoteBootFailed = 0x000009C7;

    /// <summary>The file below is corrupt.</summary>

    public const int NERR_BadFileCheckSum = 0x000009C8;

    /// <summary>No loader is specified in the boot-block definition file.</summary>

    public const int NERR_NoRplBootSystem = 0x000009C9;

    /// <summary>NetBIOS returned an error: The network control blocks (NCBs) and Server Message Block (SMB) are dumped above.</summary>

    public const int NERR_RplLoadrNetBiosErr = 0x000009CA;

    /// <summary>A disk I/O error occurred.</summary>

    public const int NERR_RplLoadrDiskErr = 0x000009CB;

    /// <summary>Image parameter substitution failed.</summary>

    public const int NERR_ImageParamErr = 0x000009CC;

    /// <summary>Too many image parameters cross disk sector boundaries.</summary>

    public const int NERR_TooManyImageParams = 0x000009CD;

    /// <summary>The image was not generated from an MS-DOS disk formatted with /S.</summary>

    public const int NERR_NonDosFloppyUsed = 0x000009CE;

    /// <summary>Remote boot will be restarted later.</summary>

    public const int NERR_RplBootRestart = 0x000009CF;

    /// <summary>The call to the Remoteboot server failed.</summary>

    public const int NERR_RplSrvrCallFailed = 0x000009D0;

    /// <summary>Cannot connect to the Remoteboot server.</summary>

    public const int NERR_CantConnectRplSrvr = 0x000009D1;

    /// <summary>Cannot open image file on the Remoteboot server.</summary>

    public const int NERR_CantOpenImageFile = 0x000009D2;

    /// <summary>Connecting to the Remoteboot server.</summary>

    public const int NERR_CallingRplSrvr = 0x000009D3;

    /// <summary>Connecting to the Remoteboot server.</summary>

    public const int NERR_StartingRplBoot = 0x000009D4;

    /// <summary>Remote boot service was stopped, check the error log for the cause of the problem.</summary>

    public const int NERR_RplBootServiceTerm = 0x000009D5;

    /// <summary>Remote boot startup failed; check the error log for the cause of the problem.</summary>

    public const int NERR_RplBootStartFailed = 0x000009D6;

    /// <summary>A second connection to a Remoteboot resource is not allowed.</summary>

    public const int NERR_RPL_CONNECTED = 0x000009D7;

    /// <summary>The browser service was configured with MaintainServerList=No.</summary>

    public const int NERR_BrowserConfiguredToNotRun = 0x000009F6;

    /// <summary>Service failed to start because none of the network adapters started with this service.</summary>

    public const int NERR_RplNoAdaptersStarted = 0x00000A32;

    /// <summary>Service failed to start due to bad startup information in the registry.</summary>

    public const int NERR_RplBadRegistry = 0x00000A33;

    /// <summary>Service failed to start because its database is absent or corrupt.</summary>

    public const int NERR_RplBadDatabase = 0x00000A34;

    /// <summary>Service failed to start because the RPLFILES share is absent.</summary>

    public const int NERR_RplRplfilesShare = 0x00000A35;

    /// <summary>Service failed to start because the RPLUSER group is absent.</summary>

    public const int NERR_RplNotRplServer = 0x00000A36;

    /// <summary>Cannot enumerate service records.</summary>

    public const int NERR_RplCannotEnum = 0x00000A37;

    /// <summary>Workstation record information has been corrupted.</summary>

    public const int NERR_RplWkstaInfoCorrupted = 0x00000A38;

    /// <summary>Workstation record was not found.</summary>

    public const int NERR_RplWkstaNotFound = 0x00000A39;

    /// <summary>Workstation name is in use by some other workstation.</summary>

    public const int NERR_RplWkstaNameUnavailable = 0x00000A3A;

    /// <summary>Profile record information has been corrupted.</summary>

    public const int NERR_RplProfileInfoCorrupted = 0x00000A3B;

    /// <summary>Profile record was not found.</summary>

    public const int NERR_RplProfileNotFound = 0x00000A3C;

    /// <summary>Profile name is in use by some other profile.</summary>

    public const int NERR_RplProfileNameUnavailable = 0x00000A3D;

    /// <summary>There are workstations using this profile.</summary>

    public const int NERR_RplProfileNotEmpty = 0x00000A3E;

    /// <summary>Configuration record information has been corrupted.</summary>

    public const int NERR_RplConfigInfoCorrupted = 0x00000A3F;

    /// <summary>Configuration record was not found.</summary>

    public const int NERR_RplConfigNotFound = 0x00000A40;

    /// <summary>Adapter ID record information has been corrupted.</summary>

    public const int NERR_RplAdapterInfoCorrupted = 0x00000A41;

    /// <summary>An internal service error has occurred.</summary>

    public const int NERR_RplInternal = 0x00000A42;

    /// <summary>Vendor ID record information has been corrupted.</summary>

    public const int NERR_RplVendorInfoCorrupted = 0x00000A43;

    /// <summary>Boot block record information has been corrupted.</summary>

    public const int NERR_RplBootInfoCorrupted = 0x00000A44;

    /// <summary>The user account for this workstation record is missing.</summary>

    public const int NERR_RplWkstaNeedsUserAcct = 0x00000A45;

    /// <summary>The RPLUSER local group could not be found.</summary>

    public const int NERR_RplNeedsRPLUSERAcct = 0x00000A46;

    /// <summary>Boot block record was not found.</summary>

    public const int NERR_RplBootNotFound = 0x00000A47;

    /// <summary>Chosen profile is incompatible with this workstation.</summary>

    public const int NERR_RplIncompatibleProfile = 0x00000A48;

    /// <summary>Chosen network adapter ID is in use by some other workstation.</summary>

    public const int NERR_RplAdapterNameUnavailable = 0x00000A49;

    /// <summary>There are profiles using this configuration.</summary>

    public const int NERR_RplConfigNotEmpty = 0x00000A4A;

    /// <summary>There are workstations, profiles, or configurations using this boot block.</summary>

    public const int NERR_RplBootInUse = 0x00000A4B;

    /// <summary>Service failed to back up the Remoteboot database.</summary>

    public const int NERR_RplBackupDatabase = 0x00000A4C;

    /// <summary>Adapter record was not found.</summary>

    public const int NERR_RplAdapterNotFound = 0x00000A4D;

    /// <summary>Vendor record was not found.</summary>

    public const int NERR_RplVendorNotFound = 0x00000A4E;

    /// <summary>Vendor name is in use by some other vendor record.</summary>

    public const int NERR_RplVendorNameUnavailable = 0x00000A4F;

    /// <summary>The boot name or vendor ID is in use by some other boot block record.</summary>

    public const int NERR_RplBootNameUnavailable = 0x00000A50;

    /// <summary>The configuration name is in use by some other configuration.</summary>

    public const int NERR_RplConfigNameUnavailable = 0x00000A51;

    /// <summary>The internal database maintained by the DFS service is corrupt.</summary>

    public const int NERR_DfsInternalCorruption = 0x00000A64;

    /// <summary>One of the records in the internal DFS database is corrupt.</summary>

    public const int NERR_DfsVolumeDataCorrupt = 0x00000A65;

    /// <summary>There is no DFS name whose entry path matches the input entry path.</summary>

    public const int NERR_DfsNoSuchVolume = 0x00000A66;

    /// <summary>A root or link with the given name already exists.</summary>

    public const int NERR_DfsVolumeAlreadyExists = 0x00000A67;

    /// <summary>The server share specified is already shared in the DFS.</summary>

    public const int NERR_DfsAlreadyShared = 0x00000A68;

    /// <summary>The indicated server share does not support the indicated DFS namespace.</summary>

    public const int NERR_DfsNoSuchShare = 0x00000A69;

    /// <summary>The operation is not valid in this portion of the namespace.</summary>

    public const int NERR_DfsNotALeafVolume = 0x00000A6A;

    /// <summary>The operation is not valid in this portion of the namespace.</summary>

    public const int NERR_DfsLeafVolume = 0x00000A6B;

    /// <summary>The operation is ambiguous because the link has multiple servers.</summary>

    public const int NERR_DfsVolumeHasMultipleServers = 0x00000A6C;

    /// <summary>Unable to create a link.</summary>

    public const int NERR_DfsCantCreateJunctionPoint = 0x00000A6D;

    /// <summary>The server is not DFS-aware.</summary>

    public const int NERR_DfsServerNotDfsAware = 0x00000A6E;

    /// <summary>The specified rename target path is invalid.</summary>

    public const int NERR_DfsBadRenamePath = 0x00000A6F;

    /// <summary>The specified DFS link is offline.</summary>

    public const int NERR_DfsVolumeIsOffline = 0x00000A70;

    /// <summary>The specified server is not a server for this link.</summary>

    public const int NERR_DfsNoSuchServer = 0x00000A71;

    /// <summary>A cycle in the DFS name was detected.</summary>

    public const int NERR_DfsCyclicalName = 0x00000A72;

    /// <summary>The operation is not supported on a server-based DFS.</summary>

    public const int NERR_DfsNotSupportedInServerDfs = 0x00000A73;

    /// <summary>This link is already supported by the specified server share.</summary>

    public const int NERR_DfsDuplicateService = 0x00000A74;

    /// <summary>Cannot remove the last server share supporting this root or link.</summary>

    public const int NERR_DfsCantRemoveLastServerShare = 0x00000A75;

    /// <summary>The operation is not supported for an inter-DFS link.</summary>

    public const int NERR_DfsVolumeIsInterDfs = 0x00000A76;

    /// <summary>The internal state of the DFS Service has become inconsistent.</summary>

    public const int NERR_DfsInconsistent = 0x00000A77;

    /// <summary>The DFS Service has been installed on the specified server.</summary>

    public const int NERR_DfsServerUpgraded = 0x00000A78;

    /// <summary>The DFS data being reconciled is identical.</summary>

    public const int NERR_DfsDataIsIdentical = 0x00000A79;

    /// <summary>The DFS root cannot be deleted. Uninstall DFS if required.</summary>

    public const int NERR_DfsCantRemoveDfsRoot = 0x00000A7A;

    /// <summary>A child or parent directory of the share is already in a DFS.</summary>

    public const int NERR_DfsChildOrParentInDfs = 0x00000A7B;

    /// <summary>DFS internal error.</summary>

    public const int NERR_DfsInternalError = 0x00000A82;

    /// <summary>This machine is already joined to a domain.</summary>

    public const int NERR_SetupAlreadyJoined = 0x00000A83;

    /// <summary>This machine is not currently joined to a domain.</summary>

    public const int NERR_SetupNotJoined = 0x00000A84;

    /// <summary>This machine is a domain controller and cannot be unjoined from a domain.</summary>

    public const int NERR_SetupDomainController = 0x00000A85;

    /// <summary>The destination domain controller does not support creating machine accounts in organizational units (OUs).</summary>

    public const int NERR_DefaultJoinRequired = 0x00000A86;

    /// <summary>The specified workgroup name is invalid.</summary>

    public const int NERR_InvalidWorkgroupName = 0x00000A87;

    /// <summary>The specified computer name is incompatible with the default language used on the domain controller.</summary>

    public const int NERR_NameUsesIncompatibleCodePage = 0x00000A88;

    /// <summary>The specified computer account could not be found.</summary>

    public const int NERR_ComputerAccountNotFound = 0x00000A89;

    /// <summary>This version of Windows cannot be joined to a domain.</summary>

    public const int NERR_PersonalSku = 0x00000A8A;

    /// <summary>The password must change at the next logon.</summary>

    public const int NERR_PasswordMustChange = 0x00000A8D;

    /// <summary>The account is locked out.</summary>

    public const int NERR_AccountLockedOut = 0x00000A8E;

    /// <summary>The password is too long.</summary>

    public const int NERR_PasswordTooLong = 0x00000A8F;

    /// <summary>The password does not meet the complexity policy.</summary>

    public const int NERR_PasswordNotComplexEnough = 0x00000A90;

    /// <summary>The password does not meet the requirements of the password filter DLLs.</summary>

    public const int NERR_PasswordFilterError = 0x00000A91;

    /// <summary>The specified print monitor is unknown.</summary>

    public const int ERROR_UNKNOWN_PRINT_MONITOR = 0x00000BB8;

    /// <summary>The specified printer driver is currently in use.</summary>

    public const int ERROR_PRINTER_DRIVER_IN_USE = 0x00000BB9;

    /// <summary>The spool file was not found.</summary>

    public const int ERROR_SPOOL_FILE_NOT_FOUND = 0x00000BBA;

    /// <summary>A StartDocPrinter call was not issued.</summary>

    public const int ERROR_SPL_NO_STARTDOC = 0x00000BBB;

    /// <summary>An AddJob call was not issued.</summary>

    public const int ERROR_SPL_NO_ADDJOB = 0x00000BBC;

    /// <summary>The specified print processor has already been installed.</summary>

    public const int ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED = 0x00000BBD;

    /// <summary>The specified print monitor has already been installed.</summary>

    public const int ERROR_PRINT_MONITOR_ALREADY_INSTALLED = 0x00000BBE;

    /// <summary>The specified print monitor does not have the required functions.</summary>

    public const int ERROR_INVALID_PRINT_MONITOR = 0x00000BBF;

    /// <summary>The specified print monitor is currently in use.</summary>

    public const int ERROR_PRINT_MONITOR_IN_USE = 0x00000BC0;

    /// <summary>The requested operation is not allowed when there are jobs queued to the printer.</summary>

    public const int ERROR_PRINTER_HAS_JOBS_QUEUED = 0x00000BC1;

    /// <summary>The requested operation is successful. Changes will not be effective until the system is rebooted.</summary>

    public const int ERROR_SUCCESS_REBOOT_REQUIRED = 0x00000BC2;

    /// <summary>The requested operation is successful. Changes will not be effective until the service is restarted.</summary>

    public const int ERROR_SUCCESS_RESTART_REQUIRED = 0x00000BC3;

    /// <summary>No printers were found.</summary>

    public const int ERROR_PRINTER_NOT_FOUND = 0x00000BC4;

    /// <summary>The printer driver is known to be unreliable.</summary>

    public const int ERROR_PRINTER_DRIVER_WARNED = 0x00000BC5;

    /// <summary>The printer driver is known to harm the system.</summary>

    public const int ERROR_PRINTER_DRIVER_BLOCKED = 0x00000BC6;

    /// <summary>The specified printer driver package is currently in use.</summary>

    public const int ERROR_PRINTER_DRIVER_PACKAGE_IN_USE = 0x00000BC7;

    /// <summary>Unable to find a core driver package that is required by the printer driver package.</summary>

    public const int ERROR_CORE_DRIVER_PACKAGE_NOT_FOUND = 0x00000BC8;

    /// <summary>The requested operation failed. A system reboot is required to roll back changes made.</summary>

    public const int ERROR_FAIL_REBOOT_REQUIRED = 0x00000BC9;

    /// <summary>The requested operation failed. A system reboot has been initiated to roll back changes made.</summary>

    public const int ERROR_FAIL_REBOOT_INITIATED = 0x00000BCA;

    /// <summary>The specified printer driver was not found on the system and needs to be downloaded.</summary>

    public const int ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED = 0x00000BCB;

    /// <summary>Reissue the given operation as a cached I/O operation.</summary>

    public const int ERROR_IO_REISSUE_AS_CACHED = 0x00000F6E;

    /// <summary>Windows Internet Name Service (WINS) encountered an error while processing the command.</summary>

    public const int ERROR_WINS_INTERNAL = 0x00000FA0;

    /// <summary>The local WINS cannot be deleted.</summary>

    public const int ERROR_CAN_NOT_DEL_LOCAL_WINS = 0x00000FA1;

    /// <summary>The importation from the file failed.</summary>

    public const int ERROR_STATIC_INIT = 0x00000FA2;

    /// <summary>The backup failed. Was a full backup done before?</summary>

    public const int ERROR_INC_BACKUP = 0x00000FA3;

    /// <summary>The backup failed. Check the directory to which you are backing the database.</summary>

    public const int ERROR_FULL_BACKUP = 0x00000FA4;

    /// <summary>The name does not exist in the WINS database.</summary>

    public const int ERROR_REC_NON_EXISTENT = 0x00000FA5;

    /// <summary>Replication with a nonconfigured partner is not allowed.</summary>

    public const int ERROR_RPL_NOT_ALLOWED = 0x00000FA6;

    /// <summary>The version of the supplied content information is not supported.</summary>

    public const int PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED = 0x00000FD2;

    /// <summary>The supplied content information is malformed.</summary>

    public const int PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO = 0x00000FD3;

    /// <summary>The requested data cannot be found in local or peer caches.</summary>

    public const int PEERDIST_ERROR_MISSING_DATA = 0x00000FD4;

    /// <summary>No more data is available or required.</summary>

    public const int PEERDIST_ERROR_NO_MORE = 0x00000FD5;

    /// <summary>The supplied object has not been initialized.</summary>

    public const int PEERDIST_ERROR_NOT_INITIALIZED = 0x00000FD6;

    /// <summary>The supplied object has already been initialized.</summary>

    public const int PEERDIST_ERROR_ALREADY_INITIALIZED = 0x00000FD7;

    /// <summary>A shutdown operation is already in progress.</summary>

    public const int PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS = 0x00000FD8;

    /// <summary>The supplied object has already been invalidated.</summary>

    public const int PEERDIST_ERROR_INVALIDATED = 0x00000FD9;

    /// <summary>An element already exists and was not replaced.</summary>

    public const int PEERDIST_ERROR_ALREADY_EXISTS = 0x00000FDA;

    /// <summary>Cannot cancel the requested operation as it has already been completed.</summary>

    public const int PEERDIST_ERROR_OPERATION_NOTFOUND = 0x00000FDB;

    /// <summary>Cannot perform the requested operation because it has already been carried out.</summary>

    public const int PEERDIST_ERROR_ALREADY_COMPLETED = 0x00000FDC;

    /// <summary>An operation accessed data beyond the bounds of valid data.</summary>

    public const int PEERDIST_ERROR_OUT_OF_BOUNDS = 0x00000FDD;

    /// <summary>The requested version is not supported.</summary>

    public const int PEERDIST_ERROR_VERSION_UNSUPPORTED = 0x00000FDE;

    /// <summary>A configuration value is invalid.</summary>

    public const int PEERDIST_ERROR_INVALID_CONFIGURATION = 0x00000FDF;

    /// <summary>The SKU is not licensed.</summary>

    public const int PEERDIST_ERROR_NOT_LICENSED = 0x00000FE0;

    /// <summary>PeerDist Service is still initializing and will be available shortly.</summary>

    public const int PEERDIST_ERROR_SERVICE_UNAVAILABLE = 0x00000FE1;

    /// <summary>The Dynamic Host Configuration Protocol (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.</summary>

    public const int ERROR_DHCP_ADDRESS_CONFLICT = 0x00001004;

    /// <summary>The GUID passed was not recognized as valid by a WMI data provider.</summary>

    public const int ERROR_WMI_GUID_NOT_FOUND = 0x00001068;

    /// <summary>The instance name passed was not recognized as valid by a WMI data provider.</summary>

    public const int ERROR_WMI_INSTANCE_NOT_FOUND = 0x00001069;

    /// <summary>The data item ID passed was not recognized as valid by a WMI data provider.</summary>

    public const int ERROR_WMI_ITEMID_NOT_FOUND = 0x0000106A;

    /// <summary>The WMI request could not be completed and should be retried.</summary>

    public const int ERROR_WMI_TRY_AGAIN = 0x0000106B;

    /// <summary>The WMI data provider could not be located.</summary>

    public const int ERROR_WMI_DP_NOT_FOUND = 0x0000106C;

    /// <summary>The WMI data provider references an instance set that has not been registered.</summary>

    public const int ERROR_WMI_UNRESOLVED_INSTANCE_REF = 0x0000106D;

    /// <summary>The WMI data block or event notification has already been enabled.</summary>

    public const int ERROR_WMI_ALREADY_ENABLED = 0x0000106E;

    /// <summary>The WMI data block is no longer available.</summary>

    public const int ERROR_WMI_GUID_DISCONNECTED = 0x0000106F;

    /// <summary>The WMI data service is not available.</summary>

    public const int ERROR_WMI_SERVER_UNAVAILABLE = 0x00001070;

    /// <summary>The WMI data provider failed to carry out the request.</summary>

    public const int ERROR_WMI_DP_FAILED = 0x00001071;

    /// <summary>The WMI Managed Object Format (MOF) information is not valid.</summary>

    public const int ERROR_WMI_INVALID_MOF = 0x00001072;

    /// <summary>The WMI registration information is not valid.</summary>

    public const int ERROR_WMI_INVALID_REGINFO = 0x00001073;

    /// <summary>The WMI data block or event notification has already been disabled.</summary>

    public const int ERROR_WMI_ALREADY_DISABLED = 0x00001074;

    /// <summary>The WMI data item or data block is read-only.</summary>

    public const int ERROR_WMI_READ_ONLY = 0x00001075;

    /// <summary>The WMI data item or data block could not be changed.</summary>

    public const int ERROR_WMI_SET_FAILURE = 0x00001076;

    /// <summary>The media identifier does not represent a valid medium.</summary>

    public const int ERROR_INVALID_MEDIA = 0x000010CC;

    /// <summary>The library identifier does not represent a valid library.</summary>

    public const int ERROR_INVALID_LIBRARY = 0x000010CD;

    /// <summary>The media pool identifier does not represent a valid media pool.</summary>

    public const int ERROR_INVALID_MEDIA_POOL = 0x000010CE;

    /// <summary>The drive and medium are not compatible, or they exist in different libraries.</summary>

    public const int ERROR_DRIVE_MEDIA_MISMATCH = 0x000010CF;

    /// <summary>The medium currently exists in an offline library and must be online to perform this operation.</summary>

    public const int ERROR_MEDIA_OFFLINE = 0x000010D0;

    /// <summary>The operation cannot be performed on an offline library.</summary>

    public const int ERROR_LIBRARY_OFFLINE = 0x000010D1;

    /// <summary>The library, drive, or media pool is empty.</summary>

    public const int ERROR_EMPTY = 0x000010D2;

    /// <summary>The library, drive, or media pool must be empty to perform this operation.</summary>

    public const int ERROR_NOT_EMPTY = 0x000010D3;

    /// <summary>No media is currently available in this media pool or library.</summary>

    public const int ERROR_MEDIA_UNAVAILABLE = 0x000010D4;

    /// <summary>A resource required for this operation is disabled.</summary>

    public const int ERROR_RESOURCE_DISABLED = 0x000010D5;

    /// <summary>The media identifier does not represent a valid cleaner.</summary>

    public const int ERROR_INVALID_CLEANER = 0x000010D6;

    /// <summary>The drive cannot be cleaned or does not support cleaning.</summary>

    public const int ERROR_UNABLE_TO_CLEAN = 0x000010D7;

    /// <summary>The object identifier does not represent a valid object.</summary>

    public const int ERROR_OBJECT_NOT_FOUND = 0x000010D8;

    /// <summary>Unable to read from or write to the database.</summary>

    public const int ERROR_DATABASE_FAILURE = 0x000010D9;

    /// <summary>The database is full.</summary>

    public const int ERROR_DATABASE_FULL = 0x000010DA;

    /// <summary>The medium is not compatible with the device or media pool.</summary>

    public const int ERROR_MEDIA_INCOMPATIBLE = 0x000010DB;

    /// <summary>The resource required for this operation does not exist.</summary>

    public const int ERROR_RESOURCE_NOT_PRESENT = 0x000010DC;

    /// <summary>The operation identifier is not valid.</summary>

    public const int ERROR_INVALID_OPERATION = 0x000010DD;

    /// <summary>The media is not mounted or ready for use.</summary>

    public const int ERROR_MEDIA_NOT_AVAILABLE = 0x000010DE;

    /// <summary>The device is not ready for use.</summary>

    public const int ERROR_DEVICE_NOT_AVAILABLE = 0x000010DF;

    /// <summary>The operator or administrator has refused the request.</summary>

    public const int ERROR_REQUEST_REFUSED = 0x000010E0;

    /// <summary>The drive identifier does not represent a valid drive.</summary>

    public const int ERROR_INVALID_DRIVE_OBJECT = 0x000010E1;

    /// <summary>Library is full. No slot is available for use.</summary>

    public const int ERROR_LIBRARY_FULL = 0x000010E2;

    /// <summary>The transport cannot access the medium.</summary>

    public const int ERROR_MEDIUM_NOT_ACCESSIBLE = 0x000010E3;

    /// <summary>Unable to load the medium into the drive.</summary>

    public const int ERROR_UNABLE_TO_LOAD_MEDIUM = 0x000010E4;

    /// <summary>Unable to retrieve the drive status.</summary>

    public const int ERROR_UNABLE_TO_INVENTORY_DRIVE = 0x000010E5;

    /// <summary>Unable to retrieve the slot status.</summary>

    public const int ERROR_UNABLE_TO_INVENTORY_SLOT = 0x000010E6;

    /// <summary>Unable to retrieve status about the transport.</summary>

    public const int ERROR_UNABLE_TO_INVENTORY_TRANSPORT = 0x000010E7;

    /// <summary>Cannot use the transport because it is already in use.</summary>

    public const int ERROR_TRANSPORT_FULL = 0x000010E8;

    /// <summary>Unable to open or close the inject/eject port.</summary>

    public const int ERROR_CONTROLLING_IEPORT = 0x000010E9;

    /// <summary>Unable to eject the medium because it is in a drive.</summary>

    public const int ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA = 0x000010EA;

    /// <summary>A cleaner slot is already reserved.</summary>

    public const int ERROR_CLEANER_SLOT_SET = 0x000010EB;

    /// <summary>A cleaner slot is not reserved.</summary>

    public const int ERROR_CLEANER_SLOT_NOT_SET = 0x000010EC;

    /// <summary>The cleaner cartridge has performed the maximum number of drive cleanings.</summary>

    public const int ERROR_CLEANER_CARTRIDGE_SPENT = 0x000010ED;

    /// <summary>Unexpected on-medium identifier.</summary>

    public const int ERROR_UNEXPECTED_OMID = 0x000010EE;

    /// <summary>The last remaining item in this group or resource cannot be deleted.</summary>

    public const int ERROR_CANT_DELETE_LAST_ITEM = 0x000010EF;

    /// <summary>The message provided exceeds the maximum size allowed for this parameter.</summary>

    public const int ERROR_MESSAGE_EXCEEDS_MAX_SIZE = 0x000010F0;

    /// <summary>The volume contains system or paging files.</summary>

    public const int ERROR_VOLUME_CONTAINS_SYS_FILES = 0x000010F1;

    /// <summary>The media type cannot be removed from this library because at least one drive in the library reports it can support this media type.</summary>

    public const int ERROR_INDIGENOUS_TYPE = 0x000010F2;

    /// <summary>This offline media cannot be mounted on this system because no enabled drives are present that can be used.</summary>

    public const int ERROR_NO_SUPPORTING_DRIVES = 0x000010F3;

    /// <summary>A cleaner cartridge is present in the tape library.</summary>

    public const int ERROR_CLEANER_CARTRIDGE_INSTALLED = 0x000010F4;

    /// <summary>Cannot use the IEport because it is not empty.</summary>

    public const int ERROR_IEPORT_FULL = 0x000010F5;

    /// <summary>The remote storage service was not able to recall the file.</summary>

    public const int ERROR_FILE_OFFLINE = 0x000010FE;

    /// <summary>The remote storage service is not operational at this time.</summary>

    public const int ERROR_REMOTE_STORAGE_NOT_ACTIVE = 0x000010FF;

    /// <summary>The remote storage service encountered a media error.</summary>

    public const int ERROR_REMOTE_STORAGE_MEDIA_ERROR = 0x00001100;

    /// <summary>The file or directory is not a reparse point.</summary>

    public const int ERROR_NOT_A_REPARSE_POINT = 0x00001126;

    /// <summary>The reparse point attribute cannot be set because it conflicts with an existing attribute.</summary>

    public const int ERROR_REPARSE_ATTRIBUTE_CONFLICT = 0x00001127;

    /// <summary>The data present in the reparse point buffer is invalid.</summary>

    public const int ERROR_INVALID_REPARSE_DATA = 0x00001128;

    /// <summary>The tag present in the reparse point buffer is invalid.</summary>

    public const int ERROR_REPARSE_TAG_INVALID = 0x00001129;

    /// <summary>There is a mismatch between the tag specified in the request and the tag present in the reparse point.</summary>

    public const int ERROR_REPARSE_TAG_MISMATCH = 0x0000112A;

    /// <summary>Single Instance Storage (SIS) is not available on this volume.</summary>

    public const int ERROR_VOLUME_NOT_SIS_ENABLED = 0x00001194;

    /// <summary>The operation cannot be completed because other resources depend on this resource.</summary>

    public const int ERROR_DEPENDENT_RESOURCE_EXISTS = 0x00001389;

    /// <summary>The cluster resource dependency cannot be found.</summary>

    public const int ERROR_DEPENDENCY_NOT_FOUND = 0x0000138A;

    /// <summary>The cluster resource cannot be made dependent on the specified resource because it is already dependent.</summary>

    public const int ERROR_DEPENDENCY_ALREADY_EXISTS = 0x0000138B;

    /// <summary>The cluster resource is not online.</summary>

    public const int ERROR_RESOURCE_NOT_ONLINE = 0x0000138C;

    /// <summary>A cluster node is not available for this operation.</summary>

    public const int ERROR_HOST_NODE_NOT_AVAILABLE = 0x0000138D;

    /// <summary>The cluster resource is not available.</summary>

    public const int ERROR_RESOURCE_NOT_AVAILABLE = 0x0000138E;

    /// <summary>The cluster resource could not be found.</summary>

    public const int ERROR_RESOURCE_NOT_FOUND = 0x0000138F;

    /// <summary>The cluster is being shut down.</summary>

    public const int ERROR_SHUTDOWN_CLUSTER = 0x00001390;

    /// <summary>A cluster node cannot be evicted from the cluster unless the node is down or it is the last node.</summary>

    public const int ERROR_CANT_EVICT_ACTIVE_NODE = 0x00001391;

    /// <summary>The object already exists.</summary>

    public const int ERROR_OBJECT_ALREADY_EXISTS = 0x00001392;

    /// <summary>The object is already in the list.</summary>

    public const int ERROR_OBJECT_IN_LIST = 0x00001393;

    /// <summary>The cluster group is not available for any new requests.</summary>

    public const int ERROR_GROUP_NOT_AVAILABLE = 0x00001394;

    /// <summary>The cluster group could not be found.</summary>

    public const int ERROR_GROUP_NOT_FOUND = 0x00001395;

    /// <summary>The operation could not be completed because the cluster group is not online.</summary>

    public const int ERROR_GROUP_NOT_ONLINE = 0x00001396;

    /// <summary>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.</summary>

    public const int ERROR_HOST_NODE_NOT_RESOURCE_OWNER = 0x00001397;

    /// <summary>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.</summary>

    public const int ERROR_HOST_NODE_NOT_GROUP_OWNER = 0x00001398;

    /// <summary>The cluster resource could not be created in the specified resource monitor.</summary>

    public const int ERROR_RESMON_CREATE_FAILED = 0x00001399;

    /// <summary>The cluster resource could not be brought online by the resource monitor.</summary>

    public const int ERROR_RESMON_ONLINE_FAILED = 0x0000139A;

    /// <summary>The operation could not be completed because the cluster resource is online.</summary>

    public const int ERROR_RESOURCE_ONLINE = 0x0000139B;

    /// <summary>The cluster resource could not be deleted or brought offline because it is the quorum resource.</summary>

    public const int ERROR_QUORUM_RESOURCE = 0x0000139C;

    /// <summary>The cluster could not make the specified resource a quorum resource because it is not capable of being a quorum resource.</summary>

    public const int ERROR_NOT_QUORUM_CAPABLE = 0x0000139D;

    /// <summary>The cluster software is shutting down.</summary>

    public const int ERROR_CLUSTER_SHUTTING_DOWN = 0x0000139E;

    /// <summary>The group or resource is not in the correct state to perform the requested operation.</summary>

    public const int ERROR_INVALID_STATE = 0x0000139F;

    /// <summary>The properties were stored but not all changes will take effect until the next time the resource is brought online.</summary>

    public const int ERROR_RESOURCE_PROPERTIES_STORED = 0x000013A0;

    /// <summary>The cluster could not make the specified resource a quorum resource because it does not belong to a shared storage class.</summary>

    public const int ERROR_NOT_QUORUM_CLASS = 0x000013A1;

    /// <summary>The cluster resource could not be deleted because it is a core resource.</summary>

    public const int ERROR_CORE_RESOURCE = 0x000013A2;

    /// <summary>The quorum resource failed to come online.</summary>

    public const int ERROR_QUORUM_RESOURCE_ONLINE_FAILED = 0x000013A3;

    /// <summary>The quorum log could not be created or mounted successfully.</summary>

    public const int ERROR_QUORUMLOG_OPEN_FAILED = 0x000013A4;

    /// <summary>The cluster log is corrupt.</summary>

    public const int ERROR_CLUSTERLOG_CORRUPT = 0x000013A5;

    /// <summary>The record could not be written to the cluster log because it exceeds the maximum size.</summary>

    public const int ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE = 0x000013A6;

    /// <summary>The cluster log exceeds its maximum size.</summary>

    public const int ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE = 0x000013A7;

    /// <summary>No checkpoint record was found in the cluster log.</summary>

    public const int ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND = 0x000013A8;

    /// <summary>The minimum required disk space needed for logging is not available.</summary>

    public const int ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE = 0x000013A9;

    /// <summary>The cluster node failed to take control of the quorum resource because the resource is owned by another active node.</summary>

    public const int ERROR_QUORUM_OWNER_ALIVE = 0x000013AA;

    /// <summary>A cluster network is not available for this operation.</summary>

    public const int ERROR_NETWORK_NOT_AVAILABLE = 0x000013AB;

    /// <summary>A cluster node is not available for this operation.</summary>

    public const int ERROR_NODE_NOT_AVAILABLE = 0x000013AC;

    /// <summary>All cluster nodes must be running to perform this operation.</summary>

    public const int ERROR_ALL_NODES_NOT_AVAILABLE = 0x000013AD;

    /// <summary>A cluster resource failed.</summary>

    public const int ERROR_RESOURCE_FAILED = 0x000013AE;

    /// <summary>The cluster node is not valid.</summary>

    public const int ERROR_CLUSTER_INVALID_NODE = 0x000013AF;

    /// <summary>The cluster node already exists.</summary>

    public const int ERROR_CLUSTER_NODE_EXISTS = 0x000013B0;

    /// <summary>A node is in the process of joining the cluster.</summary>

    public const int ERROR_CLUSTER_JOIN_IN_PROGRESS = 0x000013B1;

    /// <summary>The cluster node was not found.</summary>

    public const int ERROR_CLUSTER_NODE_NOT_FOUND = 0x000013B2;

    /// <summary>The cluster local node information was not found.</summary>

    public const int ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND = 0x000013B3;

    /// <summary>The cluster network already exists.</summary>

    public const int ERROR_CLUSTER_NETWORK_EXISTS = 0x000013B4;

    /// <summary>The cluster network was not found.</summary>

    public const int ERROR_CLUSTER_NETWORK_NOT_FOUND = 0x000013B5;

    /// <summary>The cluster network interface already exists.</summary>

    public const int ERROR_CLUSTER_NETINTERFACE_EXISTS = 0x000013B6;

    /// <summary>The cluster network interface was not found.</summary>

    public const int ERROR_CLUSTER_NETINTERFACE_NOT_FOUND = 0x000013B7;

    /// <summary>The cluster request is not valid for this object.</summary>

    public const int ERROR_CLUSTER_INVALID_REQUEST = 0x000013B8;

    /// <summary>The cluster network provider is not valid.</summary>

    public const int ERROR_CLUSTER_INVALID_NETWORK_PROVIDER = 0x000013B9;

    /// <summary>The cluster node is down.</summary>

    public const int ERROR_CLUSTER_NODE_DOWN = 0x000013BA;

    /// <summary>The cluster node is not reachable.</summary>

    public const int ERROR_CLUSTER_NODE_UNREACHABLE = 0x000013BB;

    /// <summary>The cluster node is not a member of the cluster.</summary>

    public const int ERROR_CLUSTER_NODE_NOT_MEMBER = 0x000013BC;

    /// <summary>A cluster join operation is not in progress.</summary>

    public const int ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS = 0x000013BD;

    /// <summary>The cluster network is not valid.</summary>

    public const int ERROR_CLUSTER_INVALID_NETWORK = 0x000013BE;

    /// <summary>The cluster node is up.</summary>

    public const int ERROR_CLUSTER_NODE_UP = 0x000013C0;

    /// <summary>The cluster IP address is already in use.</summary>

    public const int ERROR_CLUSTER_IPADDR_IN_USE = 0x000013C1;

    /// <summary>The cluster node is not paused.</summary>

    public const int ERROR_CLUSTER_NODE_NOT_PAUSED = 0x000013C2;

    /// <summary>No cluster security context is available.</summary>

    public const int ERROR_CLUSTER_NO_SECURITY_CONTEXT = 0x000013C3;

    /// <summary>The cluster network is not configured for internal cluster communication.</summary>

    public const int ERROR_CLUSTER_NETWORK_NOT_INTERNAL = 0x000013C4;

    /// <summary>The cluster node is already up.</summary>

    public const int ERROR_CLUSTER_NODE_ALREADY_UP = 0x000013C5;

    /// <summary>The cluster node is already down.</summary>

    public const int ERROR_CLUSTER_NODE_ALREADY_DOWN = 0x000013C6;

    /// <summary>The cluster network is already online.</summary>

    public const int ERROR_CLUSTER_NETWORK_ALREADY_ONLINE = 0x000013C7;

    /// <summary>The cluster network is already offline.</summary>

    public const int ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE = 0x000013C8;

    /// <summary>The cluster node is already a member of the cluster.</summary>

    public const int ERROR_CLUSTER_NODE_ALREADY_MEMBER = 0x000013C9;

    /// <summary>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.</summary>

    public const int ERROR_CLUSTER_LAST_INTERNAL_NETWORK = 0x000013CA;

    /// <summary>One or more cluster resources depend on the network to provide service to clients. The client access capability cannot be removed from the network.</summary>

    public const int ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS = 0x000013CB;

    /// <summary>This operation cannot be performed on the cluster resource because it is the quorum resource. This quorum resource cannot be brought offline and its possible owners list cannot be modified.</summary>

    public const int ERROR_INVALID_OPERATION_ON_QUORUM = 0x000013CC;

    /// <summary>The cluster quorum resource is not allowed to have any dependencies.</summary>

    public const int ERROR_DEPENDENCY_NOT_ALLOWED = 0x000013CD;

    /// <summary>The cluster node is paused.</summary>

    public const int ERROR_CLUSTER_NODE_PAUSED = 0x000013CE;

    /// <summary>The cluster resource cannot be brought online. The owner node cannot run this resource.</summary>

    public const int ERROR_NODE_CANT_HOST_RESOURCE = 0x000013CF;

    /// <summary>The cluster node is not ready to perform the requested operation.</summary>

    public const int ERROR_CLUSTER_NODE_NOT_READY = 0x000013D0;

    /// <summary>The cluster node is shutting down.</summary>

    public const int ERROR_CLUSTER_NODE_SHUTTING_DOWN = 0x000013D1;

    /// <summary>The cluster join operation was aborted.</summary>

    public const int ERROR_CLUSTER_JOIN_ABORTED = 0x000013D2;

    /// <summary>The cluster join operation failed due to incompatible software versions between the joining node and its sponsor.</summary>

    public const int ERROR_CLUSTER_INCOMPATIBLE_VERSIONS = 0x000013D3;

    /// <summary>This resource cannot be created because the cluster has reached the limit on the number of resources it can monitor.</summary>

    public const int ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED = 0x000013D4;

    /// <summary>The system configuration changed during the cluster join or form operation. The join or form operation was aborted.</summary>

    public const int ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED = 0x000013D5;

    /// <summary>The specified resource type was not found.</summary>

    public const int ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND = 0x000013D6;

    /// <summary>The specified node does not support a resource of this type. This might be due to version inconsistencies or due to the absence of the resource DLL on this node.</summary>

    public const int ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED = 0x000013D7;

    /// <summary>The specified resource name is not supported by this resource DLL. This might be due to a bad (or changed) name supplied to the resource DLL.</summary>

    public const int ERROR_CLUSTER_RESNAME_NOT_FOUND = 0x000013D8;

    /// <summary>No authentication package could be registered with the RPC server.</summary>

    public const int ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED = 0x000013D9;

    /// <summary>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.</summary>

    public const int ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST = 0x000013DA;

    /// <summary>The join operation failed because the cluster database sequence number has changed or is incompatible with the locker node. This can happen during a join operation if the cluster database was changing during the join.</summary>

    public const int ERROR_CLUSTER_DATABASE_SEQMISMATCH = 0x000013DB;

    /// <summary>The resource monitor will not allow the fail operation to be performed while the resource is in its current state. This can happen if the resource is in a pending state.</summary>

    public const int ERROR_RESMON_INVALID_STATE = 0x000013DC;

    /// <summary>A non-locker code received a request to reserve the lock for making global updates.</summary>

    public const int ERROR_CLUSTER_GUM_NOT_LOCKER = 0x000013DD;

    /// <summary>The quorum disk could not be located by the cluster service.</summary>

    public const int ERROR_QUORUM_DISK_NOT_FOUND = 0x000013DE;

    /// <summary>The backed-up cluster database is possibly corrupt.</summary>

    public const int ERROR_DATABASE_BACKUP_CORRUPT = 0x000013DF;

    /// <summary>A DFS root already exists in this cluster node.</summary>

    public const int ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT = 0x000013E0;

    /// <summary>An attempt to modify a resource property failed because it conflicts with another existing property.</summary>

    public const int ERROR_RESOURCE_PROPERTY_UNCHANGEABLE = 0x000013E1;

    /// <summary>An operation was attempted that is incompatible with the current membership state of the node.</summary>

    public const int ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE = 0x00001702;

    /// <summary>The quorum resource does not contain the quorum log.</summary>

    public const int ERROR_CLUSTER_QUORUMLOG_NOT_FOUND = 0x00001703;

    /// <summary>The membership engine requested shutdown of the cluster service on this node.</summary>

    public const int ERROR_CLUSTER_MEMBERSHIP_HALT = 0x00001704;

    /// <summary>The join operation failed because the cluster instance ID of the joining node does not match the cluster instance ID of the sponsor node.</summary>

    public const int ERROR_CLUSTER_INSTANCE_ID_MISMATCH = 0x00001705;

    /// <summary>A matching cluster network for the specified IP address could not be found.</summary>

    public const int ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP = 0x00001706;

    /// <summary>The actual data type of the property did not match the expected data type of the property.</summary>

    public const int ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH = 0x00001707;

    /// <summary>The cluster node was evicted from the cluster successfully, but the node was not cleaned up. To determine what clean-up steps failed and how to recover, see the Failover Clustering application event log using Event Viewer.</summary>

    public const int ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP = 0x00001708;

    /// <summary>Two or more parameter values specified for a resource's properties are in conflict.</summary>

    public const int ERROR_CLUSTER_PARAMETER_MISMATCH = 0x00001709;

    /// <summary>This computer cannot be made a member of a cluster.</summary>

    public const int ERROR_NODE_CANNOT_BE_CLUSTERED = 0x0000170A;

    /// <summary>This computer cannot be made a member of a cluster because it does not have the correct version of Windows installed.</summary>

    public const int ERROR_CLUSTER_WRONG_OS_VERSION = 0x0000170B;

    /// <summary>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.</summary>

    public const int ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME = 0x0000170C;

    /// <summary>The cluster configuration action has already been committed.</summary>

    public const int ERROR_CLUSCFG_ALREADY_COMMITTED = 0x0000170D;

    /// <summary>The cluster configuration action could not be rolled back.</summary>

    public const int ERROR_CLUSCFG_ROLLBACK_FAILED = 0x0000170E;

    /// <summary>The drive letter assigned to a system disk on one node conflicted with the drive letter assigned to a disk on another node.</summary>

    public const int ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT = 0x0000170F;

    /// <summary>One or more nodes in the cluster are running a version of Windows that does not support this operation.</summary>

    public const int ERROR_CLUSTER_OLD_VERSION = 0x00001710;

    /// <summary>The name of the corresponding computer account does not match the network name for this resource.</summary>

    public const int ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME = 0x00001711;

    /// <summary>No network adapters are available.</summary>

    public const int ERROR_CLUSTER_NO_NET_ADAPTERS = 0x00001712;

    /// <summary>The cluster node has been poisoned.</summary>

    public const int ERROR_CLUSTER_POISONED = 0x00001713;

    /// <summary>The group is unable to accept the request because it is moving to another node.</summary>

    public const int ERROR_CLUSTER_GROUP_MOVING = 0x00001714;

    /// <summary>The resource type cannot accept the request because it is too busy performing another operation.</summary>

    public const int ERROR_CLUSTER_RESOURCE_TYPE_BUSY = 0x00001715;

    /// <summary>The call to the cluster resource DLL timed out.</summary>

    public const int ERROR_RESOURCE_CALL_TIMED_OUT = 0x00001716;

    /// <summary>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.</summary>

    public const int ERROR_INVALID_CLUSTER_IPV6_ADDRESS = 0x00001717;

    /// <summary>An internal cluster error occurred. A call to an invalid function was attempted.</summary>

    public const int ERROR_CLUSTER_INTERNAL_INVALID_FUNCTION = 0x00001718;

    /// <summary>A parameter value is out of acceptable range.</summary>

    public const int ERROR_CLUSTER_PARAMETER_OUT_OF_BOUNDS = 0x00001719;

    /// <summary>A network error occurred while sending data to another node in the cluster. The number of bytes transmitted was less than required.</summary>

    public const int ERROR_CLUSTER_PARTIAL_SEND = 0x0000171A;

    /// <summary>An invalid cluster registry operation was attempted.</summary>

    public const int ERROR_CLUSTER_REGISTRY_INVALID_FUNCTION = 0x0000171B;

    /// <summary>An input string of characters is not properly terminated.</summary>

    public const int ERROR_CLUSTER_INVALID_STRING_TERMINATION = 0x0000171C;

    /// <summary>An input string of characters is not in a valid format for the data it represents.</summary>

    public const int ERROR_CLUSTER_INVALID_STRING_FORMAT = 0x0000171D;

    /// <summary>An internal cluster error occurred. A cluster database transaction was attempted while a transaction was already in progress.</summary>

    public const int ERROR_CLUSTER_DATABASE_TRANSACTION_IN_PROGRESS = 0x0000171E;

    /// <summary>An internal cluster error occurred. There was an attempt to commit a cluster database transaction while no transaction was in progress.</summary>

    public const int ERROR_CLUSTER_DATABASE_TRANSACTION_NOT_IN_PROGRESS = 0x0000171F;

    /// <summary>An internal cluster error occurred. Data was not properly initialized.</summary>

    public const int ERROR_CLUSTER_NULL_DATA = 0x00001720;

    /// <summary>An error occurred while reading from a stream of data. An unexpected number of bytes was returned.</summary>

    public const int ERROR_CLUSTER_PARTIAL_READ = 0x00001721;

    /// <summary>An error occurred while writing to a stream of data. The required number of bytes could not be written.</summary>

    public const int ERROR_CLUSTER_PARTIAL_WRITE = 0x00001722;

    /// <summary>An error occurred while deserializing a stream of cluster data.</summary>

    public const int ERROR_CLUSTER_CANT_DESERIALIZE_DATA = 0x00001723;

    /// <summary>One or more property values for this resource are in conflict with one or more property values associated with its dependent resources.</summary>

    public const int ERROR_DEPENDENT_RESOURCE_PROPERTY_CONFLICT = 0x00001724;

    /// <summary>A quorum of cluster nodes was not present to form a cluster.</summary>

    public const int ERROR_CLUSTER_NO_QUORUM = 0x00001725;

    /// <summary>The cluster network is not valid for an IPv6 address resource, or it does not match the configured address.</summary>

    public const int ERROR_CLUSTER_INVALID_IPV6_NETWORK = 0x00001726;

    /// <summary>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.</summary>

    public const int ERROR_CLUSTER_INVALID_IPV6_TUNNEL_NETWORK = 0x00001727;

    /// <summary>Quorum resource cannot reside in the available storage group.</summary>

    public const int ERROR_QUORUM_NOT_ALLOWED_IN_THIS_GROUP = 0x00001728;

    /// <summary>The specified file could not be encrypted.</summary>

    public const int ERROR_ENCRYPTION_FAILED = 0x00001770;

    /// <summary>The specified file could not be decrypted.</summary>

    public const int ERROR_DECRYPTION_FAILED = 0x00001771;

    /// <summary>The specified file is encrypted and the user does not have the ability to decrypt it.</summary>

    public const int ERROR_FILE_ENCRYPTED = 0x00001772;

    /// <summary>There is no valid encryption recovery policy configured for this system.</summary>

    public const int ERROR_NO_RECOVERY_POLICY = 0x00001773;

    /// <summary>The required encryption driver is not loaded for this system.</summary>

    public const int ERROR_NO_EFS = 0x00001774;

    /// <summary>The file was encrypted with a different encryption driver than is currently loaded.</summary>

    public const int ERROR_WRONG_EFS = 0x00001775;

    /// <summary>There are no Encrypting File System (EFS) keys defined for the user.</summary>

    public const int ERROR_NO_USER_KEYS = 0x00001776;

    /// <summary>The specified file is not encrypted.</summary>

    public const int ERROR_FILE_NOT_ENCRYPTED = 0x00001777;

    /// <summary>The specified file is not in the defined EFS export format.</summary>

    public const int ERROR_NOT_EXPORT_FORMAT = 0x00001778;

    /// <summary>The specified file is read-only.</summary>

    public const int ERROR_FILE_READ_ONLY = 0x00001779;

    /// <summary>The directory has been disabled for encryption.</summary>

    public const int ERROR_DIR_EFS_DISALLOWED = 0x0000177A;

    /// <summary>The server is not trusted for remote encryption operation.</summary>

    public const int ERROR_EFS_SERVER_NOT_TRUSTED = 0x0000177B;

    /// <summary>Recovery policy configured for this system contains invalid recovery certificate.</summary>

    public const int ERROR_BAD_RECOVERY_POLICY = 0x0000177C;

    /// <summary>The encryption algorithm used on the source file needs a bigger key buffer than the one on the destination file.</summary>

    public const int ERROR_EFS_ALG_BLOB_TOO_BIG = 0x0000177D;

    /// <summary>The disk partition does not support file encryption.</summary>

    public const int ERROR_VOLUME_NOT_SUPPORT_EFS = 0x0000177E;

    /// <summary>This machine is disabled for file encryption.</summary>

    public const int ERROR_EFS_DISABLED = 0x0000177F;

    /// <summary>A newer system is required to decrypt this encrypted file.</summary>

    public const int ERROR_EFS_VERSION_NOT_SUPPORT = 0x00001780;

    /// <summary>The remote server sent an invalid response for a file being opened with client-side encryption.</summary>

    public const int ERROR_CS_ENCRYPTION_INVALID_SERVER_RESPONSE = 0x00001781;

    /// <summary>Client-side encryption is not supported by the remote server even though it claims to support it.</summary>

    public const int ERROR_CS_ENCRYPTION_UNSUPPORTED_SERVER = 0x00001782;

    /// <summary>File is encrypted and should be opened in client-side encryption mode.</summary>

    public const int ERROR_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE = 0x00001783;

    /// <summary>A new encrypted file is being created and a $EFS needs to be provided.</summary>

    public const int ERROR_CS_ENCRYPTION_NEW_ENCRYPTED_FILE = 0x00001784;

    /// <summary>The SMB client requested a client-side extension (CSE) file system control (FSCTL) on a non-CSE file.</summary>

    public const int ERROR_CS_ENCRYPTION_FILE_NOT_CSE = 0x00001785;

    /// <summary>The list of servers for this workgroup is not currently available</summary>

    public const int ERROR_NO_BROWSER_SERVERS_FOUND = 0x000017E6;

    /// <summary>The Task Scheduler service must be configured to run in the System account to function properly. Individual tasks can be configured to run in other accounts.</summary>

    public const int SCHED_E_SERVICE_NOT_LOCALSYSTEM = 0x00001838;

    /// <summary>The log service encountered an invalid log sector.</summary>

    public const int ERROR_LOG_SECTOR_INVALID = 0x000019C8;

    /// <summary>The log service encountered a log sector with invalid block parity.</summary>

    public const int ERROR_LOG_SECTOR_PARITY_INVALID = 0x000019C9;

    /// <summary>The log service encountered a remapped log sector.</summary>

    public const int ERROR_LOG_SECTOR_REMAPPED = 0x000019CA;

    /// <summary>The log service encountered a partial or incomplete log block.</summary>

    public const int ERROR_LOG_BLOCK_INCOMPLETE = 0x000019CB;

    /// <summary>The log service encountered an attempt to access data outside the active log range.</summary>

    public const int ERROR_LOG_INVALID_RANGE = 0x000019CC;

    /// <summary>The log service user marshaling buffers are exhausted.</summary>

    public const int ERROR_LOG_BLOCKS_EXHAUSTED = 0x000019CD;

    /// <summary>The log service encountered an attempt to read from a marshaling area with an invalid read context.</summary>

    public const int ERROR_LOG_READ_CONTEXT_INVALID = 0x000019CE;

    /// <summary>The log service encountered an invalid log restart area.</summary>

    public const int ERROR_LOG_RESTART_INVALID = 0x000019CF;

    /// <summary>The log service encountered an invalid log block version.</summary>

    public const int ERROR_LOG_BLOCK_VERSION = 0x000019D0;

    /// <summary>The log service encountered an invalid log block.</summary>

    public const int ERROR_LOG_BLOCK_INVALID = 0x000019D1;

    /// <summary>The log service encountered an attempt to read the log with an invalid read mode.</summary>

    public const int ERROR_LOG_READ_MODE_INVALID = 0x000019D2;

    /// <summary>The log service encountered a log stream with no restart area.</summary>

    public const int ERROR_LOG_NO_RESTART = 0x000019D3;

    /// <summary>The log service encountered a corrupted metadata file.</summary>

    public const int ERROR_LOG_METADATA_CORRUPT = 0x000019D4;

    /// <summary>The log service encountered a metadata file that could not be created by the log file system.</summary>

    public const int ERROR_LOG_METADATA_INVALID = 0x000019D5;

    /// <summary>The log service encountered a metadata file with inconsistent data.</summary>

    public const int ERROR_LOG_METADATA_INCONSISTENT = 0x000019D6;

    /// <summary>The log service encountered an attempt to erroneous allocate or dispose reservation space.</summary>

    public const int ERROR_LOG_RESERVATION_INVALID = 0x000019D7;

    /// <summary>The log service cannot delete a log file or file system container.</summary>

    public const int ERROR_LOG_CANT_DELETE = 0x000019D8;

    /// <summary>The log service has reached the maximum allowable containers allocated to a log file.</summary>

    public const int ERROR_LOG_CONTAINER_LIMIT_EXCEEDED = 0x000019D9;

    /// <summary>The log service has attempted to read or write backward past the start of the log.</summary>

    public const int ERROR_LOG_START_OF_LOG = 0x000019DA;

    /// <summary>The log policy could not be installed because a policy of the same type is already present.</summary>

    public const int ERROR_LOG_POLICY_ALREADY_INSTALLED = 0x000019DB;

    /// <summary>The log policy in question was not installed at the time of the request.</summary>

    public const int ERROR_LOG_POLICY_NOT_INSTALLED = 0x000019DC;

    /// <summary>The installed set of policies on the log is invalid.</summary>

    public const int ERROR_LOG_POLICY_INVALID = 0x000019DD;

    /// <summary>A policy on the log in question prevented the operation from completing.</summary>

    public const int ERROR_LOG_POLICY_CONFLICT = 0x000019DE;

    /// <summary>Log space cannot be reclaimed because the log is pinned by the archive tail.</summary>

    public const int ERROR_LOG_PINNED_ARCHIVE_TAIL = 0x000019DF;

    /// <summary>The log record is not a record in the log file.</summary>

    public const int ERROR_LOG_RECORD_NONEXISTENT = 0x000019E0;

    /// <summary>The number of reserved log records or the adjustment of the number of reserved log records is invalid.</summary>

    public const int ERROR_LOG_RECORDS_RESERVED_INVALID = 0x000019E1;

    /// <summary>The reserved log space or the adjustment of the log space is invalid.</summary>

    public const int ERROR_LOG_SPACE_RESERVED_INVALID = 0x000019E2;

    /// <summary>A new or existing archive tail or base of the active log is invalid.</summary>

    public const int ERROR_LOG_TAIL_INVALID = 0x000019E3;

    /// <summary>The log space is exhausted.</summary>

    public const int ERROR_LOG_FULL = 0x000019E4;

    /// <summary>The log could not be set to the requested size.</summary>

    public const int ERROR_COULD_NOT_RESIZE_LOG = 0x000019E5;

    /// <summary>The log is multiplexed; no direct writes to the physical log are allowed.</summary>

    public const int ERROR_LOG_MULTIPLEXED = 0x000019E6;

    /// <summary>The operation failed because the log is a dedicated log.</summary>

    public const int ERROR_LOG_DEDICATED = 0x000019E7;

    /// <summary>The operation requires an archive context.</summary>

    public const int ERROR_LOG_ARCHIVE_NOT_IN_PROGRESS = 0x000019E8;

    /// <summary>Log archival is in progress.</summary>

    public const int ERROR_LOG_ARCHIVE_IN_PROGRESS = 0x000019E9;

    /// <summary>The operation requires a non-ephemeral log, but the log is ephemeral.</summary>

    public const int ERROR_LOG_EPHEMERAL = 0x000019EA;

    /// <summary>The log must have at least two containers before it can be read from or written to.</summary>

    public const int ERROR_LOG_NOT_ENOUGH_CONTAINERS = 0x000019EB;

    /// <summary>A log client has already registered on the stream.</summary>

    public const int ERROR_LOG_CLIENT_ALREADY_REGISTERED = 0x000019EC;

    /// <summary>A log client has not been registered on the stream.</summary>

    public const int ERROR_LOG_CLIENT_NOT_REGISTERED = 0x000019ED;

    /// <summary>A request has already been made to handle the log full condition.</summary>

    public const int ERROR_LOG_FULL_HANDLER_IN_PROGRESS = 0x000019EE;

    /// <summary>The log service encountered an error when attempting to read from a log container.</summary>

    public const int ERROR_LOG_CONTAINER_READ_FAILED = 0x000019EF;

    /// <summary>The log service encountered an error when attempting to write to a log container.</summary>

    public const int ERROR_LOG_CONTAINER_WRITE_FAILED = 0x000019F0;

    /// <summary>The log service encountered an error when attempting to open a log container.</summary>

    public const int ERROR_LOG_CONTAINER_OPEN_FAILED = 0x000019F1;

    /// <summary>The log service encountered an invalid container state when attempting a requested action.</summary>

    public const int ERROR_LOG_CONTAINER_STATE_INVALID = 0x000019F2;

    /// <summary>The log service is not in the correct state to perform a requested action.</summary>

    public const int ERROR_LOG_STATE_INVALID = 0x000019F3;

    /// <summary>The log space cannot be reclaimed because the log is pinned.</summary>

    public const int ERROR_LOG_PINNED = 0x000019F4;

    /// <summary>The log metadata flush failed.</summary>

    public const int ERROR_LOG_METADATA_FLUSH_FAILED = 0x000019F5;

    /// <summary>Security on the log and its containers is inconsistent.</summary>

    public const int ERROR_LOG_INCONSISTENT_SECURITY = 0x000019F6;

    /// <summary>Records were appended to the log or reservation changes were made, but the log could not be flushed.</summary>

    public const int ERROR_LOG_APPENDED_FLUSH_FAILED = 0x000019F7;

    /// <summary>The log is pinned due to reservation consuming most of the log space. Free some reserved records to make space available.</summary>

    public const int ERROR_LOG_PINNED_RESERVATION = 0x000019F8;

    /// <summary>The transaction handle associated with this operation is not valid.</summary>

    public const int ERROR_INVALID_TRANSACTION = 0x00001A2C;

    /// <summary>The requested operation was made in the context of a transaction that is no longer active.</summary>

    public const int ERROR_TRANSACTION_NOT_ACTIVE = 0x00001A2D;

    /// <summary>The requested operation is not valid on the transaction object in its current state.</summary>

    public const int ERROR_TRANSACTION_REQUEST_NOT_VALID = 0x00001A2E;

    /// <summary>The caller has called a response API, but the response is not expected because the transaction manager did not issue the corresponding request to the caller.</summary>

    public const int ERROR_TRANSACTION_NOT_REQUESTED = 0x00001A2F;

    /// <summary>It is too late to perform the requested operation because the transaction has already been aborted.</summary>

    public const int ERROR_TRANSACTION_ALREADY_ABORTED = 0x00001A30;

    /// <summary>It is too late to perform the requested operation because the transaction has already been committed.</summary>

    public const int ERROR_TRANSACTION_ALREADY_COMMITTED = 0x00001A31;

    /// <summary>The transaction manager was unable to be successfully initialized. Transacted operations are not supported.</summary>

    public const int ERROR_TM_INITIALIZATION_FAILED = 0x00001A32;

    /// <summary>The specified resource manager made no changes or updates to the resource under this transaction.</summary>

    public const int ERROR_RESOURCEMANAGER_READ_ONLY = 0x00001A33;

    /// <summary>The resource manager has attempted to prepare a transaction that it has not successfully joined.</summary>

    public const int ERROR_TRANSACTION_NOT_JOINED = 0x00001A34;

    /// <summary>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 allowed.</summary>

    public const int ERROR_TRANSACTION_SUPERIOR_EXISTS = 0x00001A35;

    /// <summary>The resource manager tried to register a protocol that already exists.</summary>

    public const int ERROR_CRM_PROTOCOL_ALREADY_EXISTS = 0x00001A36;

    /// <summary>The attempt to propagate the transaction failed.</summary>

    public const int ERROR_TRANSACTION_PROPAGATION_FAILED = 0x00001A37;

    /// <summary>The requested propagation protocol was not registered as a CRM.</summary>

    public const int ERROR_CRM_PROTOCOL_NOT_FOUND = 0x00001A38;

    /// <summary>The buffer passed in to PushTransaction or PullTransaction is not in a valid format.</summary>

    public const int ERROR_TRANSACTION_INVALID_MARSHALL_BUFFER = 0x00001A39;

    /// <summary>The current transaction context associated with the thread is not a valid handle to a transaction object.</summary>

    public const int ERROR_CURRENT_TRANSACTION_NOT_VALID = 0x00001A3A;

    /// <summary>The specified transaction object could not be opened because it was not found.</summary>

    public const int ERROR_TRANSACTION_NOT_FOUND = 0x00001A3B;

    /// <summary>The specified resource manager object could not be opened because it was not found.</summary>

    public const int ERROR_RESOURCEMANAGER_NOT_FOUND = 0x00001A3C;

    /// <summary>The specified enlistment object could not be opened because it was not found.</summary>

    public const int ERROR_ENLISTMENT_NOT_FOUND = 0x00001A3D;

    /// <summary>The specified transaction manager object could not be opened because it was not found.</summary>

    public const int ERROR_TRANSACTIONMANAGER_NOT_FOUND = 0x00001A3E;

    /// <summary>The specified resource manager was unable to create an enlistment because its associated transaction manager is not online.</summary>

    public const int ERROR_TRANSACTIONMANAGER_NOT_ONLINE = 0x00001A3F;

    /// <summary>The specified transaction manager was unable to create the objects contained in its log file in the ObjectB namespace. Therefore, the transaction manager was unable to recover.</summary>

    public const int ERROR_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION = 0x00001A40;

    /// <summary>The function attempted to use a name that is reserved for use by another transaction.</summary>

    public const int ERROR_TRANSACTIONAL_CONFLICT = 0x00001A90;

    /// <summary>Transaction support within the specified file system resource manager is not started or was shut down due to an error.</summary>

    public const int ERROR_RM_NOT_ACTIVE = 0x00001A91;

    /// <summary>The metadata of the resource manager has been corrupted. The resource manager will not function.</summary>

    public const int ERROR_RM_METADATA_CORRUPT = 0x00001A92;

    /// <summary>The specified directory does not contain a resource manager.</summary>

    public const int ERROR_DIRECTORY_NOT_RM = 0x00001A93;

    /// <summary>The remote server or share does not support transacted file operations.</summary>

    public const int ERROR_TRANSACTIONS_UNSUPPORTED_REMOTE = 0x00001A95;

    /// <summary>The requested log size is invalid.</summary>

    public const int ERROR_LOG_RESIZE_INVALID_SIZE = 0x00001A96;

    /// <summary>The object (file, stream, link) corresponding to the handle has been deleted by a transaction savepoint rollback.</summary>

    public const int ERROR_OBJECT_NO_LONGER_EXISTS = 0x00001A97;

    /// <summary>The specified file miniversion was not found for this transacted file open.</summary>

    public const int ERROR_STREAM_MINIVERSION_NOT_FOUND = 0x00001A98;

    /// <summary>The specified file miniversion was found but has been invalidated. The most likely cause is a transaction savepoint rollback.</summary>

    public const int ERROR_STREAM_MINIVERSION_NOT_VALID = 0x00001A99;

    /// <summary>A miniversion can only be opened in the context of the transaction that created it.</summary>

    public const int ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION = 0x00001A9A;

    /// <summary>It is not possible to open a miniversion with modify access.</summary>

    public const int ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT = 0x00001A9B;

    /// <summary>It is not possible to create any more miniversions for this stream.</summary>

    public const int ERROR_CANT_CREATE_MORE_STREAM_MINIVERSIONS = 0x00001A9C;

    /// <summary>The remote server sent mismatching version numbers or FID for a file opened with transactions.</summary>

    public const int ERROR_REMOTE_FILE_VERSION_MISMATCH = 0x00001A9E;

    /// <summary>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.</summary>

    public const int ERROR_HANDLE_NO_LONGER_VALID = 0x00001A9F;

    /// <summary>There is no transaction metadata on the file.</summary>

    public const int ERROR_NO_TXF_METADATA = 0x00001AA0;

    /// <summary>The log data is corrupt.</summary>

    public const int ERROR_LOG_CORRUPTION_DETECTED = 0x00001AA1;

    /// <summary>The file cannot be recovered because a handle is still open on it.</summary>

    public const int ERROR_CANT_RECOVER_WITH_HANDLE_OPEN = 0x00001AA2;

    /// <summary>The transaction outcome is unavailable because the resource manager responsible for it is disconnected.</summary>

    public const int ERROR_RM_DISCONNECTED = 0x00001AA3;

    /// <summary>The request was rejected because the enlistment in question is not a superior enlistment.</summary>

    public const int ERROR_ENLISTMENT_NOT_SUPERIOR = 0x00001AA4;

    /// <summary>The transactional resource manager is already consistent. Recovery is not needed.</summary>

    public const int ERROR_RECOVERY_NOT_NEEDED = 0x00001AA5;

    /// <summary>The transactional resource manager has already been started.</summary>

    public const int ERROR_RM_ALREADY_STARTED = 0x00001AA6;

    /// <summary>The file cannot be opened in a transaction because its identity depends on the outcome of an unresolved transaction.</summary>

    public const int ERROR_FILE_IDENTITY_NOT_PERSISTENT = 0x00001AA7;

    /// <summary>The operation cannot be performed because another transaction is depending on the fact that this property will not change.</summary>

    public const int ERROR_CANT_BREAK_TRANSACTIONAL_DEPENDENCY = 0x00001AA8;

    /// <summary>The operation would involve a single file with two transactional resource managers and is therefore not allowed.</summary>

    public const int ERROR_CANT_CROSS_RM_BOUNDARY = 0x00001AA9;

    /// <summary>The $Txf directory must be empty for this operation to succeed.</summary>

    public const int ERROR_TXF_DIR_NOT_EMPTY = 0x00001AAA;

    /// <summary>The operation would leave a transactional resource manager in an inconsistent state and is, therefore, not allowed.</summary>

    public const int ERROR_INDOUBT_TRANSACTIONS_EXIST = 0x00001AAB;

    /// <summary>The operation could not be completed because the transaction manager does not have a log.</summary>

    public const int ERROR_TM_VOLATILE = 0x00001AAC;

    /// <summary>A rollback could not be scheduled because a previously scheduled rollback has already been executed or is queued for execution.</summary>

    public const int ERROR_ROLLBACK_TIMER_EXPIRED = 0x00001AAD;

    /// <summary>The transactional metadata attribute on the file or directory is corrupt and unreadable.</summary>

    public const int ERROR_TXF_ATTRIBUTE_CORRUPT = 0x00001AAE;

    /// <summary>The encryption operation could not be completed because a transaction is active.</summary>

    public const int ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION = 0x00001AAF;

    /// <summary>This object is not allowed to be opened in a transaction.</summary>

    public const int ERROR_TRANSACTIONAL_OPEN_NOT_ALLOWED = 0x00001AB0;

    /// <summary>An attempt to create space in the transactional resource manager's log failed. The failure status has been recorded in the event log.</summary>

    public const int ERROR_LOG_GROWTH_FAILED = 0x00001AB1;

    /// <summary>Memory mapping (creating a mapped section) to a remote file under a transaction is not supported.</summary>

    public const int ERROR_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE = 0x00001AB2;

    /// <summary>Transaction metadata is already present on this file and cannot be superseded.</summary>

    public const int ERROR_TXF_METADATA_ALREADY_PRESENT = 0x00001AB3;

    /// <summary>A transaction scope could not be entered because the scope handler has not been initialized.</summary>

    public const int ERROR_TRANSACTION_SCOPE_CALLBACKS_NOT_SET = 0x00001AB4;

    /// <summary>Promotion was required to allow the resource manager to enlist, but the transaction was set to disallow it.</summary>

    public const int ERROR_TRANSACTION_REQUIRED_PROMOTION = 0x00001AB5;

    /// <summary>This file is open for modification in an unresolved transaction and can be opened for execution only by a transacted reader.</summary>

    public const int ERROR_CANNOT_EXECUTE_FILE_IN_TRANSACTION = 0x00001AB6;

    /// <summary>The request to thaw frozen transactions was ignored because transactions were not previously frozen.</summary>

    public const int ERROR_TRANSACTIONS_NOT_FROZEN = 0x00001AB7;

    /// <summary>Transactions cannot be frozen because a freeze is already in progress.</summary>

    public const int ERROR_TRANSACTION_FREEZE_IN_PROGRESS = 0x00001AB8;

    /// <summary>The target volume is not a snapshot volume. This operation is only valid on a volume mounted as a snapshot.</summary>

    public const int ERROR_NOT_SNAPSHOT_VOLUME = 0x00001AB9;

    /// <summary>The savepoint operation failed because files are open on the transaction. This is not permitted.</summary>

    public const int ERROR_NO_SAVEPOINT_WITH_OPEN_FILES = 0x00001ABA;

    /// <summary>Windows has discovered corruption in a file, and that file has since been repaired. Data loss might have occurred.</summary>

    public const int ERROR_DATA_LOST_REPAIR = 0x00001ABB;

    /// <summary>The sparse operation could not be completed because a transaction is active on the file.</summary>

    public const int ERROR_SPARSE_NOT_ALLOWED_IN_TRANSACTION = 0x00001ABC;

    /// <summary>The call to create a transaction manager object failed because the Tm Identity stored in the logfile does not match the Tm Identity that was passed in as an argument.</summary>

    public const int ERROR_TM_IDENTITY_MISMATCH = 0x00001ABD;

    /// <summary>I/O was attempted on a section object that has been floated as a result of a transaction ending. There is no valid data.</summary>

    public const int ERROR_FLOATED_SECTION = 0x00001ABE;

    /// <summary>The transactional resource manager cannot currently accept transacted work due to a transient condition, such as low resources.</summary>

    public const int ERROR_CANNOT_ACCEPT_TRANSACTED_WORK = 0x00001ABF;

    /// <summary>The transactional resource manager had too many transactions outstanding that could not be aborted. The transactional resource manager has been shut down.</summary>

    public const int ERROR_CANNOT_ABORT_TRANSACTIONS = 0x00001AC0;

    /// <summary>The specified session name is invalid.</summary>

    public const int ERROR_CTX_WINSTATION_NAME_INVALID = 0x00001B59;

    /// <summary>The specified protocol driver is invalid.</summary>

    public const int ERROR_CTX_INVALID_PD = 0x00001B5A;

    /// <summary>The specified protocol driver was not found in the system path.</summary>

    public const int ERROR_CTX_PD_NOT_FOUND = 0x00001B5B;

    /// <summary>The specified terminal connection driver was not found in the system path.</summary>

    public const int ERROR_CTX_WD_NOT_FOUND = 0x00001B5C;

    /// <summary>A registry key for event logging could not be created for this session.</summary>

    public const int ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY = 0x00001B5D;

    /// <summary>A service with the same name already exists on the system.</summary>

    public const int ERROR_CTX_SERVICE_NAME_COLLISION = 0x00001B5E;

    /// <summary>A close operation is pending on the session.</summary>

    public const int ERROR_CTX_CLOSE_PENDING = 0x00001B5F;

    /// <summary>There are no free output buffers available.</summary>

    public const int ERROR_CTX_NO_OUTBUF = 0x00001B60;

    /// <summary>The MODEM.INF file was not found.</summary>

    public const int ERROR_CTX_MODEM_INF_NOT_FOUND = 0x00001B61;

    /// <summary>The modem name was not found in the MODEM.INF file.</summary>

    public const int ERROR_CTX_INVALID_MODEMNAME = 0x00001B62;

    /// <summary>The modem did not accept the command sent to it. Verify that the configured modem name matches the attached modem.</summary>

    public const int ERROR_CTX_MODEM_RESPONSE_ERROR = 0x00001B63;

    /// <summary>The modem did not respond to the command sent to it. Verify that the modem is properly cabled and turned on.</summary>

    public const int ERROR_CTX_MODEM_RESPONSE_TIMEOUT = 0x00001B64;

    /// <summary>Carrier detect has failed or carrier has been dropped due to disconnect.</summary>

    public const int ERROR_CTX_MODEM_RESPONSE_NO_CARRIER = 0x00001B65;

    /// <summary>Dial tone not detected within the required time. Verify that the phone cable is properly attached and functional.</summary>

    public const int ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE = 0x00001B66;

    /// <summary>Busy signal detected at remote site on callback.</summary>

    public const int ERROR_CTX_MODEM_RESPONSE_BUSY = 0x00001B67;

    /// <summary>Voice detected at remote site on callback.</summary>

    public const int ERROR_CTX_MODEM_RESPONSE_VOICE = 0x00001B68;

    /// <summary>Transport driver error.</summary>

    public const int ERROR_CTX_TD_ERROR = 0x00001B69;

    /// <summary>The specified session cannot be found.</summary>

    public const int ERROR_CTX_WINSTATION_NOT_FOUND = 0x00001B6E;

    /// <summary>The specified session name is already in use.</summary>

    public const int ERROR_CTX_WINSTATION_ALREADY_EXISTS = 0x00001B6F;

    /// <summary>The requested operation cannot be completed because the terminal connection is currently busy processing a connect, disconnect, reset, or delete operation.</summary>

    public const int ERROR_CTX_WINSTATION_BUSY = 0x00001B70;

    /// <summary>An attempt has been made to connect to a session whose video mode is not supported by the current client.</summary>

    public const int ERROR_CTX_BAD_VIDEO_MODE = 0x00001B71;

    /// <summary>The application attempted to enable DOS graphics mode. DOS graphics mode is not supported.</summary>

    public const int ERROR_CTX_GRAPHICS_INVALID = 0x00001B7B;

    /// <summary>Your interactive logon privilege has been disabled. Contact your administrator.</summary>

    public const int ERROR_CTX_LOGON_DISABLED = 0x00001B7D;

    /// <summary>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.</summary>

    public const int ERROR_CTX_NOT_CONSOLE = 0x00001B7E;

    /// <summary>The client failed to respond to the server connect message.</summary>

    public const int ERROR_CTX_CLIENT_QUERY_TIMEOUT = 0x00001B80;

    /// <summary>Disconnecting the console session is not supported.</summary>

    public const int ERROR_CTX_CONSOLE_DISCONNECT = 0x00001B81;

    /// <summary>Reconnecting a disconnected session to the console is not supported.</summary>

    public const int ERROR_CTX_CONSOLE_CONNECT = 0x00001B82;

    /// <summary>The request to control another session remotely was denied.</summary>

    public const int ERROR_CTX_SHADOW_DENIED = 0x00001B84;

    /// <summary>The requested session access is denied.</summary>

    public const int ERROR_CTX_WINSTATION_ACCESS_DENIED = 0x00001B85;

    /// <summary>The specified terminal connection driver is invalid.</summary>

    public const int ERROR_CTX_INVALID_WD = 0x00001B89;

    /// <summary>The requested session cannot be controlled remotely. This might be because the session is disconnected or does not currently have a user logged on.</summary>

    public const int ERROR_CTX_SHADOW_INVALID = 0x00001B8A;

    /// <summary>The requested session is not configured to allow remote control.</summary>

    public const int ERROR_CTX_SHADOW_DISABLED = 0x00001B8B;

    /// <summary>Your request to connect to this terminal server has been rejected. Your terminal server client license number is currently being used by another user. Call your system administrator to obtain a unique license number.</summary>

    public const int ERROR_CTX_CLIENT_LICENSE_IN_USE = 0x00001B8C;

    /// <summary>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. Contact your system administrator.</summary>

    public const int ERROR_CTX_CLIENT_LICENSE_NOT_SET = 0x00001B8D;

    /// <summary>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.</summary>

    public const int ERROR_CTX_LICENSE_NOT_AVAILABLE = 0x00001B8E;

    /// <summary>The client you are using is not licensed to use this system. Your logon request is denied.</summary>

    public const int ERROR_CTX_LICENSE_CLIENT_INVALID = 0x00001B8F;

    /// <summary>The system license has expired. Your logon request is denied.</summary>

    public const int ERROR_CTX_LICENSE_EXPIRED = 0x00001B90;

    /// <summary>Remote control could not be terminated because the specified session is not currently being remotely controlled.</summary>

    public const int ERROR_CTX_SHADOW_NOT_RUNNING = 0x00001B91;

    /// <summary>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.</summary>

    public const int ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE = 0x00001B92;

    /// <summary>Activation has already been reset the maximum number of times for this installation. Your activation timer will not be cleared.</summary>

    public const int ERROR_ACTIVATION_COUNT_EXCEEDED = 0x00001B93;

    /// <summary>Remote logons are currently disabled.</summary>

    public const int ERROR_CTX_WINSTATIONS_DISABLED = 0x00001B94;

    /// <summary>You do not have the proper encryption level to access this session.</summary>

    public const int ERROR_CTX_ENCRYPTION_LEVEL_REQUIRED = 0x00001B95;

    /// <summary>The user %s\\%s is currently logged on to this computer. Only the current user or an administrator can log on to this computer.</summary>

    public const int ERROR_CTX_SESSION_IN_USE = 0x00001B96;

    /// <summary>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.</summary>

    public const int ERROR_CTX_NO_FORCE_LOGOFF = 0x00001B97;

    /// <summary>Unable to log you on because of an account restriction.</summary>

    public const int ERROR_CTX_ACCOUNT_RESTRICTION = 0x00001B98;

    /// <summary>The RDP component %2 detected an error in the protocol stream and has disconnected the client.</summary>

    public const int ERROR_RDP_PROTOCOL_ERROR = 0x00001B99;

    /// <summary>The Client Drive Mapping Service has connected on terminal connection.</summary>

    public const int ERROR_CTX_CDM_CONNECT = 0x00001B9A;

    /// <summary>The Client Drive Mapping Service has disconnected on terminal connection.</summary>

    public const int ERROR_CTX_CDM_DISCONNECT = 0x00001B9B;

    /// <summary>The terminal server security layer detected an error in the protocol stream and has disconnected the client.</summary>

    public const int ERROR_CTX_SECURITY_LAYER_ERROR = 0x00001B9C;

    /// <summary>The target session is incompatible with the current session.</summary>

    public const int ERROR_TS_INCOMPATIBLE_SESSIONS = 0x00001B9D;

    /// <summary>The file replication service API was called incorrectly.</summary>

    public const int FRS_ERR_INVALID_API_SEQUENCE = 0x00001F41;

    /// <summary>The file replication service cannot be started.</summary>

    public const int FRS_ERR_STARTING_SERVICE = 0x00001F42;

    /// <summary>The file replication service cannot be stopped.</summary>

    public const int FRS_ERR_STOPPING_SERVICE = 0x00001F43;

    /// <summary>The file replication service API terminated the request. The event log might contain more information.</summary>

    public const int FRS_ERR_INTERNAL_API = 0x00001F44;

    /// <summary>The file replication service terminated the request. The event log might contain more information.</summary>

    public const int FRS_ERR_INTERNAL = 0x00001F45;

    /// <summary>The file replication service cannot be contacted. The event log might contain more information.</summary>

    public const int FRS_ERR_SERVICE_COMM = 0x00001F46;

    /// <summary>The file replication service cannot satisfy the request because the user has insufficient privileges. The event log might contain more information.</summary>

    public const int FRS_ERR_INSUFFICIENT_PRIV = 0x00001F47;

    /// <summary>The file replication service cannot satisfy the request because authenticated RPC is not available. The event log might contain more information.</summary>

    public const int FRS_ERR_AUTHENTICATION = 0x00001F48;

    /// <summary>The file replication service cannot satisfy the request because the user has insufficient privileges on the domain controller. The event log might contain more information.</summary>

    public const int FRS_ERR_PARENT_INSUFFICIENT_PRIV = 0x00001F49;

    /// <summary>The file replication service cannot satisfy the request because authenticated RPC is not available on the domain controller. The event log might contain more information.</summary>

    public const int FRS_ERR_PARENT_AUTHENTICATION = 0x00001F4A;

    /// <summary>The file replication service cannot communicate with the file replication service on the domain controller. The event log might contain more information.</summary>

    public const int FRS_ERR_CHILD_TO_PARENT_COMM = 0x00001F4B;

    /// <summary>The file replication service on the domain controller cannot communicate with the file replication service on this computer. The event log might contain more information.</summary>

    public const int FRS_ERR_PARENT_TO_CHILD_COMM = 0x00001F4C;

    /// <summary>The file replication service cannot populate the system volume because of an internal error. The event log might contain more information.</summary>

    public const int FRS_ERR_SYSVOL_POPULATE = 0x00001F4D;

    /// <summary>The file replication service cannot populate the system volume because of an internal time-out. The event log might contain more information.</summary>

    public const int FRS_ERR_SYSVOL_POPULATE_TIMEOUT = 0x00001F4E;

    /// <summary>The file replication service cannot process the request. The system volume is busy with a previous request.</summary>

    public const int FRS_ERR_SYSVOL_IS_BUSY = 0x00001F4F;

    /// <summary>The file replication service cannot stop replicating the system volume because of an internal error. The event log might contain more information.</summary>

    public const int FRS_ERR_SYSVOL_DEMOTE = 0x00001F50;

    /// <summary>The file replication service detected an invalid parameter.</summary>

    public const int FRS_ERR_INVALID_SERVICE_PARAMETER = 0x00001F51;

    /// <summary>An error occurred while installing the directory service. For more information, see the event log.</summary>

    public const int ERROR_DS_NOT_INSTALLED = 0x00002008;

    /// <summary>The directory service evaluated group memberships locally.</summary>

    public const int ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY = 0x00002009;

    /// <summary>The specified directory service attribute or value does not exist.</summary>

    public const int ERROR_DS_NO_ATTRIBUTE_OR_VALUE = 0x0000200A;

    /// <summary>The attribute syntax specified to the directory service is invalid.</summary>

    public const int ERROR_DS_INVALID_ATTRIBUTE_SYNTAX = 0x0000200B;

    /// <summary>The attribute type specified to the directory service is not defined.</summary>

    public const int ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED = 0x0000200C;

    /// <summary>The specified directory service attribute or value already exists.</summary>

    public const int ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS = 0x0000200D;

    /// <summary>The directory service is busy.</summary>

    public const int ERROR_DS_BUSY = 0x0000200E;

    /// <summary>The directory service is unavailable.</summary>

    public const int ERROR_DS_UNAVAILABLE = 0x0000200F;

    /// <summary>The directory service was unable to allocate a relative identifier.</summary>

    public const int ERROR_DS_NO_RIDS_ALLOCATED = 0x00002010;

    /// <summary>The directory service has exhausted the pool of relative identifiers.</summary>

    public const int ERROR_DS_NO_MORE_RIDS = 0x00002011;

    /// <summary>The requested operation could not be performed because the directory service is not the master for that type of operation.</summary>

    public const int ERROR_DS_INCORRECT_ROLE_OWNER = 0x00002012;

    /// <summary>The directory service was unable to initialize the subsystem that allocates relative identifiers.</summary>

    public const int ERROR_DS_RIDMGR_INIT_ERROR = 0x00002013;

    /// <summary>The requested operation did not satisfy one or more public constraints associated with the class of the object.</summary>

    public const int ERROR_DS_OBJ_CLASS_VIOLATION = 0x00002014;

    /// <summary>The directory service can perform the requested operation only on a leaf object.</summary>

    public const int ERROR_DS_CANT_ON_NON_LEAF = 0x00002015;

    /// <summary>The directory service cannot perform the requested operation on the relative distinguished name (RDN) attribute of an object.</summary>

    public const int ERROR_DS_CANT_ON_RDN = 0x00002016;

    /// <summary>The directory service detected an attempt to modify the object class of an object.</summary>

    public const int ERROR_DS_CANT_MOD_OBJ_CLASS = 0x00002017;

    /// <summary>The requested cross-domain move operation could not be performed.</summary>

    public const int ERROR_DS_CROSS_DOM_MOVE_ERROR = 0x00002018;

    /// <summary>Unable to contact the global catalog (GC) server.</summary>

    public const int ERROR_DS_GC_NOT_AVAILABLE = 0x00002019;

    /// <summary>The policy object is shared and can only be modified at the root.</summary>

    public const int ERROR_SHARED_POLICY = 0x0000201A;

    /// <summary>The policy object does not exist.</summary>

    public const int ERROR_POLICY_OBJECT_NOT_FOUND = 0x0000201B;

    /// <summary>The requested policy information is only in the directory service.</summary>

    public const int ERROR_POLICY_ONLY_IN_DS = 0x0000201C;

    /// <summary>A domain controller promotion is currently active.</summary>

    public const int ERROR_PROMOTION_ACTIVE = 0x0000201D;

    /// <summary>A domain controller promotion is not currently active.</summary>

    public const int ERROR_NO_PROMOTION_ACTIVE = 0x0000201E;

    /// <summary>An operations error occurred.</summary>

    public const int ERROR_DS_OPERATIONS_ERROR = 0x00002020;

    /// <summary>A protocol error occurred.</summary>

    public const int ERROR_DS_PROTOCOL_ERROR = 0x00002021;

    /// <summary>The time limit for this request was exceeded.</summary>

    public const int ERROR_DS_TIMELIMIT_EXCEEDED = 0x00002022;

    /// <summary>The size limit for this request was exceeded.</summary>

    public const int ERROR_DS_SIZELIMIT_EXCEEDED = 0x00002023;

    /// <summary>The administrative limit for this request was exceeded.</summary>

    public const int ERROR_DS_ADMIN_LIMIT_EXCEEDED = 0x00002024;

    /// <summary>The compare response was false.</summary>

    public const int ERROR_DS_COMPARE_FALSE = 0x00002025;

    /// <summary>The compare response was true.</summary>

    public const int ERROR_DS_COMPARE_TRUE = 0x00002026;

    /// <summary>The requested authentication method is not supported by the server.</summary>

    public const int ERROR_DS_AUTH_METHOD_NOT_SUPPORTED = 0x00002027;

    /// <summary>A more secure authentication method is required for this server.</summary>

    public const int ERROR_DS_STRONG_AUTH_REQUIRED = 0x00002028;

    /// <summary>Inappropriate authentication.</summary>

    public const int ERROR_DS_INAPPROPRIATE_AUTH = 0x00002029;

    /// <summary>The authentication mechanism is unknown.</summary>

    public const int ERROR_DS_AUTH_UNKNOWN = 0x0000202A;

    /// <summary>A referral was returned from the server.</summary>

    public const int ERROR_DS_REFERRAL = 0x0000202B;

    /// <summary>The server does not support the requested critical extension.</summary>

    public const int ERROR_DS_UNAVAILABLE_CRIT_EXTENSION = 0x0000202C;

    /// <summary>This request requires a secure connection.</summary>

    public const int ERROR_DS_CONFIDENTIALITY_REQUIRED = 0x0000202D;

    /// <summary>Inappropriate matching.</summary>

    public const int ERROR_DS_INAPPROPRIATE_MATCHING = 0x0000202E;

    /// <summary>A public constraint violation occurred.</summary>

    public const int ERROR_DS_PUBLIC_CONSTRAINT_VIOLATION = 0x0000202F;

/// <summary>There is no such object on the server.</summary>

public const int ERROR_DS_NO_SUCH_OBJECT = 0x00002030;

    /// <summary>There is an alias problem.</summary>

    public const int ERROR_DS_ALIAS_PROBLEM = 0x00002031;

    /// <summary>An invalid dn syntax has been specified.</summary>

    public const int ERROR_DS_INVALID_DN_SYNTAX = 0x00002032;

    /// <summary>The object is a leaf object.</summary>

    public const int ERROR_DS_IS_LEAF = 0x00002033;

    /// <summary>There is an alias dereferencing problem.</summary>

    public const int ERROR_DS_ALIAS_DEREF_PROBLEM = 0x00002034;

    /// <summary>The server is unwilling to process the request.</summary>

    public const int ERROR_DS_UNWILLING_TO_PERFORM = 0x00002035;

    /// <summary>A loop has been detected.</summary>

    public const int ERROR_DS_LOOP_DETECT = 0x00002036;

    /// <summary>There is a naming violation.</summary>

    public const int ERROR_DS_NAMING_VIOLATION = 0x00002037;

    /// <summary>The result set is too large.</summary>

    public const int ERROR_DS_OBJECT_RESULTS_TOO_LARGE = 0x00002038;

    /// <summary>The operation affects multiple DSAs.</summary>

    public const int ERROR_DS_AFFECTS_MULTIPLE_DSAS = 0x00002039;

    /// <summary>The server is not operational.</summary>

    public const int ERROR_DS_SERVER_DOWN = 0x0000203A;

    /// <summary>A local error has occurred.</summary>

    public const int ERROR_DS_LOCAL_ERROR = 0x0000203B;

    /// <summary>An encoding error has occurred.</summary>

    public const int ERROR_DS_ENCODING_ERROR = 0x0000203C;

    /// <summary>A decoding error has occurred.</summary>

    public const int ERROR_DS_DECODING_ERROR = 0x0000203D;

    /// <summary>The search filter cannot be recognized.</summary>

    public const int ERROR_DS_FILTER_UNKNOWN = 0x0000203E;

    /// <summary>One or more parameters are illegal.</summary>

    public const int ERROR_DS_PARAM_ERROR = 0x0000203F;

    /// <summary>The specified method is not supported.</summary>

    public const int ERROR_DS_NOT_SUPPORTED = 0x00002040;

    /// <summary>No results were returned.</summary>

    public const int ERROR_DS_NO_RESULTS_RETURNED = 0x00002041;

    /// <summary>The specified control is not supported by the server.</summary>

    public const int ERROR_DS_CONTROL_NOT_FOUND = 0x00002042;

    /// <summary>A referral loop was detected by the client.</summary>

    public const int ERROR_DS_CLIENT_LOOP = 0x00002043;

    /// <summary>The preset referral limit was exceeded.</summary>

    public const int ERROR_DS_REFERRAL_LIMIT_EXCEEDED = 0x00002044;

    /// <summary>The search requires a SORT control.</summary>

    public const int ERROR_DS_SORT_CONTROL_MISSING = 0x00002045;

    /// <summary>The search results exceed the offset range specified.</summary>

    public const int ERROR_DS_OFFSET_RANGE_ERROR = 0x00002046;

    /// <summary>The root object must be the head of a naming context. The root object cannot have an instantiated parent.</summary>

    public const int ERROR_DS_ROOT_MUST_BE_NC = 0x0000206D;

    /// <summary>The add replica operation cannot be performed. The naming context must be writable to create the replica.</summary>

    public const int ERROR_DS_ADD_REPLICA_INHIBITED = 0x0000206E;

    /// <summary>A reference to an attribute that is not defined in the schema occurred.</summary>

    public const int ERROR_DS_ATT_NOT_DEF_IN_SCHEMA = 0x0000206F;

    /// <summary>The maximum size of an object has been exceeded.</summary>

    public const int ERROR_DS_MAX_OBJ_SIZE_EXCEEDED = 0x00002070;

    /// <summary>An attempt was made to add an object to the directory with a name that is already in use.</summary>

    public const int ERROR_DS_OBJ_STRING_NAME_EXISTS = 0x00002071;

    /// <summary>An attempt was made to add an object of a class that does not have an RDN defined in the schema.</summary>

    public const int ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA = 0x00002072;

    /// <summary>An attempt was made to add an object using an RDN that is not the RDN defined in the schema.</summary>

    public const int ERROR_DS_RDN_DOESNT_MATCH_SCHEMA = 0x00002073;

    /// <summary>None of the requested attributes were found on the objects.</summary>

    public const int ERROR_DS_NO_REQUESTED_ATTS_FOUND = 0x00002074;

    /// <summary>The user buffer is too small.</summary>

    public const int ERROR_DS_USER_BUFFER_TO_SMALL = 0x00002075;

    /// <summary>The attribute specified in the operation is not present on the object.</summary>

    public const int ERROR_DS_ATT_IS_NOT_ON_OBJ = 0x00002076;

    /// <summary>Illegal modify operation. Some aspect of the modification is not permitted.</summary>

    public const int ERROR_DS_ILLEGAL_MOD_OPERATION = 0x00002077;

    /// <summary>The specified object is too large.</summary>

    public const int ERROR_DS_OBJ_TOO_LARGE = 0x00002078;

    /// <summary>The specified instance type is not valid.</summary>

    public const int ERROR_DS_BAD_INSTANCE_TYPE = 0x00002079;

    /// <summary>The operation must be performed at a master DSA.</summary>

    public const int ERROR_DS_MASTERDSA_REQUIRED = 0x0000207A;

    /// <summary>The object class attribute must be specified.</summary>

    public const int ERROR_DS_OBJECT_CLASS_REQUIRED = 0x0000207B;

    /// <summary>A required attribute is missing.</summary>

    public const int ERROR_DS_MISSING_REQUIRED_ATT = 0x0000207C;

    /// <summary>An attempt was made to modify an object to include an attribute that is not legal for its class.</summary>

    public const int ERROR_DS_ATT_NOT_DEF_FOR_CLASS = 0x0000207D;

    /// <summary>The specified attribute is already present on the object.</summary>

    public const int ERROR_DS_ATT_ALREADY_EXISTS = 0x0000207E;

    /// <summary>The specified attribute is not present, or has no values.</summary>

    public const int ERROR_DS_CANT_ADD_ATT_VALUES = 0x00002080;

    /// <summary>Multiple values were specified for an attribute that can have only one value.</summary>

    public const int ERROR_DS_SINGLE_VALUE_PUBLIC_CONSTRAINT = 0x00002081;

/// <summary>A value for the attribute was not in the acceptable range of values.</summary>

public const int ERROR_DS_RANGE_PUBLIC_CONSTRAINT = 0x00002082;

/// <summary>The specified value already exists.</summary>

public const int ERROR_DS_ATT_VAL_ALREADY_EXISTS = 0x00002083;

    /// <summary>The attribute cannot be removed because it is not present on the object.</summary>

    public const int ERROR_DS_CANT_REM_MISSING_ATT = 0x00002084;

    /// <summary>The attribute value cannot be removed because it is not present on the object.</summary>

    public const int ERROR_DS_CANT_REM_MISSING_ATT_VAL = 0x00002085;

    /// <summary>The specified root object cannot be a subreference.</summary>

    public const int ERROR_DS_ROOT_CANT_BE_SUBREF = 0x00002086;

    /// <summary>Chaining is not permitted.</summary>

    public const int ERROR_DS_NO_CHAINING = 0x00002087;

    /// <summary>Chained evaluation is not permitted.</summary>

    public const int ERROR_DS_NO_CHAINED_EVAL = 0x00002088;

    /// <summary>The operation could not be performed because the object's parent is either uninstantiated or deleted.</summary>

    public const int ERROR_DS_NO_PARENT_OBJECT = 0x00002089;

    /// <summary>Having a parent that is an alias is not permitted. Aliases are leaf objects.</summary>

    public const int ERROR_DS_PARENT_IS_AN_ALIAS = 0x0000208A;

    /// <summary>The object and parent must be of the same type, either both masters or both replicas.</summary>

    public const int ERROR_DS_CANT_MIX_MASTER_AND_REPS = 0x0000208B;

    /// <summary>The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object.</summary>

    public const int ERROR_DS_CHILDREN_EXIST = 0x0000208C;

    /// <summary>Directory object not found.</summary>

    public const int ERROR_DS_OBJ_NOT_FOUND = 0x0000208D;

    /// <summary>The aliased object is missing.</summary>

    public const int ERROR_DS_ALIASED_OBJ_MISSING = 0x0000208E;

    /// <summary>The object name has bad syntax.</summary>

    public const int ERROR_DS_BAD_NAME_SYNTAX = 0x0000208F;

    /// <summary>An alias is not permitted to refer to another alias.</summary>

    public const int ERROR_DS_ALIAS_POINTS_TO_ALIAS = 0x00002090;

    /// <summary>The alias cannot be dereferenced.</summary>

    public const int ERROR_DS_CANT_DEREF_ALIAS = 0x00002091;

    /// <summary>The operation is out of scope.</summary>

    public const int ERROR_DS_OUT_OF_SCOPE = 0x00002092;

    /// <summary>The operation cannot continue because the object is in the process of being removed.</summary>

    public const int ERROR_DS_OBJECT_BEING_REMOVED = 0x00002093;

    /// <summary>The DSA object cannot be deleted.</summary>

    public const int ERROR_DS_CANT_DELETE_DSA_OBJ = 0x00002094;

    /// <summary>A directory service error has occurred.</summary>

    public const int ERROR_DS_GENERIC_ERROR = 0x00002095;

    /// <summary>The operation can only be performed on an internal master DSA object.</summary>

    public const int ERROR_DS_DSA_MUST_BE_INT_MASTER = 0x00002096;

    /// <summary>The object must be of class DSA.</summary>

    public const int ERROR_DS_CLASS_NOT_DSA = 0x00002097;

    /// <summary>Insufficient access rights to perform the operation.</summary>

    public const int ERROR_DS_INSUFF_ACCESS_RIGHTS = 0x00002098;

    /// <summary>The object cannot be added because the parent is not on the list of possible superiors.</summary>

    public const int ERROR_DS_ILLEGAL_SUPERIOR = 0x00002099;

    /// <summary>Access to the attribute is not permitted because the attribute is owned by the SAM.</summary>

    public const int ERROR_DS_ATTRIBUTE_OWNED_BY_SAM = 0x0000209A;

    /// <summary>The name has too many parts.</summary>

    public const int ERROR_DS_NAME_TOO_MANY_PARTS = 0x0000209B;

    /// <summary>The name is too long.</summary>

    public const int ERROR_DS_NAME_TOO_LONG = 0x0000209C;

    /// <summary>The name value is too long.</summary>

    public const int ERROR_DS_NAME_VALUE_TOO_LONG = 0x0000209D;

    /// <summary>The directory service encountered an error parsing a name.</summary>

    public const int ERROR_DS_NAME_UNPARSEABLE = 0x0000209E;

    /// <summary>The directory service cannot get the attribute type for a name.</summary>

    public const int ERROR_DS_NAME_TYPE_UNKNOWN = 0x0000209F;

    /// <summary>The name does not identify an object; the name identifies a phantom.</summary>

    public const int ERROR_DS_NOT_AN_OBJECT = 0x000020A0;

    /// <summary>The security descriptor is too short.</summary>

    public const int ERROR_DS_SEC_DESC_TOO_SHORT = 0x000020A1;

    /// <summary>The security descriptor is invalid.</summary>

    public const int ERROR_DS_SEC_DESC_INVALID = 0x000020A2;

    /// <summary>Failed to create name for deleted object.</summary>

    public const int ERROR_DS_NO_DELETED_NAME = 0x000020A3;

    /// <summary>The parent of a new subreference must exist.</summary>

    public const int ERROR_DS_SUBREF_MUST_HAVE_PARENT = 0x000020A4;

    /// <summary>The object must be a naming context.</summary>

    public const int ERROR_DS_NCNAME_MUST_BE_NC = 0x000020A5;

    /// <summary>It is not permitted to add an attribute that is owned by the system.</summary>

    public const int ERROR_DS_CANT_ADD_SYSTEM_ONLY = 0x000020A6;

    /// <summary>The class of the object must be structural; you cannot instantiate an abstract class.</summary>

    public const int ERROR_DS_CLASS_MUST_BE_CONCRETE = 0x000020A7;

    /// <summary>The schema object could not be found.</summary>

    public const int ERROR_DS_INVALID_DMD = 0x000020A8;

    /// <summary>A local object with this GUID (dead or alive) already exists.</summary>

    public const int ERROR_DS_OBJ_GUID_EXISTS = 0x000020A9;

    /// <summary>The operation cannot be performed on a back link.</summary>

    public const int ERROR_DS_NOT_ON_BACKLINK = 0x000020AA;

    /// <summary>The cross-reference for the specified naming context could not be found.</summary>

    public const int ERROR_DS_NO_CROSSREF_FOR_NC = 0x000020AB;

    /// <summary>The operation could not be performed because the directory service is shutting down.</summary>

    public const int ERROR_DS_SHUTTING_DOWN = 0x000020AC;

    /// <summary>The directory service request is invalid.</summary>

    public const int ERROR_DS_UNKNOWN_OPERATION = 0x000020AD;

    /// <summary>The role owner attribute could not be read.</summary>

    public const int ERROR_DS_INVALID_ROLE_OWNER = 0x000020AE;

    /// <summary>The requested Flexible Single Master Operations (FSMO) operation failed. The current FSMO holder could not be contacted.</summary>

    public const int ERROR_DS_COULDNT_CONTACT_FSMO = 0x000020AF;

    /// <summary>Modification of a distinguished name across a naming context is not permitted.</summary>

    public const int ERROR_DS_CROSS_NC_DN_RENAME = 0x000020B0;

    /// <summary>The attribute cannot be modified because it is owned by the system.</summary>

    public const int ERROR_DS_CANT_MOD_SYSTEM_ONLY = 0x000020B1;

    /// <summary>Only the replicator can perform this function.</summary>

    public const int ERROR_DS_REPLICATOR_ONLY = 0x000020B2;

    /// <summary>The specified class is not defined.</summary>

    public const int ERROR_DS_OBJ_CLASS_NOT_DEFINED = 0x000020B3;

    /// <summary>The specified class is not a subclass.</summary>

    public const int ERROR_DS_OBJ_CLASS_NOT_SUBCLASS = 0x000020B4;

    /// <summary>The name reference is invalid.</summary>

    public const int ERROR_DS_NAME_REFERENCE_INVALID = 0x000020B5;

    /// <summary>A cross-reference already exists.</summary>

    public const int ERROR_DS_CROSS_REF_EXISTS = 0x000020B6;

    /// <summary>It is not permitted to delete a master cross-reference.</summary>

    public const int ERROR_DS_CANT_DEL_MASTER_CROSSREF = 0x000020B7;

    /// <summary>Subtree notifications are only supported on naming context (NC) heads.</summary>

    public const int ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD = 0x000020B8;

    /// <summary>Notification filter is too complex.</summary>

    public const int ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX = 0x000020B9;

    /// <summary>Schema update failed: Duplicate RDN.</summary>

    public const int ERROR_DS_DUP_RDN = 0x000020BA;

    /// <summary>Schema update failed: Duplicate OID.</summary>

    public const int ERROR_DS_DUP_OID = 0x000020BB;

    /// <summary>Schema update failed: Duplicate Message Application Programming Interface (MAPI) identifier.</summary>

    public const int ERROR_DS_DUP_MAPI_ID = 0x000020BC;

    /// <summary>Schema update failed: Duplicate schema ID GUID.</summary>

    public const int ERROR_DS_DUP_SCHEMA_ID_GUID = 0x000020BD;

    /// <summary>Schema update failed: Duplicate LDAP display name.</summary>

    public const int ERROR_DS_DUP_LDAP_DISPLAY_NAME = 0x000020BE;

    /// <summary>Schema update failed: Range-Lower less than Range-Upper.</summary>

    public const int ERROR_DS_SEMANTIC_ATT_TEST = 0x000020BF;

    /// <summary>Schema update failed: Syntax mismatch.</summary>

    public const int ERROR_DS_SYNTAX_MISMATCH = 0x000020C0;

    /// <summary>Schema deletion failed: Attribute is used in the Must-Contain list.</summary>

    public const int ERROR_DS_EXISTS_IN_MUST_HAVE = 0x000020C1;

    /// <summary>Schema deletion failed: Attribute is used in the May-Contain list.</summary>

    public const int ERROR_DS_EXISTS_IN_MAY_HAVE = 0x000020C2;

    /// <summary>Schema update failed: Attribute in May-Contain list does not exist.</summary>

    public const int ERROR_DS_NONEXISTENT_MAY_HAVE = 0x000020C3;

    /// <summary>Schema update failed: Attribute in the Must-Contain list does not exist.</summary>

    public const int ERROR_DS_NONEXISTENT_MUST_HAVE = 0x000020C4;

    /// <summary>Schema update failed: Class in the Aux Class list does not exist or is not an auxiliary class.</summary>

    public const int ERROR_DS_AUX_CLS_TEST_FAIL = 0x000020C5;

    /// <summary>Schema update failed: Class in the Poss-Superiors list does not exist.</summary>

    public const int ERROR_DS_NONEXISTENT_POSS_SUP = 0x000020C6;

    /// <summary>Schema update failed: Class in the subclass of the list does not exist or does not satisfy hierarchy rules.</summary>

    public const int ERROR_DS_SUB_CLS_TEST_FAIL = 0x000020C7;

    /// <summary>Schema update failed: Rdn-Att-Id has wrong syntax.</summary>

    public const int ERROR_DS_BAD_RDN_ATT_ID_SYNTAX = 0x000020C8;

    /// <summary>Schema deletion failed: Class is used as an auxiliary class.</summary>

    public const int ERROR_DS_EXISTS_IN_AUX_CLS = 0x000020C9;

    /// <summary>Schema deletion failed: Class is used as a subclass.</summary>

    public const int ERROR_DS_EXISTS_IN_SUB_CLS = 0x000020CA;

    /// <summary>Schema deletion failed: Class is used as a Poss-Superior.</summary>

    public const int ERROR_DS_EXISTS_IN_POSS_SUP = 0x000020CB;

    /// <summary>Schema update failed in recalculating validation cache.</summary>

    public const int ERROR_DS_RECALCSCHEMA_FAILED = 0x000020CC;

    /// <summary>The tree deletion is not finished. The request must be made again to continue deleting the tree.</summary>

    public const int ERROR_DS_TREE_DELETE_NOT_FINISHED = 0x000020CD;

    /// <summary>The requested delete operation could not be performed.</summary>

    public const int ERROR_DS_CANT_DELETE = 0x000020CE;

    /// <summary>Cannot read the governs class identifier for the schema record.</summary>

    public const int ERROR_DS_ATT_SCHEMA_REQ_ID = 0x000020CF;

    /// <summary>The attribute schema has bad syntax.</summary>

    public const int ERROR_DS_BAD_ATT_SCHEMA_SYNTAX = 0x000020D0;

    /// <summary>The attribute could not be cached.</summary>

    public const int ERROR_DS_CANT_CACHE_ATT = 0x000020D1;

    /// <summary>The class could not be cached.</summary>

    public const int ERROR_DS_CANT_CACHE_CLASS = 0x000020D2;

    /// <summary>The attribute could not be removed from the cache.</summary>

    public const int ERROR_DS_CANT_REMOVE_ATT_CACHE = 0x000020D3;

    /// <summary>The class could not be removed from the cache.</summary>

    public const int ERROR_DS_CANT_REMOVE_CLASS_CACHE = 0x000020D4;

    /// <summary>The distinguished name attribute could not be read.</summary>

    public const int ERROR_DS_CANT_RETRIEVE_DN = 0x000020D5;

    /// <summary>No superior reference has been configured for the directory service. The directory service is, therefore, unable to issue referrals to objects outside this forest.</summary>

    public const int ERROR_DS_MISSING_SUPREF = 0x000020D6;

    /// <summary>The instance type attribute could not be retrieved.</summary>

    public const int ERROR_DS_CANT_RETRIEVE_INSTANCE = 0x000020D7;

    /// <summary>An internal error has occurred.</summary>

    public const int ERROR_DS_CODE_INCONSISTENCY = 0x000020D8;

    /// <summary>A database error has occurred.</summary>

    public const int ERROR_DS_DATABASE_ERROR = 0x000020D9;

    /// <summary>The governsID attribute is missing.</summary>

    public const int ERROR_DS_GOVERNSID_MISSING = 0x000020DA;

    /// <summary>An expected attribute is missing.</summary>

    public const int ERROR_DS_MISSING_EXPECTED_ATT = 0x000020DB;

    /// <summary>The specified naming context is missing a cross-reference.</summary>

    public const int ERROR_DS_NCNAME_MISSING_CR_REF = 0x000020DC;

    /// <summary>A security checking error has occurred.</summary>

    public const int ERROR_DS_SECURITY_CHECKING_ERROR = 0x000020DD;

    /// <summary>The schema is not loaded.</summary>

    public const int ERROR_DS_SCHEMA_NOT_LOADED = 0x000020DE;

    /// <summary>Schema allocation failed. Check if the machine is running low on memory.</summary>

    public const int ERROR_DS_SCHEMA_ALLOC_FAILED = 0x000020DF;

    /// <summary>Failed to obtain the required syntax for the attribute schema.</summary>

    public const int ERROR_DS_ATT_SCHEMA_REQ_SYNTAX = 0x000020E0;

    /// <summary>The GC verification failed. The GC is not available or does not support the operation. Some part of the directory is currently not available.</summary>

    public const int ERROR_DS_GCVERIFY_ERROR = 0x000020E1;

    /// <summary>The replication operation failed because of a schema mismatch between the servers involved.</summary>

    public const int ERROR_DS_DRA_SCHEMA_MISMATCH = 0x000020E2;

    /// <summary>The DSA object could not be found.</summary>

    public const int ERROR_DS_CANT_FIND_DSA_OBJ = 0x000020E3;

    /// <summary>The naming context could not be found.</summary>

    public const int ERROR_DS_CANT_FIND_EXPECTED_NC = 0x000020E4;

    /// <summary>The naming context could not be found in the cache.</summary>

    public const int ERROR_DS_CANT_FIND_NC_IN_CACHE = 0x000020E5;

    /// <summary>The child object could not be retrieved.</summary>

    public const int ERROR_DS_CANT_RETRIEVE_CHILD = 0x000020E6;

    /// <summary>The modification was not permitted for security reasons.</summary>

    public const int ERROR_DS_SECURITY_ILLEGAL_MODIFY = 0x000020E7;

    /// <summary>The operation cannot replace the hidden record.</summary>

    public const int ERROR_DS_CANT_REPLACE_HIDDEN_REC = 0x000020E8;

    /// <summary>The hierarchy file is invalid.</summary>

    public const int ERROR_DS_BAD_HIERARCHY_FILE = 0x000020E9;

    /// <summary>The attempt to build the hierarchy table failed.</summary>

    public const int ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED = 0x000020EA;

    /// <summary>The directory configuration parameter is missing from the registry.</summary>

    public const int ERROR_DS_CONFIG_PARAM_MISSING = 0x000020EB;

    /// <summary>The attempt to count the address book indices failed.</summary>

    public const int ERROR_DS_COUNTING_AB_INDICES_FAILED = 0x000020EC;

    /// <summary>The allocation of the hierarchy table failed.</summary>

    public const int ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED = 0x000020ED;

    /// <summary>The directory service encountered an internal failure.</summary>

    public const int ERROR_DS_INTERNAL_FAILURE = 0x000020EE;

    /// <summary>The directory service encountered an unknown failure.</summary>

    public const int ERROR_DS_UNKNOWN_ERROR = 0x000020EF;

    /// <summary>A root object requires a class of "top".</summary>

    public const int ERROR_DS_ROOT_REQUIRES_CLASS_TOP = 0x000020F0;

    /// <summary>This directory server is shutting down, and cannot take ownership of new floating single-master operation roles.</summary>

    public const int ERROR_DS_REFUSING_FSMO_ROLES = 0x000020F1;

    /// <summary>The directory service is missing mandatory configuration information and is unable to determine the ownership of floating single-master operation roles.</summary>

    public const int ERROR_DS_MISSING_FSMO_SETTINGS = 0x000020F2;

    /// <summary>The directory service was unable to transfer ownership of one or more floating single-master operation roles to other servers.</summary>

    public const int ERROR_DS_UNABLE_TO_SURRENDER_ROLES = 0x000020F3;

    /// <summary>The replication operation failed.</summary>

    public const int ERROR_DS_DRA_GENERIC = 0x000020F4;

    /// <summary>An invalid parameter was specified for this replication operation.</summary>

    public const int ERROR_DS_DRA_INVALID_PARAMETER = 0x000020F5;

    /// <summary>The directory service is too busy to complete the replication operation at this time.</summary>

    public const int ERROR_DS_DRA_BUSY = 0x000020F6;

    /// <summary>The DN specified for this replication operation is invalid.</summary>

    public const int ERROR_DS_DRA_BAD_DN = 0x000020F7;

    /// <summary>The naming context specified for this replication operation is invalid.</summary>

    public const int ERROR_DS_DRA_BAD_NC = 0x000020F8;

    /// <summary>The DN specified for this replication operation already exists.</summary>

    public const int ERROR_DS_DRA_DN_EXISTS = 0x000020F9;

    /// <summary>The replication system encountered an internal error.</summary>

    public const int ERROR_DS_DRA_INTERNAL_ERROR = 0x000020FA;

    /// <summary>The replication operation encountered a database inconsistency.</summary>

    public const int ERROR_DS_DRA_INCONSISTENT_DIT = 0x000020FB;

    /// <summary>The server specified for this replication operation could not be contacted.</summary>

    public const int ERROR_DS_DRA_CONNECTION_FAILED = 0x000020FC;

    /// <summary>The replication operation encountered an object with an invalid instance type.</summary>

    public const int ERROR_DS_DRA_BAD_INSTANCE_TYPE = 0x000020FD;

    /// <summary>The replication operation failed to allocate memory.</summary>

    public const int ERROR_DS_DRA_OUT_OF_MEM = 0x000020FE;

    /// <summary>The replication operation encountered an error with the mail system.</summary>

    public const int ERROR_DS_DRA_MAIL_PROBLEM = 0x000020FF;

    /// <summary>The replication reference information for the target server already exists.</summary>

    public const int ERROR_DS_DRA_REF_ALREADY_EXISTS = 0x00002100;

    /// <summary>The replication reference information for the target server does not exist.</summary>

    public const int ERROR_DS_DRA_REF_NOT_FOUND = 0x00002101;

    /// <summary>The naming context cannot be removed because it is replicated to another server.</summary>

    public const int ERROR_DS_DRA_OBJ_IS_REP_SOURCE = 0x00002102;

    /// <summary>The replication operation encountered a database error.</summary>

    public const int ERROR_DS_DRA_DB_ERROR = 0x00002103;

    /// <summary>The naming context is in the process of being removed or is not replicated from the specified server.</summary>

    public const int ERROR_DS_DRA_NO_REPLICA = 0x00002104;

    /// <summary>Replication access was denied.</summary>

    public const int ERROR_DS_DRA_ACCESS_DENIED = 0x00002105;

    /// <summary>The requested operation is not supported by this version of the directory service.</summary>

    public const int ERROR_DS_DRA_NOT_SUPPORTED = 0x00002106;

    /// <summary>The replication RPC was canceled.</summary>

    public const int ERROR_DS_DRA_RPC_CANCELLED = 0x00002107;

    /// <summary>The source server is currently rejecting replication requests.</summary>

    public const int ERROR_DS_DRA_SOURCE_DISABLED = 0x00002108;

    /// <summary>The destination server is currently rejecting replication requests.</summary>

    public const int ERROR_DS_DRA_SINK_DISABLED = 0x00002109;

    /// <summary>The replication operation failed due to a collision of object names.</summary>

    public const int ERROR_DS_DRA_NAME_COLLISION = 0x0000210A;

    /// <summary>The replication source has been reinstalled.</summary>

    public const int ERROR_DS_DRA_SOURCE_REINSTALLED = 0x0000210B;

    /// <summary>The replication operation failed because a required parent object is missing.</summary>

    public const int ERROR_DS_DRA_MISSING_PARENT = 0x0000210C;

    /// <summary>The replication operation was preempted.</summary>

    public const int ERROR_DS_DRA_PREEMPTED = 0x0000210D;

    /// <summary>The replication synchronization attempt was abandoned because of a lack of updates.</summary>

    public const int ERROR_DS_DRA_ABANDON_SYNC = 0x0000210E;

    /// <summary>The replication operation was terminated because the system is shutting down.</summary>

    public const int ERROR_DS_DRA_SHUTDOWN = 0x0000210F;

    /// <summary>A synchronization attempt failed because the destination DC is currently waiting to synchronize new partial attributes from the 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 the source partial attribute set.</summary>

    public const int ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET = 0x00002110;

    /// <summary>The replication synchronization attempt failed because a master replica attempted to sync from a partial replica.</summary>

    public const int ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA = 0x00002111;

    /// <summary>The server specified for this replication operation was contacted, but that server was unable to contact an additional server needed to complete the operation.</summary>

    public const int ERROR_DS_DRA_EXTN_CONNECTION_FAILED = 0x00002112;

    /// <summary>The version of the directory service schema of the source forest is not compatible with the version of the directory service on this computer.</summary>

    public const int ERROR_DS_INSTALL_SCHEMA_MISMATCH = 0x00002113;

    /// <summary>Schema update failed: An attribute with the same link identifier already exists.</summary>

    public const int ERROR_DS_DUP_LINK_ID = 0x00002114;

    /// <summary>Name translation: Generic processing error.</summary>

    public const int ERROR_DS_NAME_ERROR_RESOLVING = 0x00002115;

    /// <summary>Name translation: Could not find the name or insufficient right to see name.</summary>

    public const int ERROR_DS_NAME_ERROR_NOT_FOUND = 0x00002116;

    /// <summary>Name translation: Input name mapped to more than one output name.</summary>

    public const int ERROR_DS_NAME_ERROR_NOT_UNIQUE = 0x00002117;

    /// <summary>Name translation: The input name was found but not the associated output format.</summary>

    public const int ERROR_DS_NAME_ERROR_NO_MAPPING = 0x00002118;

    /// <summary>Name translation: Unable to resolve completely, only the domain was found.</summary>

    public const int ERROR_DS_NAME_ERROR_DOMAIN_ONLY = 0x00002119;

    /// <summary>Name translation: Unable to perform purely syntactical mapping at the client without going out to the wire.</summary>

    public const int ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 0x0000211A;

    /// <summary>Modification of a public constructed attribute is not allowed.</summary>

    public const int ERROR_DS_PUBLIC_CONSTRUCTED_ATT_MOD = 0x0000211B;

/// <summary>The OM-Object-Class specified is incorrect for an attribute with the specified syntax.</summary>

public const int ERROR_DS_WRONG_OM_OBJ_CLASS = 0x0000211C;

    /// <summary>The replication request has been posted; waiting for a reply.</summary>

    public const int ERROR_DS_DRA_REPL_PENDING = 0x0000211D;

    /// <summary>The requested operation requires a directory service, and none was available.</summary>

    public const int ERROR_DS_DS_REQUIRED = 0x0000211E;

    /// <summary>The LDAP display name of the class or attribute contains non-ASCII characters.</summary>

    public const int ERROR_DS_INVALID_LDAP_DISPLAY_NAME = 0x0000211F;

    /// <summary>The requested search operation is only supported for base searches.</summary>

    public const int ERROR_DS_NON_BASE_SEARCH = 0x00002120;

    /// <summary>The search failed to retrieve attributes from the database.</summary>

    public const int ERROR_DS_CANT_RETRIEVE_ATTS = 0x00002121;

    /// <summary>The schema update operation tried to add a backward link attribute that has no corresponding forward link.</summary>

    public const int ERROR_DS_BACKLINK_WITHOUT_LINK = 0x00002122;

    /// <summary>The source and destination of a cross-domain move do not agree on the object's epoch number. Either the source or the destination does not have the latest version of the object.</summary>

    public const int ERROR_DS_EPOCH_MISMATCH = 0x00002123;

    /// <summary>The source and destination of a cross-domain move do not agree on the object's current name. Either the source or the destination does not have the latest version of the object.</summary>

    public const int ERROR_DS_SRC_NAME_MISMATCH = 0x00002124;

    /// <summary>The source and destination for the cross-domain move operation are identical. The caller should use a local move operation instead of a cross-domain move operation.</summary>

    public const int ERROR_DS_SRC_AND_DST_NC_IDENTICAL = 0x00002125;

    /// <summary>The source and destination for a cross-domain move do not agree on the naming contexts in the forest. Either the source or the destination does not have the latest version of the Partitions container.</summary>

    public const int ERROR_DS_DST_NC_MISMATCH = 0x00002126;

    /// <summary>The destination of a cross-domain move is not authoritative for the destination naming context.</summary>

    public const int ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC = 0x00002127;

    /// <summary>The source and destination of a cross-domain move do not agree on the identity of the source object. Either the source or the destination does not have the latest version of the source object.</summary>

    public const int ERROR_DS_SRC_GUID_MISMATCH = 0x00002128;

    /// <summary>The 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.</summary>

    public const int ERROR_DS_CANT_MOVE_DELETED_OBJECT = 0x00002129;

    /// <summary>Another operation that requires exclusive access to the PDC FSMO is already in progress.</summary>

    public const int ERROR_DS_PDC_OPERATION_IN_PROGRESS = 0x0000212A;

    /// <summary>A cross-domain move operation failed because 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.</summary>

    public const int ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD = 0x0000212B;

    /// <summary>This object cannot be moved across domain boundaries either because cross-domain moves for this class are not allowed, or the object has some special characteristics, for example, a trust account or a restricted relative identifier (RID), that prevent its move.</summary>

    public const int ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION = 0x0000212C;

    /// <summary>Cannot move objects with memberships across domain boundaries because, once moved, this violates the membership conditions of the account group. Remove the object from any account group memberships and retry.</summary>

    public const int ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS = 0x0000212D;

    /// <summary>A naming context head must be the immediate child of another naming context head, not of an interior node.</summary>

    public const int ERROR_DS_NC_MUST_HAVE_NC_PARENT = 0x0000212E;

    /// <summary>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. Ensure that the domain naming master role is held by a server that is configured as a GC server, and that the server is up-to-date with its replication partners. (Applies only to Windows 2000 operating system domain naming masters.)</summary>

    public const int ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE = 0x0000212F;

    /// <summary>Destination domain must be in native mode.</summary>

    public const int ERROR_DS_DST_DOMAIN_NOT_NATIVE = 0x00002130;

    /// <summary>The operation cannot be performed because the server does not have an infrastructure container in the domain of interest.</summary>

    public const int ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER = 0x00002131;

    /// <summary>Cross-domain moves of nonempty account groups is not allowed.</summary>

    public const int ERROR_DS_CANT_MOVE_ACCOUNT_GROUP = 0x00002132;

    /// <summary>Cross-domain moves of nonempty resource groups is not allowed.</summary>

    public const int ERROR_DS_CANT_MOVE_RESOURCE_GROUP = 0x00002133;

    /// <summary>The search flags for the attribute are invalid. The ambiguous name resolution (ANR) bit is valid only on attributes of Unicode or Teletex strings.</summary>

    public const int ERROR_DS_INVALID_SEARCH_FLAG = 0x00002134;

    /// <summary>Tree deletions starting at an object that has an NC head as a descendant are not allowed.</summary>

    public const int ERROR_DS_NO_TREE_DELETE_ABOVE_NC = 0x00002135;

    /// <summary>The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use.</summary>

    public const int ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE = 0x00002136;

    /// <summary>The directory service failed to identify the list of objects to delete while attempting a tree deletion.</summary>

    public const int ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE = 0x00002137;

    /// <summary>SAM initialization failed because of the following error: %1. Error Status: 0x%2. Click OK to shut down the system and reboot into Directory Services Restore Mode. Check the event log for detailed information.</summary>

    public const int ERROR_DS_SAM_INIT_FAILURE = 0x00002138;

    /// <summary>Only an administrator can modify the membership list of an administrative group.</summary>

    public const int ERROR_DS_SENSITIVE_GROUP_VIOLATION = 0x00002139;

    /// <summary>Cannot change the primary group ID of a domain controller account.</summary>

    public const int ERROR_DS_CANT_MOD_PRIMARYGROUPID = 0x0000213A;

    /// <summary>An attempt was made to modify the base schema.</summary>

    public const int ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD = 0x0000213B;

    /// <summary>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.</summary>

    public const int ERROR_DS_NONSAFE_SCHEMA_CHANGE = 0x0000213C;

    /// <summary>Schema update is not allowed on this DC because the DC is not the schema FSMO role owner.</summary>

    public const int ERROR_DS_SCHEMA_UPDATE_DISALLOWED = 0x0000213D;

    /// <summary>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.</summary>

    public const int ERROR_DS_CANT_CREATE_UNDER_SCHEMA = 0x0000213E;

    /// <summary>The replica or 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.</summary>

    public const int ERROR_DS_INSTALL_NO_SRC_SCH_VERSION = 0x0000213F;

    /// <summary>The replica or child install failed to read the objectVersion attribute in the SCHEMA section of the file schema.ini in the System32 directory.</summary>

    public const int ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE = 0x00002140;

    /// <summary>The specified group type is invalid.</summary>

    public const int ERROR_DS_INVALID_GROUP_TYPE = 0x00002141;

    /// <summary>You cannot nest global groups in a mixed domain if the group is security-enabled.</summary>

    public const int ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN = 0x00002142;

    /// <summary>You cannot nest local groups in a mixed domain if the group is security-enabled.</summary>

    public const int ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN = 0x00002143;

    /// <summary>A global group cannot have a local group as a member.</summary>

    public const int ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER = 0x00002144;

    /// <summary>A global group cannot have a universal group as a member.</summary>

    public const int ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER = 0x00002145;

    /// <summary>A universal group cannot have a local group as a member.</summary>

    public const int ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER = 0x00002146;

    /// <summary>A global group cannot have a cross-domain member.</summary>

    public const int ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER = 0x00002147;

    /// <summary>A local group cannot have another cross domain local group as a member.</summary>

    public const int ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER = 0x00002148;

    /// <summary>A group with primary members cannot change to a security-disabled group.</summary>

    public const int ERROR_DS_HAVE_PRIMARY_MEMBERS = 0x00002149;

    /// <summary>The schema cache load failed to convert the string default security descriptor (SD) on a class-schema object.</summary>

    public const int ERROR_DS_STRING_SD_CONVERSION_FAILED = 0x0000214A;

    /// <summary>Only DSAs configured to be GC servers should be allowed to hold the domain naming master FSMO role. (Applies only to Windows 2000 servers.)</summary>

    public const int ERROR_DS_NAMING_MASTER_GC = 0x0000214B;

    /// <summary>The DSA operation is unable to proceed because of a DNS lookup failure.</summary>

    public const int ERROR_DS_DNS_LOOKUP_FAILURE = 0x0000214C;

    /// <summary>While processing a change to the DNS host name for an object, the SPN values could not be kept in sync.</summary>

    public const int ERROR_DS_COULDNT_UPDATE_SPNS = 0x0000214D;

    /// <summary>The Security Descriptor attribute could not be read.</summary>

    public const int ERROR_DS_CANT_RETRIEVE_SD = 0x0000214E;

    /// <summary>The object requested was not found, but an object with that key was found.</summary>

    public const int ERROR_DS_KEY_NOT_UNIQUE = 0x0000214F;

    /// <summary>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.</summary>

    public const int ERROR_DS_WRONG_LINKED_ATT_SYNTAX = 0x00002150;

    /// <summary>SAM needs to get the boot password.</summary>

    public const int ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD = 0x00002151;

    /// <summary>SAM needs to get the boot key from the floppy disk.</summary>

    public const int ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY = 0x00002152;

    /// <summary>Directory Service cannot start.</summary>

    public const int ERROR_DS_CANT_START = 0x00002153;

    /// <summary>Directory Services could not start.</summary>

    public const int ERROR_DS_INIT_FAILURE = 0x00002154;

    /// <summary>The connection between client and server requires packet privacy or better.</summary>

    public const int ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION = 0x00002155;

    /// <summary>The source domain cannot be in the same forest as the destination.</summary>

    public const int ERROR_DS_SOURCE_DOMAIN_IN_FOREST = 0x00002156;

    /// <summary>The destination domain MUST be in the forest.</summary>

    public const int ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST = 0x00002157;

    /// <summary>The operation requires that destination domain auditing be enabled.</summary>

    public const int ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED = 0x00002158;

    /// <summary>The operation could not locate a DC for the source domain.</summary>

    public const int ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN = 0x00002159;

    /// <summary>The source object must be a group or user.</summary>

    public const int ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER = 0x0000215A;

    /// <summary>The source object's SID already exists in the destination forest.</summary>

    public const int ERROR_DS_SRC_SID_EXISTS_IN_FOREST = 0x0000215B;

    /// <summary>The source and destination object must be of the same type.</summary>

    public const int ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH = 0x0000215C;

    /// <summary>SAM 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.</summary>

    public const int ERROR_SAM_INIT_FAILURE = 0x0000215D;

    /// <summary>Schema information could not be included in the replication request.</summary>

    public const int ERROR_DS_DRA_SCHEMA_INFO_SHIP = 0x0000215E;

    /// <summary>The replication operation could not be completed due to a schema incompatibility.</summary>

    public const int ERROR_DS_DRA_SCHEMA_CONFLICT = 0x0000215F;

    /// <summary>The replication operation could not be completed due to a previous schema incompatibility.</summary>

    public const int ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT = 0x00002160;

    /// <summary>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.</summary>

    public const int ERROR_DS_DRA_OBJ_NC_MISMATCH = 0x00002161;

    /// <summary>The requested domain could not be deleted because there exist domain controllers that still host this domain.</summary>

    public const int ERROR_DS_NC_STILL_HAS_DSAS = 0x00002162;

    /// <summary>The requested operation can be performed only on a GC server.</summary>

    public const int ERROR_DS_GC_REQUIRED = 0x00002163;

    /// <summary>A local group can only be a member of other local groups in the same domain.</summary>

    public const int ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY = 0x00002164;

    /// <summary>Foreign security principals cannot be members of universal groups.</summary>

    public const int ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS = 0x00002165;

    /// <summary>The attribute is not allowed to be replicated to the GC because of security reasons.</summary>

    public const int ERROR_DS_CANT_ADD_TO_GC = 0x00002166;

    /// <summary>The checkpoint with the PDC could not be taken because too many modifications are currently being processed.</summary>

    public const int ERROR_DS_NO_CHECKPOINT_WITH_PDC = 0x00002167;

    /// <summary>The operation requires that source domain auditing be enabled.</summary>

    public const int ERROR_DS_SOURCE_AUDITING_NOT_ENABLED = 0x00002168;

    /// <summary>Security principal objects can only be created inside domain naming contexts.</summary>

    public const int ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC = 0x00002169;

    /// <summary>An SPN could not be public constructed because the provided host name is not in the necessary format.</summary>

    public const int ERROR_DS_INVALID_NAME_FOR_SPN = 0x0000216A;

    /// <summary>A filter was passed that uses public constructed attributes.</summary>

    public const int ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS = 0x0000216B;

    /// <summary>The unicodePwd attribute value must be enclosed in quotation marks.</summary>

    public const int ERROR_DS_UNICODEPWD_NOT_IN_QUOTES = 0x0000216C;

    /// <summary>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.</summary>

    public const int ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED = 0x0000216D;

    /// <summary>For security reasons, the operation must be run on the destination DC.</summary>

    public const int ERROR_DS_MUST_BE_RUN_ON_DST_DC = 0x0000216E;

    /// <summary>For security reasons, the source DC must be NT4SP4 or greater.</summary>

    public const int ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER = 0x0000216F;

    /// <summary>Critical directory service system objects cannot be deleted during tree deletion operations. The tree deletion might have been partially performed.</summary>

    public const int ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ = 0x00002170;

    /// <summary>Directory Services could not start because of the following error: %1. Error Status: 0x%2. Click OK to shut down the system. You can use the Recovery Console to further diagnose the system.</summary>

    public const int ERROR_DS_INIT_FAILURE_CONSOLE = 0x00002171;

    /// <summary>SAM initialization failed because of the following error: %1. Error Status: 0x%2. Click OK to shut down the system. You can use the Recovery Console to further diagnose the system.</summary>

    public const int ERROR_DS_SAM_INIT_FAILURE_CONSOLE = 0x00002172;

    /// <summary>The version of the operating system installed is incompatible with the current forest functional level. You must upgrade to a new version of the operating system before this server can become a domain controller in this forest.</summary>

    public const int ERROR_DS_FOREST_VERSION_TOO_HIGH = 0x00002173;

    /// <summary>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.</summary>

    public const int ERROR_DS_DOMAIN_VERSION_TOO_HIGH = 0x00002174;

    /// <summary>The version of the operating system installed on this server no longer supports the current forest functional level. You must raise the forest functional level before this server can become a domain controller in this forest.</summary>

    public const int ERROR_DS_FOREST_VERSION_TOO_LOW = 0x00002175;

    /// <summary>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.</summary>

    public const int ERROR_DS_DOMAIN_VERSION_TOO_LOW = 0x00002176;

    /// <summary>The version of the operating system installed on this server is incompatible with the functional level of the domain or forest.</summary>

    public const int ERROR_DS_INCOMPATIBLE_VERSION = 0x00002177;

    /// <summary>The functional level of the domain (or forest) cannot be raised to the requested value because one or more domain controllers in the domain (or forest) are at a lower, incompatible functional level.</summary>

    public const int ERROR_DS_LOW_DSA_VERSION = 0x00002178;

    /// <summary>The forest functional level cannot be raised to the requested value because 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.</summary>

    public const int ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN = 0x00002179;

    /// <summary>The sort order requested is not supported.</summary>

    public const int ERROR_DS_NOT_SUPPORTED_SORT_ORDER = 0x0000217A;

    /// <summary>The requested name already exists as a unique identifier.</summary>

    public const int ERROR_DS_NAME_NOT_UNIQUE = 0x0000217B;

    /// <summary>The machine account was created before Windows NT 4.0. The account needs to be re-created.</summary>

    public const int ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 = 0x0000217C;

    /// <summary>The database is out of version store.</summary>

    public const int ERROR_DS_OUT_OF_VERSION_STORE = 0x0000217D;

    /// <summary>Unable to continue operation because multiple conflicting controls were used.</summary>

    public const int ERROR_DS_INCOMPATIBLE_CONTROLS_USED = 0x0000217E;

    /// <summary>Unable to find a valid security descriptor reference domain for this partition.</summary>

    public const int ERROR_DS_NO_REF_DOMAIN = 0x0000217F;

    /// <summary>Schema update failed: The link identifier is reserved.</summary>

    public const int ERROR_DS_RESERVED_LINK_ID = 0x00002180;

    /// <summary>Schema update failed: There are no link identifiers available.</summary>

    public const int ERROR_DS_LINK_ID_NOT_AVAILABLE = 0x00002181;

    /// <summary>An account group cannot have a universal group as a member.</summary>

    public const int ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER = 0x00002182;

    /// <summary>Rename or move operations on naming context heads or read-only objects are not allowed.</summary>

    public const int ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE = 0x00002183;

    /// <summary>Move operations on objects in the schema naming context are not allowed.</summary>

    public const int ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC = 0x00002184;

    /// <summary>A system flag has been set on the object that does not allow the object to be moved or renamed.</summary>

    public const int ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG = 0x00002185;

    /// <summary>This object is not allowed to change its grandparent container. Moves are not forbidden on this object, but are restricted to sibling containers.</summary>

    public const int ERROR_DS_MODIFYDN_WRONG_GRANDPARENT = 0x00002186;

    /// <summary>Unable to resolve completely; a referral to another forest was generated.</summary>

    public const int ERROR_DS_NAME_ERROR_TRUST_REFERRAL = 0x00002187;

    /// <summary>The requested action is not supported on a standard server.</summary>

    public const int ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER = 0x00002188;

    /// <summary>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.</summary>

    public const int ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD = 0x00002189;

    /// <summary>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. Ensure that the parent naming context is properly registered in the DNS, and at least one replica of this naming context is reachable by the domain naming master.</summary>

    public const int ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 = 0x0000218A;

    /// <summary>The thread limit for this request was exceeded.</summary>

    public const int ERROR_DS_THREAD_LIMIT_EXCEEDED = 0x0000218B;

    /// <summary>The GC server is not in the closest site.</summary>

    public const int ERROR_DS_NOT_CLOSEST = 0x0000218C;

    /// <summary>The directory service cannot derive an SPN with which to mutually authenticate the target server because the corresponding server object in the local DS database has no serverReference attribute.</summary>

    public const int ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF = 0x0000218D;

    /// <summary>The directory service failed to enter single-user mode.</summary>

    public const int ERROR_DS_SINGLE_USER_MODE_FAILED = 0x0000218E;

    /// <summary>The directory service cannot parse the script because of a syntax error.</summary>

    public const int ERROR_DS_NTDSCRIPT_SYNTAX_ERROR = 0x0000218F;

    /// <summary>The directory service cannot process the script because of an error.</summary>

    public const int ERROR_DS_NTDSCRIPT_PROCESS_ERROR = 0x00002190;

    /// <summary>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).</summary>

    public const int ERROR_DS_DIFFERENT_REPL_EPOCHS = 0x00002191;

    /// <summary>The directory service binding must be renegotiated due to a change in the server extensions information.</summary>

    public const int ERROR_DS_DRS_EXTENSIONS_CHANGED = 0x00002192;

    /// <summary>The operation is not allowed on a disabled cross-reference.</summary>

    public const int ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR = 0x00002193;

    /// <summary>Schema update failed: No values for msDS-IntId are available.</summary>

    public const int ERROR_DS_NO_MSDS_INTID = 0x00002194;

    /// <summary>Schema update failed: Duplicate msDS-IntId. Retry the operation.</summary>

    public const int ERROR_DS_DUP_MSDS_INTID = 0x00002195;

    /// <summary>Schema deletion failed: Attribute is used in rDNAttID.</summary>

    public const int ERROR_DS_EXISTS_IN_RDNATTID = 0x00002196;

    /// <summary>The directory service failed to authorize the request.</summary>

    public const int ERROR_DS_AUTHORIZATION_FAILED = 0x00002197;

    /// <summary>The directory service cannot process the script because it is invalid.</summary>

    public const int ERROR_DS_INVALID_SCRIPT = 0x00002198;

    /// <summary>The remote create cross-reference operation failed on the domain naming master FSMO. The operation's error is in the extended data.</summary>

    public const int ERROR_DS_REMOTE_CROSSREF_OP_FAILED = 0x00002199;

    /// <summary>A cross-reference is in use locally with the same name.</summary>

    public const int ERROR_DS_CROSS_REF_BUSY = 0x0000219A;

    /// <summary>The directory service cannot derive an SPN with which to mutually authenticate the target server because the server's domain has been deleted from the forest.</summary>

    public const int ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN = 0x0000219B;

    /// <summary>Writable NCs prevent this DC from demoting.</summary>

    public const int ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC = 0x0000219C;

    /// <summary>The requested object has a nonunique identifier and cannot be retrieved.</summary>

    public const int ERROR_DS_DUPLICATE_ID_FOUND = 0x0000219D;

    /// <summary>Insufficient attributes were given to create an object. This object might not exist because it might have been deleted and the garbage already collected.</summary>

    public const int ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT = 0x0000219E;

    /// <summary>The group cannot be converted due to attribute restrictions on the requested group type.</summary>

    public const int ERROR_DS_GROUP_CONVERSION_ERROR = 0x0000219F;

    /// <summary>Cross-domain moves of nonempty basic application groups is not allowed.</summary>

    public const int ERROR_DS_CANT_MOVE_APP_BASIC_GROUP = 0x000021A0;

    /// <summary>Cross-domain moves of nonempty query-based application groups is not allowed.</summary>

    public const int ERROR_DS_CANT_MOVE_APP_QUERY_GROUP = 0x000021A1;

    /// <summary>The FSMO role ownership could not be verified because its directory partition did not replicate successfully with at least one replication partner.</summary>

    public const int ERROR_DS_ROLE_NOT_VERIFIED = 0x000021A2;

    /// <summary>The target container for a redirection of a well-known object container cannot already be a special container.</summary>

    public const int ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL = 0x000021A3;

    /// <summary>The directory service cannot perform the requested operation because a domain rename operation is in progress.</summary>

    public const int ERROR_DS_DOMAIN_RENAME_IN_PROGRESS = 0x000021A4;

    /// <summary>The directory service detected a child partition below the requested partition name. The partition hierarchy must be created in a top down method.</summary>

    public const int ERROR_DS_EXISTING_AD_CHILD_NC = 0x000021A5;

    /// <summary>The directory service cannot replicate with this server because the time since the last replication with this server has exceeded the tombstone lifetime.</summary>

    public const int ERROR_DS_REPL_LIFETIME_EXCEEDED = 0x000021A6;

    /// <summary>The requested operation is not allowed on an object under the system container.</summary>

    public const int ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER = 0x000021A7;

    /// <summary>The LDAP server's 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.</summary>

    public const int ERROR_DS_LDAP_SEND_QUEUE_FULL = 0x000021A8;

    /// <summary>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.</summary>

    public const int ERROR_DS_DRA_OUT_SCHEDULE_WINDOW = 0x000021A9;

    /// <summary>At this time, it cannot be determined if the branch replication policy is available on the hub domain controller. Retry at a later time to account for replication latencies.</summary>

    public const int ERROR_DS_POLICY_NOT_KNOWN = 0x000021AA;

    /// <summary>The site settings object for the specified site does not exist.</summary>

    public const int ERROR_NO_SITE_SETTINGS_OBJECT = 0x000021AB;

    /// <summary>The local account store does not contain secret material for the specified account.</summary>

    public const int ERROR_NO_SECRETS = 0x000021AC;

    /// <summary>Could not find a writable domain controller in the domain.</summary>

    public const int ERROR_NO_WRITABLE_DC_FOUND = 0x000021AD;

    /// <summary>The server object for the domain controller does not exist.</summary>

    public const int ERROR_DS_NO_SERVER_OBJECT = 0x000021AE;

    /// <summary>The NTDS Settings object for the domain controller does not exist.</summary>

    public const int ERROR_DS_NO_NTDSA_OBJECT = 0x000021AF;

    /// <summary>The requested search operation is not supported for attribute scoped query (ASQ) searches.</summary>

    public const int ERROR_DS_NON_ASQ_SEARCH = 0x000021B0;

    /// <summary>A required audit event could not be generated for the operation.</summary>

    public const int ERROR_DS_AUDIT_FAILURE = 0x000021B1;

    /// <summary>The search flags for the attribute are invalid. The subtree index bit is valid only on single-valued attributes.</summary>

    public const int ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE = 0x000021B2;

    /// <summary>The search flags for the attribute are invalid. The tuple index bit is valid only on attributes of Unicode strings.</summary>

    public const int ERROR_DS_INVALID_SEARCH_FLAG_TUPLE = 0x000021B3;

    /// <summary>The replication operation failed because the target object referenced by a link value is recycled.</summary>

    public const int ERROR_DS_DRA_RECYCLED_TARGET = 0x000021BF;

    /// <summary>The functional level of the domain (or forest) cannot be lowered to the requested value.</summary>

    public const int ERROR_DS_HIGH_DSA_VERSION = 0x000021C2;

    /// <summary>The operation failed because the SPN value provided for addition/modification is not unique forest-wide.</summary>

    public const int ERROR_DS_SPN_VALUE_NOT_UNIQUE_IN_FOREST = 0x000021C7;

    /// <summary>The operation failed because the UPN value provided for addition/modification is not unique forest-wide.</summary>

    public const int ERROR_DS_UPN_VALUE_NOT_UNIQUE_IN_FOREST = 0x000021C8;

    /// <summary>DNS server unable to interpret format.</summary>

    public const int DNS_ERROR_RCODE_FORMAT_ERROR = 0x00002329;

    /// <summary>DNS server failure.</summary>

    public const int DNS_ERROR_RCODE_SERVER_FAILURE = 0x0000232A;

    /// <summary>DNS name does not exist.</summary>

    public const int DNS_ERROR_RCODE_NAME_ERROR = 0x0000232B;

    /// <summary>DNS request not supported by name server.</summary>

    public const int DNS_ERROR_RCODE_NOT_IMPLEMENTED = 0x0000232C;

    /// <summary>DNS operation refused.</summary>

    public const int DNS_ERROR_RCODE_REFUSED = 0x0000232D;

    /// <summary>DNS name that should not exist, does exist.</summary>

    public const int DNS_ERROR_RCODE_YXDOMAIN = 0x0000232E;

    /// <summary>DNS resource record (RR) set that should not exist, does exist.</summary>

    public const int DNS_ERROR_RCODE_YXRRSET = 0x0000232F;

    /// <summary>DNS RR set that should to exist, does not exist.</summary>

    public const int DNS_ERROR_RCODE_NXRRSET = 0x00002330;

    /// <summary>DNS server not authoritative for zone.</summary>

    public const int DNS_ERROR_RCODE_NOTAUTH = 0x00002331;

    /// <summary>DNS name in update or prereq is not in zone.</summary>

    public const int DNS_ERROR_RCODE_NOTZONE = 0x00002332;

    /// <summary>DNS signature failed to verify.</summary>

    public const int DNS_ERROR_RCODE_BADSIG = 0x00002338;

    /// <summary>DNS bad key.</summary>

    public const int DNS_ERROR_RCODE_BADKEY = 0x00002339;

    /// <summary>DNS signature validity expired.</summary>

    public const int DNS_ERROR_RCODE_BADTIME = 0x0000233A;

    /// <summary>No records found for given DNS query.</summary>

    public const int DNS_INFO_NO_RECORDS = 0x0000251D;

    /// <summary>Bad DNS packet.</summary>

    public const int DNS_ERROR_BAD_PACKET = 0x0000251E;

    /// <summary>No DNS packet.</summary>

    public const int DNS_ERROR_NO_PACKET = 0x0000251F;

    /// <summary>DNS error, check rcode.</summary>

    public const int DNS_ERROR_RCODE = 0x00002520;

    /// <summary>Unsecured DNS packet.</summary>

    public const int DNS_ERROR_UNSECURE_PACKET = 0x00002521;

    /// <summary>Invalid DNS type.</summary>

    public const int DNS_ERROR_INVALID_TYPE = 0x0000254F;

    /// <summary>Invalid IP address.</summary>

    public const int DNS_ERROR_INVALID_IP_ADDRESS = 0x00002550;

    /// <summary>Invalid property.</summary>

    public const int DNS_ERROR_INVALID_PROPERTY = 0x00002551;

    /// <summary>Try DNS operation again later.</summary>

    public const int DNS_ERROR_TRY_AGAIN_LATER = 0x00002552;

    /// <summary>Record for given name and type is not unique.</summary>

    public const int DNS_ERROR_NOT_UNIQUE = 0x00002553;

    /// <summary>DNS name does not comply with RFC specifications.</summary>

    public const int DNS_ERROR_NON_RFC_NAME = 0x00002554;

    /// <summary>DNS name is a fully qualified DNS name.</summary>

    public const int DNS_STATUS_FQDN = 0x00002555;

    /// <summary>DNS name is dotted (multilabel).</summary>

    public const int DNS_STATUS_DOTTED_NAME = 0x00002556;

    /// <summary>DNS name is a single-part name.</summary>

    public const int DNS_STATUS_SINGLE_PART_NAME = 0x00002557;

    /// <summary>DNS name contains an invalid character.</summary>

    public const int DNS_ERROR_INVALID_NAME_CHAR = 0x00002558;

    /// <summary>DNS name is entirely numeric.</summary>

    public const int DNS_ERROR_NUMERIC_NAME = 0x00002559;

    /// <summary>The operation requested is not permitted on a DNS root server.</summary>

    public const int DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER = 0x0000255A;

    /// <summary>The record could not be created because this part of the DNS namespace has been delegated to another server.</summary>

    public const int DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION = 0x0000255B;

    /// <summary>The DNS server could not find a set of root hints.</summary>

    public const int DNS_ERROR_CANNOT_FIND_ROOT_HINTS = 0x0000255C;

    /// <summary>The DNS server found root hints but they were not consistent across all adapters.</summary>

    public const int DNS_ERROR_INCONSISTENT_ROOT_HINTS = 0x0000255D;

    /// <summary>The specified value is too small for this parameter.</summary>

    public const int DNS_ERROR_DWORD_VALUE_TOO_SMALL = 0x0000255E;

    /// <summary>The specified value is too large for this parameter.</summary>

    public const int DNS_ERROR_DWORD_VALUE_TOO_LARGE = 0x0000255F;

    /// <summary>This operation is not allowed while the DNS server is loading zones in the background. Try again later.</summary>

    public const int DNS_ERROR_BACKGROUND_LOADING = 0x00002560;

    /// <summary>The operation requested is not permitted on against a DNS server running on a read-only DC.</summary>

    public const int DNS_ERROR_NOT_ALLOWED_ON_RODC = 0x00002561;

    /// <summary>DNS zone does not exist.</summary>

    public const int DNS_ERROR_ZONE_DOES_NOT_EXIST = 0x00002581;

    /// <summary>DNS zone information not available.</summary>

    public const int DNS_ERROR_NO_ZONE_INFO = 0x00002582;

    /// <summary>Invalid operation for DNS zone.</summary>

    public const int DNS_ERROR_INVALID_ZONE_OPERATION = 0x00002583;

    /// <summary>Invalid DNS zone configuration.</summary>

    public const int DNS_ERROR_ZONE_CONFIGURATION_ERROR = 0x00002584;

    /// <summary>DNS zone has no start of authority (SOA) record.</summary>

    public const int DNS_ERROR_ZONE_HAS_NO_SOA_RECORD = 0x00002585;

    /// <summary>DNS zone has no Name Server (NS) record.</summary>

    public const int DNS_ERROR_ZONE_HAS_NO_NS_RECORDS = 0x00002586;

    /// <summary>DNS zone is locked.</summary>

    public const int DNS_ERROR_ZONE_LOCKED = 0x00002587;

    /// <summary>DNS zone creation failed.</summary>

    public const int DNS_ERROR_ZONE_CREATION_FAILED = 0x00002588;

    /// <summary>DNS zone already exists.</summary>

    public const int DNS_ERROR_ZONE_ALREADY_EXISTS = 0x00002589;

    /// <summary>DNS automatic zone already exists.</summary>

    public const int DNS_ERROR_AUTOZONE_ALREADY_EXISTS = 0x0000258A;

    /// <summary>Invalid DNS zone type.</summary>

    public const int DNS_ERROR_INVALID_ZONE_TYPE = 0x0000258B;

    /// <summary>Secondary DNS zone requires master IP address.</summary>

    public const int DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP = 0x0000258C;

    /// <summary>DNS zone not secondary.</summary>

    public const int DNS_ERROR_ZONE_NOT_SECONDARY = 0x0000258D;

    /// <summary>Need secondary IP address.</summary>

    public const int DNS_ERROR_NEED_SECONDARY_ADDRESSES = 0x0000258E;

    /// <summary>WINS initialization failed.</summary>

    public const int DNS_ERROR_WINS_INIT_FAILED = 0x0000258F;

    /// <summary>Need WINS servers.</summary>

    public const int DNS_ERROR_NEED_WINS_SERVERS = 0x00002590;

    /// <summary>NBTSTAT initialization call failed.</summary>

    public const int DNS_ERROR_NBSTAT_INIT_FAILED = 0x00002591;

    /// <summary>Invalid delete of SOA.</summary>

    public const int DNS_ERROR_SOA_DELETE_INVALID = 0x00002592;

    /// <summary>A conditional forwarding zone already exists for that name.</summary>

    public const int DNS_ERROR_FORWARDER_ALREADY_EXISTS = 0x00002593;

    /// <summary>This zone must be configured with one or more master DNS server IP addresses.</summary>

    public const int DNS_ERROR_ZONE_REQUIRES_MASTER_IP = 0x00002594;

    /// <summary>The operation cannot be performed because this zone is shut down.</summary>

    public const int DNS_ERROR_ZONE_IS_SHUTDOWN = 0x00002595;

    /// <summary>The primary DNS zone requires a data file.</summary>

    public const int DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 0x000025B3;

    /// <summary>Invalid data file name for the DNS zone.</summary>

    public const int DNS_ERROR_INVALID_DATAFILE_NAME = 0x000025B4;

    /// <summary>Failed to open the data file for the DNS zone.</summary>

    public const int DNS_ERROR_DATAFILE_OPEN_FAILURE = 0x000025B5;

    /// <summary>Failed to write the data file for the DNS zone.</summary>

    public const int DNS_ERROR_FILE_WRITEBACK_FAILED = 0x000025B6;

    /// <summary>Failure while reading datafile for DNS zone.</summary>

    public const int DNS_ERROR_DATAFILE_PARSING = 0x000025B7;

    /// <summary>DNS record does not exist.</summary>

    public const int DNS_ERROR_RECORD_DOES_NOT_EXIST = 0x000025E5;

    /// <summary>DNS record format error.</summary>

    public const int DNS_ERROR_RECORD_FORMAT = 0x000025E6;

    /// <summary>Node creation failure in DNS.</summary>

    public const int DNS_ERROR_NODE_CREATION_FAILED = 0x000025E7;

    /// <summary>Unknown DNS record type.</summary>

    public const int DNS_ERROR_UNKNOWN_RECORD_TYPE = 0x000025E8;

    /// <summary>DNS record timed out.</summary>

    public const int DNS_ERROR_RECORD_TIMED_OUT = 0x000025E9;

    /// <summary>Name not in DNS zone.</summary>

    public const int DNS_ERROR_NAME_NOT_IN_ZONE = 0x000025EA;

    /// <summary>CNAME loop detected.</summary>

    public const int DNS_ERROR_CNAME_LOOP = 0x000025EB;

    /// <summary>Node is a CNAME DNS record.</summary>

    public const int DNS_ERROR_NODE_IS_CNAME = 0x000025EC;

    /// <summary>A CNAME record already exists for the given name.</summary>

    public const int DNS_ERROR_CNAME_COLLISION = 0x000025ED;

    /// <summary>Record is only at DNS zone root.</summary>

    public const int DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT = 0x000025EE;

    /// <summary>DNS record already exists.</summary>

    public const int DNS_ERROR_RECORD_ALREADY_EXISTS = 0x000025EF;

    /// <summary>Secondary DNS zone data error.</summary>

    public const int DNS_ERROR_SECONDARY_DATA = 0x000025F0;

    /// <summary>Could not create DNS cache data.</summary>

    public const int DNS_ERROR_NO_CREATE_CACHE_DATA = 0x000025F1;

    /// <summary>DNS name does not exist.</summary>

    public const int DNS_ERROR_NAME_DOES_NOT_EXIST = 0x000025F2;

    /// <summary>Could not create pointer (PTR) record.</summary>

    public const int DNS_WARNING_PTR_CREATE_FAILED = 0x000025F3;

    /// <summary>DNS domain was undeleted.</summary>

    public const int DNS_WARNING_DOMAIN_UNDELETED = 0x000025F4;

    /// <summary>The directory service is unavailable.</summary>

    public const int DNS_ERROR_DS_UNAVAILABLE = 0x000025F5;

    /// <summary>DNS zone already exists in the directory service.</summary>

    public const int DNS_ERROR_DS_ZONE_ALREADY_EXISTS = 0x000025F6;

    /// <summary>DNS server not creating or reading the boot file for the directory service integrated DNS zone.</summary>

    public const int DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE = 0x000025F7;

    /// <summary>DNS AXFR (zone transfer) complete.</summary>

    public const int DNS_INFO_AXFR_COMPLETE = 0x00002617;

    /// <summary>DNS zone transfer failed.</summary>

    public const int DNS_ERROR_AXFR = 0x00002618;

    /// <summary>Added local WINS server.</summary>

    public const int DNS_INFO_ADDED_LOCAL_WINS = 0x00002619;

    /// <summary>Secure update call needs to continue update request.</summary>

    public const int DNS_STATUS_CONTINUE_NEEDED = 0x00002649;

    /// <summary>TCP/IP network protocol not installed.</summary>

    public const int DNS_ERROR_NO_TCPIP = 0x0000267B;

    /// <summary>No DNS servers configured for local system.</summary>

    public const int DNS_ERROR_NO_DNS_SERVERS = 0x0000267C;

    /// <summary>The specified directory partition does not exist.</summary>

    public const int DNS_ERROR_DP_DOES_NOT_EXIST = 0x000026AD;

    /// <summary>The specified directory partition already exists.</summary>

    public const int DNS_ERROR_DP_ALREADY_EXISTS = 0x000026AE;

    /// <summary>This DNS server is not enlisted in the specified directory partition.</summary>

    public const int DNS_ERROR_DP_NOT_ENLISTED = 0x000026AF;

    /// <summary>This DNS server is already enlisted in the specified directory partition.</summary>

    public const int DNS_ERROR_DP_ALREADY_ENLISTED = 0x000026B0;

    /// <summary>The directory partition is not available at this time. Wait a few minutes and try again.</summary>

    public const int DNS_ERROR_DP_NOT_AVAILABLE = 0x000026B1;

    /// <summary>The application directory partition operation failed. The domain controller holding the domain naming master role is down or unable to service the request or is not running Windows Server 2003.</summary>

    public const int DNS_ERROR_DP_FSMO_ERROR = 0x000026B2;

    /// <summary>A blocking operation was interrupted by a call to WSACancelBlockingCall.</summary>

    public const int WSAEINTR = 0x00002714;

    /// <summary>The file handle supplied is not valid.</summary>

    public const int WSAEBADF = 0x00002719;

    /// <summary>An attempt was made to access a socket in a way forbidden by its access permissions.</summary>

    public const int WSAEACCES = 0x0000271D;

    /// <summary>The system detected an invalid pointer address in attempting to use a pointer argument in a call.</summary>

    public const int WSAEFAULT = 0x0000271E;

    /// <summary>An invalid argument was supplied.</summary>

    public const int WSAEINVAL = 0x00002726;

    /// <summary>Too many open sockets.</summary>

    public const int WSAEMFILE = 0x00002728;

    /// <summary>A nonblocking socket operation could not be completed immediately.</summary>

    public const int WSAEWOULDBLOCK = 0x00002733;

    /// <summary>A blocking operation is currently executing.</summary>

    public const int WSAEINPROGRESS = 0x00002734;

    /// <summary>An operation was attempted on a nonblocking socket that already had an operation in progress.</summary>

    public const int WSAEALREADY = 0x00002735;

    /// <summary>An operation was attempted on something that is not a socket.</summary>

    public const int WSAENOTSOCK = 0x00002736;

    /// <summary>A required address was omitted from an operation on a socket.</summary>

    public const int WSAEDESTADDRREQ = 0x00002737;

    /// <summary>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.</summary>

    public const int WSAEMSGSIZE = 0x00002738;

    /// <summary>A protocol was specified in the socket function call that does not support the semantics of the socket type requested.</summary>

    public const int WSAEPROTOTYPE = 0x00002739;

    /// <summary>An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call.</summary>

    public const int WSAENOPROTOOPT = 0x0000273A;

    /// <summary>The requested protocol has not been configured into the system, or no implementation for it exists.</summary>

    public const int WSAEPROTONOSUPPORT = 0x0000273B;

    /// <summary>The support for the specified socket type does not exist in this address family.</summary>

    public const int WSAESOCKTNOSUPPORT = 0x0000273C;

    /// <summary>The attempted operation is not supported for the type of object referenced.</summary>

    public const int WSAEOPNOTSUPP = 0x0000273D;

    /// <summary>The protocol family has not been configured into the system or no implementation for it exists.</summary>

    public const int WSAEPFNOSUPPORT = 0x0000273E;

    /// <summary>An address incompatible with the requested protocol was used.</summary>

    public const int WSAEAFNOSUPPORT = 0x0000273F;

    /// <summary>Only one usage of each socket address (protocol/network address/port) is normally permitted.</summary>

    public const int WSAEADDRINUSE = 0x00002740;

    /// <summary>The requested address is not valid in its context.</summary>

    public const int WSAEADDRNOTAVAIL = 0x00002741;

    /// <summary>A socket operation encountered a dead network.</summary>

    public const int WSAENETDOWN = 0x00002742;

    /// <summary>A socket operation was attempted to an unreachable network.</summary>

    public const int WSAENETUNREACH = 0x00002743;

    /// <summary>The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress.</summary>

    public const int WSAENETRESET = 0x00002744;

    /// <summary>An established connection was aborted by the software in your host machine.</summary>

    public const int WSAECONNABORTED = 0x00002745;

    /// <summary>An existing connection was forcibly closed by the remote host.</summary>

    public const int WSAECONNRESET = 0x00002746;

    /// <summary>An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.</summary>

    public const int WSAENOBUFS = 0x00002747;

    /// <summary>A connect request was made on an already connected socket.</summary>

    public const int WSAEISCONN = 0x00002748;

    /// <summary>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.</summary>

    public const int WSAENOTCONN = 0x00002749;

    /// <summary>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.</summary>

    public const int WSAESHUTDOWN = 0x0000274A;

    /// <summary>Too many references to a kernel object.</summary>

    public const int WSAETOOMANYREFS = 0x0000274B;

    /// <summary>A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host failed to respond.</summary>

    public const int WSAETIMEDOUT = 0x0000274C;

    /// <summary>No connection could be made because the target machine actively refused it.</summary>

    public const int WSAECONNREFUSED = 0x0000274D;

    /// <summary>Cannot translate name.</summary>

    public const int WSAELOOP = 0x0000274E;

    /// <summary>Name or name component was too long.</summary>

    public const int WSAENAMETOOLONG = 0x0000274F;

    /// <summary>A socket operation failed because the destination host was down.</summary>

    public const int WSAEHOSTDOWN = 0x00002750;

    /// <summary>A socket operation was attempted to an unreachable host.</summary>

    public const int WSAEHOSTUNREACH = 0x00002751;

    /// <summary>Cannot remove a directory that is not empty.</summary>

    public const int WSAENOTEMPTY = 0x00002752;

    /// <summary>A Windows Sockets implementation might have a limit on the number of applications that can use it simultaneously.</summary>

    public const int WSAEPROCLIM = 0x00002753;

    /// <summary>Ran out of quota.</summary>

    public const int WSAEUSERS = 0x00002754;

    /// <summary>Ran out of disk quota.</summary>

    public const int WSAEDQUOT = 0x00002755;

    /// <summary>File handle reference is no longer available.</summary>

    public const int WSAESTALE = 0x00002756;

    /// <summary>Item is not available locally.</summary>

    public const int WSAEREMOTE = 0x00002757;

    /// <summary>WSAStartup cannot function at this time because the underlying system it uses to provide network services is currently unavailable.</summary>

    public const int WSASYSNOTREADY = 0x0000276B;

    /// <summary>The Windows Sockets version requested is not supported.</summary>

    public const int WSAVERNOTSUPPORTED = 0x0000276C;

    /// <summary>Either the application has not called WSAStartup, or WSAStartup failed.</summary>

    public const int WSANOTINITIALISED = 0x0000276D;

    /// <summary>Returned by WSARecv or WSARecvFrom to indicate that the remote party has initiated a graceful shutdown sequence.</summary>

    public const int WSAEDISCON = 0x00002775;

    /// <summary>No more results can be returned by WSALookupServiceNext.</summary>

    public const int WSAENOMORE = 0x00002776;

    /// <summary>A call to WSALookupServiceEnd was made while this call was still processing. The call has been canceled.</summary>

    public const int WSAECANCELLED = 0x00002777;

    /// <summary>The procedure call table is invalid.</summary>

    public const int WSAEINVALIDPROCTABLE = 0x00002778;

    /// <summary>The requested service provider is invalid.</summary>

    public const int WSAEINVALIDPROVIDER = 0x00002779;

    /// <summary>The requested service provider could not be loaded or initialized.</summary>

    public const int WSAEPROVIDERFAILEDINIT = 0x0000277A;

    /// <summary>A system call that should never fail has failed.</summary>

    public const int WSASYSCALLFAILURE = 0x0000277B;

    /// <summary>No such service is known. The service cannot be found in the specified namespace.</summary>

    public const int WSASERVICE_NOT_FOUND = 0x0000277C;

    /// <summary>The specified class was not found.</summary>

    public const int WSATYPE_NOT_FOUND = 0x0000277D;

    /// <summary>No more results can be returned by WSALookupServiceNext.</summary>

    public const int WSA_E_NO_MORE = 0x0000277E;

    /// <summary>A call to WSALookupServiceEnd was made while this call was still processing. The call has been canceled.</summary>

    public const int WSA_E_CANCELLED = 0x0000277F;

    /// <summary>A database query failed because it was actively refused.</summary>

    public const int WSAEREFUSED = 0x00002780;

    /// <summary>No such host is known.</summary>

    public const int WSAHOST_NOT_FOUND = 0x00002AF9;

    /// <summary>This is usually a temporary error during host name resolution and means that the local server did not receive a response from an authoritative server.</summary>

    public const int WSATRY_AGAIN = 0x00002AFA;

    /// <summary>A nonrecoverable error occurred during a database lookup.</summary>

    public const int WSANO_RECOVERY = 0x00002AFB;

    /// <summary>The requested name is valid, but no data of the requested type was found.</summary>

    public const int WSANO_DATA = 0x00002AFC;

    /// <summary>At least one reserve has arrived.</summary>

    public const int WSA_QOS_RECEIVERS = 0x00002AFD;

    /// <summary>At least one path has arrived.</summary>

    public const int WSA_QOS_SENDERS = 0x00002AFE;

    /// <summary>There are no senders.</summary>

    public const int WSA_QOS_NO_SENDERS = 0x00002AFF;

    /// <summary>There are no receivers.</summary>

    public const int WSA_QOS_NO_RECEIVERS = 0x00002B00;

    /// <summary>Reserve has been confirmed.</summary>

    public const int WSA_QOS_REQUEST_CONFIRMED = 0x00002B01;

    /// <summary>Error due to lack of resources.</summary>

    public const int WSA_QOS_ADMISSION_FAILURE = 0x00002B02;

    /// <summary>Rejected for administrative reasons—bad credentials.</summary>

    public const int WSA_QOS_POLICY_FAILURE = 0x00002B03;

    /// <summary>Unknown or conflicting style.</summary>

    public const int WSA_QOS_BAD_STYLE = 0x00002B04;

    /// <summary>There is a problem with some part of the filterspec or provider-specific buffer in general.</summary>

    public const int WSA_QOS_BAD_OBJECT = 0x00002B05;

    /// <summary>There is a problem with some part of the flowspec.</summary>

    public const int WSA_QOS_TRAFFIC_CTRL_ERROR = 0x00002B06;

    /// <summary>General quality of serve (QOS) error.</summary>

    public const int WSA_QOS_GENERIC_ERROR = 0x00002B07;

    /// <summary>An invalid or unrecognized service type was found in the flowspec.</summary>

    public const int WSA_QOS_ESERVICETYPE = 0x00002B08;

    /// <summary>An invalid or inconsistent flowspec was found in the QOS structure.</summary>

    public const int WSA_QOS_EFLOWSPEC = 0x00002B09;

    /// <summary>Invalid QOS provider-specific buffer.</summary>

    public const int WSA_QOS_EPROVSPECBUF = 0x00002B0A;

    /// <summary>An invalid QOS filter style was used.</summary>

    public const int WSA_QOS_EFILTERSTYLE = 0x00002B0B;

    /// <summary>An invalid QOS filter type was used.</summary>

    public const int WSA_QOS_EFILTERTYPE = 0x00002B0C;

    /// <summary>An incorrect number of QOS FILTERSPECs were specified in the FLOWDESCRIPTOR.</summary>

    public const int WSA_QOS_EFILTERCOUNT = 0x00002B0D;

    /// <summary>An object with an invalid ObjectLength field was specified in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_EOBJLENGTH = 0x00002B0E;

    /// <summary>An incorrect number of flow descriptors was specified in the QOS structure.</summary>

    public const int WSA_QOS_EFLOWCOUNT = 0x00002B0F;

    /// <summary>An unrecognized object was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_EUNKOWNPSOBJ = 0x00002B10;

    /// <summary>An invalid policy object was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_EPOLICYOBJ = 0x00002B11;

    /// <summary>An invalid QOS flow descriptor was found in the flow descriptor list.</summary>

    public const int WSA_QOS_EFLOWDESC = 0x00002B12;

    /// <summary>An invalid or inconsistent flowspec was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_EPSFLOWSPEC = 0x00002B13;

    /// <summary>An invalid FILTERSPEC was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_EPSFILTERSPEC = 0x00002B14;

    /// <summary>An invalid shape discard mode object was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_ESDMODEOBJ = 0x00002B15;

    /// <summary>An invalid shaping rate object was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_ESHAPERATEOBJ = 0x00002B16;

    /// <summary>A reserved policy element was found in the QOS provider-specific buffer.</summary>

    public const int WSA_QOS_RESERVED_PETYPE = 0x00002B17;

    /// <summary>The specified quick mode policy already exists.</summary>

    public const int ERROR_IPSEC_QM_POLICY_EXISTS = 0x000032C8;

    /// <summary>The specified quick mode policy was not found.</summary>

    public const int ERROR_IPSEC_QM_POLICY_NOT_FOUND = 0x000032C9;

    /// <summary>The specified quick mode policy is being used.</summary>

    public const int ERROR_IPSEC_QM_POLICY_IN_USE = 0x000032CA;

    /// <summary>The specified main mode policy already exists.</summary>

    public const int ERROR_IPSEC_MM_POLICY_EXISTS = 0x000032CB;

    /// <summary>The specified main mode policy was not found.</summary>

    public const int ERROR_IPSEC_MM_POLICY_NOT_FOUND = 0x000032CC;

    /// <summary>The specified main mode policy is being used.</summary>

    public const int ERROR_IPSEC_MM_POLICY_IN_USE = 0x000032CD;

    /// <summary>The specified main mode filter already exists.</summary>

    public const int ERROR_IPSEC_MM_FILTER_EXISTS = 0x000032CE;

    /// <summary>The specified main mode filter was not found.</summary>

    public const int ERROR_IPSEC_MM_FILTER_NOT_FOUND = 0x000032CF;

    /// <summary>The specified transport mode filter already exists.</summary>

    public const int ERROR_IPSEC_TRANSPORT_FILTER_EXISTS = 0x000032D0;

    /// <summary>The specified transport mode filter does not exist.</summary>

    public const int ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND = 0x000032D1;

    /// <summary>The specified main mode authentication list exists.</summary>

    public const int ERROR_IPSEC_MM_AUTH_EXISTS = 0x000032D2;

    /// <summary>The specified main mode authentication list was not found.</summary>

    public const int ERROR_IPSEC_MM_AUTH_NOT_FOUND = 0x000032D3;

    /// <summary>The specified main mode authentication list is being used.</summary>

    public const int ERROR_IPSEC_MM_AUTH_IN_USE = 0x000032D4;

    /// <summary>The specified default main mode policy was not found.</summary>

    public const int ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND = 0x000032D5;

    /// <summary>The specified default main mode authentication list was not found.</summary>

    public const int ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND = 0x000032D6;

    /// <summary>The specified default quick mode policy was not found.</summary>

    public const int ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND = 0x000032D7;

    /// <summary>The specified tunnel mode filter exists.</summary>

    public const int ERROR_IPSEC_TUNNEL_FILTER_EXISTS = 0x000032D8;

    /// <summary>The specified tunnel mode filter was not found.</summary>

    public const int ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND = 0x000032D9;

    /// <summary>The main mode filter is pending deletion.</summary>

    public const int ERROR_IPSEC_MM_FILTER_PENDING_DELETION = 0x000032DA;

    /// <summary>The transport filter is pending deletion.</summary>

    public const int ERROR_IPSEC_TRANSPORT_FILTER_ENDING_DELETION = 0x000032DB;

    /// <summary>The tunnel filter is pending deletion.</summary>

    public const int ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION = 0x000032DC;

    /// <summary>The main mode policy is pending deletion.</summary>

    public const int ERROR_IPSEC_MM_POLICY_PENDING_ELETION = 0x000032DD;

    /// <summary>The main mode authentication bundle is pending deletion.</summary>

    public const int ERROR_IPSEC_MM_AUTH_PENDING_DELETION = 0x000032DE;

    /// <summary>The quick mode policy is pending deletion.</summary>

    public const int ERROR_IPSEC_QM_POLICY_PENDING_DELETION = 0x000032DF;

    /// <summary>The main mode policy was successfully added, but some of the requested offers are not supported.</summary>

    public const int WARNING_IPSEC_MM_POLICY_PRUNED = 0x000032E0;

    /// <summary>The quick mode policy was successfully added, but some of the requested offers are not supported.</summary>

    public const int WARNING_IPSEC_QM_POLICY_PRUNED = 0x000032E1;

    /// <summary>Starts the list of frequencies of various IKE Win32 error codes encountered during negotiations.</summary>

    public const int ERROR_IPSEC_IKE_NEG_STATUS_BEGIN = 0x000035E8;

    /// <summary>The IKE authentication credentials are unacceptable.</summary>

    public const int ERROR_IPSEC_IKE_AUTH_FAIL = 0x000035E9;

    /// <summary>The IKE security attributes are unacceptable.</summary>

    public const int ERROR_IPSEC_IKE_ATTRIB_FAIL = 0x000035EA;

    /// <summary>The IKE negotiation is in progress.</summary>

    public const int ERROR_IPSEC_IKE_NEGOTIATION_PENDING = 0x000035EB;

    /// <summary>General processing error.</summary>

    public const int ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR = 0x000035EC;

    /// <summary>Negotiation timed out.</summary>

    public const int ERROR_IPSEC_IKE_TIMED_OUT = 0x000035ED;

    /// <summary>The IKE failed to find a valid machine certificate. Contact your network security administrator about installing a valid certificate in the appropriate certificate store.</summary>

    public const int ERROR_IPSEC_IKE_NO_CERT = 0x000035EE;

    /// <summary>The IKE security association (SA) was deleted by a peer before it was completely established.</summary>

    public const int ERROR_IPSEC_IKE_SA_DELETED = 0x000035EF;

    /// <summary>The IKE SA was deleted before it was completely established.</summary>

    public const int ERROR_IPSEC_IKE_SA_REAPED = 0x000035F0;

    /// <summary>The negotiation request sat in the queue too long.</summary>

    public const int ERROR_IPSEC_IKE_MM_ACQUIRE_DROP = 0x000035F1;

    /// <summary>The negotiation request sat in the queue too long.</summary>

    public const int ERROR_IPSEC_IKE_QM_ACQUIRE_DROP = 0x000035F2;

    /// <summary>The negotiation request sat in the queue too long.</summary>

    public const int ERROR_IPSEC_IKE_QUEUE_DROP_MM = 0x000035F3;

    /// <summary>The negotiation request sat in the queue too long.</summary>

    public const int ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM = 0x000035F4;

    /// <summary>There was no response from a peer.</summary>

    public const int ERROR_IPSEC_IKE_DROP_NO_RESPONSE = 0x000035F5;

    /// <summary>The negotiation took too long.</summary>

    public const int ERROR_IPSEC_IKE_MM_DELAY_DROP = 0x000035F6;

    /// <summary>The negotiation took too long.</summary>

    public const int ERROR_IPSEC_IKE_QM_DELAY_DROP = 0x000035F7;

    /// <summary>An unknown error occurred.</summary>

    public const int ERROR_IPSEC_IKE_ERROR = 0x000035F8;

    /// <summary>The certificate revocation check failed.</summary>

    public const int ERROR_IPSEC_IKE_CRL_FAILED = 0x000035F9;

    /// <summary>Invalid certificate key usage.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_KEY_USAGE = 0x000035FA;

    /// <summary>Invalid certificate type.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_CERT_TYPE = 0x000035FB;

    /// <summary>The 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 a certificate that has a private key.</summary>

    public const int ERROR_IPSEC_IKE_NO_PRIVATE_KEY = 0x000035FC;

    /// <summary>There was a failure in the Diffie-Hellman computation.</summary>

    public const int ERROR_IPSEC_IKE_DH_FAIL = 0x000035FE;

    /// <summary>Invalid header.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_HEADER = 0x00003600;

    /// <summary>No policy configured.</summary>

    public const int ERROR_IPSEC_IKE_NO_POLICY = 0x00003601;

    /// <summary>Failed to verify signature.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_SIGNATURE = 0x00003602;

    /// <summary>Failed to authenticate using Kerberos.</summary>

    public const int ERROR_IPSEC_IKE_KERBEROS_ERROR = 0x00003603;

    /// <summary>The peer's certificate did not have a public key.</summary>

    public const int ERROR_IPSEC_IKE_NO_PUBLIC_KEY = 0x00003604;

    /// <summary>Error processing the error payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR = 0x00003605;

    /// <summary>Error processing the SA payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_SA = 0x00003606;

    /// <summary>Error processing the proposal payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_PROP = 0x00003607;

    /// <summary>Error processing the transform payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_TRANS = 0x00003608;

    /// <summary>Error processing the key exchange payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_KE = 0x00003609;

    /// <summary>Error processing the ID payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_ID = 0x0000360A;

    /// <summary>Error processing the certification payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_CERT = 0x0000360B;

    /// <summary>Error processing the certificate request payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ = 0x0000360C;

    /// <summary>Error processing the hash payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_HASH = 0x0000360D;

    /// <summary>Error processing the signature payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_SIG = 0x0000360E;

    /// <summary>Error processing the nonce payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_NONCE = 0x0000360F;

    /// <summary>Error processing the notify payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY = 0x00003610;

    /// <summary>Error processing the delete payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_DELETE = 0x00003611;

    /// <summary>Error processing the VendorId payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR = 0x00003612;

    /// <summary>Invalid payload received.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_PAYLOAD = 0x00003613;

    /// <summary>Soft SA loaded.</summary>

    public const int ERROR_IPSEC_IKE_LOAD_SOFT_SA = 0x00003614;

    /// <summary>Soft SA torn down.</summary>

    public const int ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN = 0x00003615;

    /// <summary>Invalid cookie received.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_COOKIE = 0x00003616;

    /// <summary>Peer failed to send valid machine certificate.</summary>

    public const int ERROR_IPSEC_IKE_NO_PEER_CERT = 0x00003617;

    /// <summary>Certification revocation check of peer's certificate failed.</summary>

    public const int ERROR_IPSEC_IKE_PEER_CRL_FAILED = 0x00003618;

    /// <summary>New policy invalidated SAs formed with the old policy.</summary>

    public const int ERROR_IPSEC_IKE_POLICY_CHANGE = 0x00003619;

    /// <summary>There is no available main mode IKE policy.</summary>

    public const int ERROR_IPSEC_IKE_NO_MM_POLICY = 0x0000361A;

    /// <summary>Failed to enabled trusted computer base (TCB) privilege.</summary>

    public const int ERROR_IPSEC_IKE_NOTCBPRIV = 0x0000361B;

    /// <summary>Failed to load SECURITY.DLL.</summary>

    public const int ERROR_IPSEC_IKE_SECLOADFAIL = 0x0000361C;

    /// <summary>Failed to obtain the security function table dispatch address from the SSPI.</summary>

    public const int ERROR_IPSEC_IKE_FAILSSPINIT = 0x0000361D;

    /// <summary>Failed to query the Kerberos package to obtain the max token size.</summary>

    public const int ERROR_IPSEC_IKE_FAILQUERYSSP = 0x0000361E;

    /// <summary>Failed to obtain the Kerberos server credentials for the Internet Security Association and Key Management Protocol (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.</summary>

    public const int ERROR_IPSEC_IKE_SRVACQFAIL = 0x0000361F;

    /// <summary>Failed to determine the SSPI principal name for ISAKMP/ERROR_IPSEC_IKE service (QueryCredentialsAttributes).</summary>

    public const int ERROR_IPSEC_IKE_SRVQUERYCRED = 0x00003620;

    /// <summary>Failed to obtain a new service provider interface (SPI) for the inbound SA from the 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.</summary>

    public const int ERROR_IPSEC_IKE_GETSPIFAIL = 0x00003621;

    /// <summary>Given filter is invalid.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_FILTER = 0x00003622;

    /// <summary>Memory allocation failed.</summary>

    public const int ERROR_IPSEC_IKE_OUT_OF_MEMORY = 0x00003623;

    /// <summary>Failed to add an SA to the 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.</summary>

    public const int ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED = 0x00003624;

    /// <summary>Invalid policy.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_POLICY = 0x00003625;

    /// <summary>Invalid digital object identifier (DOI).</summary>

    public const int ERROR_IPSEC_IKE_UNKNOWN_DOI = 0x00003626;

    /// <summary>Invalid situation.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_SITUATION = 0x00003627;

    /// <summary>Diffie-Hellman failure.</summary>

    public const int ERROR_IPSEC_IKE_DH_FAILURE = 0x00003628;

    /// <summary>Invalid Diffie-Hellman group.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_GROUP = 0x00003629;

    /// <summary>Error encrypting payload.</summary>

    public const int ERROR_IPSEC_IKE_ENCRYPT = 0x0000362A;

    /// <summary>Error decrypting payload.</summary>

    public const int ERROR_IPSEC_IKE_DECRYPT = 0x0000362B;

    /// <summary>Policy match error.</summary>

    public const int ERROR_IPSEC_IKE_POLICY_MATCH = 0x0000362C;

    /// <summary>Unsupported ID.</summary>

    public const int ERROR_IPSEC_IKE_UNSUPPORTED_ID = 0x0000362D;

    /// <summary>Hash verification failed.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_HASH = 0x0000362E;

    /// <summary>Invalid hash algorithm.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_HASH_ALG = 0x0000362F;

    /// <summary>Invalid hash size.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_HASH_SIZE = 0x00003630;

    /// <summary>Invalid encryption algorithm.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG = 0x00003631;

    /// <summary>Invalid authentication algorithm.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_AUTH_ALG = 0x00003632;

    /// <summary>Invalid certificate signature.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_SIG = 0x00003633;

    /// <summary>Load failed.</summary>

    public const int ERROR_IPSEC_IKE_LOAD_FAILED = 0x00003634;

    /// <summary>Deleted by using an RPC call.</summary>

    public const int ERROR_IPSEC_IKE_RPC_DELETE = 0x00003635;

    /// <summary>A temporary state was created to perform reinitialization. This is not a real failure.</summary>

    public const int ERROR_IPSEC_IKE_BENIGN_REINIT = 0x00003636;

    /// <summary>The lifetime value received in the Responder Lifetime Notify is below the Windows 2000 configured minimum value. Fix the policy on the peer machine.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY = 0x00003637;

    /// <summary>Key length in the certificate is too small for configured security requirements.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 0x00003639;

    /// <summary>Maximum number of established MM SAs to peer exceeded.</summary>

    public const int ERROR_IPSEC_IKE_MM_LIMIT = 0x0000363A;

    /// <summary>The IKE received a policy that disables negotiation.</summary>

    public const int ERROR_IPSEC_IKE_NEGOTIATION_DISABLED = 0x0000363B;

    /// <summary>Reached maximum quick mode limit for the main mode. New main mode will be started.</summary>

    public const int ERROR_IPSEC_IKE_QM_LIMIT = 0x0000363C;

    /// <summary>Main mode SA lifetime expired or the peer sent a main mode delete.</summary>

    public const int ERROR_IPSEC_IKE_MM_EXPIRED = 0x0000363D;

    /// <summary>Main mode SA assumed to be invalid because peer stopped responding.</summary>

    public const int ERROR_IPSEC_IKE_PEER_MM_ASSUMED_INVALID = 0x0000363E;

    /// <summary>Certificate does not chain to a trusted root in IPsec policy.</summary>

    public const int ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH = 0x0000363F;

    /// <summary>Received unexpected message ID.</summary>

    public const int ERROR_IPSEC_IKE_UNEXPECTED_MESSAGE_ID = 0x00003640;

    /// <summary>Received invalid AuthIP user mode attributes.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_UMATTS = 0x00003641;

    /// <summary>Sent DOS cookie notify to initiator.</summary>

    public const int ERROR_IPSEC_IKE_DOS_COOKIE_SENT = 0x00003642;

    /// <summary>The IKE service is shutting down.</summary>

    public const int ERROR_IPSEC_IKE_SHUTTING_DOWN = 0x00003643;

    /// <summary>Could not verify the binding between the color graphics adapter (CGA) address and the certificate.</summary>

    public const int ERROR_IPSEC_IKE_CGA_AUTH_FAILED = 0x00003644;

    /// <summary>Error processing the NatOA payload.</summary>

    public const int ERROR_IPSEC_IKE_PROCESS_ERR_NATOA = 0x00003645;

    /// <summary>The parameters of the main mode are invalid for this quick mode.</summary>

    public const int ERROR_IPSEC_IKE_INVALID_MM_FOR_QM = 0x00003646;

    /// <summary>The quick mode SA was expired by the IPsec driver.</summary>

    public const int ERROR_IPSEC_IKE_QM_EXPIRED = 0x00003647;

    /// <summary>Too many dynamically added IKEEXT filters were detected.</summary>

    public const int ERROR_IPSEC_IKE_TOO_MANY_FILTERS = 0x00003648;

    /// <summary>Ends the list of frequencies of various IKE Win32 error codes encountered during negotiations.</summary>

    public const int ERROR_IPSEC_IKE_NEG_STATUS_END = 0x00003649;

    /// <summary>The requested section was not present in the activation context.</summary>

    public const int ERROR_SXS_SECTION_NOT_FOUND = 0x000036B0;

    /// <summary>The application has failed to start because its side-by-side configuration is incorrect. See the application event log for more detail.</summary>

    public const int ERROR_SXS_CANT_GEN_ACTCTX = 0x000036B1;

    /// <summary>The application binding data format is invalid.</summary>

    public const int ERROR_SXS_INVALID_ACTCTXDATA_FORMAT = 0x000036B2;

    /// <summary>The referenced assembly is not installed on your system.</summary>

    public const int ERROR_SXS_ASSEMBLY_NOT_FOUND = 0x000036B3;

    /// <summary>The manifest file does not begin with the required tag and format information.</summary>

    public const int ERROR_SXS_MANIFEST_FORMAT_ERROR = 0x000036B4;

    /// <summary>The manifest file contains one or more syntax errors.</summary>

    public const int ERROR_SXS_MANIFEST_PARSE_ERROR = 0x000036B5;

    /// <summary>The application attempted to activate a disabled activation context.</summary>

    public const int ERROR_SXS_ACTIVATION_CONTEXT_DISABLED = 0x000036B6;

    /// <summary>The requested lookup key was not found in any active activation context.</summary>

    public const int ERROR_SXS_KEY_NOT_FOUND = 0x000036B7;

    /// <summary>A component version required by the application conflicts with another active component version.</summary>

    public const int ERROR_SXS_VERSION_CONFLICT = 0x000036B8;

    /// <summary>The type requested activation context section does not match the query API used.</summary>

    public const int ERROR_SXS_WRONG_SECTION_TYPE = 0x000036B9;

    /// <summary>Lack of system resources has required isolated activation to be disabled for the current thread of execution.</summary>

    public const int ERROR_SXS_THREAD_QUERIES_DISABLED = 0x000036BA;

    /// <summary>An attempt to set the process default activation context failed because the process default activation context was already set.</summary>

    public const int ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET = 0x000036BB;

    /// <summary>The encoding group identifier specified is not recognized.</summary>

    public const int ERROR_SXS_UNKNOWN_ENCODING_GROUP = 0x000036BC;

    /// <summary>The encoding requested is not recognized.</summary>

    public const int ERROR_SXS_UNKNOWN_ENCODING = 0x000036BD;

    /// <summary>The manifest contains a reference to an invalid URI.</summary>

    public const int ERROR_SXS_INVALID_XML_NAMESPACE_URI = 0x000036BE;

    /// <summary>The application manifest contains a reference to a dependent assembly that is not installed.</summary>

    public const int ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_OT_INSTALLED = 0x000036BF;

    /// <summary>The manifest for an assembly used by the application has a reference to a dependent assembly that is not installed.</summary>

    public const int ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED = 0x000036C0;

    /// <summary>The manifest contains an attribute for the assembly identity that is not valid.</summary>

    public const int ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE = 0x000036C1;

    /// <summary>The manifest is missing the required default namespace specification on the assembly element.</summary>

    public const int ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE = 0x000036C2;

    /// <summary>The manifest has a default namespace specified on the assembly element but its value is not urn:schemas-microsoft-com:asm.v1"."</summary>

    public const int ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE = 0x000036C3;

    /// <summary>The private manifest probed has crossed the reparse-point-associated path.</summary>

    public const int ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT = 0x000036C4;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest have files by the same name.</summary>

    public const int ERROR_SXS_DUPLICATE_DLL_NAME = 0x000036C5;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest have window classes with the same name.</summary>

    public const int ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME = 0x000036C6;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest have the same COM server CLSIDs.</summary>

    public const int ERROR_SXS_DUPLICATE_CLSID = 0x000036C7;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest have proxies for the same COM interface IIDs.</summary>

    public const int ERROR_SXS_DUPLICATE_IID = 0x000036C8;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest have the same COM type library TLBIDs.</summary>

    public const int ERROR_SXS_DUPLICATE_TLBID = 0x000036C9;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest have the same COM ProgIDs.</summary>

    public const int ERROR_SXS_DUPLICATE_PROGID = 0x000036CA;

    /// <summary>Two or more components referenced directly or indirectly by the application manifest are different versions of the same component, which is not permitted.</summary>

    public const int ERROR_SXS_DUPLICATE_ASSEMBLY_NAME = 0x000036CB;

    /// <summary>A component's file does not match the verification information present in the component manifest.</summary>

    public const int ERROR_SXS_FILE_HASH_MISMATCH = 0x000036CC;

    /// <summary>The policy manifest contains one or more syntax errors.</summary>

    public const int ERROR_SXS_POLICY_PARSE_ERROR = 0x000036CD;

    /// <summary>Manifest Parse Error: A string literal was expected, but no opening quotation mark was found.</summary>

    public const int ERROR_SXS_XML_E_MISSINGQUOTE = 0x000036CE;

    /// <summary>Manifest Parse Error: Incorrect syntax was used in a comment.</summary>

    public const int ERROR_SXS_XML_E_COMMENTSYNTAX = 0x000036CF;

    /// <summary>Manifest Parse Error: A name started with an invalid character.</summary>

    public const int ERROR_SXS_XML_E_BADSTARTNAMECHAR = 0x000036D0;

    /// <summary>Manifest Parse Error: A name contained an invalid character.</summary>

    public const int ERROR_SXS_XML_E_BADNAMECHAR = 0x000036D1;

    /// <summary>Manifest Parse Error: A string literal contained an invalid character.</summary>

    public const int ERROR_SXS_XML_E_BADCHARINSTRING = 0x000036D2;

    /// <summary>Manifest Parse Error: Invalid syntax for an XML declaration.</summary>

    public const int ERROR_SXS_XML_E_XMLDECLSYNTAX = 0x000036D3;

    /// <summary>Manifest Parse Error: An Invalid character was found in text content.</summary>

    public const int ERROR_SXS_XML_E_BADCHARDATA = 0x000036D4;

    /// <summary>Manifest Parse Error: Required white space was missing.</summary>

    public const int ERROR_SXS_XML_E_MISSINGWHITESPACE = 0x000036D5;

    /// <summary>Manifest Parse Error: The angle bracket (>https://www.pinvoke.net/emoticons/wink_smile.gif character was expected.</summary>

    public const int ERROR_SXS_XML_E_EXPECTINGTAGEND = 0x000036D6;

    /// <summary>Manifest Parse Error: A semicolon (https://www.pinvoke.net/emoticons/wink_smile.gif was expected.</summary>

    public const int ERROR_SXS_XML_E_MISSINGSEMICOLON = 0x000036D7;

    /// <summary>Manifest Parse Error: Unbalanced parentheses.</summary>

    public const int ERROR_SXS_XML_E_UNBALANCEDPAREN = 0x000036D8;

    /// <summary>Manifest Parse Error: Internal error.</summary>

    public const int ERROR_SXS_XML_E_INTERNALERROR = 0x000036D9;

    /// <summary>Manifest Parse Error: Whitespace is not allowed at this location.</summary>

    public const int ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE = 0x000036DA;

    /// <summary>Manifest Parse Error: End of file reached in invalid state for current encoding.</summary>

    public const int ERROR_SXS_XML_E_INCOMPLETE_ENCODING = 0x000036DB;

    /// <summary>Manifest Parse Error: Missing parenthesis.</summary>

    public const int ERROR_SXS_XML_E_MISSING_PAREN = 0x000036DC;

    /// <summary>Manifest Parse Error: A single (') or double (") quotation mark is missing.</summary>

    public const int ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE = 0x000036DD;

    /// <summary>Manifest Parse Error: Multiple colons are not allowed in a name.</summary>

    public const int ERROR_SXS_XML_E_MULTIPLE_COLONS = 0x000036DE;

    /// <summary>Manifest Parse Error: Invalid character for decimal digit.</summary>

    public const int ERROR_SXS_XML_E_INVALID_DECIMAL = 0x000036DF;

    /// <summary>Manifest Parse Error: Invalid character for hexadecimal digit.</summary>

    public const int ERROR_SXS_XML_E_INVALID_HEXIDECIMAL = 0x000036E0;

    /// <summary>Manifest Parse Error: Invalid Unicode character value for this platform.</summary>

    public const int ERROR_SXS_XML_E_INVALID_UNICODE = 0x000036E1;

    /// <summary>Manifest Parse Error: Expecting whitespace or question mark (?).</summary>

    public const int ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK = 0x000036E2;

    /// <summary>Manifest Parse Error: End tag was not expected at this location.</summary>

    public const int ERROR_SXS_XML_E_UNEXPECTEDENDTAG = 0x000036E3;

    /// <summary>Manifest Parse Error: The following tags were not closed: %1.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDTAG = 0x000036E4;

    /// <summary>Manifest Parse Error: Duplicate attribute.</summary>

    public const int ERROR_SXS_XML_E_DUPLICATEATTRIBUTE = 0x000036E5;

    /// <summary>Manifest Parse Error: Only one top-level element is allowed in an XML document.</summary>

    public const int ERROR_SXS_XML_E_MULTIPLEROOTS = 0x000036E6;

    /// <summary>Manifest Parse Error: Invalid at the top level of the document.</summary>

    public const int ERROR_SXS_XML_E_INVALIDATROOTLEVEL = 0x000036E7;

    /// <summary>Manifest Parse Error: Invalid XML declaration.</summary>

    public const int ERROR_SXS_XML_E_BADXMLDECL = 0x000036E8;

    /// <summary>Manifest Parse Error: XML document must have a top-level element.</summary>

    public const int ERROR_SXS_XML_E_MISSINGROOT = 0x000036E9;

    /// <summary>Manifest Parse Error: Unexpected end of file.</summary>

    public const int ERROR_SXS_XML_E_UNEXPECTEDEOF = 0x000036EA;

    /// <summary>Manifest Parse Error: Parameter entities cannot be used inside markup declarations in an internal subset.</summary>

    public const int ERROR_SXS_XML_E_BADPEREFINSUBSET = 0x000036EB;

    /// <summary>Manifest Parse Error: Element was not closed.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDSTARTTAG = 0x000036EC;

    /// <summary>Manifest Parse Error: End element was missing the angle bracket (>https://www.pinvoke.net/emoticons/wink_smile.gif character.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDENDTAG = 0x000036ED;

    /// <summary>Manifest Parse Error: A string literal was not closed.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDSTRING = 0x000036EE;

    /// <summary>Manifest Parse Error: A comment was not closed.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDCOMMENT = 0x000036EF;

    /// <summary>Manifest Parse Error: A declaration was not closed.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDDECL = 0x000036F0;

    /// <summary>Manifest Parse Error: A CDATA section was not closed.</summary>

    public const int ERROR_SXS_XML_E_UNCLOSEDCDATA = 0x000036F1;

    /// <summary>Manifest Parse Error: The namespace prefix is not allowed to start with the reserved string xml"."</summary>

    public const int ERROR_SXS_XML_E_RESERVEDNAMESPACE = 0x000036F2;

    /// <summary>Manifest Parse Error: System does not support the specified encoding.</summary>

    public const int ERROR_SXS_XML_E_INVALIDENCODING = 0x000036F3;

    /// <summary>Manifest Parse Error: Switch from current encoding to specified encoding not supported.</summary>

    public const int ERROR_SXS_XML_E_INVALIDSWITCH = 0x000036F4;

    /// <summary>Manifest Parse Error: The name "xml" is reserved and must be lowercase.</summary>

    public const int ERROR_SXS_XML_E_BADXMLCASE = 0x000036F5;

    /// <summary>Manifest Parse Error: The stand-alone attribute must have the value "yes" or "no".</summary>

    public const int ERROR_SXS_XML_E_INVALID_STANDALONE = 0x000036F6;

    /// <summary>Manifest Parse Error: The stand-alone attribute cannot be used in external entities.</summary>

    public const int ERROR_SXS_XML_E_UNEXPECTED_STANDALONE = 0x000036F7;

    /// <summary>Manifest Parse Error: Invalid version number.</summary>

    public const int ERROR_SXS_XML_E_INVALID_VERSION = 0x000036F8;

    /// <summary>Manifest Parse Error: Missing equal sign (=) between the attribute and the attribute value.</summary>

    public const int ERROR_SXS_XML_E_MISSINGEQUALS = 0x000036F9;

    /// <summary>Assembly Protection Error: Unable to recover the specified assembly.</summary>

    public const int ERROR_SXS_PROTECTION_RECOVERY_FAILED = 0x000036FA;

    /// <summary>Assembly Protection Error: The public key for an assembly was too short to be allowed.</summary>

    public const int ERROR_SXS_PROTECTION_PUBLIC_KEY_OO_SHORT = 0x000036FB;

    /// <summary>Assembly Protection Error: The catalog for an assembly is not valid, or does not match the assembly's manifest.</summary>

    public const int ERROR_SXS_PROTECTION_CATALOG_NOT_VALID = 0x000036FC;

    /// <summary>An HRESULT could not be translated to a corresponding Win32 error code.</summary>

    public const int ERROR_SXS_UNTRANSLATABLE_HRESULT = 0x000036FD;

    /// <summary>Assembly Protection Error: The catalog for an assembly is missing.</summary>

    public const int ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING = 0x000036FE;

    /// <summary>The supplied assembly identity is missing one or more attributes that must be present in this context.</summary>

    public const int ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE = 0x000036FF;

    /// <summary>The supplied assembly identity has one or more attribute names that contain characters not permitted in XML names.</summary>

    public const int ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME = 0x00003700;

    /// <summary>The referenced assembly could not be found.</summary>

    public const int ERROR_SXS_ASSEMBLY_MISSING = 0x00003701;

    /// <summary>The activation context activation stack for the running thread of execution is corrupt.</summary>

    public const int ERROR_SXS_CORRUPT_ACTIVATION_STACK = 0x00003702;

    /// <summary>The application isolation metadata for this process or thread has become corrupt.</summary>

    public const int ERROR_SXS_CORRUPTION = 0x00003703;

    /// <summary>The activation context being deactivated is not the most recently activated one.</summary>

    public const int ERROR_SXS_EARLY_DEACTIVATION = 0x00003704;

    /// <summary>The activation context being deactivated is not active for the current thread of execution.</summary>

    public const int ERROR_SXS_INVALID_DEACTIVATION = 0x00003705;

    /// <summary>The activation context being deactivated has already been deactivated.</summary>

    public const int ERROR_SXS_MULTIPLE_DEACTIVATION = 0x00003706;

    /// <summary>A component used by the isolation facility has requested to terminate the process.</summary>

    public const int ERROR_SXS_PROCESS_TERMINATION_REQUESTED = 0x00003707;

    /// <summary>A kernel mode component is releasing a reference on an activation context.</summary>

    public const int ERROR_SXS_RELEASE_ACTIVATION_ONTEXT = 0x00003708;

    /// <summary>The activation context of the system default assembly could not be generated.</summary>

    public const int ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY = 0x00003709;

    /// <summary>The value of an attribute in an identity is not within the legal range.</summary>

    public const int ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE = 0x0000370A;

    /// <summary>The name of an attribute in an identity is not within the legal range.</summary>

    public const int ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME = 0x0000370B;

    /// <summary>An identity contains two definitions for the same attribute.</summary>

    public const int ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE = 0x0000370C;

    /// <summary>The identity string is malformed. This might be due to a trailing comma, more than two unnamed attributes, a missing attribute name, or a missing attribute value.</summary>

    public const int ERROR_SXS_IDENTITY_PARSE_ERROR = 0x0000370D;

    /// <summary>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 a substitution's right parenthesis was not found.</summary>

    public const int ERROR_MALFORMED_SUBSTITUTION_STRING = 0x0000370E;

    /// <summary>The public key token does not correspond to the public key specified.</summary>

    public const int ERROR_SXS_INCORRECT_PUBLIC_KEY_OKEN = 0x0000370F;

    /// <summary>A substitution string had no mapping.</summary>

    public const int ERROR_UNMAPPED_SUBSTITUTION_STRING = 0x00003710;

    /// <summary>The component must be locked before making the request.</summary>

    public const int ERROR_SXS_ASSEMBLY_NOT_LOCKED = 0x00003711;

    /// <summary>The component store has been corrupted.</summary>

    public const int ERROR_SXS_COMPONENT_STORE_CORRUPT = 0x00003712;

    /// <summary>An advanced installer failed during setup or servicing.</summary>

    public const int ERROR_ADVANCED_INSTALLER_FAILED = 0x00003713;

    /// <summary>The character encoding in the XML declaration did not match the encoding used in the document.</summary>

    public const int ERROR_XML_ENCODING_MISMATCH = 0x00003714;

    /// <summary>The identities of the manifests are identical, but the contents are different.</summary>

    public const int ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT = 0x00003715;

    /// <summary>The component identities are different.</summary>

    public const int ERROR_SXS_IDENTITIES_DIFFERENT = 0x00003716;

    /// <summary>The assembly is not a deployment.</summary>

    public const int ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT = 0x00003717;

    /// <summary>The file is not a part of the assembly.</summary>

    public const int ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY = 0x00003718;

    /// <summary>The size of the manifest exceeds the maximum allowed.</summary>

    public const int ERROR_SXS_MANIFEST_TOO_BIG = 0x00003719;

    /// <summary>The setting is not registered.</summary>

    public const int ERROR_SXS_SETTING_NOT_REGISTERED = 0x0000371A;

    /// <summary>One or more required members of the transaction are not present.</summary>

    public const int ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE = 0x0000371B;

    /// <summary>The specified channel path is invalid.</summary>

    public const int ERROR_EVT_INVALID_CHANNEL_PATH = 0x00003A98;

    /// <summary>The specified query is invalid.</summary>

    public const int ERROR_EVT_INVALID_QUERY = 0x00003A99;

    /// <summary>The publisher metadata cannot be found in the resource.</summary>

    public const int ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND = 0x00003A9A;

    /// <summary>The template for an event definition cannot be found in the resource (error = %1).</summary>

    public const int ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND = 0x00003A9B;

    /// <summary>The specified publisher name is invalid.</summary>

    public const int ERROR_EVT_INVALID_PUBLISHER_NAME = 0x00003A9C;

    /// <summary>The event data raised by the publisher is not compatible with the event template definition in the publisher's manifest.</summary>

    public const int ERROR_EVT_INVALID_EVENT_DATA = 0x00003A9D;

    /// <summary>The specified channel could not be found. Check channel configuration.</summary>

    public const int ERROR_EVT_CHANNEL_NOT_FOUND = 0x00003A9F;

    /// <summary>The specified XML text was not well-formed. See extended error for more details.</summary>

    public const int ERROR_EVT_MALFORMED_XML_TEXT = 0x00003AA0;

    /// <summary>The caller is trying to subscribe to a direct channel which is not allowed. The events for a direct channel go directly to a log file and cannot be subscribed to.</summary>

    public const int ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL = 0x00003AA1;

    /// <summary>Configuration error.</summary>

    public const int ERROR_EVT_CONFIGURATION_ERROR = 0x00003AA2;

    /// <summary>The query result is stale or invalid. This might 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.</summary>

    public const int ERROR_EVT_QUERY_RESULT_STALE = 0x00003AA3;

    /// <summary>Query result is currently at an invalid position.</summary>

    public const int ERROR_EVT_QUERY_RESULT_INVALID_POSITION = 0x00003AA4;

    /// <summary>Registered Microsoft XML (MSXML) does not support validation.</summary>

    public const int ERROR_EVT_NON_VALIDATING_MSXML = 0x00003AA5;

    /// <summary>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.</summary>

    public const int ERROR_EVT_FILTER_ALREADYSCOPED = 0x00003AA6;

    /// <summary>Cannot perform a step operation from a term that does not represent an element set.</summary>

    public const int ERROR_EVT_FILTER_NOTELTSET = 0x00003AA7;

    /// <summary>Left side arguments to binary operators must be either attributes, nodes, or variables and right side arguments must be public constants.</summary>

    public const int ERROR_EVT_FILTER_INVARG = 0x00003AA8;

    /// <summary>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 preceding node set can be evaluated.</summary>

    public const int ERROR_EVT_FILTER_INVTEST = 0x00003AA9;

    /// <summary>This data type is currently unsupported.</summary>

    public const int ERROR_EVT_FILTER_INVTYPE = 0x00003AAA;

    /// <summary>A syntax error occurred at position %1!d!</summary>

    public const int ERROR_EVT_FILTER_PARSEERR = 0x00003AAB;

    /// <summary>This operator is unsupported by this implementation of the filter.</summary>

    public const int ERROR_EVT_FILTER_UNSUPPORTEDOP = 0x00003AAC;

    /// <summary>The token encountered was unexpected.</summary>

    public const int ERROR_EVT_FILTER_UNEXPECTEDTOKEN = 0x00003AAD;

    /// <summary>The requested operation cannot be performed over an enabled direct channel. The channel must first be disabled before performing the requested operation.</summary>

    public const int ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL = 0x00003AAE;

    /// <summary>Channel property %1!s! contains an invalid value. The value has an invalid type, is outside the valid range, cannot be updated, or is not supported by this type of channel.</summary>

    public const int ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE = 0x00003AAF;

    /// <summary>Publisher property %1!s! contains an invalid value. The value has an invalid type, is outside the valid range, cannot be updated, or is not supported by this type of publisher.</summary>

    public const int ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE = 0x00003AB0;

    /// <summary>The channel fails to activate.</summary>

    public const int ERROR_EVT_CHANNEL_CANNOT_ACTIVATE = 0x00003AB1;

    /// <summary>The xpath expression exceeded supported complexity. Simplify it or split it into two or more simple expressions.</summary>

    public const int ERROR_EVT_FILTER_TOO_COMPLEX = 0x00003AB2;

    /// <summary>The message resource is present but the message is not found in the string or message table.</summary>

    public const int ERROR_EVT_MESSAGE_NOT_FOUND = 0x00003AB3;

    /// <summary>The message ID for the desired message could not be found.</summary>

    public const int ERROR_EVT_MESSAGE_ID_NOT_FOUND = 0x00003AB4;

    /// <summary>The substitution string for the insert index (%1) could not be found.</summary>

    public const int ERROR_EVT_UNRESOLVED_VALUE_INSERT = 0x00003AB5;

    /// <summary>The description string for the parameter reference (%1) could not be found.</summary>

    public const int ERROR_EVT_UNRESOLVED_PARAMETER_INSERT = 0x00003AB6;

    /// <summary>The maximum number of replacements has been reached.</summary>

    public const int ERROR_EVT_MAX_INSERTS_REACHED = 0x00003AB7;

    /// <summary>The event definition could not be found for the event ID (%1).</summary>

    public const int ERROR_EVT_EVENT_DEFINITION_NOT_OUND = 0x00003AB8;

    /// <summary>The locale-specific resource for the desired message is not present.</summary>

    public const int ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND = 0x00003AB9;

    /// <summary>The resource is too old to be compatible.</summary>

    public const int ERROR_EVT_VERSION_TOO_OLD = 0x00003ABA;

    /// <summary>The resource is too new to be compatible.</summary>

    public const int ERROR_EVT_VERSION_TOO_NEW = 0x00003ABB;

    /// <summary>The channel at index %1 of the query cannot be opened.</summary>

    public const int ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY = 0x00003ABC;

    /// <summary>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.</summary>

    public const int ERROR_EVT_PUBLISHER_DISABLED = 0x00003ABD;

    /// <summary>The subscription fails to activate.</summary>

    public const int ERROR_EC_SUBSCRIPTION_CANNOT_ACTIVATE = 0x00003AE8;

    /// <summary>The log of the subscription is in a disabled state and events cannot be forwarded to it. The log must first be enabled before the subscription can be activated.</summary>

    public const int ERROR_EC_LOG_DISABLED = 0x00003AE9;

    /// <summary>The resource loader failed to find the Multilingual User Interface (MUI) file.</summary>

    public const int ERROR_MUI_FILE_NOT_FOUND = 0x00003AFC;

    /// <summary>The resource loader failed to load the MUI file because the file failed to pass validation.</summary>

    public const int ERROR_MUI_INVALID_FILE = 0x00003AFD;

    /// <summary>The release candidate (RC) manifest is corrupted with garbage data, is an unsupported version, or is missing a required item.</summary>

    public const int ERROR_MUI_INVALID_RC_CONFIG = 0x00003AFE;

    /// <summary>The RC manifest has an invalid culture name.</summary>

    public const int ERROR_MUI_INVALID_LOCALE_NAME = 0x00003AFF;

    /// <summary>The RC Manifest has an invalid ultimate fallback name.</summary>

    public const int ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME = 0x00003B00;

    /// <summary>The resource loader cache does not have a loaded MUI entry.</summary>

    public const int ERROR_MUI_FILE_NOT_LOADED = 0x00003B01;

    /// <summary>The user stopped resource enumeration.</summary>

    public const int ERROR_RESOURCE_ENUM_USER_STOP = 0x00003B02;

    /// <summary>User interface language installation failed.</summary>

    public const int ERROR_MUI_INTLSETTINGS_UILANG_NOT_INSTALLED = 0x00003B03;

    /// <summary>Locale installation failed.</summary>

    public const int ERROR_MUI_INTLSETTINGS_INVALID_LOCALE_NAME = 0x00003B04;

    /// <summary>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.</summary>

    public const int ERROR_MCA_INVALID_CAPABILITIES_STRING = 0x00003B60;

    /// <summary>The monitor's VCP version (0xDF) VCP code returned an invalid version value.</summary>

    public const int ERROR_MCA_INVALID_VCP_VERSION = 0x00003B61;

    /// <summary>The monitor does not comply with the MCCS specification it claims to support.</summary>

    public const int ERROR_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION = 0x00003B62;

    /// <summary>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.</summary>

    public const int ERROR_MCA_MCCS_VERSION_MISMATCH = 0x00003B63;

    /// <summary>The monitor configuration API works only with monitors that support the MCCS 1.0, MCCS 2.0, or MCCS 2.0 Revision 1 specifications.</summary>

    public const int ERROR_MCA_UNSUPPORTED_MCCS_VERSION = 0x00003B64;

    /// <summary>An internal monitor configuration API error occurred.</summary>

    public const int ERROR_MCA_INTERNAL_ERROR = 0x00003B65;

    /// <summary>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.</summary>

    public const int ERROR_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED = 0x00003B66;

    /// <summary>The SetMonitorColorTemperature() caller passed a color temperature to it that the current monitor did not support. 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.</summary>

    public const int ERROR_MCA_UNSUPPORTED_COLOR_TEMPERATURE = 0x00003B67;

    /// <summary>The requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria.</summary>

    public const int ERROR_AMBIGUOUS_SYSTEM_DEVICE = 0x00003B92;

    /// <summary>The requested system device cannot be found.</summary>

    public const int ERROR_SYSTEM_DEVICE_NOT_FOUND = 0x00003BC3;

    }

Notes:

Win32 error codes can be found both in 16-bit fields and 32-bit fields. And every value has a default message defined, which can be understood by Windows users. For example, if you see Win 32 error code 5, it means access is denied, which is possible to lead to troubles running programs or saving its data.

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions