1/// Codes are from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d
2pub const Win32Error = enum(u16) {
3    /// The operation completed successfully.
4    SUCCESS = 0,
5    /// Incorrect function.
6    INVALID_FUNCTION = 1,
7    /// The system cannot find the file specified.
8    FILE_NOT_FOUND = 2,
9    /// The system cannot find the path specified.
10    PATH_NOT_FOUND = 3,
11    /// The system cannot open the file.
12    TOO_MANY_OPEN_FILES = 4,
13    /// Access is denied.
14    ACCESS_DENIED = 5,
15    /// The handle is invalid.
16    INVALID_HANDLE = 6,
17    /// The storage control blocks were destroyed.
18    ARENA_TRASHED = 7,
19    /// Not enough storage is available to process this command.
20    NOT_ENOUGH_MEMORY = 8,
21    /// The storage control block address is invalid.
22    INVALID_BLOCK = 9,
23    /// The environment is incorrect.
24    BAD_ENVIRONMENT = 10,
25    /// An attempt was made to load a program with an incorrect format.
26    BAD_FORMAT = 11,
27    /// The access code is invalid.
28    INVALID_ACCESS = 12,
29    /// The data is invalid.
30    INVALID_DATA = 13,
31    /// Not enough storage is available to complete this operation.
32    OUTOFMEMORY = 14,
33    /// The system cannot find the drive specified.
34    INVALID_DRIVE = 15,
35    /// The directory cannot be removed.
36    CURRENT_DIRECTORY = 16,
37    /// The system cannot move the file to a different disk drive.
38    NOT_SAME_DEVICE = 17,
39    /// There are no more files.
40    NO_MORE_FILES = 18,
41    /// The media is write protected.
42    WRITE_PROTECT = 19,
43    /// The system cannot find the device specified.
44    BAD_UNIT = 20,
45    /// The device is not ready.
46    NOT_READY = 21,
47    /// The device does not recognize the command.
48    BAD_COMMAND = 22,
49    /// Data error (cyclic redundancy check).
50    CRC = 23,
51    /// The program issued a command but the command length is incorrect.
52    BAD_LENGTH = 24,
53    /// The drive cannot locate a specific area or track on the disk.
54    SEEK = 25,
55    /// The specified disk or diskette cannot be accessed.
56    NOT_DOS_DISK = 26,
57    /// The drive cannot find the sector requested.
58    SECTOR_NOT_FOUND = 27,
59    /// The printer is out of paper.
60    OUT_OF_PAPER = 28,
61    /// The system cannot write to the specified device.
62    WRITE_FAULT = 29,
63    /// The system cannot read from the specified device.
64    READ_FAULT = 30,
65    /// A device attached to the system is not functioning.
66    GEN_FAILURE = 31,
67    /// The process cannot access the file because it is being used by another process.
68    SHARING_VIOLATION = 32,
69    /// The process cannot access the file because another process has locked a portion of the file.
70    LOCK_VIOLATION = 33,
71    /// The wrong diskette is in the drive.
72    /// Insert %2 (Volume Serial Number: %3) into drive %1.
73    WRONG_DISK = 34,
74    /// Too many files opened for sharing.
75    SHARING_BUFFER_EXCEEDED = 36,
76    /// Reached the end of the file.
77    HANDLE_EOF = 38,
78    /// The disk is full.
79    HANDLE_DISK_FULL = 39,
80    /// The request is not supported.
81    NOT_SUPPORTED = 50,
82    /// Windows cannot find the network path.
83    /// Verify that the network path is correct and the destination computer is not busy or turned off.
84    /// If Windows still cannot find the network path, contact your network administrator.
85    REM_NOT_LIST = 51,
86    /// You were not connected because a duplicate name exists on the network.
87    /// If joining a domain, go to System in Control Panel to change the computer name and try again.
88    /// If joining a workgroup, choose another workgroup name.
89    DUP_NAME = 52,
90    /// The network path was not found.
91    BAD_NETPATH = 53,
92    /// The network is busy.
93    NETWORK_BUSY = 54,
94    /// The specified network resource or device is no longer available.
95    DEV_NOT_EXIST = 55,
96    /// The network BIOS command limit has been reached.
97    TOO_MANY_CMDS = 56,
98    /// A network adapter hardware error occurred.
99    ADAP_HDW_ERR = 57,
100    /// The specified server cannot perform the requested operation.
101    BAD_NET_RESP = 58,
102    /// An unexpected network error occurred.
103    UNEXP_NET_ERR = 59,
104    /// The remote adapter is not compatible.
105    BAD_REM_ADAP = 60,
106    /// The printer queue is full.
107    PRINTQ_FULL = 61,
108    /// Space to store the file waiting to be printed is not available on the server.
109    NO_SPOOL_SPACE = 62,
110    /// Your file waiting to be printed was deleted.
111    PRINT_CANCELLED = 63,
112    /// The specified network name is no longer available.
113    NETNAME_DELETED = 64,
114    /// Network access is denied.
115    NETWORK_ACCESS_DENIED = 65,
116    /// The network resource type is not correct.
117    BAD_DEV_TYPE = 66,
118    /// The network name cannot be found.
119    BAD_NET_NAME = 67,
120    /// The name limit for the local computer network adapter card was exceeded.
121    TOO_MANY_NAMES = 68,
122    /// The network BIOS session limit was exceeded.
123    TOO_MANY_SESS = 69,
124    /// The remote server has been paused or is in the process of being started.
125    SHARING_PAUSED = 70,
126    /// No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.
127    REQ_NOT_ACCEP = 71,
128    /// The specified printer or disk device has been paused.
129    REDIR_PAUSED = 72,
130    /// The file exists.
131    FILE_EXISTS = 80,
132    /// The directory or file cannot be created.
133    CANNOT_MAKE = 82,
134    /// Fail on INT 24.
135    FAIL_I24 = 83,
136    /// Storage to process this request is not available.
137    OUT_OF_STRUCTURES = 84,
138    /// The local device name is already in use.
139    ALREADY_ASSIGNED = 85,
140    /// The specified network password is not correct.
141    INVALID_PASSWORD = 86,
142    /// The parameter is incorrect.
143    INVALID_PARAMETER = 87,
144    /// A write fault occurred on the network.
145    NET_WRITE_FAULT = 88,
146    /// The system cannot start another process at this time.
147    NO_PROC_SLOTS = 89,
148    /// Cannot create another system semaphore.
149    TOO_MANY_SEMAPHORES = 100,
150    /// The exclusive semaphore is owned by another process.
151    EXCL_SEM_ALREADY_OWNED = 101,
152    /// The semaphore is set and cannot be closed.
153    SEM_IS_SET = 102,
154    /// The semaphore cannot be set again.
155    TOO_MANY_SEM_REQUESTS = 103,
156    /// Cannot request exclusive semaphores at interrupt time.
157    INVALID_AT_INTERRUPT_TIME = 104,
158    /// The previous ownership of this semaphore has ended.
159    SEM_OWNER_DIED = 105,
160    /// Insert the diskette for drive %1.
161    SEM_USER_LIMIT = 106,
162    /// The program stopped because an alternate diskette was not inserted.
163    DISK_CHANGE = 107,
164    /// The disk is in use or locked by another process.
165    DRIVE_LOCKED = 108,
166    /// The pipe has been ended.
167    BROKEN_PIPE = 109,
168    /// The system cannot open the device or file specified.
169    OPEN_FAILED = 110,
170    /// The file name is too long.
171    BUFFER_OVERFLOW = 111,
172    /// There is not enough space on the disk.
173    DISK_FULL = 112,
174    /// No more internal file identifiers available.
175    NO_MORE_SEARCH_HANDLES = 113,
176    /// The target internal file identifier is incorrect.
177    INVALID_TARGET_HANDLE = 114,
178    /// The IOCTL call made by the application program is not correct.
179    INVALID_CATEGORY = 117,
180    /// The verify-on-write switch parameter value is not correct.
181    INVALID_VERIFY_SWITCH = 118,
182    /// The system does not support the command requested.
183    BAD_DRIVER_LEVEL = 119,
184    /// This function is not supported on this system.
185    CALL_NOT_IMPLEMENTED = 120,
186    /// The semaphore timeout period has expired.
187    SEM_TIMEOUT = 121,
188    /// The data area passed to a system call is too small.
189    INSUFFICIENT_BUFFER = 122,
190    /// The filename, directory name, or volume label syntax is incorrect.
191    INVALID_NAME = 123,
192    /// The system call level is not correct.
193    INVALID_LEVEL = 124,
194    /// The disk has no volume label.
195    NO_VOLUME_LABEL = 125,
196    /// The specified module could not be found.
197    MOD_NOT_FOUND = 126,
198    /// The specified procedure could not be found.
199    PROC_NOT_FOUND = 127,
200    /// There are no child processes to wait for.
201    WAIT_NO_CHILDREN = 128,
202    /// The %1 application cannot be run in Win32 mode.
203    CHILD_NOT_COMPLETE = 129,
204    /// Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
205    DIRECT_ACCESS_HANDLE = 130,
206    /// An attempt was made to move the file pointer before the beginning of the file.
207    NEGATIVE_SEEK = 131,
208    /// The file pointer cannot be set on the specified device or file.
209    SEEK_ON_DEVICE = 132,
210    /// A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
211    IS_JOIN_TARGET = 133,
212    /// An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
213    IS_JOINED = 134,
214    /// An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
215    IS_SUBSTED = 135,
216    /// The system tried to delete the JOIN of a drive that is not joined.
217    NOT_JOINED = 136,
218    /// The system tried to delete the substitution of a drive that is not substituted.
219    NOT_SUBSTED = 137,
220    /// The system tried to join a drive to a directory on a joined drive.
221    JOIN_TO_JOIN = 138,
222    /// The system tried to substitute a drive to a directory on a substituted drive.
223    SUBST_TO_SUBST = 139,
224    /// The system tried to join a drive to a directory on a substituted drive.
225    JOIN_TO_SUBST = 140,
226    /// The system tried to SUBST a drive to a directory on a joined drive.
227    SUBST_TO_JOIN = 141,
228    /// The system cannot perform a JOIN or SUBST at this time.
229    BUSY_DRIVE = 142,
230    /// The system cannot join or substitute a drive to or for a directory on the same drive.
231    SAME_DRIVE = 143,
232    /// The directory is not a subdirectory of the root directory.
233    DIR_NOT_ROOT = 144,
234    /// The directory is not empty.
235    DIR_NOT_EMPTY = 145,
236    /// The path specified is being used in a substitute.
237    IS_SUBST_PATH = 146,
238    /// Not enough resources are available to process this command.
239    IS_JOIN_PATH = 147,
240    /// The path specified cannot be used at this time.
241    PATH_BUSY = 148,
242    /// An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
243    IS_SUBST_TARGET = 149,
244    /// System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
245    SYSTEM_TRACE = 150,
246    /// The number of specified semaphore events for DosMuxSemWait is not correct.
247    INVALID_EVENT_COUNT = 151,
248    /// DosMuxSemWait did not execute; too many semaphores are already set.
249    TOO_MANY_MUXWAITERS = 152,
250    /// The DosMuxSemWait list is not correct.
251    INVALID_LIST_FORMAT = 153,
252    /// The volume label you entered exceeds the label character limit of the target file system.
253    LABEL_TOO_LONG = 154,
254    /// Cannot create another thread.
255    TOO_MANY_TCBS = 155,
256    /// The recipient process has refused the signal.
257    SIGNAL_REFUSED = 156,
258    /// The segment is already discarded and cannot be locked.
259    DISCARDED = 157,
260    /// The segment is already unlocked.
261    NOT_LOCKED = 158,
262    /// The address for the thread ID is not correct.
263    BAD_THREADID_ADDR = 159,
264    /// One or more arguments are not correct.
265    BAD_ARGUMENTS = 160,
266    /// The specified path is invalid.
267    BAD_PATHNAME = 161,
268    /// A signal is already pending.
269    SIGNAL_PENDING = 162,
270    /// No more threads can be created in the system.
271    MAX_THRDS_REACHED = 164,
272    /// Unable to lock a region of a file.
273    LOCK_FAILED = 167,
274    /// The requested resource is in use.
275    BUSY = 170,
276    /// Device's command support detection is in progress.
277    DEVICE_SUPPORT_IN_PROGRESS = 171,
278    /// A lock request was not outstanding for the supplied cancel region.
279    CANCEL_VIOLATION = 173,
280    /// The file system does not support atomic changes to the lock type.
281    ATOMIC_LOCKS_NOT_SUPPORTED = 174,
282    /// The system detected a segment number that was not correct.
283    INVALID_SEGMENT_NUMBER = 180,
284    /// The operating system cannot run %1.
285    INVALID_ORDINAL = 182,
286    /// Cannot create a file when that file already exists.
287    ALREADY_EXISTS = 183,
288    /// The flag passed is not correct.
289    INVALID_FLAG_NUMBER = 186,
290    /// The specified system semaphore name was not found.
291    SEM_NOT_FOUND = 187,
292    /// The operating system cannot run %1.
293    INVALID_STARTING_CODESEG = 188,
294    /// The operating system cannot run %1.
295    INVALID_STACKSEG = 189,
296    /// The operating system cannot run %1.
297    INVALID_MODULETYPE = 190,
298    /// Cannot run %1 in Win32 mode.
299    INVALID_EXE_SIGNATURE = 191,
300    /// The operating system cannot run %1.
301    EXE_MARKED_INVALID = 192,
302    /// %1 is not a valid Win32 application.
303    BAD_EXE_FORMAT = 193,
304    /// The operating system cannot run %1.
305    ITERATED_DATA_EXCEEDS_64k = 194,
306    /// The operating system cannot run %1.
307    INVALID_MINALLOCSIZE = 195,
308    /// The operating system cannot run this application program.
309    DYNLINK_FROM_INVALID_RING = 196,
310    /// The operating system is not presently configured to run this application.
311    IOPL_NOT_ENABLED = 197,
312    /// The operating system cannot run %1.
313    INVALID_SEGDPL = 198,
314    /// The operating system cannot run this application program.
315    AUTODATASEG_EXCEEDS_64k = 199,
316    /// The code segment cannot be greater than or equal to 64K.
317    RING2SEG_MUST_BE_MOVABLE = 200,
318    /// The operating system cannot run %1.
319    RELOC_CHAIN_XEEDS_SEGLIM = 201,
320    /// The operating system cannot run %1.
321    INFLOOP_IN_RELOC_CHAIN = 202,
322    /// The system could not find the environment option that was entered.
323    ENVVAR_NOT_FOUND = 203,
324    /// No process in the command subtree has a signal handler.
325    NO_SIGNAL_SENT = 205,
326    /// The filename or extension is too long.
327    FILENAME_EXCED_RANGE = 206,
328    /// The ring 2 stack is in use.
329    RING2_STACK_IN_USE = 207,
330    /// The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
331    META_EXPANSION_TOO_LONG = 208,
332    /// The signal being posted is not correct.
333    INVALID_SIGNAL_NUMBER = 209,
334    /// The signal handler cannot be set.
335    THREAD_1_INACTIVE = 210,
336    /// The segment is locked and cannot be reallocated.
337    LOCKED = 212,
338    /// Too many dynamic-link modules are attached to this program or dynamic-link module.
339    TOO_MANY_MODULES = 214,
340    /// Cannot nest calls to LoadModule.
341    NESTING_NOT_ALLOWED = 215,
342    /// This version of %1 is not compatible with the version of Windows you're running.
343    /// Check your computer's system information and then contact the software publisher.
344    EXE_MACHINE_TYPE_MISMATCH = 216,
345    /// The image file %1 is signed, unable to modify.
346    EXE_CANNOT_MODIFY_SIGNED_BINARY = 217,
347    /// The image file %1 is strong signed, unable to modify.
348    EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218,
349    /// This file is checked out or locked for editing by another user.
350    FILE_CHECKED_OUT = 220,
351    /// The file must be checked out before saving changes.
352    CHECKOUT_REQUIRED = 221,
353    /// The file type being saved or retrieved has been blocked.
354    BAD_FILE_TYPE = 222,
355    /// The file size exceeds the limit allowed and cannot be saved.
356    FILE_TOO_LARGE = 223,
357    /// Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.
358    FORMS_AUTH_REQUIRED = 224,
359    /// Operation did not complete successfully because the file contains a virus or potentially unwanted software.
360    VIRUS_INFECTED = 225,
361    /// This file contains a virus or potentially unwanted software and cannot be opened.
362    /// Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
363    VIRUS_DELETED = 226,
364    /// The pipe is local.
365    PIPE_LOCAL = 229,
366    /// The pipe state is invalid.
367    BAD_PIPE = 230,
368    /// All pipe instances are busy.
369    PIPE_BUSY = 231,
370    /// The pipe is being closed.
371    NO_DATA = 232,
372    /// No process is on the other end of the pipe.
373    PIPE_NOT_CONNECTED = 233,
374    /// More data is available.
375    MORE_DATA = 234,
376    /// The session was canceled.
377    VC_DISCONNECTED = 240,
378    /// The specified extended attribute name was invalid.
379    INVALID_EA_NAME = 254,
380    /// The extended attributes are inconsistent.
381    EA_LIST_INCONSISTENT = 255,
382    /// The wait operation timed out.
383    IMEOUT = 258,
384    /// No more data is available.
385    NO_MORE_ITEMS = 259,
386    /// The copy functions cannot be used.
387    CANNOT_COPY = 266,
388    /// The directory name is invalid.
389    DIRECTORY = 267,
390    /// The extended attributes did not fit in the buffer.
391    EAS_DIDNT_FIT = 275,
392    /// The extended attribute file on the mounted file system is corrupt.
393    EA_FILE_CORRUPT = 276,
394    /// The extended attribute table file is full.
395    EA_TABLE_FULL = 277,
396    /// The specified extended attribute handle is invalid.
397    INVALID_EA_HANDLE = 278,
398    /// The mounted file system does not support extended attributes.
399    EAS_NOT_SUPPORTED = 282,
400    /// Attempt to release mutex not owned by caller.
401    NOT_OWNER = 288,
402    /// Too many posts were made to a semaphore.
403    TOO_MANY_POSTS = 298,
404    /// Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
405    PARTIAL_COPY = 299,
406    /// The oplock request is denied.
407    OPLOCK_NOT_GRANTED = 300,
408    /// An invalid oplock acknowledgment was received by the system.
409    INVALID_OPLOCK_PROTOCOL = 301,
410    /// The volume is too fragmented to complete this operation.
411    DISK_TOO_FRAGMENTED = 302,
412    /// The file cannot be opened because it is in the process of being deleted.
413    DELETE_PENDING = 303,
414    /// Short name settings may not be changed on this volume due to the global registry setting.
415    INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING = 304,
416    /// Short names are not enabled on this volume.
417    SHORT_NAMES_NOT_ENABLED_ON_VOLUME = 305,
418    /// The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume.
419    SECURITY_STREAM_IS_INCONSISTENT = 306,
420    /// A requested file lock operation cannot be processed due to an invalid byte range.
421    INVALID_LOCK_RANGE = 307,
422    /// The subsystem needed to support the image type is not present.
423    IMAGE_SUBSYSTEM_NOT_PRESENT = 308,
424    /// The specified file already has a notification GUID associated with it.
425    NOTIFICATION_GUID_ALREADY_DEFINED = 309,
426    /// An invalid exception handler routine has been detected.
427    INVALID_EXCEPTION_HANDLER = 310,
428    /// Duplicate privileges were specified for the token.
429    DUPLICATE_PRIVILEGES = 311,
430    /// No ranges for the specified operation were able to be processed.
431    NO_RANGES_PROCESSED = 312,
432    /// Operation is not allowed on a file system internal file.
433    NOT_ALLOWED_ON_SYSTEM_FILE = 313,
434    /// The physical resources of this disk have been exhausted.
435    DISK_RESOURCES_EXHAUSTED = 314,
436    /// The token representing the data is invalid.
437    INVALID_TOKEN = 315,
438    /// The device does not support the command feature.
439    DEVICE_FEATURE_NOT_SUPPORTED = 316,
440    /// The system cannot find message text for message number 0x%1 in the message file for %2.
441    MR_MID_NOT_FOUND = 317,
442    /// The scope specified was not found.
443    SCOPE_NOT_FOUND = 318,
444    /// The Central Access Policy specified is not defined on the target machine.
445    UNDEFINED_SCOPE = 319,
446    /// The Central Access Policy obtained from Active Directory is invalid.
447    INVALID_CAP = 320,
448    /// The device is unreachable.
449    DEVICE_UNREACHABLE = 321,
450    /// The target device has insufficient resources to complete the operation.
451    DEVICE_NO_RESOURCES = 322,
452    /// A data integrity checksum error occurred. Data in the file stream is corrupt.
453    DATA_CHECKSUM_ERROR = 323,
454    /// An attempt was made to modify both a KERNEL and normal Extended Attribute (EA) in the same operation.
455    INTERMIXED_KERNEL_EA_OPERATION = 324,
456    /// Device does not support file-level TRIM.
457    FILE_LEVEL_TRIM_NOT_SUPPORTED = 326,
458    /// The command specified a data offset that does not align to the device's granularity/alignment.
459    OFFSET_ALIGNMENT_VIOLATION = 327,
460    /// The command specified an invalid field in its parameter list.
461    INVALID_FIELD_IN_PARAMETER_LIST = 328,
462    /// An operation is currently in progress with the device.
463    OPERATION_IN_PROGRESS = 329,
464    /// An attempt was made to send down the command via an invalid path to the target device.
465    BAD_DEVICE_PATH = 330,
466    /// The command specified a number of descriptors that exceeded the maximum supported by the device.
467    TOO_MANY_DESCRIPTORS = 331,
468    /// Scrub is disabled on the specified file.
469    SCRUB_DATA_DISABLED = 332,
470    /// The storage device does not provide redundancy.
471    NOT_REDUNDANT_STORAGE = 333,
472    /// An operation is not supported on a resident file.
473    RESIDENT_FILE_NOT_SUPPORTED = 334,
474    /// An operation is not supported on a compressed file.
475    COMPRESSED_FILE_NOT_SUPPORTED = 335,
476    /// An operation is not supported on a directory.
477    DIRECTORY_NOT_SUPPORTED = 336,
478    /// The specified copy of the requested data could not be read.
479    NOT_READ_FROM_COPY = 337,
480    /// No action was taken as a system reboot is required.
481    FAIL_NOACTION_REBOOT = 350,
482    /// The shutdown operation failed.
483    FAIL_SHUTDOWN = 351,
484    /// The restart operation failed.
485    FAIL_RESTART = 352,
486    /// The maximum number of sessions has been reached.
487    MAX_SESSIONS_REACHED = 353,
488    /// The thread is already in background processing mode.
489    THREAD_MODE_ALREADY_BACKGROUND = 400,
490    /// The thread is not in background processing mode.
491    THREAD_MODE_NOT_BACKGROUND = 401,
492    /// The process is already in background processing mode.
493    PROCESS_MODE_ALREADY_BACKGROUND = 402,
494    /// The process is not in background processing mode.
495    PROCESS_MODE_NOT_BACKGROUND = 403,
496    /// Attempt to access invalid address.
497    INVALID_ADDRESS = 487,
498    /// User profile cannot be loaded.
499    USER_PROFILE_LOAD = 500,
500    /// Arithmetic result exceeded 32 bits.
501    ARITHMETIC_OVERFLOW = 534,
502    /// There is a process on other end of the pipe.
503    PIPE_CONNECTED = 535,
504    /// Waiting for a process to open the other end of the pipe.
505    PIPE_LISTENING = 536,
506    /// Application verifier has found an error in the current process.
507    VERIFIER_STOP = 537,
508    /// An error occurred in the ABIOS subsystem.
509    ABIOS_ERROR = 538,
510    /// A warning occurred in the WX86 subsystem.
511    WX86_WARNING = 539,
512    /// An error occurred in the WX86 subsystem.
513    WX86_ERROR = 540,
514    /// An attempt was made to cancel or set a timer that has an associated APC and the subject thread is not the thread that originally set the timer with an associated APC routine.
515    TIMER_NOT_CANCELED = 541,
516    /// Unwind exception code.
517    UNWIND = 542,
518    /// An invalid or unaligned stack was encountered during an unwind operation.
519    BAD_STACK = 543,
520    /// An invalid unwind target was encountered during an unwind operation.
521    INVALID_UNWIND_TARGET = 544,
522    /// Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort
523    INVALID_PORT_ATTRIBUTES = 545,
524    /// Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port.
525    PORT_MESSAGE_TOO_LONG = 546,
526    /// An attempt was made to lower a quota limit below the current usage.
527    INVALID_QUOTA_LOWER = 547,
528    /// An attempt was made to attach to a device that was already attached to another device.
529    DEVICE_ALREADY_ATTACHED = 548,
530    /// An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references.
531    INSTRUCTION_MISALIGNMENT = 549,
532    /// Profiling not started.
533    PROFILING_NOT_STARTED = 550,
534    /// Profiling not stopped.
535    PROFILING_NOT_STOPPED = 551,
536    /// The passed ACL did not contain the minimum required information.
537    COULD_NOT_INTERPRET = 552,
538    /// The number of active profiling objects is at the maximum and no more may be started.
539    PROFILING_AT_LIMIT = 553,
540    /// Used to indicate that an operation cannot continue without blocking for I/O.
541    CANT_WAIT = 554,
542    /// Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current process.
543    CANT_TERMINATE_SELF = 555,
544    /// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter.
545    /// In this case information is lost, however, the filter correctly handles the exception.
546    UNEXPECTED_MM_CREATE_ERR = 556,
547    /// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter.
548    /// In this case information is lost, however, the filter correctly handles the exception.
549    UNEXPECTED_MM_MAP_ERROR = 557,
550    /// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter.
551    /// In this case information is lost, however, the filter correctly handles the exception.
552    UNEXPECTED_MM_EXTEND_ERR = 558,
553    /// A malformed function table was encountered during an unwind operation.
554    BAD_FUNCTION_TABLE = 559,
555    /// 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.
556    /// This causes the protection attempt to fail, which may cause a file creation attempt to fail.
557    NO_GUID_TRANSLATION = 560,
558    /// Indicates that an attempt was made to grow an LDT by setting its size, or that the size was not an even number of selectors.
559    INVALID_LDT_SIZE = 561,
560    /// Indicates that the starting value for the LDT information was not an integral multiple of the selector size.
561    INVALID_LDT_OFFSET = 563,
562    /// Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors.
563    INVALID_LDT_DESCRIPTOR = 564,
564    /// Indicates a process has too many threads to perform the requested action.
565    /// For example, assignment of a primary token may only be performed when a process has zero or one threads.
566    TOO_MANY_THREADS = 565,
567    /// An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
568    THREAD_NOT_IN_PROCESS = 566,
569    /// Page file quota was exceeded.
570    PAGEFILE_QUOTA_EXCEEDED = 567,
571    /// The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role.
572    LOGON_SERVER_CONFLICT = 568,
573    /// The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required.
574    SYNCHRONIZATION_REQUIRED = 569,
575    /// 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.
576    NET_OPEN_FAILED = 570,
577    /// {Privilege Failed} The I/O permissions for the process could not be changed.
578    IO_PRIVILEGE_FAILED = 571,
579    /// {Application Exit by CTRL+C} The application terminated as a result of a CTRL+C.
580    CONTROL_C_EXIT = 572,
581    /// {Missing System File} The required system file %hs is bad or missing.
582    MISSING_SYSTEMFILE = 573,
583    /// {Application Error} The exception %s (0x%08lx) occurred in the application at location 0x%08lx.
584    UNHANDLED_EXCEPTION = 574,
585    /// {Application Error} The application was unable to start correctly (0x%lx). Click OK to close the application.
586    APP_INIT_FAILURE = 575,
587    /// {Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld.
588    PAGEFILE_CREATE_FAILED = 576,
589    /// Windows cannot verify the digital signature for this file.
590    /// A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
591    INVALID_IMAGE_HASH = 577,
592    /// {No Paging File Specified} No paging file was specified in the system configuration.
593    NO_PAGEFILE = 578,
594    /// {EXCEPTION} A real-mode application issued a floating-point instruction and floating-point hardware is not present.
595    ILLEGAL_FLOAT_CONTEXT = 579,
596    /// 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.
597    NO_EVENT_PAIR = 580,
598    /// A Windows Server has an incorrect configuration.
599    DOMAIN_CTRLR_CONFIG_ERROR = 581,
600    /// An illegal character was encountered.
601    /// For a multi-byte character set this includes a lead byte without a succeeding trail byte.
602    /// For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
603    ILLEGAL_CHARACTER = 582,
604    /// The Unicode character is not defined in the Unicode character set installed on the system.
605    UNDEFINED_CHARACTER = 583,
606    /// The paging file cannot be created on a floppy diskette.
607    FLOPPY_VOLUME = 584,
608    /// The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected.
609    BIOS_FAILED_TO_CONNECT_INTERRUPT = 585,
610    /// This operation is only allowed for the Primary Domain Controller of the domain.
611    BACKUP_CONTROLLER = 586,
612    /// An attempt was made to acquire a mutant such that its maximum count would have been exceeded.
613    MUTANT_LIMIT_EXCEEDED = 587,
614    /// A volume has been accessed for which a file system driver is required that has not yet been loaded.
615    FS_DRIVER_REQUIRED = 588,
616    /// {Registry File Failure} The registry cannot load the hive (file): %hs or its log or alternate. It is corrupt, absent, or not writable.
617    CANNOT_LOAD_REGISTRY_FILE = 589,
618    /// {Unexpected Failure in DebugActiveProcess} An unexpected failure occurred while processing a DebugActiveProcess API request.
619    /// You may choose OK to terminate the process, or Cancel to ignore the error.
620    DEBUG_ATTACH_FAILED = 590,
621    /// {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.
622    SYSTEM_PROCESS_TERMINATED = 591,
623    /// {Data Not Accepted} The TDI client could not handle the data received during an indication.
624    DATA_NOT_ACCEPTED = 592,
625    /// NTVDM encountered a hard error.
626    VDM_HARD_ERROR = 593,
627    /// {Cancel Timeout} The driver %hs failed to complete a cancelled I/O request in the allotted time.
628    DRIVER_CANCEL_TIMEOUT = 594,
629    /// {Reply Message Mismatch} An attempt was made to reply to an LPC message, but the thread specified by the client ID in the message was not waiting on that message.
630    REPLY_MESSAGE_MISMATCH = 595,
631    /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs. The data has been lost.
632    /// This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
633    LOST_WRITEBEHIND_DATA = 596,
634    /// The parameter(s) passed to the server in the client/server shared memory window were invalid.
635    /// Too much data may have been put in the shared memory window.
636    CLIENT_SERVER_PARAMETERS_INVALID = 597,
637    /// The stream is not a tiny stream.
638    NOT_TINY_STREAM = 598,
639    /// The request must be handled by the stack overflow code.
640    STACK_OVERFLOW_READ = 599,
641    /// Internal OFS status codes indicating how an allocation operation is handled.
642    /// Either it is retried after the containing onode is moved or the extent stream is converted to a large stream.
643    CONVERT_TO_LARGE = 600,
644    /// 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.
645    FOUND_OUT_OF_SCOPE = 601,
646    /// The bucket array must be grown. Retry transaction after doing so.
647    ALLOCATE_BUCKET = 602,
648    /// The user/kernel marshalling buffer has overflowed.
649    MARSHALL_OVERFLOW = 603,
650    /// The supplied variant structure contains invalid data.
651    INVALID_VARIANT = 604,
652    /// The specified buffer contains ill-formed data.
653    BAD_COMPRESSION_BUFFER = 605,
654    /// {Audit Failed} An attempt to generate a security audit failed.
655    AUDIT_FAILED = 606,
656    /// The timer resolution was not previously set by the current process.
657    TIMER_RESOLUTION_NOT_SET = 607,
658    /// There is insufficient account information to log you on.
659    INSUFFICIENT_LOGON_INFO = 608,
660    /// {Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly.
661    /// The stack pointer has been left in an inconsistent state.
662    /// The entrypoint should be declared as WINAPI or STDCALL.
663    /// Select YES to fail the DLL load. Select NO to continue execution.
664    /// Selecting NO may cause the application to operate incorrectly.
665    BAD_DLL_ENTRYPOINT = 609,
666    /// {Invalid Service Callback Entrypoint} The %hs service is not written correctly.
667    /// The stack pointer has been left in an inconsistent state.
668    /// The callback entrypoint should be declared as WINAPI or STDCALL.
669    /// Selecting OK will cause the service to continue operation.
670    /// However, the service process may operate incorrectly.
671    BAD_SERVICE_ENTRYPOINT = 610,
672    /// There is an IP address conflict with another system on the network.
673    IP_ADDRESS_CONFLICT1 = 611,
674    /// There is an IP address conflict with another system on the network.
675    IP_ADDRESS_CONFLICT2 = 612,
676    /// {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.
677    REGISTRY_QUOTA_LIMIT = 613,
678    /// A callback return system service cannot be executed when no callback is active.
679    NO_CALLBACK_ACTIVE = 614,
680    /// The password provided is too short to meet the policy of your user account. Please choose a longer password.
681    PWD_TOO_SHORT = 615,
682    /// The policy of your user account does not allow you to change passwords too frequently.
683    /// This is done to prevent users from changing back to a familiar, but potentially discovered, password.
684    /// If you feel your password has been compromised then please contact your administrator immediately to have a new one assigned.
685    PWD_TOO_RECENT = 616,
686    /// You have attempted to change your password to one that you have used in the past.
687    /// The policy of your user account does not allow this.
688    /// Please select a password that you have not previously used.
689    PWD_HISTORY_CONFLICT = 617,
690    /// The specified compression format is unsupported.
691    UNSUPPORTED_COMPRESSION = 618,
692    /// The specified hardware profile configuration is invalid.
693    INVALID_HW_PROFILE = 619,
694    /// The specified Plug and Play registry device path is invalid.
695    INVALID_PLUGPLAY_DEVICE_PATH = 620,
696    /// The specified quota list is internally inconsistent with its descriptor.
697    QUOTA_LIST_INCONSISTENT = 621,
698    /// {Windows Evaluation Notification} The evaluation period for this installation of Windows has expired. This system will shutdown in 1 hour.
699    /// To restore access to this installation of Windows, please upgrade this installation using a licensed distribution of this product.
700    EVALUATION_EXPIRATION = 622,
701    /// {Illegal System DLL Relocation} The system DLL %hs was relocated in memory. The application will not run properly.
702    /// The relocation occurred because the DLL %hs occupied an address range reserved for Windows system DLLs.
703    /// The vendor supplying the DLL should be contacted for a new DLL.
704    ILLEGAL_DLL_RELOCATION = 623,
705    /// {DLL Initialization Failed} The application failed to initialize because the window station is shutting down.
706    DLL_INIT_FAILED_LOGOFF = 624,
707    /// The validation process needs to continue on to the next step.
708    VALIDATE_CONTINUE = 625,
709    /// There are no more matches for the current index enumeration.
710    NO_MORE_MATCHES = 626,
711    /// The range could not be added to the range list because of a conflict.
712    RANGE_LIST_CONFLICT = 627,
713    /// The server process is running under a SID different than that required by client.
714    SERVER_SID_MISMATCH = 628,
715    /// A group marked use for deny only cannot be enabled.
716    CANT_ENABLE_DENY_ONLY = 629,
717    /// {EXCEPTION} Multiple floating point faults.
718    FLOAT_MULTIPLE_FAULTS = 630,
719    /// {EXCEPTION} Multiple floating point traps.
720    FLOAT_MULTIPLE_TRAPS = 631,
721    /// The requested interface is not supported.
722    NOINTERFACE = 632,
723    /// {System Standby Failed} The driver %hs does not support standby mode.
724    /// Updating this driver may allow the system to go to standby mode.
725    DRIVER_FAILED_SLEEP = 633,
726    /// The system file %1 has become corrupt and has been replaced.
727    CORRUPT_SYSTEM_FILE = 634,
728    /// {Virtual Memory Minimum Too Low} Your system is low on virtual memory.
729    /// Windows is increasing the size of your virtual memory paging file.
730    /// During this process, memory requests for some applications may be denied. For more information, see Help.
731    COMMITMENT_MINIMUM = 635,
732    /// A device was removed so enumeration must be restarted.
733    PNP_RESTART_ENUMERATION = 636,
734    /// {Fatal System Error} The system image %s is not properly signed.
735    /// The file has been replaced with the signed file. The system has been shut down.
736    SYSTEM_IMAGE_BAD_SIGNATURE = 637,
737    /// Device will not start without a reboot.
738    PNP_REBOOT_REQUIRED = 638,
739    /// There is not enough power to complete the requested operation.
740    INSUFFICIENT_POWER = 639,
741    /// ERROR_MULTIPLE_FAULT_VIOLATION
742    MULTIPLE_FAULT_VIOLATION = 640,
743    /// The system is in the process of shutting down.
744    SYSTEM_SHUTDOWN = 641,
745    /// An attempt to remove a processes DebugPort was made, but a port was not already associated with the process.
746    PORT_NOT_SET = 642,
747    /// This version of Windows is not compatible with the behavior version of directory forest, domain or domain controller.
748    DS_VERSION_CHECK_FAILURE = 643,
749    /// The specified range could not be found in the range list.
750    RANGE_NOT_FOUND = 644,
751    /// The driver was not loaded because the system is booting into safe mode.
752    NOT_SAFE_MODE_DRIVER = 646,
753    /// The driver was not loaded because it failed its initialization call.
754    FAILED_DRIVER_ENTRY = 647,
755    /// The "%hs" encountered an error while applying power or reading the device configuration.
756    /// This may be caused by a failure of your hardware or by a poor connection.
757    DEVICE_ENUMERATION_ERROR = 648,
758    /// The create operation failed because the name contained at least one mount point which resolves to a volume to which the specified device object is not attached.
759    MOUNT_POINT_NOT_RESOLVED = 649,
760    /// The device object parameter is either not a valid device object or is not attached to the volume specified by the file name.
761    INVALID_DEVICE_OBJECT_PARAMETER = 650,
762    /// A Machine Check Error has occurred.
763    /// Please check the system eventlog for additional information.
764    MCA_OCCURED = 651,
765    /// There was error [%2] processing the driver database.
766    DRIVER_DATABASE_ERROR = 652,
767    /// System hive size has exceeded its limit.
768    SYSTEM_HIVE_TOO_LARGE = 653,
769    /// The driver could not be loaded because a previous version of the driver is still in memory.
770    DRIVER_FAILED_PRIOR_UNLOAD = 654,
771    /// {Volume Shadow Copy Service} Please wait while the Volume Shadow Copy Service prepares volume %hs for hibernation.
772    VOLSNAP_PREPARE_HIBERNATE = 655,
773    /// The system has failed to hibernate (The error code is %hs).
774    /// Hibernation will be disabled until the system is restarted.
775    HIBERNATION_FAILURE = 656,
776    /// The password provided is too long to meet the policy of your user account. Please choose a shorter password.
777    PWD_TOO_LONG = 657,
778    /// The requested operation could not be completed due to a file system limitation.
779    FILE_SYSTEM_LIMITATION = 665,
780    /// An assertion failure has occurred.
781    ASSERTION_FAILURE = 668,
782    /// An error occurred in the ACPI subsystem.
783    ACPI_ERROR = 669,
784    /// WOW Assertion Error.
785    WOW_ASSERTION = 670,
786    /// A device is missing in the system BIOS MPS table. This device will not be used.
787    /// Please contact your system vendor for system BIOS update.
788    PNP_BAD_MPS_TABLE = 671,
789    /// A translator failed to translate resources.
790    PNP_TRANSLATION_FAILED = 672,
791    /// A IRQ translator failed to translate resources.
792    PNP_IRQ_TRANSLATION_FAILED = 673,
793    /// Driver %2 returned invalid ID for a child device (%3).
794    PNP_INVALID_ID = 674,
795    /// {Kernel Debugger Awakened} the system debugger was awakened by an interrupt.
796    WAKE_SYSTEM_DEBUGGER = 675,
797    /// {Handles Closed} Handles to objects have been automatically closed as a result of the requested operation.
798    HANDLES_CLOSED = 676,
799    /// {Too Much Information} The specified access control list (ACL) contained more information than was expected.
800    EXTRANEOUS_INFORMATION = 677,
801    /// This warning level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted.
802    /// The commit has NOT been completed, but has not been rolled back either (so it may still be committed if desired).
803    RXACT_COMMIT_NECESSARY = 678,
804    /// {Media Changed} The media may have changed.
805    MEDIA_CHECK = 679,
806    /// {GUID Substitution} During the translation of a global identifier (GUID) to a Windows security ID (SID), no administratively-defined GUID prefix was found.
807    /// A substitute prefix was used, which will not compromise system security.
808    /// However, this may provide a more restrictive access than intended.
809    GUID_SUBSTITUTION_MADE = 680,
810    /// The create operation stopped after reaching a symbolic link.
811    STOPPED_ON_SYMLINK = 681,
812    /// A long jump has been executed.
813    LONGJUMP = 682,
814    /// The Plug and Play query operation was not successful.
815    PLUGPLAY_QUERY_VETOED = 683,
816    /// A frame consolidation has been executed.
817    UNWIND_CONSOLIDATE = 684,
818    /// {Registry Hive Recovered} Registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost.
819    REGISTRY_HIVE_RECOVERED = 685,
820    /// The application is attempting to run executable code from the module %hs. This may be insecure.
821    /// An alternative, %hs, is available. Should the application use the secure module %hs?
822    DLL_MIGHT_BE_INSECURE = 686,
823    /// The application is loading executable code from the module %hs.
824    /// This is secure, but may be incompatible with previous releases of the operating system.
825    /// An alternative, %hs, is available. Should the application use the secure module %hs?
826    DLL_MIGHT_BE_INCOMPATIBLE = 687,
827    /// Debugger did not handle the exception.
828    DBG_EXCEPTION_NOT_HANDLED = 688,
829    /// Debugger will reply later.
830    DBG_REPLY_LATER = 689,
831    /// Debugger cannot provide handle.
832    DBG_UNABLE_TO_PROVIDE_HANDLE = 690,
833    /// Debugger terminated thread.
834    DBG_TERMINATE_THREAD = 691,
835    /// Debugger terminated process.
836    DBG_TERMINATE_PROCESS = 692,
837    /// Debugger got control C.
838    DBG_CONTROL_C = 693,
839    /// Debugger printed exception on control C.
840    DBG_PRINTEXCEPTION_C = 694,
841    /// Debugger received RIP exception.
842    DBG_RIPEXCEPTION = 695,
843    /// Debugger received control break.
844    DBG_CONTROL_BREAK = 696,
845    /// Debugger command communication exception.
846    DBG_COMMAND_EXCEPTION = 697,
847    /// {Object Exists} An attempt was made to create an object and the object name already existed.
848    OBJECT_NAME_EXISTS = 698,
849    /// {Thread Suspended} A thread termination occurred while the thread was suspended.
850    /// The thread was resumed, and termination proceeded.
851    THREAD_WAS_SUSPENDED = 699,
852    /// {Image Relocated} An image file could not be mapped at the address specified in the image file. Local fixups must be performed on this image.
853    IMAGE_NOT_AT_BASE = 700,
854    /// This informational level status indicates that a specified registry sub-tree transaction state did not yet exist and had to be created.
855    RXACT_STATE_CREATED = 701,
856    /// {Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image.
857    /// An exception is raised so a debugger can load, unload or track symbols and breakpoints within these 16-bit segments.
858    SEGMENT_NOTIFICATION = 702,
859    /// {Invalid Current Directory} The process cannot switch to the startup current directory %hs.
860    /// Select OK to set current directory to %hs, or select CANCEL to exit.
861    BAD_CURRENT_DIRECTORY = 703,
862    /// {Redundant Read} To satisfy a read request, the NT fault-tolerant file system successfully read the requested data from a redundant copy.
863    /// This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was unable to reassign the failing area of the device.
864    FT_READ_RECOVERY_FROM_BACKUP = 704,
865    /// {Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information.
866    /// This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.
867    FT_WRITE_RECOVERY = 705,
868    /// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.
869    /// Select OK to continue, or CANCEL to fail the DLL load.
870    IMAGE_MACHINE_TYPE_MISMATCH = 706,
871    /// {Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.
872    RECEIVE_PARTIAL = 707,
873    /// {Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.
874    RECEIVE_EXPEDITED = 708,
875    /// {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.
876    RECEIVE_PARTIAL_EXPEDITED = 709,
877    /// {TDI Event Done} The TDI indication has completed successfully.
878    EVENT_DONE = 710,
879    /// {TDI Event Pending} The TDI indication has entered the pending state.
880    EVENT_PENDING = 711,
881    /// Checking file system on %wZ.
882    CHECKING_FILE_SYSTEM = 712,
883    /// {Fatal Application Exit} %hs.
884    FATAL_APP_EXIT = 713,
885    /// The specified registry key is referenced by a predefined handle.
886    PREDEFINED_HANDLE = 714,
887    /// {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.
888    WAS_UNLOCKED = 715,
889    /// %hs
890    SERVICE_NOTIFICATION = 716,
891    /// {Page Locked} One of the pages to lock was already locked.
892    WAS_LOCKED = 717,
893    /// Application popup: %1 : %2
894    LOG_HARD_ERROR = 718,
895    /// ERROR_ALREADY_WIN32
896    ALREADY_WIN32 = 719,
897    /// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.
898    IMAGE_MACHINE_TYPE_MISMATCH_EXE = 720,
899    /// A yield execution was performed and no thread was available to run.
900    NO_YIELD_PERFORMED = 721,
901    /// The resumable flag to a timer API was ignored.
902    TIMER_RESUME_IGNORED = 722,
903    /// The arbiter has deferred arbitration of these resources to its parent.
904    ARBITRATION_UNHANDLED = 723,
905    /// The inserted CardBus device cannot be started because of a configuration error on "%hs".
906    CARDBUS_NOT_SUPPORTED = 724,
907    /// The CPUs in this multiprocessor system are not all the same revision level.
908    /// To use all processors the operating system restricts itself to the features of the least capable processor in the system.
909    /// Should problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported.
910    MP_PROCESSOR_MISMATCH = 725,
911    /// The system was put into hibernation.
912    HIBERNATED = 726,
913    /// The system was resumed from hibernation.
914    RESUME_HIBERNATION = 727,
915    /// Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3].
916    FIRMWARE_UPDATED = 728,
917    /// A device driver is leaking locked I/O pages causing system degradation.
918    /// The system has automatically enabled tracking code in order to try and catch the culprit.
919    DRIVERS_LEAKING_LOCKED_PAGES = 729,
920    /// The system has awoken.
921    WAKE_SYSTEM = 730,
922    /// ERROR_WAIT_1
923    WAIT_1 = 731,
924    /// ERROR_WAIT_2
925    WAIT_2 = 732,
926    /// ERROR_WAIT_3
927    WAIT_3 = 733,
928    /// ERROR_WAIT_63
929    WAIT_63 = 734,
930    /// ERROR_ABANDONED_WAIT_0
931    ABANDONED_WAIT_0 = 735,
932    /// ERROR_ABANDONED_WAIT_63
933    ABANDONED_WAIT_63 = 736,
934    /// ERROR_USER_APC
935    USER_APC = 737,
936    /// ERROR_KERNEL_APC
937    KERNEL_APC = 738,
938    /// ERROR_ALERTED
939    ALERTED = 739,
940    /// The requested operation requires elevation.
941    ELEVATION_REQUIRED = 740,
942    /// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
943    REPARSE = 741,
944    /// An open/create operation completed while an oplock break is underway.
945    OPLOCK_BREAK_IN_PROGRESS = 742,
946    /// A new volume has been mounted by a file system.
947    VOLUME_MOUNTED = 743,
948    /// This success level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has now been completed.
949    RXACT_COMMITTED = 744,
950    /// This indicates that a notify change request has been completed due to closing the handle which made the notify change request.
951    NOTIFY_CLEANUP = 745,
952    /// {Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed.
953    /// The computer WAS able to connect on a secondary transport.
954    PRIMARY_TRANSPORT_CONNECT_FAILED = 746,
955    /// Page fault was a transition fault.
956    PAGE_FAULT_TRANSITION = 747,
957    /// Page fault was a demand zero fault.
958    PAGE_FAULT_DEMAND_ZERO = 748,
959    /// Page fault was a demand zero fault.
960    PAGE_FAULT_COPY_ON_WRITE = 749,
961    /// Page fault was a demand zero fault.
962    PAGE_FAULT_GUARD_PAGE = 750,
963    /// Page fault was satisfied by reading from a secondary storage device.
964    PAGE_FAULT_PAGING_FILE = 751,
965    /// Cached page was locked during operation.
966    CACHE_PAGE_LOCKED = 752,
967    /// Crash dump exists in paging file.
968    CRASH_DUMP = 753,
969    /// Specified buffer contains all zeros.
970    BUFFER_ALL_ZEROS = 754,
971    /// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
972    REPARSE_OBJECT = 755,
973    /// The device has succeeded a query-stop and its resource requirements have changed.
974    RESOURCE_REQUIREMENTS_CHANGED = 756,
975    /// The translator has translated these resources into the global space and no further translations should be performed.
976    TRANSLATION_COMPLETE = 757,
977    /// A process being terminated has no threads to terminate.
978    NOTHING_TO_TERMINATE = 758,
979    /// The specified process is not part of a job.
980    PROCESS_NOT_IN_JOB = 759,
981    /// The specified process is part of a job.
982    PROCESS_IN_JOB = 760,
983    /// {Volume Shadow Copy Service} The system is now ready for hibernation.
984    VOLSNAP_HIBERNATE_READY = 761,
985    /// A file system or file system filter driver has successfully completed an FsFilter operation.
986    FSFILTER_OP_COMPLETED_SUCCESSFULLY = 762,
987    /// The specified interrupt vector was already connected.
988    INTERRUPT_VECTOR_ALREADY_CONNECTED = 763,
989    /// The specified interrupt vector is still connected.
990    INTERRUPT_STILL_CONNECTED = 764,
991    /// An operation is blocked waiting for an oplock.
992    WAIT_FOR_OPLOCK = 765,
993    /// Debugger handled exception.
994    DBG_EXCEPTION_HANDLED = 766,
995    /// Debugger continued.
996    DBG_CONTINUE = 767,
997    /// An exception occurred in a user mode callback and the kernel callback frame should be removed.
998    CALLBACK_POP_STACK = 768,
999    /// Compression is disabled for this volume.
1000    COMPRESSION_DISABLED = 769,
1001    /// The data provider cannot fetch backwards through a result set.
1002    CANTFETCHBACKWARDS = 770,
1003    /// The data provider cannot scroll backwards through a result set.
1004    CANTSCROLLBACKWARDS = 771,
1005    /// The data provider requires that previously fetched data is released before asking for more data.
1006    ROWSNOTRELEASED = 772,
1007    /// The data provider was not able to interpret the flags set for a column binding in an accessor.
1008    BAD_ACCESSOR_FLAGS = 773,
1009    /// One or more errors occurred while processing the request.
1010    ERRORS_ENCOUNTERED = 774,
1011    /// The implementation is not capable of performing the request.
1012    NOT_CAPABLE = 775,
1013    /// The client of a component requested an operation which is not valid given the state of the component instance.
1014    REQUEST_OUT_OF_SEQUENCE = 776,
1015    /// A version number could not be parsed.
1016    VERSION_PARSE_ERROR = 777,
1017    /// The iterator's start position is invalid.
1018    BADSTARTPOSITION = 778,
1019    /// The hardware has reported an uncorrectable memory error.
1020    MEMORY_HARDWARE = 779,
1021    /// The attempted operation required self healing to be enabled.
1022    DISK_REPAIR_DISABLED = 780,
1023    /// The Desktop heap encountered an error while allocating session memory.
1024    /// There is more information in the system event log.
1025    INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE = 781,
1026    /// The system power state is transitioning from %2 to %3.
1027    SYSTEM_POWERSTATE_TRANSITION = 782,
1028    /// The system power state is transitioning from %2 to %3 but could enter %4.
1029    SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 783,
1030    /// A thread is getting dispatched with MCA EXCEPTION because of MCA.
1031    MCA_EXCEPTION = 784,
1032    /// Access to %1 is monitored by policy rule %2.
1033    ACCESS_AUDIT_BY_POLICY = 785,
1034    /// Access to %1 has been restricted by your Administrator by policy rule %2.
1035    ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 786,
1036    /// A valid hibernation file has been invalidated and should be abandoned.
1037    ABANDON_HIBERFILE = 787,
1038    /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost.
1039    /// This error may be caused by network connectivity issues. Please try to save this file elsewhere.
1040    LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 788,
1041    /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost.
1042    /// This error was returned by the server on which the file exists. Please try to save this file elsewhere.
1043    LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 789,
1044    /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost.
1045    /// This error may be caused if the device has been removed or the media is write-protected.
1046    LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 790,
1047    /// The resources required for this device conflict with the MCFG table.
1048    BAD_MCFG_TABLE = 791,
1049    /// The volume repair could not be performed while it is online.
1050    /// Please schedule to take the volume offline so that it can be repaired.
1051    DISK_REPAIR_REDIRECTED = 792,
1052    /// The volume repair was not successful.
1053    DISK_REPAIR_UNSUCCESSFUL = 793,
1054    /// One of the volume corruption logs is full.
1055    /// Further corruptions that may be detected won't be logged.
1056    CORRUPT_LOG_OVERFULL = 794,
1057    /// One of the volume corruption logs is internally corrupted and needs to be recreated.
1058    /// The volume may contain undetected corruptions and must be scanned.
1059    CORRUPT_LOG_CORRUPTED = 795,
1060    /// One of the volume corruption logs is unavailable for being operated on.
1061    CORRUPT_LOG_UNAVAILABLE = 796,
1062    /// One of the volume corruption logs was deleted while still having corruption records in them.
1063    /// The volume contains detected corruptions and must be scanned.
1064    CORRUPT_LOG_DELETED_FULL = 797,
1065    /// One of the volume corruption logs was cleared by chkdsk and no longer contains real corruptions.
1066    CORRUPT_LOG_CLEARED = 798,
1067    /// Orphaned files exist on the volume but could not be recovered because no more new names could be created in the recovery directory. Files must be moved from the recovery directory.
1068    ORPHAN_NAME_EXHAUSTED = 799,
1069    /// The oplock that was associated with this handle is now associated with a different handle.
1070    OPLOCK_SWITCHED_TO_NEW_HANDLE = 800,
1071    /// An oplock of the requested level cannot be granted. An oplock of a lower level may be available.
1072    CANNOT_GRANT_REQUESTED_OPLOCK = 801,
1073    /// The operation did not complete successfully because it would cause an oplock to be broken.
1074    /// The caller has requested that existing oplocks not be broken.
1075    CANNOT_BREAK_OPLOCK = 802,
1076    /// The handle with which this oplock was associated has been closed. The oplock is now broken.
1077    OPLOCK_HANDLE_CLOSED = 803,
1078    /// The specified access control entry (ACE) does not contain a condition.
1079    NO_ACE_CONDITION = 804,
1080    /// The specified access control entry (ACE) contains an invalid condition.
1081    INVALID_ACE_CONDITION = 805,
1082    /// Access to the specified file handle has been revoked.
1083    FILE_HANDLE_REVOKED = 806,
1084    /// An image file was mapped at a different address from the one specified in the image file but fixups will still be automatically performed on the image.
1085    IMAGE_AT_DIFFERENT_BASE = 807,
1086    /// Access to the extended attribute was denied.
1087    EA_ACCESS_DENIED = 994,
1088    /// The I/O operation has been aborted because of either a thread exit or an application request.
1089    OPERATION_ABORTED = 995,
1090    /// Overlapped I/O event is not in a signaled state.
1091    IO_INCOMPLETE = 996,
1092    /// Overlapped I/O operation is in progress.
1093    IO_PENDING = 997,
1094    /// Invalid access to memory location.
1095    NOACCESS = 998,
1096    /// Error performing inpage operation.
1097    SWAPERROR = 999,
1098    /// Recursion too deep; the stack overflowed.
1099    STACK_OVERFLOW = 1001,
1100    /// The window cannot act on the sent message.
1101    INVALID_MESSAGE = 1002,
1102    /// Cannot complete this function.
1103    CAN_NOT_COMPLETE = 1003,
1104    /// Invalid flags.
1105    INVALID_FLAGS = 1004,
1106    /// The volume does not contain a recognized file system.
1107    /// Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
1108    UNRECOGNIZED_VOLUME = 1005,
1109    /// The volume for a file has been externally altered so that the opened file is no longer valid.
1110    FILE_INVALID = 1006,
1111    /// The requested operation cannot be performed in full-screen mode.
1112    FULLSCREEN_MODE = 1007,
1113    /// An attempt was made to reference a token that does not exist.
1114    NO_TOKEN = 1008,
1115    /// The configuration registry database is corrupt.
1116    BADDB = 1009,
1117    /// The configuration registry key is invalid.
1118    BADKEY = 1010,
1119    /// The configuration registry key could not be opened.
1120    CANTOPEN = 1011,
1121    /// The configuration registry key could not be read.
1122    CANTREAD = 1012,
1123    /// The configuration registry key could not be written.
1124    CANTWRITE = 1013,
1125    /// One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.
1126    REGISTRY_RECOVERED = 1014,
1127    /// 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.
1128    REGISTRY_CORRUPT = 1015,
1129    /// An I/O operation initiated by the registry failed unrecoverably.
1130    /// The registry could not read in, or write out, or flush, one of the files that contain the system's image of the registry.
1131    REGISTRY_IO_FAILED = 1016,
1132    /// The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
1133    NOT_REGISTRY_FILE = 1017,
1134    /// Illegal operation attempted on a registry key that has been marked for deletion.
1135    KEY_DELETED = 1018,
1136    /// System could not allocate the required space in a registry log.
1137    NO_LOG_SPACE = 1019,
1138    /// Cannot create a symbolic link in a registry key that already has subkeys or values.
1139    KEY_HAS_CHILDREN = 1020,
1140    /// Cannot create a stable subkey under a volatile parent key.
1141    CHILD_MUST_BE_VOLATILE = 1021,
1142    /// A notify change request is being completed and the information is not being returned in the caller's buffer.
1143    /// The caller now needs to enumerate the files to find the changes.
1144    NOTIFY_ENUM_DIR = 1022,
1145    /// A stop control has been sent to a service that other running services are dependent on.
1146    DEPENDENT_SERVICES_RUNNING = 1051,
1147    /// The requested control is not valid for this service.
1148    INVALID_SERVICE_CONTROL = 1052,
1149    /// The service did not respond to the start or control request in a timely fashion.
1150    SERVICE_REQUEST_TIMEOUT = 1053,
1151    /// A thread could not be created for the service.
1152    SERVICE_NO_THREAD = 1054,
1153    /// The service database is locked.
1154    SERVICE_DATABASE_LOCKED = 1055,
1155    /// An instance of the service is already running.
1156    SERVICE_ALREADY_RUNNING = 1056,
1157    /// The account name is invalid or does not exist, or the password is invalid for the account name specified.
1158    INVALID_SERVICE_ACCOUNT = 1057,
1159    /// The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
1160    SERVICE_DISABLED = 1058,
1161    /// Circular service dependency was specified.
1162    CIRCULAR_DEPENDENCY = 1059,
1163    /// The specified service does not exist as an installed service.
1164    SERVICE_DOES_NOT_EXIST = 1060,
1165    /// The service cannot accept control messages at this time.
1166    SERVICE_CANNOT_ACCEPT_CTRL = 1061,
1167    /// The service has not been started.
1168    SERVICE_NOT_ACTIVE = 1062,
1169    /// The service process could not connect to the service controller.
1170    FAILED_SERVICE_CONTROLLER_CONNECT = 1063,
1171    /// An exception occurred in the service when handling the control request.
1172    EXCEPTION_IN_SERVICE = 1064,
1173    /// The database specified does not exist.
1174    DATABASE_DOES_NOT_EXIST = 1065,
1175    /// The service has returned a service-specific error code.
1176    SERVICE_SPECIFIC_ERROR = 1066,
1177    /// The process terminated unexpectedly.
1178    PROCESS_ABORTED = 1067,
1179    /// The dependency service or group failed to start.
1180    SERVICE_DEPENDENCY_FAIL = 1068,
1181    /// The service did not start due to a logon failure.
1182    SERVICE_LOGON_FAILED = 1069,
1183    /// After starting, the service hung in a start-pending state.
1184    SERVICE_START_HANG = 1070,
1185    /// The specified service database lock is invalid.
1186    INVALID_SERVICE_LOCK = 1071,
1187    /// The specified service has been marked for deletion.
1188    SERVICE_MARKED_FOR_DELETE = 1072,
1189    /// The specified service already exists.
1190    SERVICE_EXISTS = 1073,
1191    /// The system is currently running with the last-known-good configuration.
1192    ALREADY_RUNNING_LKG = 1074,
1193    /// The dependency service does not exist or has been marked for deletion.
1194    SERVICE_DEPENDENCY_DELETED = 1075,
1195    /// The current boot has already been accepted for use as the last-known-good control set.
1196    BOOT_ALREADY_ACCEPTED = 1076,
1197    /// No attempts to start the service have been made since the last boot.
1198    SERVICE_NEVER_STARTED = 1077,
1199    /// The name is already in use as either a service name or a service display name.
1200    DUPLICATE_SERVICE_NAME = 1078,
1201    /// The account specified for this service is different from the account specified for other services running in the same process.
1202    DIFFERENT_SERVICE_ACCOUNT = 1079,
1203    /// Failure actions can only be set for Win32 services, not for drivers.
1204    CANNOT_DETECT_DRIVER_FAILURE = 1080,
1205    /// This service runs in the same process as the service control manager.
1206    /// Therefore, the service control manager cannot take action if this service's process terminates unexpectedly.
1207    CANNOT_DETECT_PROCESS_ABORT = 1081,
1208    /// No recovery program has been configured for this service.
1209    NO_RECOVERY_PROGRAM = 1082,
1210    /// The executable program that this service is configured to run in does not implement the service.
1211    SERVICE_NOT_IN_EXE = 1083,
1212    /// This service cannot be started in Safe Mode.
1213    NOT_SAFEBOOT_SERVICE = 1084,
1214    /// The physical end of the tape has been reached.
1215    END_OF_MEDIA = 1100,
1216    /// A tape access reached a filemark.
1217    FILEMARK_DETECTED = 1101,
1218    /// The beginning of the tape or a partition was encountered.
1219    BEGINNING_OF_MEDIA = 1102,
1220    /// A tape access reached the end of a set of files.
1221    SETMARK_DETECTED = 1103,
1222    /// No more data is on the tape.
1223    NO_DATA_DETECTED = 1104,
1224    /// Tape could not be partitioned.
1225    PARTITION_FAILURE = 1105,
1226    /// When accessing a new tape of a multivolume partition, the current block size is incorrect.
1227    INVALID_BLOCK_LENGTH = 1106,
1228    /// Tape partition information could not be found when loading a tape.
1229    DEVICE_NOT_PARTITIONED = 1107,
1230    /// Unable to lock the media eject mechanism.
1231    UNABLE_TO_LOCK_MEDIA = 1108,
1232    /// Unable to unload the media.
1233    UNABLE_TO_UNLOAD_MEDIA = 1109,
1234    /// The media in the drive may have changed.
1235    MEDIA_CHANGED = 1110,
1236    /// The I/O bus was reset.
1237    BUS_RESET = 1111,
1238    /// No media in drive.
1239    NO_MEDIA_IN_DRIVE = 1112,
1240    /// No mapping for the Unicode character exists in the target multi-byte code page.
1241    NO_UNICODE_TRANSLATION = 1113,
1242    /// A dynamic link library (DLL) initialization routine failed.
1243    DLL_INIT_FAILED = 1114,
1244    /// A system shutdown is in progress.
1245    SHUTDOWN_IN_PROGRESS = 1115,
1246    /// Unable to abort the system shutdown because no shutdown was in progress.
1247    NO_SHUTDOWN_IN_PROGRESS = 1116,
1248    /// The request could not be performed because of an I/O device error.
1249    IO_DEVICE = 1117,
1250    /// No serial device was successfully initialized. The serial driver will unload.
1251    SERIAL_NO_DEVICE = 1118,
1252    /// Unable to open a device that was sharing an interrupt request (IRQ) with other devices.
1253    /// At least one other device that uses that IRQ was already opened.
1254    IRQ_BUSY = 1119,
1255    /// A serial I/O operation was completed by another write to the serial port. The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
1256    MORE_WRITES = 1120,
1257    /// A serial I/O operation completed because the timeout period expired.
1258    /// The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
1259    COUNTER_TIMEOUT = 1121,
1260    /// No ID address mark was found on the floppy disk.
1261    FLOPPY_ID_MARK_NOT_FOUND = 1122,
1262    /// Mismatch between the floppy disk sector ID field and the floppy disk controller track address.
1263    FLOPPY_WRONG_CYLINDER = 1123,
1264    /// The floppy disk controller reported an error that is not recognized by the floppy disk driver.
1265    FLOPPY_UNKNOWN_ERROR = 1124,
1266    /// The floppy disk controller returned inconsistent results in its registers.
1267    FLOPPY_BAD_REGISTERS = 1125,
1268    /// While accessing the hard disk, a recalibrate operation failed, even after retries.
1269    DISK_RECALIBRATE_FAILED = 1126,
1270    /// While accessing the hard disk, a disk operation failed even after retries.
1271    DISK_OPERATION_FAILED = 1127,
1272    /// While accessing the hard disk, a disk controller reset was needed, but even that failed.
1273    DISK_RESET_FAILED = 1128,
1274    /// Physical end of tape encountered.
1275    EOM_OVERFLOW = 1129,
1276    /// Not enough server storage is available to process this command.
1277    NOT_ENOUGH_SERVER_MEMORY = 1130,
1278    /// A potential deadlock condition has been detected.
1279    POSSIBLE_DEADLOCK = 1131,
1280    /// The base address or the file offset specified does not have the proper alignment.
1281    MAPPED_ALIGNMENT = 1132,
1282    /// An attempt to change the system power state was vetoed by another application or driver.
1283    SET_POWER_STATE_VETOED = 1140,
1284    /// The system BIOS failed an attempt to change the system power state.
1285    SET_POWER_STATE_FAILED = 1141,
1286    /// An attempt was made to create more links on a file than the file system supports.
1287    TOO_MANY_LINKS = 1142,
1288    /// The specified program requires a newer version of Windows.
1289    OLD_WIN_VERSION = 1150,
1290    /// The specified program is not a Windows or MS-DOS program.
1291    APP_WRONG_OS = 1151,
1292    /// Cannot start more than one instance of the specified program.
1293    SINGLE_INSTANCE_APP = 1152,
1294    /// The specified program was written for an earlier version of Windows.
1295    RMODE_APP = 1153,
1296    /// One of the library files needed to run this application is damaged.
1297    INVALID_DLL = 1154,
1298    /// No application is associated with the specified file for this operation.
1299    NO_ASSOCIATION = 1155,
1300    /// An error occurred in sending the command to the application.
1301    DDE_FAIL = 1156,
1302    /// One of the library files needed to run this application cannot be found.
1303    DLL_NOT_FOUND = 1157,
1304    /// The current process has used all of its system allowance of handles for Window Manager objects.
1305    NO_MORE_USER_HANDLES = 1158,
1306    /// The message can be used only with synchronous operations.
1307    MESSAGE_SYNC_ONLY = 1159,
1308    /// The indicated source element has no media.
1309    SOURCE_ELEMENT_EMPTY = 1160,
1310    /// The indicated destination element already contains media.
1311    DESTINATION_ELEMENT_FULL = 1161,
1312    /// The indicated element does not exist.
1313    ILLEGAL_ELEMENT_ADDRESS = 1162,
1314    /// The indicated element is part of a magazine that is not present.
1315    MAGAZINE_NOT_PRESENT = 1163,
1316    /// The indicated device requires reinitialization due to hardware errors.
1317    DEVICE_REINITIALIZATION_NEEDED = 1164,
1318    /// The device has indicated that cleaning is required before further operations are attempted.
1319    DEVICE_REQUIRES_CLEANING = 1165,
1320    /// The device has indicated that its door is open.
1321    DEVICE_DOOR_OPEN = 1166,
1322    /// The device is not connected.
1323    DEVICE_NOT_CONNECTED = 1167,
1324    /// Element not found.
1325    NOT_FOUND = 1168,
1326    /// There was no match for the specified key in the index.
1327    NO_MATCH = 1169,
1328    /// The property set specified does not exist on the object.
1329    SET_NOT_FOUND = 1170,
1330    /// The point passed to GetMouseMovePoints is not in the buffer.
1331    POINT_NOT_FOUND = 1171,
1332    /// The tracking (workstation) service is not running.
1333    NO_TRACKING_SERVICE = 1172,
1334    /// The Volume ID could not be found.
1335    NO_VOLUME_ID = 1173,
1336    /// Unable to remove the file to be replaced.
1337    UNABLE_TO_REMOVE_REPLACED = 1175,
1338    /// Unable to move the replacement file to the file to be replaced.
1339    /// The file to be replaced has retained its original name.
1340    UNABLE_TO_MOVE_REPLACEMENT = 1176,
1341    /// Unable to move the replacement file to the file to be replaced.
1342    /// The file to be replaced has been renamed using the backup name.
1343    UNABLE_TO_MOVE_REPLACEMENT_2 = 1177,
1344    /// The volume change journal is being deleted.
1345    JOURNAL_DELETE_IN_PROGRESS = 1178,
1346    /// The volume change journal is not active.
1347    JOURNAL_NOT_ACTIVE = 1179,
1348    /// A file was found, but it may not be the correct file.
1349    POTENTIAL_FILE_FOUND = 1180,
1350    /// The journal entry has been deleted from the journal.
1351    JOURNAL_ENTRY_DELETED = 1181,
1352    /// A system shutdown has already been scheduled.
1353    SHUTDOWN_IS_SCHEDULED = 1190,
1354    /// The system shutdown cannot be initiated because there are other users logged on to the computer.
1355    SHUTDOWN_USERS_LOGGED_ON = 1191,
1356    /// The specified device name is invalid.
1357    BAD_DEVICE = 1200,
1358    /// The device is not currently connected but it is a remembered connection.
1359    CONNECTION_UNAVAIL = 1201,
1360    /// The local device name has a remembered connection to another network resource.
1361    DEVICE_ALREADY_REMEMBERED = 1202,
1362    /// The network path was either typed incorrectly, does not exist, or the network provider is not currently available.
1363    /// Please try retyping the path or contact your network administrator.
1364    NO_NET_OR_BAD_PATH = 1203,
1365    /// The specified network provider name is invalid.
1366    BAD_PROVIDER = 1204,
1367    /// Unable to open the network connection profile.
1368    CANNOT_OPEN_PROFILE = 1205,
1369    /// The network connection profile is corrupted.
1370    BAD_PROFILE = 1206,
1371    /// Cannot enumerate a noncontainer.
1372    NOT_CONTAINER = 1207,
1373    /// An extended error has occurred.
1374    EXTENDED_ERROR = 1208,
1375    /// The format of the specified group name is invalid.
1376    INVALID_GROUPNAME = 1209,
1377    /// The format of the specified computer name is invalid.
1378    INVALID_COMPUTERNAME = 1210,
1379    /// The format of the specified event name is invalid.
1380    INVALID_EVENTNAME = 1211,
1381    /// The format of the specified domain name is invalid.
1382    INVALID_DOMAINNAME = 1212,
1383    /// The format of the specified service name is invalid.
1384    INVALID_SERVICENAME = 1213,
1385    /// The format of the specified network name is invalid.
1386    INVALID_NETNAME = 1214,
1387    /// The format of the specified share name is invalid.
1388    INVALID_SHARENAME = 1215,
1389    /// The format of the specified password is invalid.
1390    INVALID_PASSWORDNAME = 1216,
1391    /// The format of the specified message name is invalid.
1392    INVALID_MESSAGENAME = 1217,
1393    /// The format of the specified message destination is invalid.
1394    INVALID_MESSAGEDEST = 1218,
1395    /// Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.
1396    /// Disconnect all previous connections to the server or shared resource and try again.
1397    SESSION_CREDENTIAL_CONFLICT = 1219,
1398    /// An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.
1399    REMOTE_SESSION_LIMIT_EXCEEDED = 1220,
1400    /// The workgroup or domain name is already in use by another computer on the network.
1401    DUP_DOMAINNAME = 1221,
1402    /// The network is not present or not started.
1403    NO_NETWORK = 1222,
1404    /// The operation was canceled by the user.
1405    CANCELLED = 1223,
1406    /// The requested operation cannot be performed on a file with a user-mapped section open.
1407    USER_MAPPED_FILE = 1224,
1408    /// The remote computer refused the network connection.
1409    CONNECTION_REFUSED = 1225,
1410    /// The network connection was gracefully closed.
1411    GRACEFUL_DISCONNECT = 1226,
1412    /// The network transport endpoint already has an address associated with it.
1413    ADDRESS_ALREADY_ASSOCIATED = 1227,
1414    /// An address has not yet been associated with the network endpoint.
1415    ADDRESS_NOT_ASSOCIATED = 1228,
1416    /// An operation was attempted on a nonexistent network connection.
1417    CONNECTION_INVALID = 1229,
1418    /// An invalid operation was attempted on an active network connection.
1419    CONNECTION_ACTIVE = 1230,
1420    /// The network location cannot be reached.
1421    /// For information about network troubleshooting, see Windows Help.
1422    NETWORK_UNREACHABLE = 1231,
1423    /// The network location cannot be reached.
1424    /// For information about network troubleshooting, see Windows Help.
1425    HOST_UNREACHABLE = 1232,
1426    /// The network location cannot be reached.
1427    /// For information about network troubleshooting, see Windows Help.
1428    PROTOCOL_UNREACHABLE = 1233,
1429    /// No service is operating at the destination network endpoint on the remote system.
1430    PORT_UNREACHABLE = 1234,
1431    /// The request was aborted.
1432    REQUEST_ABORTED = 1235,
1433    /// The network connection was aborted by the local system.
1434    CONNECTION_ABORTED = 1236,
1435    /// The operation could not be completed. A retry should be performed.
1436    RETRY = 1237,
1437    /// A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.
1438    CONNECTION_COUNT_LIMIT = 1238,
1439    /// Attempting to log in during an unauthorized time of day for this account.
1440    LOGIN_TIME_RESTRICTION = 1239,
1441    /// The account is not authorized to log in from this station.
1442    LOGIN_WKSTA_RESTRICTION = 1240,
1443    /// The network address could not be used for the operation requested.
1444    INCORRECT_ADDRESS = 1241,
1445    /// The service is already registered.
1446    ALREADY_REGISTERED = 1242,
1447    /// The specified service does not exist.
1448    SERVICE_NOT_FOUND = 1243,
1449    /// The operation being requested was not performed because the user has not been authenticated.
1450    NOT_AUTHENTICATED = 1244,
1451    /// The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.
1452    NOT_LOGGED_ON = 1245,
1453    /// Continue with work in progress.
1454    CONTINUE = 1246,
1455    /// An attempt was made to perform an initialization operation when initialization has already been completed.
1456    ALREADY_INITIALIZED = 1247,
1457    /// No more local devices.
1458    NO_MORE_DEVICES = 1248,
1459    /// The specified site does not exist.
1460    NO_SUCH_SITE = 1249,
1461    /// A domain controller with the specified name already exists.
1462    DOMAIN_CONTROLLER_EXISTS = 1250,
1463    /// This operation is supported only when you are connected to the server.
1464    ONLY_IF_CONNECTED = 1251,
1465    /// The group policy framework should call the extension even if there are no changes.
1466    OVERRIDE_NOCHANGES = 1252,
1467    /// The specified user does not have a valid profile.
1468    BAD_USER_PROFILE = 1253,
1469    /// This operation is not supported on a computer running Windows Server 2003 for Small Business Server.
1470    NOT_SUPPORTED_ON_SBS = 1254,
1471    /// The server machine is shutting down.
1472    SERVER_SHUTDOWN_IN_PROGRESS = 1255,
1473    /// The remote system is not available.
1474    /// For information about network troubleshooting, see Windows Help.
1475    HOST_DOWN = 1256,
1476    /// The security identifier provided is not from an account domain.
1477    NON_ACCOUNT_SID = 1257,
1478    /// The security identifier provided does not have a domain component.
1479    NON_DOMAIN_SID = 1258,
1480    /// AppHelp dialog canceled thus preventing the application from starting.
1481    APPHELP_BLOCK = 1259,
1482    /// This program is blocked by group policy.
1483    /// For more information, contact your system administrator.
1484    ACCESS_DISABLED_BY_POLICY = 1260,
1485    /// A program attempt to use an invalid register value.
1486    /// Normally caused by an uninitialized register. This error is Itanium specific.
1487    REG_NAT_CONSUMPTION = 1261,
1488    /// The share is currently offline or does not exist.
1489    CSCSHARE_OFFLINE = 1262,
1490    /// The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon.
1491    /// There is more information in the system event log.
1492    PKINIT_FAILURE = 1263,
1493    /// The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.
1494    SMARTCARD_SUBSYSTEM_FAILURE = 1264,
1495    /// The system cannot contact a domain controller to service the authentication request. Please try again later.
1496    DOWNGRADE_DETECTED = 1265,
1497    /// The machine is locked and cannot be shut down without the force option.
1498    MACHINE_LOCKED = 1271,
1499    /// An application-defined callback gave invalid data when called.
1500    CALLBACK_SUPPLIED_INVALID_DATA = 1273,
1501    /// The group policy framework should call the extension in the synchronous foreground policy refresh.
1502    SYNC_FOREGROUND_REFRESH_REQUIRED = 1274,
1503    /// This driver has been blocked from loading.
1504    DRIVER_BLOCKED = 1275,
1505    /// A dynamic link library (DLL) referenced a module that was neither a DLL nor the process's executable image.
1506    INVALID_IMPORT_OF_NON_DLL = 1276,
1507    /// Windows cannot open this program since it has been disabled.
1508    ACCESS_DISABLED_WEBBLADE = 1277,
1509    /// Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.
1510    ACCESS_DISABLED_WEBBLADE_TAMPER = 1278,
1511    /// A transaction recover failed.
1512    RECOVERY_FAILURE = 1279,
1513    /// The current thread has already been converted to a fiber.
1514    ALREADY_FIBER = 1280,
1515    /// The current thread has already been converted from a fiber.
1516    ALREADY_THREAD = 1281,
1517    /// The system detected an overrun of a stack-based buffer in this application.
1518    /// This overrun could potentially allow a malicious user to gain control of this application.
1519    STACK_BUFFER_OVERRUN = 1282,
1520    /// Data present in one of the parameters is more than the function can operate on.
1521    PARAMETER_QUOTA_EXCEEDED = 1283,
1522    /// An attempt to do an operation on a debug object failed because the object is in the process of being deleted.
1523    DEBUGGER_INACTIVE = 1284,
1524    /// An attempt to delay-load a .dll or get a function address in a delay-loaded .dll failed.
1525    DELAY_LOAD_FAILED = 1285,
1526    /// %1 is a 16-bit application. You do not have permissions to execute 16-bit applications.
1527    /// Check your permissions with your system administrator.
1528    VDM_DISALLOWED = 1286,
1529    /// Insufficient information exists to identify the cause of failure.
1530    UNIDENTIFIED_ERROR = 1287,
1531    /// The parameter passed to a C runtime function is incorrect.
1532    INVALID_CRUNTIME_PARAMETER = 1288,
1533    /// The operation occurred beyond the valid data length of the file.
1534    BEYOND_VDL = 1289,
1535    /// The service start failed since one or more services in the same process have an incompatible service SID type setting.
1536    /// A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type.
1537    /// If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.
1538    /// On Windows Server 2003 and Windows XP, an unrestricted service cannot coexist in the same process with other services.
1539    /// The service with the unrestricted service SID type must be moved to an owned process in order to start this service.
1540    INCOMPATIBLE_SERVICE_SID_TYPE = 1290,
1541    /// The process hosting the driver for this device has been terminated.
1542    DRIVER_PROCESS_TERMINATED = 1291,
1543    /// An operation attempted to exceed an implementation-defined limit.
1544    IMPLEMENTATION_LIMIT = 1292,
1545    /// Either the target process, or the target thread's containing process, is a protected process.
1546    PROCESS_IS_PROTECTED = 1293,
1547    /// The service notification client is lagging too far behind the current state of services in the machine.
1548    SERVICE_NOTIFY_CLIENT_LAGGING = 1294,
1549    /// The requested file operation failed because the storage quota was exceeded.
1550    /// To free up disk space, move files to a different location or delete unnecessary files.
1551    /// For more information, contact your system administrator.
1552    DISK_QUOTA_EXCEEDED = 1295,
1553    /// The requested file operation failed because the storage policy blocks that type of file.
1554    /// For more information, contact your system administrator.
1555    CONTENT_BLOCKED = 1296,
1556    /// A privilege that the service requires to function properly does not exist in the service account configuration.
1557    /// You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration.
1558    INCOMPATIBLE_SERVICE_PRIVILEGE = 1297,
1559    /// A thread involved in this operation appears to be unresponsive.
1560    APP_HANG = 1298,
1561    /// Indicates a particular Security ID may not be assigned as the label of an object.
1562    INVALID_LABEL = 1299,
1563    /// Not all privileges or groups referenced are assigned to the caller.
1564    NOT_ALL_ASSIGNED = 1300,
1565    /// Some mapping between account names and security IDs was not done.
1566    SOME_NOT_MAPPED = 1301,
1567    /// No system quota limits are specifically set for this account.
1568    NO_QUOTAS_FOR_ACCOUNT = 1302,
1569    /// No encryption key is available. A well-known encryption key was returned.
1570    LOCAL_USER_SESSION_KEY = 1303,
1571    /// The password is too complex to be converted to a LAN Manager password.
1572    /// The LAN Manager password returned is a NULL string.
1573    NULL_LM_PASSWORD = 1304,
1574    /// The revision level is unknown.
1575    UNKNOWN_REVISION = 1305,
1576    /// Indicates two revision levels are incompatible.
1577    REVISION_MISMATCH = 1306,
1578    /// This security ID may not be assigned as the owner of this object.
1579    INVALID_OWNER = 1307,
1580    /// This security ID may not be assigned as the primary group of an object.
1581    INVALID_PRIMARY_GROUP = 1308,
1582    /// An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
1583    NO_IMPERSONATION_TOKEN = 1309,
1584    /// The group may not be disabled.
1585    CANT_DISABLE_MANDATORY = 1310,
1586    /// There are currently no logon servers available to service the logon request.
1587    NO_LOGON_SERVERS = 1311,
1588    /// A specified logon session does not exist. It may already have been terminated.
1589    NO_SUCH_LOGON_SESSION = 1312,
1590    /// A specified privilege does not exist.
1591    NO_SUCH_PRIVILEGE = 1313,
1592    /// A required privilege is not held by the client.
1593    PRIVILEGE_NOT_HELD = 1314,
1594    /// The name provided is not a properly formed account name.
1595    INVALID_ACCOUNT_NAME = 1315,
1596    /// The specified account already exists.
1597    USER_EXISTS = 1316,
1598    /// The specified account does not exist.
1599    NO_SUCH_USER = 1317,
1600    /// The specified group already exists.
1601    GROUP_EXISTS = 1318,
1602    /// The specified group does not exist.
1603    NO_SUCH_GROUP = 1319,
1604    /// 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.
1605    MEMBER_IN_GROUP = 1320,
1606    /// The specified user account is not a member of the specified group account.
1607    MEMBER_NOT_IN_GROUP = 1321,
1608    /// This operation is disallowed as it could result in an administration account being disabled, deleted or unable to log on.
1609    LAST_ADMIN = 1322,
1610    /// Unable to update the password. The value provided as the current password is incorrect.
1611    WRONG_PASSWORD = 1323,
1612    /// Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.
1613    ILL_FORMED_PASSWORD = 1324,
1614    /// Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.
1615    PASSWORD_RESTRICTION = 1325,
1616    /// The user name or password is incorrect.
1617    LOGON_FAILURE = 1326,
1618    /// Account restrictions are preventing this user from signing in.
1619    /// For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.
1620    ACCOUNT_RESTRICTION = 1327,
1621    /// Your account has time restrictions that keep you from signing in right now.
1622    INVALID_LOGON_HOURS = 1328,
1623    /// This user isn't allowed to sign in to this computer.
1624    INVALID_WORKSTATION = 1329,
1625    /// The password for this account has expired.
1626    PASSWORD_EXPIRED = 1330,
1627    /// This user can't sign in because this account is currently disabled.
1628    ACCOUNT_DISABLED = 1331,
1629    /// No mapping between account names and security IDs was done.
1630    NONE_MAPPED = 1332,
1631    /// Too many local user identifiers (LUIDs) were requested at one time.
1632    TOO_MANY_LUIDS_REQUESTED = 1333,
1633    /// No more local user identifiers (LUIDs) are available.
1634    LUIDS_EXHAUSTED = 1334,
1635    /// The subauthority part of a security ID is invalid for this particular use.
1636    INVALID_SUB_AUTHORITY = 1335,
1637    /// The access control list (ACL) structure is invalid.
1638    INVALID_ACL = 1336,
1639    /// The security ID structure is invalid.
1640    INVALID_SID = 1337,
1641    /// The security descriptor structure is invalid.
1642    INVALID_SECURITY_DESCR = 1338,
1643    /// The inherited access control list (ACL) or access control entry (ACE) could not be built.
1644    BAD_INHERITANCE_ACL = 1340,
1645    /// The server is currently disabled.
1646    SERVER_DISABLED = 1341,
1647    /// The server is currently enabled.
1648    SERVER_NOT_DISABLED = 1342,
1649    /// The value provided was an invalid value for an identifier authority.
1650    INVALID_ID_AUTHORITY = 1343,
1651    /// No more memory is available for security information updates.
1652    ALLOTTED_SPACE_EXCEEDED = 1344,
1653    /// The specified attributes are invalid, or incompatible with the attributes for the group as a whole.
1654    INVALID_GROUP_ATTRIBUTES = 1345,
1655    /// Either a required impersonation level was not provided, or the provided impersonation level is invalid.
1656    BAD_IMPERSONATION_LEVEL = 1346,
1657    /// Cannot open an anonymous level security token.
1658    CANT_OPEN_ANONYMOUS = 1347,
1659    /// The validation information class requested was invalid.
1660    BAD_VALIDATION_CLASS = 1348,
1661    /// The type of the token is inappropriate for its attempted use.
1662    BAD_TOKEN_TYPE = 1349,
1663    /// Unable to perform a security operation on an object that has no associated security.
1664    NO_SECURITY_ON_OBJECT = 1350,
1665    /// Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.
1666    CANT_ACCESS_DOMAIN_INFO = 1351,
1667    /// The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation.
1668    INVALID_SERVER_STATE = 1352,
1669    /// The domain was in the wrong state to perform the security operation.
1670    INVALID_DOMAIN_STATE = 1353,
1671    /// This operation is only allowed for the Primary Domain Controller of the domain.
1672    INVALID_DOMAIN_ROLE = 1354,
1673    /// The specified domain either does not exist or could not be contacted.
1674    NO_SUCH_DOMAIN = 1355,
1675    /// The specified domain already exists.
1676    DOMAIN_EXISTS = 1356,
1677    /// An attempt was made to exceed the limit on the number of domains per server.
1678    DOMAIN_LIMIT_EXCEEDED = 1357,
1679    /// Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.
1680    INTERNAL_DB_CORRUPTION = 1358,
1681    /// An internal error occurred.
1682    INTERNAL_ERROR = 1359,
1683    /// Generic access types were contained in an access mask which should already be mapped to nongeneric types.
1684    GENERIC_NOT_MAPPED = 1360,
1685    /// A security descriptor is not in the right format (absolute or self-relative).
1686    BAD_DESCRIPTOR_FORMAT = 1361,
1687    /// The requested action is restricted for use by logon processes only.
1688    /// The calling process has not registered as a logon process.
1689    NOT_LOGON_PROCESS = 1362,
1690    /// Cannot start a new logon session with an ID that is already in use.
1691    LOGON_SESSION_EXISTS = 1363,
1692    /// A specified authentication package is unknown.
1693    NO_SUCH_PACKAGE = 1364,
1694    /// The logon session is not in a state that is consistent with the requested operation.
1695    BAD_LOGON_SESSION_STATE = 1365,
1696    /// The logon session ID is already in use.
1697    LOGON_SESSION_COLLISION = 1366,
1698    /// A logon request contained an invalid logon type value.
1699    INVALID_LOGON_TYPE = 1367,
1700    /// Unable to impersonate using a named pipe until data has been read from that pipe.
1701    CANNOT_IMPERSONATE = 1368,
1702    /// The transaction state of a registry subtree is incompatible with the requested operation.
1703    RXACT_INVALID_STATE = 1369,
1704    /// An internal security database corruption has been encountered.
1705    RXACT_COMMIT_FAILURE = 1370,
1706    /// Cannot perform this operation on built-in accounts.
1707    SPECIAL_ACCOUNT = 1371,
1708    /// Cannot perform this operation on this built-in special group.
1709    SPECIAL_GROUP = 1372,
1710    /// Cannot perform this operation on this built-in special user.
1711    SPECIAL_USER = 1373,
1712    /// The user cannot be removed from a group because the group is currently the user's primary group.
1713    MEMBERS_PRIMARY_GROUP = 1374,
1714    /// The token is already in use as a primary token.
1715    TOKEN_ALREADY_IN_USE = 1375,
1716    /// The specified local group does not exist.
1717    NO_SUCH_ALIAS = 1376,
1718    /// The specified account name is not a member of the group.
1719    MEMBER_NOT_IN_ALIAS = 1377,
1720    /// The specified account name is already a member of the group.
1721    MEMBER_IN_ALIAS = 1378,
1722    /// The specified local group already exists.
1723    ALIAS_EXISTS = 1379,
1724    /// Logon failure: the user has not been granted the requested logon type at this computer.
1725    LOGON_NOT_GRANTED = 1380,
1726    /// The maximum number of secrets that may be stored in a single system has been exceeded.
1727    TOO_MANY_SECRETS = 1381,
1728    /// The length of a secret exceeds the maximum length allowed.
1729    SECRET_TOO_LONG = 1382,
1730    /// The local security authority database contains an internal inconsistency.
1731    INTERNAL_DB_ERROR = 1383,
1732    /// During a logon attempt, the user's security context accumulated too many security IDs.
1733    TOO_MANY_CONTEXT_IDS = 1384,
1734    /// Logon failure: the user has not been granted the requested logon type at this computer.
1735    LOGON_TYPE_NOT_GRANTED = 1385,
1736    /// A cross-encrypted password is necessary to change a user password.
1737    NT_CROSS_ENCRYPTION_REQUIRED = 1386,
1738    /// A member could not be added to or removed from the local group because the member does not exist.
1739    NO_SUCH_MEMBER = 1387,
1740    /// A new member could not be added to a local group because the member has the wrong account type.
1741    INVALID_MEMBER = 1388,
1742    /// Too many security IDs have been specified.
1743    TOO_MANY_SIDS = 1389,
1744    /// A cross-encrypted password is necessary to change this user password.
1745    LM_CROSS_ENCRYPTION_REQUIRED = 1390,
1746    /// Indicates an ACL contains no inheritable components.
1747    NO_INHERITANCE = 1391,
1748    /// The file or directory is corrupted and unreadable.
1749    FILE_CORRUPT = 1392,
1750    /// The disk structure is corrupted and unreadable.
1751    DISK_CORRUPT = 1393,
1752    /// There is no user session key for the specified logon session.
1753    NO_USER_SESSION_KEY = 1394,
1754    /// The service being accessed is licensed for a particular number of connections.
1755    /// No more connections can be made to the service at this time because there are already as many connections as the service can accept.
1756    LICENSE_QUOTA_EXCEEDED = 1395,
1757    /// The target account name is incorrect.
1758    WRONG_TARGET_NAME = 1396,
1759    /// Mutual Authentication failed. The server's password is out of date at the domain controller.
1760    MUTUAL_AUTH_FAILED = 1397,
1761    /// There is a time and/or date difference between the client and server.
1762    TIME_SKEW = 1398,
1763    /// This operation cannot be performed on the current domain.
1764    CURRENT_DOMAIN_NOT_ALLOWED = 1399,
1765    /// Invalid window handle.
1766    INVALID_WINDOW_HANDLE = 1400,
1767    /// Invalid menu handle.
1768    INVALID_MENU_HANDLE = 1401,
1769    /// Invalid cursor handle.
1770    INVALID_CURSOR_HANDLE = 1402,
1771    /// Invalid accelerator table handle.
1772    INVALID_ACCEL_HANDLE = 1403,
1773    /// Invalid hook handle.
1774    INVALID_HOOK_HANDLE = 1404,
1775    /// Invalid handle to a multiple-window position structure.
1776    INVALID_DWP_HANDLE = 1405,
1777    /// Cannot create a top-level child window.
1778    TLW_WITH_WSCHILD = 1406,
1779    /// Cannot find window class.
1780    CANNOT_FIND_WND_CLASS = 1407,
1781    /// Invalid window; it belongs to other thread.
1782    WINDOW_OF_OTHER_THREAD = 1408,
1783    /// Hot key is already registered.
1784    HOTKEY_ALREADY_REGISTERED = 1409,
1785    /// Class already exists.
1786    CLASS_ALREADY_EXISTS = 1410,
1787    /// Class does not exist.
1788    CLASS_DOES_NOT_EXIST = 1411,
1789    /// Class still has open windows.
1790    CLASS_HAS_WINDOWS = 1412,
1791    /// Invalid index.
1792    INVALID_INDEX = 1413,
1793    /// Invalid icon handle.
1794    INVALID_ICON_HANDLE = 1414,
1795    /// Using private DIALOG window words.
1796    PRIVATE_DIALOG_INDEX = 1415,
1797    /// The list box identifier was not found.
1798    LISTBOX_ID_NOT_FOUND = 1416,
1799    /// No wildcards were found.
1800    NO_WILDCARD_CHARACTERS = 1417,
1801    /// Thread does not have a clipboard open.
1802    CLIPBOARD_NOT_OPEN = 1418,
1803    /// Hot key is not registered.
1804    HOTKEY_NOT_REGISTERED = 1419,
1805    /// The window is not a valid dialog window.
1806    WINDOW_NOT_DIALOG = 1420,
1807    /// Control ID not found.
1808    CONTROL_ID_NOT_FOUND = 1421,
1809    /// Invalid message for a combo box because it does not have an edit control.
1810    INVALID_COMBOBOX_MESSAGE = 1422,
1811    /// The window is not a combo box.
1812    WINDOW_NOT_COMBOBOX = 1423,
1813    /// Height must be less than 256.
1814    INVALID_EDIT_HEIGHT = 1424,
1815    /// Invalid device context (DC) handle.
1816    DC_NOT_FOUND = 1425,
1817    /// Invalid hook procedure type.
1818    INVALID_HOOK_FILTER = 1426,
1819    /// Invalid hook procedure.
1820    INVALID_FILTER_PROC = 1427,
1821    /// Cannot set nonlocal hook without a module handle.
1822    HOOK_NEEDS_HMOD = 1428,
1823    /// This hook procedure can only be set globally.
1824    GLOBAL_ONLY_HOOK = 1429,
1825    /// The journal hook procedure is already installed.
1826    JOURNAL_HOOK_SET = 1430,
1827    /// The hook procedure is not installed.
1828    HOOK_NOT_INSTALLED = 1431,
1829    /// Invalid message for single-selection list box.
1830    INVALID_LB_MESSAGE = 1432,
1831    /// LB_SETCOUNT sent to non-lazy list box.
1832    SETCOUNT_ON_BAD_LB = 1433,
1833    /// This list box does not support tab stops.
1834    LB_WITHOUT_TABSTOPS = 1434,
1835    /// Cannot destroy object created by another thread.
1836    DESTROY_OBJECT_OF_OTHER_THREAD = 1435,
1837    /// Child windows cannot have menus.
1838    CHILD_WINDOW_MENU = 1436,
1839    /// The window does not have a system menu.
1840    NO_SYSTEM_MENU = 1437,
1841    /// Invalid message box style.
1842    INVALID_MSGBOX_STYLE = 1438,
1843    /// Invalid system-wide (SPI_*) parameter.
1844    INVALID_SPI_VALUE = 1439,
1845    /// Screen already locked.
1846    SCREEN_ALREADY_LOCKED = 1440,
1847    /// All handles to windows in a multiple-window position structure must have the same parent.
1848    HWNDS_HAVE_DIFF_PARENT = 1441,
1849    /// The window is not a child window.
1850    NOT_CHILD_WINDOW = 1442,
1851    /// Invalid GW_* command.
1852    INVALID_GW_COMMAND = 1443,
1853    /// Invalid thread identifier.
1854    INVALID_THREAD_ID = 1444,
1855    /// Cannot process a message from a window that is not a multiple document interface (MDI) window.
1856    NON_MDICHILD_WINDOW = 1445,
1857    /// Popup menu already active.
1858    POPUP_ALREADY_ACTIVE = 1446,
1859    /// The window does not have scroll bars.
1860    NO_SCROLLBARS = 1447,
1861    /// Scroll bar range cannot be greater than MAXLONG.
1862    INVALID_SCROLLBAR_RANGE = 1448,
1863    /// Cannot show or remove the window in the way specified.
1864    INVALID_SHOWWIN_COMMAND = 1449,
1865    /// Insufficient system resources exist to complete the requested service.
1866    NO_SYSTEM_RESOURCES = 1450,
1867    /// Insufficient system resources exist to complete the requested service.
1868    NONPAGED_SYSTEM_RESOURCES = 1451,
1869    /// Insufficient system resources exist to complete the requested service.
1870    PAGED_SYSTEM_RESOURCES = 1452,
1871    /// Insufficient quota to complete the requested service.
1872    WORKING_SET_QUOTA = 1453,
1873    /// Insufficient quota to complete the requested service.
1874    PAGEFILE_QUOTA = 1454,
1875    /// The paging file is too small for this operation to complete.
1876    COMMITMENT_LIMIT = 1455,
1877    /// A menu item was not found.
1878    MENU_ITEM_NOT_FOUND = 1456,
1879    /// Invalid keyboard layout handle.
1880    INVALID_KEYBOARD_HANDLE = 1457,
1881    /// Hook type not allowed.
1882    HOOK_TYPE_NOT_ALLOWED = 1458,
1883    /// This operation requires an interactive window station.
1884    REQUIRES_INTERACTIVE_WINDOWSTATION = 1459,
1885    /// This operation returned because the timeout period expired.
1886    TIMEOUT = 1460,
1887    /// Invalid monitor handle.
1888    INVALID_MONITOR_HANDLE = 1461,
1889    /// Incorrect size argument.
1890    INCORRECT_SIZE = 1462,
1891    /// The symbolic link cannot be followed because its type is disabled.
1892    SYMLINK_CLASS_DISABLED = 1463,
1893    /// This application does not support the current operation on symbolic links.
1894    SYMLINK_NOT_SUPPORTED = 1464,
1895    /// Windows was unable to parse the requested XML data.
1896    XML_PARSE_ERROR = 1465,
1897    /// An error was encountered while processing an XML digital signature.
1898    XMLDSIG_ERROR = 1466,
1899    /// This application must be restarted.
1900    RESTART_APPLICATION = 1467,
1901    /// The caller made the connection request in the wrong routing compartment.
1902    WRONG_COMPARTMENT = 1468,
1903    /// There was an AuthIP failure when attempting to connect to the remote host.
1904    AUTHIP_FAILURE = 1469,
1905    /// Insufficient NVRAM resources exist to complete the requested service. A reboot might be required.
1906    NO_NVRAM_RESOURCES = 1470,
1907    /// Unable to finish the requested operation because the specified process is not a GUI process.
1908    NOT_GUI_PROCESS = 1471,
1909    /// The event log file is corrupted.
1910    EVENTLOG_FILE_CORRUPT = 1500,
1911    /// No event log file could be opened, so the event logging service did not start.
1912    EVENTLOG_CANT_START = 1501,
1913    /// The event log file is full.
1914    LOG_FILE_FULL = 1502,
1915    /// The event log file has changed between read operations.
1916    EVENTLOG_FILE_CHANGED = 1503,
1917    /// The specified task name is invalid.
1918    INVALID_TASK_NAME = 1550,
1919    /// The specified task index is invalid.
1920    INVALID_TASK_INDEX = 1551,
1921    /// The specified thread is already joining a task.
1922    THREAD_ALREADY_IN_TASK = 1552,
1923    /// The Windows Installer Service could not be accessed.
1924    /// This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
1925    INSTALL_SERVICE_FAILURE = 1601,
1926    /// User cancelled installation.
1927    INSTALL_USEREXIT = 1602,
1928    /// Fatal error during installation.
1929    INSTALL_FAILURE = 1603,
1930    /// Installation suspended, incomplete.
1931    INSTALL_SUSPEND = 1604,
1932    /// This action is only valid for products that are currently installed.
1933    UNKNOWN_PRODUCT = 1605,
1934    /// Feature ID not registered.
1935    UNKNOWN_FEATURE = 1606,
1936    /// Component ID not registered.
1937    UNKNOWN_COMPONENT = 1607,
1938    /// Unknown property.
1939    UNKNOWN_PROPERTY = 1608,
1940    /// Handle is in an invalid state.
1941    INVALID_HANDLE_STATE = 1609,
1942    /// The configuration data for this product is corrupt. Contact your support personnel.
1943    BAD_CONFIGURATION = 1610,
1944    /// Component qualifier not present.
1945    INDEX_ABSENT = 1611,
1946    /// The installation source for this product is not available.
1947    /// Verify that the source exists and that you can access it.
1948    INSTALL_SOURCE_ABSENT = 1612,
1949    /// This installation package cannot be installed by the Windows Installer service.
1950    /// You must install a Windows service pack that contains a newer version of the Windows Installer service.
1951    INSTALL_PACKAGE_VERSION = 1613,
1952    /// Product is uninstalled.
1953    PRODUCT_UNINSTALLED = 1614,
1954    /// SQL query syntax invalid or unsupported.
1955    BAD_QUERY_SYNTAX = 1615,
1956    /// Record field does not exist.
1957    INVALID_FIELD = 1616,
1958    /// The device has been removed.
1959    DEVICE_REMOVED = 1617,
1960    /// Another installation is already in progress.
1961    /// Complete that installation before proceeding with this install.
1962    INSTALL_ALREADY_RUNNING = 1618,
1963    /// This installation package could not be opened.
1964    /// 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.
1965    INSTALL_PACKAGE_OPEN_FAILED = 1619,
1966    /// This installation package could not be opened.
1967    /// Contact the application vendor to verify that this is a valid Windows Installer package.
1968    INSTALL_PACKAGE_INVALID = 1620,
1969    /// There was an error starting the Windows Installer service user interface. Contact your support personnel.
1970    INSTALL_UI_FAILURE = 1621,
1971    /// Error opening installation log file.
1972    /// Verify that the specified log file location exists and that you can write to it.
1973    INSTALL_LOG_FAILURE = 1622,
1974    /// The language of this installation package is not supported by your system.
1975    INSTALL_LANGUAGE_UNSUPPORTED = 1623,
1976    /// Error applying transforms. Verify that the specified transform paths are valid.
1977    INSTALL_TRANSFORM_FAILURE = 1624,
1978    /// This installation is forbidden by system policy. Contact your system administrator.
1979    INSTALL_PACKAGE_REJECTED = 1625,
1980    /// Function could not be executed.
1981    FUNCTION_NOT_CALLED = 1626,
1982    /// Function failed during execution.
1983    FUNCTION_FAILED = 1627,
1984    /// Invalid or unknown table specified.
1985    INVALID_TABLE = 1628,
1986    /// Data supplied is of wrong type.
1987    DATATYPE_MISMATCH = 1629,
1988    /// Data of this type is not supported.
1989    UNSUPPORTED_TYPE = 1630,
1990    /// The Windows Installer service failed to start. Contact your support personnel.
1991    CREATE_FAILED = 1631,
1992    /// The Temp folder is on a drive that is full or is inaccessible.
1993    /// Free up space on the drive or verify that you have write permission on the Temp folder.
1994    INSTALL_TEMP_UNWRITABLE = 1632,
1995    /// This installation package is not supported by this processor type. Contact your product vendor.
1996    INSTALL_PLATFORM_UNSUPPORTED = 1633,
1997    /// Component not used on this computer.
1998    INSTALL_NOTUSED = 1634,
1999    /// This update package could not be opened.
2000    /// 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.
2001    PATCH_PACKAGE_OPEN_FAILED = 1635,
2002    /// This update package could not be opened.
2003    /// Contact the application vendor to verify that this is a valid Windows Installer update package.
2004    PATCH_PACKAGE_INVALID = 1636,
2005    /// This update package cannot be processed by the Windows Installer service.
2006    /// You must install a Windows service pack that contains a newer version of the Windows Installer service.
2007    PATCH_PACKAGE_UNSUPPORTED = 1637,
2008    /// Another version of this product is already installed. Installation of this version cannot continue.
2009    /// To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
2010    PRODUCT_VERSION = 1638,
2011    /// Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
2012    INVALID_COMMAND_LINE = 1639,
2013    /// Only administrators have permission to add, remove, or configure server software during a Terminal services remote session.
2014    /// If you want to install or configure software on the server, contact your network administrator.
2015    INSTALL_REMOTE_DISALLOWED = 1640,
2016    /// The requested operation completed successfully.
2017    /// The system will be restarted so the changes can take effect.
2018    SUCCESS_REBOOT_INITIATED = 1641,
2019    /// The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program.
2020    /// Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
2021    PATCH_TARGET_NOT_FOUND = 1642,
2022    /// The update package is not permitted by software restriction policy.
2023    PATCH_PACKAGE_REJECTED = 1643,
2024    /// One or more customizations are not permitted by software restriction policy.
2025    INSTALL_TRANSFORM_REJECTED = 1644,
2026    /// The Windows Installer does not permit installation from a Remote Desktop Connection.
2027    INSTALL_REMOTE_PROHIBITED = 1645,
2028    /// Uninstallation of the update package is not supported.
2029    PATCH_REMOVAL_UNSUPPORTED = 1646,
2030    /// The update is not applied to this product.
2031    UNKNOWN_PATCH = 1647,
2032    /// No valid sequence could be found for the set of updates.
2033    PATCH_NO_SEQUENCE = 1648,
2034    /// Update removal was disallowed by policy.
2035    PATCH_REMOVAL_DISALLOWED = 1649,
2036    /// The XML update data is invalid.
2037    INVALID_PATCH_XML = 1650,
2038    /// Windows Installer does not permit updating of managed advertised products.
2039    /// At least one feature of the product must be installed before applying the update.
2040    PATCH_MANAGED_ADVERTISED_PRODUCT = 1651,
2041    /// The Windows Installer service is not accessible in Safe Mode.
2042    /// Please try again when your computer is not in Safe Mode or you can use System Restore to return your machine to a previous good state.
2043    INSTALL_SERVICE_SAFEBOOT = 1652,
2044    /// A fail fast exception occurred.
2045    /// Exception handlers will not be invoked and the process will be terminated immediately.
2046    FAIL_FAST_EXCEPTION = 1653,
2047    /// The app that you are trying to run is not supported on this version of Windows.
2048    INSTALL_REJECTED = 1654,
2049    /// The string binding is invalid.
2050    RPC_S_INVALID_STRING_BINDING = 1700,
2051    /// The binding handle is not the correct type.
2052    RPC_S_WRONG_KIND_OF_BINDING = 1701,
2053    /// The binding handle is invalid.
2054    RPC_S_INVALID_BINDING = 1702,
2055    /// The RPC protocol sequence is not supported.
2056    RPC_S_PROTSEQ_NOT_SUPPORTED = 1703,
2057    /// The RPC protocol sequence is invalid.
2058    RPC_S_INVALID_RPC_PROTSEQ = 1704,
2059    /// The string universal unique identifier (UUID) is invalid.
2060    RPC_S_INVALID_STRING_UUID = 1705,
2061    /// The endpoint format is invalid.
2062    RPC_S_INVALID_ENDPOINT_FORMAT = 1706,
2063    /// The network address is invalid.
2064    RPC_S_INVALID_NET_ADDR = 1707,
2065    /// No endpoint was found.
2066    RPC_S_NO_ENDPOINT_FOUND = 1708,
2067    /// The timeout value is invalid.
2068    RPC_S_INVALID_TIMEOUT = 1709,
2069    /// The object universal unique identifier (UUID) was not found.
2070    RPC_S_OBJECT_NOT_FOUND = 1710,
2071    /// The object universal unique identifier (UUID) has already been registered.
2072    RPC_S_ALREADY_REGISTERED = 1711,
2073    /// The type universal unique identifier (UUID) has already been registered.
2074    RPC_S_TYPE_ALREADY_REGISTERED = 1712,
2075    /// The RPC server is already listening.
2076    RPC_S_ALREADY_LISTENING = 1713,
2077    /// No protocol sequences have been registered.
2078    RPC_S_NO_PROTSEQS_REGISTERED = 1714,
2079    /// The RPC server is not listening.
2080    RPC_S_NOT_LISTENING = 1715,
2081    /// The manager type is unknown.
2082    RPC_S_UNKNOWN_MGR_TYPE = 1716,
2083    /// The interface is unknown.
2084    RPC_S_UNKNOWN_IF = 1717,
2085    /// There are no bindings.
2086    RPC_S_NO_BINDINGS = 1718,
2087    /// There are no protocol sequences.
2088    RPC_S_NO_PROTSEQS = 1719,
2089    /// The endpoint cannot be created.
2090    RPC_S_CANT_CREATE_ENDPOINT = 1720,
2091    /// Not enough resources are available to complete this operation.
2092    RPC_S_OUT_OF_RESOURCES = 1721,
2093    /// The RPC server is unavailable.
2094    RPC_S_SERVER_UNAVAILABLE = 1722,
2095    /// The RPC server is too busy to complete this operation.
2096    RPC_S_SERVER_TOO_BUSY = 1723,
2097    /// The network options are invalid.
2098    RPC_S_INVALID_NETWORK_OPTIONS = 1724,
2099    /// There are no remote procedure calls active on this thread.
2100    RPC_S_NO_CALL_ACTIVE = 1725,
2101    /// The remote procedure call failed.
2102    RPC_S_CALL_FAILED = 1726,
2103    /// The remote procedure call failed and did not execute.
2104    RPC_S_CALL_FAILED_DNE = 1727,
2105    /// A remote procedure call (RPC) protocol error occurred.
2106    RPC_S_PROTOCOL_ERROR = 1728,
2107    /// Access to the HTTP proxy is denied.
2108    RPC_S_PROXY_ACCESS_DENIED = 1729,
2109    /// The transfer syntax is not supported by the RPC server.
2110    RPC_S_UNSUPPORTED_TRANS_SYN = 1730,
2111    /// The universal unique identifier (UUID) type is not supported.
2112    RPC_S_UNSUPPORTED_TYPE = 1732,
2113    /// The tag is invalid.
2114    RPC_S_INVALID_TAG = 1733,
2115    /// The array bounds are invalid.
2116    RPC_S_INVALID_BOUND = 1734,
2117    /// The binding does not contain an entry name.
2118    RPC_S_NO_ENTRY_NAME = 1735,
2119    /// The name syntax is invalid.
2120    RPC_S_INVALID_NAME_SYNTAX = 1736,
2121    /// The name syntax is not supported.
2122    RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737,
2123    /// No network address is available to use to construct a universal unique identifier (UUID).
2124    RPC_S_UUID_NO_ADDRESS = 1739,
2125    /// The endpoint is a duplicate.
2126    RPC_S_DUPLICATE_ENDPOINT = 1740,
2127    /// The authentication type is unknown.
2128    RPC_S_UNKNOWN_AUTHN_TYPE = 1741,
2129    /// The maximum number of calls is too small.
2130    RPC_S_MAX_CALLS_TOO_SMALL = 1742,
2131    /// The string is too long.
2132    RPC_S_STRING_TOO_LONG = 1743,
2133    /// The RPC protocol sequence was not found.
2134    RPC_S_PROTSEQ_NOT_FOUND = 1744,
2135    /// The procedure number is out of range.
2136    RPC_S_PROCNUM_OUT_OF_RANGE = 1745,
2137    /// The binding does not contain any authentication information.
2138    RPC_S_BINDING_HAS_NO_AUTH = 1746,
2139    /// The authentication service is unknown.
2140    RPC_S_UNKNOWN_AUTHN_SERVICE = 1747,
2141    /// The authentication level is unknown.
2142    RPC_S_UNKNOWN_AUTHN_LEVEL = 1748,
2143    /// The security context is invalid.
2144    RPC_S_INVALID_AUTH_IDENTITY = 1749,
2145    /// The authorization service is unknown.
2146    RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750,
2147    /// The entry is invalid.
2148    EPT_S_INVALID_ENTRY = 1751,
2149    /// The server endpoint cannot perform the operation.
2150    EPT_S_CANT_PERFORM_OP = 1752,
2151    /// There are no more endpoints available from the endpoint mapper.
2152    EPT_S_NOT_REGISTERED = 1753,
2153    /// No interfaces have been exported.
2154    RPC_S_NOTHING_TO_EXPORT = 1754,
2155    /// The entry name is incomplete.
2156    RPC_S_INCOMPLETE_NAME = 1755,
2157    /// The version option is invalid.
2158    RPC_S_INVALID_VERS_OPTION = 1756,
2159    /// There are no more members.
2160    RPC_S_NO_MORE_MEMBERS = 1757,
2161    /// There is nothing to unexport.
2162    RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758,
2163    /// The interface was not found.
2164    RPC_S_INTERFACE_NOT_FOUND = 1759,
2165    /// The entry already exists.
2166    RPC_S_ENTRY_ALREADY_EXISTS = 1760,
2167    /// The entry is not found.
2168    RPC_S_ENTRY_NOT_FOUND = 1761,
2169    /// The name service is unavailable.
2170    RPC_S_NAME_SERVICE_UNAVAILABLE = 1762,
2171    /// The network address family is invalid.
2172    RPC_S_INVALID_NAF_ID = 1763,
2173    /// The requested operation is not supported.
2174    RPC_S_CANNOT_SUPPORT = 1764,
2175    /// No security context is available to allow impersonation.
2176    RPC_S_NO_CONTEXT_AVAILABLE = 1765,
2177    /// An internal error occurred in a remote procedure call (RPC).
2178    RPC_S_INTERNAL_ERROR = 1766,
2179    /// The RPC server attempted an integer division by zero.
2180    RPC_S_ZERO_DIVIDE = 1767,
2181    /// An addressing error occurred in the RPC server.
2182    RPC_S_ADDRESS_ERROR = 1768,
2183    /// A floating-point operation at the RPC server caused a division by zero.
2184    RPC_S_FP_DIV_ZERO = 1769,
2185    /// A floating-point underflow occurred at the RPC server.
2186    RPC_S_FP_UNDERFLOW = 1770,
2187    /// A floating-point overflow occurred at the RPC server.
2188    RPC_S_FP_OVERFLOW = 1771,
2189    /// The list of RPC servers available for the binding of auto handles has been exhausted.
2190    RPC_X_NO_MORE_ENTRIES = 1772,
2191    /// Unable to open the character translation table file.
2192    RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773,
2193    /// The file containing the character translation table has fewer than 512 bytes.
2194    RPC_X_SS_CHAR_TRANS_SHORT_FILE = 1774,
2195    /// A null context handle was passed from the client to the host during a remote procedure call.
2196    RPC_X_SS_IN_NULL_CONTEXT = 1775,
2197    /// The context handle changed during a remote procedure call.
2198    RPC_X_SS_CONTEXT_DAMAGED = 1777,
2199    /// The binding handles passed to a remote procedure call do not match.
2200    RPC_X_SS_HANDLES_MISMATCH = 1778,
2201    /// The stub is unable to get the remote procedure call handle.
2202    RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779,
2203    /// A null reference pointer was passed to the stub.
2204    RPC_X_NULL_REF_POINTER = 1780,
2205    /// The enumeration value is out of range.
2206    RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781,
2207    /// The byte count is too small.
2208    RPC_X_BYTE_COUNT_TOO_SMALL = 1782,
2209    /// The stub received bad data.
2210    RPC_X_BAD_STUB_DATA = 1783,
2211    /// The supplied user buffer is not valid for the requested operation.
2212    INVALID_USER_BUFFER = 1784,
2213    /// The disk media is not recognized. It may not be formatted.
2214    UNRECOGNIZED_MEDIA = 1785,
2215    /// The workstation does not have a trust secret.
2216    NO_TRUST_LSA_SECRET = 1786,
2217    /// The security database on the server does not have a computer account for this workstation trust relationship.
2218    NO_TRUST_SAM_ACCOUNT = 1787,
2219    /// The trust relationship between the primary domain and the trusted domain failed.
2220    TRUSTED_DOMAIN_FAILURE = 1788,
2221    /// The trust relationship between this workstation and the primary domain failed.
2222    TRUSTED_RELATIONSHIP_FAILURE = 1789,
2223    /// The network logon failed.
2224    TRUST_FAILURE = 1790,
2225    /// A remote procedure call is already in progress for this thread.
2226    RPC_S_CALL_IN_PROGRESS = 1791,
2227    /// An attempt was made to logon, but the network logon service was not started.
2228    NETLOGON_NOT_STARTED = 1792,
2229    /// The user's account has expired.
2230    ACCOUNT_EXPIRED = 1793,
2231    /// The redirector is in use and cannot be unloaded.
2232    REDIRECTOR_HAS_OPEN_HANDLES = 1794,
2233    /// The specified printer driver is already installed.
2234    PRINTER_DRIVER_ALREADY_INSTALLED = 1795,
2235    /// The specified port is unknown.
2236    UNKNOWN_PORT = 1796,
2237    /// The printer driver is unknown.
2238    UNKNOWN_PRINTER_DRIVER = 1797,
2239    /// The print processor is unknown.
2240    UNKNOWN_PRINTPROCESSOR = 1798,
2241    /// The specified separator file is invalid.
2242    INVALID_SEPARATOR_FILE = 1799,
2243    /// The specified priority is invalid.
2244    INVALID_PRIORITY = 1800,
2245    /// The printer name is invalid.
2246    INVALID_PRINTER_NAME = 1801,
2247    /// The printer already exists.
2248    PRINTER_ALREADY_EXISTS = 1802,
2249    /// The printer command is invalid.
2250    INVALID_PRINTER_COMMAND = 1803,
2251    /// The specified datatype is invalid.
2252    INVALID_DATATYPE = 1804,
2253    /// The environment specified is invalid.
2254    INVALID_ENVIRONMENT = 1805,
2255    /// There are no more bindings.
2256    RPC_S_NO_MORE_BINDINGS = 1806,
2257    /// The account used is an interdomain trust account.
2258    /// Use your global user account or local user account to access this server.
2259    NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807,
2260    /// The account used is a computer account.
2261    /// Use your global user account or local user account to access this server.
2262    NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808,
2263    /// The account used is a server trust account.
2264    /// Use your global user account or local user account to access this server.
2265    NOLOGON_SERVER_TRUST_ACCOUNT = 1809,
2266    /// The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain.
2267    DOMAIN_TRUST_INCONSISTENT = 1810,
2268    /// The server is in use and cannot be unloaded.
2269    SERVER_HAS_OPEN_HANDLES = 1811,
2270    /// The specified image file did not contain a resource section.
2271    RESOURCE_DATA_NOT_FOUND = 1812,
2272    /// The specified resource type cannot be found in the image file.
2273    RESOURCE_TYPE_NOT_FOUND = 1813,
2274    /// The specified resource name cannot be found in the image file.
2275    RESOURCE_NAME_NOT_FOUND = 1814,
2276    /// The specified resource language ID cannot be found in the image file.
2277    RESOURCE_LANG_NOT_FOUND = 1815,
2278    /// Not enough quota is available to process this command.
2279    NOT_ENOUGH_QUOTA = 1816,
2280    /// No interfaces have been registered.
2281    RPC_S_NO_INTERFACES = 1817,
2282    /// The remote procedure call was cancelled.
2283    RPC_S_CALL_CANCELLED = 1818,
2284    /// The binding handle does not contain all required information.
2285    RPC_S_BINDING_INCOMPLETE = 1819,
2286    /// A communications failure occurred during a remote procedure call.
2287    RPC_S_COMM_FAILURE = 1820,
2288    /// The requested authentication level is not supported.
2289    RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821,
2290    /// No principal name registered.
2291    RPC_S_NO_PRINC_NAME = 1822,
2292    /// The error specified is not a valid Windows RPC error code.
2293    RPC_S_NOT_RPC_ERROR = 1823,
2294    /// A UUID that is valid only on this computer has been allocated.
2295    RPC_S_UUID_LOCAL_ONLY = 1824,
2296    /// A security package specific error occurred.
2297    RPC_S_SEC_PKG_ERROR = 1825,
2298    /// Thread is not canceled.
2299    RPC_S_NOT_CANCELLED = 1826,
2300    /// Invalid operation on the encoding/decoding handle.
2301    RPC_X_INVALID_ES_ACTION = 1827,
2302    /// Incompatible version of the serializing package.
2303    RPC_X_WRONG_ES_VERSION = 1828,
2304    /// Incompatible version of the RPC stub.
2305    RPC_X_WRONG_STUB_VERSION = 1829,
2306    /// The RPC pipe object is invalid or corrupted.
2307    RPC_X_INVALID_PIPE_OBJECT = 1830,
2308    /// An invalid operation was attempted on an RPC pipe object.
2309    RPC_X_WRONG_PIPE_ORDER = 1831,
2310    /// Unsupported RPC pipe version.
2311    RPC_X_WRONG_PIPE_VERSION = 1832,
2312    /// HTTP proxy server rejected the connection because the cookie authentication failed.
2313    RPC_S_COOKIE_AUTH_FAILED = 1833,
2314    /// The group member was not found.
2315    RPC_S_GROUP_MEMBER_NOT_FOUND = 1898,
2316    /// The endpoint mapper database entry could not be created.
2317    EPT_S_CANT_CREATE = 1899,
2318    /// The object universal unique identifier (UUID) is the nil UUID.
2319    RPC_S_INVALID_OBJECT = 1900,
2320    /// The specified time is invalid.
2321    INVALID_TIME = 1901,
2322    /// The specified form name is invalid.
2323    INVALID_FORM_NAME = 1902,
2324    /// The specified form size is invalid.
2325    INVALID_FORM_SIZE = 1903,
2326    /// The specified printer handle is already being waited on.
2327    ALREADY_WAITING = 1904,
2328    /// The specified printer has been deleted.
2329    PRINTER_DELETED = 1905,
2330    /// The state of the printer is invalid.
2331    INVALID_PRINTER_STATE = 1906,
2332    /// The user's password must be changed before signing in.
2333    PASSWORD_MUST_CHANGE = 1907,
2334    /// Could not find the domain controller for this domain.
2335    DOMAIN_CONTROLLER_NOT_FOUND = 1908,
2336    /// The referenced account is currently locked out and may not be logged on to.
2337    ACCOUNT_LOCKED_OUT = 1909,
2338    /// The object exporter specified was not found.
2339    OR_INVALID_OXID = 1910,
2340    /// The object specified was not found.
2341    OR_INVALID_OID = 1911,
2342    /// The object resolver set specified was not found.
2343    OR_INVALID_SET = 1912,
2344    /// Some data remains to be sent in the request buffer.
2345    RPC_S_SEND_INCOMPLETE = 1913,
2346    /// Invalid asynchronous remote procedure call handle.
2347    RPC_S_INVALID_ASYNC_HANDLE = 1914,
2348    /// Invalid asynchronous RPC call handle for this operation.
2349    RPC_S_INVALID_ASYNC_CALL = 1915,
2350    /// The RPC pipe object has already been closed.
2351    RPC_X_PIPE_CLOSED = 1916,
2352    /// The RPC call completed before all pipes were processed.
2353    RPC_X_PIPE_DISCIPLINE_ERROR = 1917,
2354    /// No more data is available from the RPC pipe.
2355    RPC_X_PIPE_EMPTY = 1918,
2356    /// No site name is available for this machine.
2357    NO_SITENAME = 1919,
2358    /// The file cannot be accessed by the system.
2359    CANT_ACCESS_FILE = 1920,
2360    /// The name of the file cannot be resolved by the system.
2361    CANT_RESOLVE_FILENAME = 1921,
2362    /// The entry is not of the expected type.
2363    RPC_S_ENTRY_TYPE_MISMATCH = 1922,
2364    /// Not all object UUIDs could be exported to the specified entry.
2365    RPC_S_NOT_ALL_OBJS_EXPORTED = 1923,
2366    /// Interface could not be exported to the specified entry.
2367    RPC_S_INTERFACE_NOT_EXPORTED = 1924,
2368    /// The specified profile entry could not be added.
2369    RPC_S_PROFILE_NOT_ADDED = 1925,
2370    /// The specified profile element could not be added.
2371    RPC_S_PRF_ELT_NOT_ADDED = 1926,
2372    /// The specified profile element could not be removed.
2373    RPC_S_PRF_ELT_NOT_REMOVED = 1927,
2374    /// The group element could not be added.
2375    RPC_S_GRP_ELT_NOT_ADDED = 1928,
2376    /// The group element could not be removed.
2377    RPC_S_GRP_ELT_NOT_REMOVED = 1929,
2378    /// The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers.
2379    KM_DRIVER_BLOCKED = 1930,
2380    /// The context has expired and can no longer be used.
2381    CONTEXT_EXPIRED = 1931,
2382    /// The current user's delegated trust creation quota has been exceeded.
2383    PER_USER_TRUST_QUOTA_EXCEEDED = 1932,
2384    /// The total delegated trust creation quota has been exceeded.
2385    ALL_USER_TRUST_QUOTA_EXCEEDED = 1933,
2386    /// The current user's delegated trust deletion quota has been exceeded.
2387    USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934,
2388    /// The computer you are signing into is protected by an authentication firewall.
2389    /// The specified account is not allowed to authenticate to the computer.
2390    AUTHENTICATION_FIREWALL_FAILED = 1935,
2391    /// Remote connections to the Print Spooler are blocked by a policy set on your machine.
2392    REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936,
2393    /// Authentication failed because NTLM authentication has been disabled.
2394    NTLM_BLOCKED = 1937,
2395    /// Logon Failure: EAS policy requires that the user change their password before this operation can be performed.
2396    PASSWORD_CHANGE_REQUIRED = 1938,
2397    /// The pixel format is invalid.
2398    INVALID_PIXEL_FORMAT = 2000,
2399    /// The specified driver is invalid.
2400    BAD_DRIVER = 2001,
2401    /// The window style or class attribute is invalid for this operation.
2402    INVALID_WINDOW_STYLE = 2002,
2403    /// The requested metafile operation is not supported.
2404    METAFILE_NOT_SUPPORTED = 2003,
2405    /// The requested transformation operation is not supported.
2406    TRANSFORM_NOT_SUPPORTED = 2004,
2407    /// The requested clipping operation is not supported.
2408    CLIPPING_NOT_SUPPORTED = 2005,
2409    /// The specified color management module is invalid.
2410    INVALID_CMM = 2010,
2411    /// The specified color profile is invalid.
2412    INVALID_PROFILE = 2011,
2413    /// The specified tag was not found.
2414    TAG_NOT_FOUND = 2012,
2415    /// A required tag is not present.
2416    TAG_NOT_PRESENT = 2013,
2417    /// The specified tag is already present.
2418    DUPLICATE_TAG = 2014,
2419    /// The specified color profile is not associated with the specified device.
2420    PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015,
2421    /// The specified color profile was not found.
2422    PROFILE_NOT_FOUND = 2016,
2423    /// The specified color space is invalid.
2424    INVALID_COLORSPACE = 2017,
2425    /// Image Color Management is not enabled.
2426    ICM_NOT_ENABLED = 2018,
2427    /// There was an error while deleting the color transform.
2428    DELETING_ICM_XFORM = 2019,
2429    /// The specified color transform is invalid.
2430    INVALID_TRANSFORM = 2020,
2431    /// The specified transform does not match the bitmap's color space.
2432    COLORSPACE_MISMATCH = 2021,
2433    /// The specified named color index is not present in the profile.
2434    INVALID_COLORINDEX = 2022,
2435    /// The specified profile is intended for a device of a different type than the specified device.
2436    PROFILE_DOES_NOT_MATCH_DEVICE = 2023,
2437    /// The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.
2438    CONNECTED_OTHER_PASSWORD = 2108,
2439    /// The network connection was made successfully using default credentials.
2440    CONNECTED_OTHER_PASSWORD_DEFAULT = 2109,
2441    /// The specified username is invalid.
2442    BAD_USERNAME = 2202,
2443    /// This network connection does not exist.
2444    NOT_CONNECTED = 2250,
2445    /// This network connection has files open or requests pending.
2446    OPEN_FILES = 2401,
2447    /// Active connections still exist.
2448    ACTIVE_CONNECTIONS = 2402,
2449    /// The device is in use by an active process and cannot be disconnected.
2450    DEVICE_IN_USE = 2404,
2451    /// The specified print monitor is unknown.
2452    UNKNOWN_PRINT_MONITOR = 3000,
2453    /// The specified printer driver is currently in use.
2454    PRINTER_DRIVER_IN_USE = 3001,
2455    /// The spool file was not found.
2456    SPOOL_FILE_NOT_FOUND = 3002,
2457    /// A StartDocPrinter call was not issued.
2458    SPL_NO_STARTDOC = 3003,
2459    /// An AddJob call was not issued.
2460    SPL_NO_ADDJOB = 3004,
2461    /// The specified print processor has already been installed.
2462    PRINT_PROCESSOR_ALREADY_INSTALLED = 3005,
2463    /// The specified print monitor has already been installed.
2464    PRINT_MONITOR_ALREADY_INSTALLED = 3006,
2465    /// The specified print monitor does not have the required functions.
2466    INVALID_PRINT_MONITOR = 3007,
2467    /// The specified print monitor is currently in use.
2468    PRINT_MONITOR_IN_USE = 3008,
2469    /// The requested operation is not allowed when there are jobs queued to the printer.
2470    PRINTER_HAS_JOBS_QUEUED = 3009,
2471    /// The requested operation is successful.
2472    /// Changes will not be effective until the system is rebooted.
2473    SUCCESS_REBOOT_REQUIRED = 3010,
2474    /// The requested operation is successful.
2475    /// Changes will not be effective until the service is restarted.
2476    SUCCESS_RESTART_REQUIRED = 3011,
2477    /// No printers were found.
2478    PRINTER_NOT_FOUND = 3012,
2479    /// The printer driver is known to be unreliable.
2480    PRINTER_DRIVER_WARNED = 3013,
2481    /// The printer driver is known to harm the system.
2482    PRINTER_DRIVER_BLOCKED = 3014,
2483    /// The specified printer driver package is currently in use.
2484    PRINTER_DRIVER_PACKAGE_IN_USE = 3015,
2485    /// Unable to find a core driver package that is required by the printer driver package.
2486    CORE_DRIVER_PACKAGE_NOT_FOUND = 3016,
2487    /// The requested operation failed.
2488    /// A system reboot is required to roll back changes made.
2489    FAIL_REBOOT_REQUIRED = 3017,
2490    /// The requested operation failed.
2491    /// A system reboot has been initiated to roll back changes made.
2492    FAIL_REBOOT_INITIATED = 3018,
2493    /// The specified printer driver was not found on the system and needs to be downloaded.
2494    PRINTER_DRIVER_DOWNLOAD_NEEDED = 3019,
2495    /// The requested print job has failed to print.
2496    /// A print system update requires the job to be resubmitted.
2497    PRINT_JOB_RESTART_REQUIRED = 3020,
2498    /// The printer driver does not contain a valid manifest, or contains too many manifests.
2499    INVALID_PRINTER_DRIVER_MANIFEST = 3021,
2500    /// The specified printer cannot be shared.
2501    PRINTER_NOT_SHAREABLE = 3022,
2502    /// The operation was paused.
2503    REQUEST_PAUSED = 3050,
2504    /// Reissue the given operation as a cached IO operation.
2505    IO_REISSUE_AS_CACHED = 3950,
2506    _,
2507};
2508