authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2020-01-31 20:46:09+11:00
committergravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2020-01-31 22:33:55+11:00
logb9f720365c0ad20420ead337c1746b8f0a5da649
tree313773cea791fc1fe509fdad218254b218300585
parent7cf0b02ab44481c7961393cb095993adb29d85f3
signaturelock-open Commit is signed but in an unrecognized format.

Turn win32 errors into a non-exhaustive enum


7 files changed, 3775 insertions(+), 3646 deletions(-)

lib/std/event/fs.zig+10-10
......@@ -160,12 +160,12 @@ pub fn pwriteWindows(fd: fd_t, data: []const u8, offset: u64) os.WindowsWriteErr
160160 var bytes_transferred: windows.DWORD = undefined;
161161 if (windows.kernel32.GetOverlappedResult(fd, &resume_node.base.overlapped, &bytes_transferred, windows.FALSE) == 0) {
162162 switch (windows.kernel32.GetLastError()) {
163 windows.ERROR.IO_PENDING => unreachable,
164 windows.ERROR.INVALID_USER_BUFFER => return error.SystemResources,
165 windows.ERROR.NOT_ENOUGH_MEMORY => return error.SystemResources,
166 windows.ERROR.OPERATION_ABORTED => return error.OperationAborted,
167 windows.ERROR.NOT_ENOUGH_QUOTA => return error.SystemResources,
168 windows.ERROR.BROKEN_PIPE => return error.BrokenPipe,
163 .IO_PENDING => unreachable,
164 .INVALID_USER_BUFFER => return error.SystemResources,
165 .NOT_ENOUGH_MEMORY => return error.SystemResources,
166 .OPERATION_ABORTED => return error.OperationAborted,
167 .NOT_ENOUGH_QUOTA => return error.SystemResources,
168 .BROKEN_PIPE => return error.BrokenPipe,
169169 else => |err| return windows.unexpectedError(err),
170170 }
171171 }
......@@ -320,10 +320,10 @@ pub fn preadWindows(fd: fd_t, data: []u8, offset: u64) !usize {
320320 var bytes_transferred: windows.DWORD = undefined;
321321 if (windows.kernel32.GetOverlappedResult(fd, &resume_node.base.overlapped, &bytes_transferred, windows.FALSE) == 0) {
322322 switch (windows.kernel32.GetLastError()) {
323 windows.ERROR.IO_PENDING => unreachable,
324 windows.ERROR.OPERATION_ABORTED => return error.OperationAborted,
325 windows.ERROR.BROKEN_PIPE => return error.BrokenPipe,
326 windows.ERROR.HANDLE_EOF => return @as(usize, bytes_transferred),
323 .IO_PENDING => unreachable,
324 .OPERATION_ABORTED => return error.OperationAborted,
325 .BROKEN_PIPE => return error.BrokenPipe,
326 .HANDLE_EOF => return @as(usize, bytes_transferred),
327327 else => |err| return windows.unexpectedError(err),
328328 }
329329 }
lib/std/os.zig+3-3
......@@ -2345,9 +2345,9 @@ pub fn accessW(path: [*:0]const u16, mode: u32) windows.GetFileAttributesError!v
23452345 return;
23462346 }
23472347 switch (windows.kernel32.GetLastError()) {
2348 windows.ERROR.FILE_NOT_FOUND => return error.FileNotFound,
2349 windows.ERROR.PATH_NOT_FOUND => return error.FileNotFound,
2350 windows.ERROR.ACCESS_DENIED => return error.PermissionDenied,
2348 .FILE_NOT_FOUND => return error.FileNotFound,
2349 .PATH_NOT_FOUND => return error.FileNotFound,
2350 .ACCESS_DENIED => return error.PermissionDenied,
23512351 else => |err| return windows.unexpectedError(err),
23522352 }
23532353}
lib/std/os/windows.zig+63-63
......@@ -72,14 +72,14 @@ pub fn CreateFileW(
7272
7373 if (result == INVALID_HANDLE_VALUE) {
7474 switch (kernel32.GetLastError()) {
75 ERROR.SHARING_VIOLATION => return error.SharingViolation,
76 ERROR.ALREADY_EXISTS => return error.PathAlreadyExists,
77 ERROR.FILE_EXISTS => return error.PathAlreadyExists,
78 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
79 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
80 ERROR.ACCESS_DENIED => return error.AccessDenied,
81 ERROR.PIPE_BUSY => return error.PipeBusy,
82 ERROR.FILENAME_EXCED_RANGE => return error.NameTooLong,
75 .SHARING_VIOLATION => return error.SharingViolation,
76 .ALREADY_EXISTS => return error.PathAlreadyExists,
77 .FILE_EXISTS => return error.PathAlreadyExists,
78 .FILE_NOT_FOUND => return error.FileNotFound,
79 .PATH_NOT_FOUND => return error.FileNotFound,
80 .ACCESS_DENIED => return error.AccessDenied,
81 .PIPE_BUSY => return error.PipeBusy,
82 .FILENAME_EXCED_RANGE => return error.NameTooLong,
8383 else => |err| return unexpectedError(err),
8484 }
8585 }
......@@ -132,7 +132,7 @@ pub fn DeviceIoControl(
132132 overlapped,
133133 ) == 0) {
134134 switch (kernel32.GetLastError()) {
135 ERROR.IO_PENDING => if (overlapped == null) unreachable,
135 .IO_PENDING => if (overlapped == null) unreachable,
136136 else => |err| return unexpectedError(err),
137137 }
138138 }
......@@ -143,7 +143,7 @@ pub fn GetOverlappedResult(h: HANDLE, overlapped: *OVERLAPPED, wait: bool) !DWOR
143143 var bytes: DWORD = undefined;
144144 if (kernel32.GetOverlappedResult(h, overlapped, &bytes, @boolToInt(wait)) == 0) {
145145 switch (kernel32.GetLastError()) {
146 ERROR.IO_INCOMPLETE => if (!wait) return error.WouldBlock else unreachable,
146 .IO_INCOMPLETE => if (!wait) return error.WouldBlock else unreachable,
147147 else => |err| return unexpectedError(err),
148148 }
149149 }
......@@ -246,8 +246,8 @@ pub fn FindFirstFile(dir_path: []const u8, find_file_data: *WIN32_FIND_DATAW) Fi
246246
247247 if (handle == INVALID_HANDLE_VALUE) {
248248 switch (kernel32.GetLastError()) {
249 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
250 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
249 .FILE_NOT_FOUND => return error.FileNotFound,
250 .PATH_NOT_FOUND => return error.FileNotFound,
251251 else => |err| return unexpectedError(err),
252252 }
253253 }
......@@ -261,7 +261,7 @@ pub const FindNextFileError = error{Unexpected};
261261pub fn FindNextFile(handle: HANDLE, find_file_data: *WIN32_FIND_DATAW) FindNextFileError!bool {
262262 if (kernel32.FindNextFileW(handle, find_file_data) == 0) {
263263 switch (kernel32.GetLastError()) {
264 ERROR.NO_MORE_FILES => return false,
264 .NO_MORE_FILES => return false,
265265 else => |err| return unexpectedError(err),
266266 }
267267 }
......@@ -278,7 +278,7 @@ pub fn CreateIoCompletionPort(
278278) CreateIoCompletionPortError!HANDLE {
279279 const handle = kernel32.CreateIoCompletionPort(file_handle, existing_completion_port, completion_key, concurrent_thread_count) orelse {
280280 switch (kernel32.GetLastError()) {
281 ERROR.INVALID_PARAMETER => unreachable,
281 .INVALID_PARAMETER => unreachable,
282282 else => |err| return unexpectedError(err),
283283 }
284284 };
......@@ -322,9 +322,9 @@ pub fn GetQueuedCompletionStatus(
322322 dwMilliseconds,
323323 ) == FALSE) {
324324 switch (kernel32.GetLastError()) {
325 ERROR.ABANDONED_WAIT_0 => return GetQueuedCompletionStatusResult.Aborted,
326 ERROR.OPERATION_ABORTED => return GetQueuedCompletionStatusResult.Cancelled,
327 ERROR.HANDLE_EOF => return GetQueuedCompletionStatusResult.EOF,
325 .ABANDONED_WAIT_0 => return GetQueuedCompletionStatusResult.Aborted,
326 .OPERATION_ABORTED => return GetQueuedCompletionStatusResult.Cancelled,
327 .HANDLE_EOF => return GetQueuedCompletionStatusResult.EOF,
328328 else => |err| {
329329 if (std.debug.runtime_safety) {
330330 std.debug.panic("unexpected error: {}\n", .{err});
......@@ -352,8 +352,8 @@ pub fn ReadFile(in_hFile: HANDLE, buffer: []u8) ReadFileError!usize {
352352 var amt_read: DWORD = undefined;
353353 if (kernel32.ReadFile(in_hFile, buffer.ptr + index, want_read_count, &amt_read, null) == 0) {
354354 switch (kernel32.GetLastError()) {
355 ERROR.OPERATION_ABORTED => continue,
356 ERROR.BROKEN_PIPE => return index,
355 .OPERATION_ABORTED => continue,
356 .BROKEN_PIPE => return index,
357357 else => |err| return unexpectedError(err),
358358 }
359359 }
......@@ -377,12 +377,12 @@ pub fn WriteFile(handle: HANDLE, bytes: []const u8) WriteFileError!void {
377377 // TODO replace this @intCast with a loop that writes all the bytes
378378 if (kernel32.WriteFile(handle, bytes.ptr, @intCast(u32, bytes.len), &bytes_written, null) == 0) {
379379 switch (kernel32.GetLastError()) {
380 ERROR.INVALID_USER_BUFFER => return error.SystemResources,
381 ERROR.NOT_ENOUGH_MEMORY => return error.SystemResources,
382 ERROR.OPERATION_ABORTED => return error.OperationAborted,
383 ERROR.NOT_ENOUGH_QUOTA => return error.SystemResources,
384 ERROR.IO_PENDING => unreachable, // this function is for blocking files only
385 ERROR.BROKEN_PIPE => return error.BrokenPipe,
380 .INVALID_USER_BUFFER => return error.SystemResources,
381 .NOT_ENOUGH_MEMORY => return error.SystemResources,
382 .OPERATION_ABORTED => return error.OperationAborted,
383 .NOT_ENOUGH_QUOTA => return error.SystemResources,
384 .IO_PENDING => unreachable, // this function is for blocking files only
385 .BROKEN_PIPE => return error.BrokenPipe,
386386 else => |err| return unexpectedError(err),
387387 }
388388 }
......@@ -456,12 +456,12 @@ pub fn DeleteFile(filename: []const u8) DeleteFileError!void {
456456pub fn DeleteFileW(filename: [*:0]const u16) DeleteFileError!void {
457457 if (kernel32.DeleteFileW(filename) == 0) {
458458 switch (kernel32.GetLastError()) {
459 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
460 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
461 ERROR.ACCESS_DENIED => return error.AccessDenied,
462 ERROR.FILENAME_EXCED_RANGE => return error.NameTooLong,
463 ERROR.INVALID_PARAMETER => return error.NameTooLong,
464 ERROR.SHARING_VIOLATION => return error.FileBusy,
459 .FILE_NOT_FOUND => return error.FileNotFound,
460 .PATH_NOT_FOUND => return error.FileNotFound,
461 .ACCESS_DENIED => return error.AccessDenied,
462 .FILENAME_EXCED_RANGE => return error.NameTooLong,
463 .INVALID_PARAMETER => return error.NameTooLong,
464 .SHARING_VIOLATION => return error.FileBusy,
465465 else => |err| return unexpectedError(err),
466466 }
467467 }
......@@ -497,8 +497,8 @@ pub fn CreateDirectory(pathname: []const u8, attrs: ?*SECURITY_ATTRIBUTES) Creat
497497pub fn CreateDirectoryW(pathname: [*:0]const u16, attrs: ?*SECURITY_ATTRIBUTES) CreateDirectoryError!void {
498498 if (kernel32.CreateDirectoryW(pathname, attrs) == 0) {
499499 switch (kernel32.GetLastError()) {
500 ERROR.ALREADY_EXISTS => return error.PathAlreadyExists,
501 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
500 .ALREADY_EXISTS => return error.PathAlreadyExists,
501 .PATH_NOT_FOUND => return error.FileNotFound,
502502 else => |err| return unexpectedError(err),
503503 }
504504 }
......@@ -518,8 +518,8 @@ pub fn RemoveDirectory(dir_path: []const u8) RemoveDirectoryError!void {
518518pub fn RemoveDirectoryW(dir_path_w: [*:0]const u16) RemoveDirectoryError!void {
519519 if (kernel32.RemoveDirectoryW(dir_path_w) == 0) {
520520 switch (kernel32.GetLastError()) {
521 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
522 ERROR.DIR_NOT_EMPTY => return error.DirNotEmpty,
521 .PATH_NOT_FOUND => return error.FileNotFound,
522 .DIR_NOT_EMPTY => return error.DirNotEmpty,
523523 else => |err| return unexpectedError(err),
524524 }
525525 }
......@@ -550,8 +550,8 @@ pub fn SetFilePointerEx_BEGIN(handle: HANDLE, offset: u64) SetFilePointerError!v
550550 const ipos = @bitCast(LARGE_INTEGER, offset);
551551 if (kernel32.SetFilePointerEx(handle, ipos, null, FILE_BEGIN) == 0) {
552552 switch (kernel32.GetLastError()) {
553 ERROR.INVALID_PARAMETER => unreachable,
554 ERROR.INVALID_HANDLE => unreachable,
553 .INVALID_PARAMETER => unreachable,
554 .INVALID_HANDLE => unreachable,
555555 else => |err| return unexpectedError(err),
556556 }
557557 }
......@@ -561,8 +561,8 @@ pub fn SetFilePointerEx_BEGIN(handle: HANDLE, offset: u64) SetFilePointerError!v
561561pub fn SetFilePointerEx_CURRENT(handle: HANDLE, offset: i64) SetFilePointerError!void {
562562 if (kernel32.SetFilePointerEx(handle, offset, null, FILE_CURRENT) == 0) {
563563 switch (kernel32.GetLastError()) {
564 ERROR.INVALID_PARAMETER => unreachable,
565 ERROR.INVALID_HANDLE => unreachable,
564 .INVALID_PARAMETER => unreachable,
565 .INVALID_HANDLE => unreachable,
566566 else => |err| return unexpectedError(err),
567567 }
568568 }
......@@ -572,8 +572,8 @@ pub fn SetFilePointerEx_CURRENT(handle: HANDLE, offset: i64) SetFilePointerError
572572pub fn SetFilePointerEx_END(handle: HANDLE, offset: i64) SetFilePointerError!void {
573573 if (kernel32.SetFilePointerEx(handle, offset, null, FILE_END) == 0) {
574574 switch (kernel32.GetLastError()) {
575 ERROR.INVALID_PARAMETER => unreachable,
576 ERROR.INVALID_HANDLE => unreachable,
575 .INVALID_PARAMETER => unreachable,
576 .INVALID_HANDLE => unreachable,
577577 else => |err| return unexpectedError(err),
578578 }
579579 }
......@@ -584,8 +584,8 @@ pub fn SetFilePointerEx_CURRENT_get(handle: HANDLE) SetFilePointerError!u64 {
584584 var result: LARGE_INTEGER = undefined;
585585 if (kernel32.SetFilePointerEx(handle, 0, &result, FILE_CURRENT) == 0) {
586586 switch (kernel32.GetLastError()) {
587 ERROR.INVALID_PARAMETER => unreachable,
588 ERROR.INVALID_HANDLE => unreachable,
587 .INVALID_PARAMETER => unreachable,
588 .INVALID_HANDLE => unreachable,
589589 else => |err| return unexpectedError(err),
590590 }
591591 }
......@@ -610,11 +610,11 @@ pub fn GetFinalPathNameByHandleW(
610610 const rc = kernel32.GetFinalPathNameByHandleW(hFile, buf_ptr, buf_len, flags);
611611 if (rc == 0) {
612612 switch (kernel32.GetLastError()) {
613 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
614 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
615 ERROR.NOT_ENOUGH_MEMORY => return error.SystemResources,
616 ERROR.FILENAME_EXCED_RANGE => return error.NameTooLong,
617 ERROR.INVALID_PARAMETER => unreachable,
613 .FILE_NOT_FOUND => return error.FileNotFound,
614 .PATH_NOT_FOUND => return error.FileNotFound,
615 .NOT_ENOUGH_MEMORY => return error.SystemResources,
616 .FILENAME_EXCED_RANGE => return error.NameTooLong,
617 .INVALID_PARAMETER => unreachable,
618618 else => |err| return unexpectedError(err),
619619 }
620620 }
......@@ -648,9 +648,9 @@ pub fn GetFileAttributesW(lpFileName: [*:0]const u16) GetFileAttributesError!DWO
648648 const rc = kernel32.GetFileAttributesW(lpFileName);
649649 if (rc == INVALID_FILE_ATTRIBUTES) {
650650 switch (kernel32.GetLastError()) {
651 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
652 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
653 ERROR.ACCESS_DENIED => return error.PermissionDenied,
651 .FILE_NOT_FOUND => return error.FileNotFound,
652 .PATH_NOT_FOUND => return error.FileNotFound,
653 .ACCESS_DENIED => return error.PermissionDenied,
654654 else => |err| return unexpectedError(err),
655655 }
656656 }
......@@ -800,7 +800,7 @@ pub fn GetEnvironmentVariableW(lpName: LPWSTR, lpBuffer: [*]u16, nSize: DWORD) G
800800 const rc = kernel32.GetEnvironmentVariableW(lpName, lpBuffer, nSize);
801801 if (rc == 0) {
802802 switch (kernel32.GetLastError()) {
803 ERROR.ENVVAR_NOT_FOUND => return error.EnvironmentVariableNotFound,
803 .ENVVAR_NOT_FOUND => return error.EnvironmentVariableNotFound,
804804 else => |err| return unexpectedError(err),
805805 }
806806 }
......@@ -839,11 +839,11 @@ pub fn CreateProcessW(
839839 lpProcessInformation,
840840 ) == 0) {
841841 switch (kernel32.GetLastError()) {
842 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
843 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
844 ERROR.ACCESS_DENIED => return error.AccessDenied,
845 ERROR.INVALID_PARAMETER => unreachable,
846 ERROR.INVALID_NAME => return error.InvalidName,
842 .FILE_NOT_FOUND => return error.FileNotFound,
843 .PATH_NOT_FOUND => return error.FileNotFound,
844 .ACCESS_DENIED => return error.AccessDenied,
845 .INVALID_PARAMETER => unreachable,
846 .INVALID_NAME => return error.InvalidName,
847847 else => |err| return unexpectedError(err),
848848 }
849849 }
......@@ -857,9 +857,9 @@ pub const LoadLibraryError = error{
857857pub fn LoadLibraryW(lpLibFileName: [*:0]const u16) LoadLibraryError!HMODULE {
858858 return kernel32.LoadLibraryW(lpLibFileName) orelse {
859859 switch (kernel32.GetLastError()) {
860 ERROR.FILE_NOT_FOUND => return error.FileNotFound,
861 ERROR.PATH_NOT_FOUND => return error.FileNotFound,
862 ERROR.MOD_NOT_FOUND => return error.FileNotFound,
860 .FILE_NOT_FOUND => return error.FileNotFound,
861 .PATH_NOT_FOUND => return error.FileNotFound,
862 .MOD_NOT_FOUND => return error.FileNotFound,
863863 else => |err| return unexpectedError(err),
864864 }
865865 };
......@@ -1036,21 +1036,21 @@ inline fn MAKELANGID(p: c_ushort, s: c_ushort) LANGID {
10361036
10371037/// Call this when you made a windows DLL call or something that does SetLastError
10381038/// and you get an unexpected error.
1039pub fn unexpectedError(err: DWORD) std.os.UnexpectedError {
1039pub fn unexpectedError(err: Win32Error) std.os.UnexpectedError {
10401040 if (std.os.unexpected_error_tracing) {
10411041 // 614 is the length of the longest windows error desciption
10421042 var buf_u16: [614]u16 = undefined;
10431043 var buf_u8: [614]u8 = undefined;
10441044 var len = kernel32.FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, null, err, MAKELANGID(LANG.NEUTRAL, SUBLANG.DEFAULT), buf_u16[0..].ptr, buf_u16.len / @sizeOf(TCHAR), null);
10451045 _ = std.unicode.utf16leToUtf8(&buf_u8, buf_u16[0..len]) catch unreachable;
1046 std.debug.warn("error.Unexpected: GetLastError({}): {}\n", .{ err, buf_u8[0..len] });
1046 std.debug.warn("error.Unexpected: GetLastError({}): {}\n", .{ @enumToInt(err), buf_u8[0..len] });
10471047 std.debug.dumpCurrentStackTrace(null);
10481048 }
10491049 return error.Unexpected;
10501050}
10511051
10521052pub fn unexpectedWSAError(err: c_int) std.os.UnexpectedError {
1053 return unexpectedError(@intCast(DWORD, err));
1053 return unexpectedError(@intToEnum(Win32Error, @intCast(u16, err)));
10541054}
10551055
10561056/// Call this when you made a windows NtDll call
lib/std/os/windows/bits.zig+1-1
......@@ -5,7 +5,7 @@ const std = @import("../../std.zig");
55const assert = std.debug.assert;
66const maxInt = std.math.maxInt;
77
8pub const ERROR = @import("error.zig");
8pub usingnamespace @import("win32error.zig");
99pub usingnamespace @import("ntstatus.zig");
1010pub const LANG = @import("lang.zig");
1111pub const SUBLANG = @import("sublang.zig");
lib/std/os/windows/error.zig deleted-3567
......@@ -1,3567 +0,0 @@
1/// The operation completed successfully.
2pub const SUCCESS = 0;
3
4/// Incorrect function.
5pub const INVALID_FUNCTION = 1;
6
7/// The system cannot find the file specified.
8pub const FILE_NOT_FOUND = 2;
9
10/// The system cannot find the path specified.
11pub const PATH_NOT_FOUND = 3;
12
13/// The system cannot open the file.
14pub const TOO_MANY_OPEN_FILES = 4;
15
16/// Access is denied.
17pub const ACCESS_DENIED = 5;
18
19/// The handle is invalid.
20pub const INVALID_HANDLE = 6;
21
22/// The storage control blocks were destroyed.
23pub const ARENA_TRASHED = 7;
24
25/// Not enough storage is available to process this command.
26pub const NOT_ENOUGH_MEMORY = 8;
27
28/// The storage control block address is invalid.
29pub const INVALID_BLOCK = 9;
30
31/// The environment is incorrect.
32pub const BAD_ENVIRONMENT = 10;
33
34/// An attempt was made to load a program with an incorrect format.
35pub const BAD_FORMAT = 11;
36
37/// The access code is invalid.
38pub const INVALID_ACCESS = 12;
39
40/// The data is invalid.
41pub const INVALID_DATA = 13;
42
43/// Not enough storage is available to complete this operation.
44pub const OUTOFMEMORY = 14;
45
46/// The system cannot find the drive specified.
47pub const INVALID_DRIVE = 15;
48
49/// The directory cannot be removed.
50pub const CURRENT_DIRECTORY = 16;
51
52/// The system cannot move the file to a different disk drive.
53pub const NOT_SAME_DEVICE = 17;
54
55/// There are no more files.
56pub const NO_MORE_FILES = 18;
57
58/// The media is write protected.
59pub const WRITE_PROTECT = 19;
60
61/// The system cannot find the device specified.
62pub const BAD_UNIT = 20;
63
64/// The device is not ready.
65pub const NOT_READY = 21;
66
67/// The device does not recognize the command.
68pub const BAD_COMMAND = 22;
69
70/// Data error (cyclic redundancy check).
71pub const CRC = 23;
72
73/// The program issued a command but the command length is incorrect.
74pub const BAD_LENGTH = 24;
75
76/// The drive cannot locate a specific area or track on the disk.
77pub const SEEK = 25;
78
79/// The specified disk or diskette cannot be accessed.
80pub const NOT_DOS_DISK = 26;
81
82/// The drive cannot find the sector requested.
83pub const SECTOR_NOT_FOUND = 27;
84
85/// The printer is out of paper.
86pub const OUT_OF_PAPER = 28;
87
88/// The system cannot write to the specified device.
89pub const WRITE_FAULT = 29;
90
91/// The system cannot read from the specified device.
92pub const READ_FAULT = 30;
93
94/// A device attached to the system is not functioning.
95pub const GEN_FAILURE = 31;
96
97/// The process cannot access the file because it is being used by another process.
98pub const SHARING_VIOLATION = 32;
99
100/// The process cannot access the file because another process has locked a portion of the file.
101pub const LOCK_VIOLATION = 33;
102
103/// The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.
104pub const WRONG_DISK = 34;
105
106/// Too many files opened for sharing.
107pub const SHARING_BUFFER_EXCEEDED = 36;
108
109/// Reached the end of the file.
110pub const HANDLE_EOF = 38;
111
112/// The disk is full.
113pub const HANDLE_DISK_FULL = 39;
114
115/// The request is not supported.
116pub const NOT_SUPPORTED = 50;
117
118/// Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact your network administrator.
119pub const REM_NOT_LIST = 51;
120
121/// You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name.
122pub const DUP_NAME = 52;
123
124/// The network path was not found.
125pub const BAD_NETPATH = 53;
126
127/// The network is busy.
128pub const NETWORK_BUSY = 54;
129
130/// The specified network resource or device is no longer available.
131pub const DEV_NOT_EXIST = 55;
132
133/// The network BIOS command limit has been reached.
134pub const TOO_MANY_CMDS = 56;
135
136/// A network adapter hardware error occurred.
137pub const ADAP_HDW_ERR = 57;
138
139/// The specified server cannot perform the requested operation.
140pub const BAD_NET_RESP = 58;
141
142/// An unexpected network error occurred.
143pub const UNEXP_NET_ERR = 59;
144
145/// The remote adapter is not compatible.
146pub const BAD_REM_ADAP = 60;
147
148/// The printer queue is full.
149pub const PRINTQ_FULL = 61;
150
151/// Space to store the file waiting to be printed is not available on the server.
152pub const NO_SPOOL_SPACE = 62;
153
154/// Your file waiting to be printed was deleted.
155pub const PRINT_CANCELLED = 63;
156
157/// The specified network name is no longer available.
158pub const NETNAME_DELETED = 64;
159
160/// Network access is denied.
161pub const NETWORK_ACCESS_DENIED = 65;
162
163/// The network resource type is not correct.
164pub const BAD_DEV_TYPE = 66;
165
166/// The network name cannot be found.
167pub const BAD_NET_NAME = 67;
168
169/// The name limit for the local computer network adapter card was exceeded.
170pub const TOO_MANY_NAMES = 68;
171
172/// The network BIOS session limit was exceeded.
173pub const TOO_MANY_SESS = 69;
174
175/// The remote server has been paused or is in the process of being started.
176pub const SHARING_PAUSED = 70;
177
178/// 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.
179pub const REQ_NOT_ACCEP = 71;
180
181/// The specified printer or disk device has been paused.
182pub const REDIR_PAUSED = 72;
183
184/// The file exists.
185pub const FILE_EXISTS = 80;
186
187/// The directory or file cannot be created.
188pub const CANNOT_MAKE = 82;
189
190/// Fail on INT 24.
191pub const FAIL_I24 = 83;
192
193/// Storage to process this request is not available.
194pub const OUT_OF_STRUCTURES = 84;
195
196/// The local device name is already in use.
197pub const ALREADY_ASSIGNED = 85;
198
199/// The specified network password is not correct.
200pub const INVALID_PASSWORD = 86;
201
202/// The parameter is incorrect.
203pub const INVALID_PARAMETER = 87;
204
205/// A write fault occurred on the network.
206pub const NET_WRITE_FAULT = 88;
207
208/// The system cannot start another process at this time.
209pub const NO_PROC_SLOTS = 89;
210
211/// Cannot create another system semaphore.
212pub const TOO_MANY_SEMAPHORES = 100;
213
214/// The exclusive semaphore is owned by another process.
215pub const EXCL_SEM_ALREADY_OWNED = 101;
216
217/// The semaphore is set and cannot be closed.
218pub const SEM_IS_SET = 102;
219
220/// The semaphore cannot be set again.
221pub const TOO_MANY_SEM_REQUESTS = 103;
222
223/// Cannot request exclusive semaphores at interrupt time.
224pub const INVALID_AT_INTERRUPT_TIME = 104;
225
226/// The previous ownership of this semaphore has ended.
227pub const SEM_OWNER_DIED = 105;
228
229/// Insert the diskette for drive %1.
230pub const SEM_USER_LIMIT = 106;
231
232/// The program stopped because an alternate diskette was not inserted.
233pub const DISK_CHANGE = 107;
234
235/// The disk is in use or locked by another process.
236pub const DRIVE_LOCKED = 108;
237
238/// The pipe has been ended.
239pub const BROKEN_PIPE = 109;
240
241/// The system cannot open the device or file specified.
242pub const OPEN_FAILED = 110;
243
244/// The file name is too long.
245pub const BUFFER_OVERFLOW = 111;
246
247/// There is not enough space on the disk.
248pub const DISK_FULL = 112;
249
250/// No more internal file identifiers available.
251pub const NO_MORE_SEARCH_HANDLES = 113;
252
253/// The target internal file identifier is incorrect.
254pub const INVALID_TARGET_HANDLE = 114;
255
256/// The IOCTL call made by the application program is not correct.
257pub const INVALID_CATEGORY = 117;
258
259/// The verify-on-write switch parameter value is not correct.
260pub const INVALID_VERIFY_SWITCH = 118;
261
262/// The system does not support the command requested.
263pub const BAD_DRIVER_LEVEL = 119;
264
265/// This function is not supported on this system.
266pub const CALL_NOT_IMPLEMENTED = 120;
267
268/// The semaphore timeout period has expired.
269pub const SEM_TIMEOUT = 121;
270
271/// The data area passed to a system call is too small.
272pub const INSUFFICIENT_BUFFER = 122;
273
274/// The filename, directory name, or volume label syntax is incorrect.
275pub const INVALID_NAME = 123;
276
277/// The system call level is not correct.
278pub const INVALID_LEVEL = 124;
279
280/// The disk has no volume label.
281pub const NO_VOLUME_LABEL = 125;
282
283/// The specified module could not be found.
284pub const MOD_NOT_FOUND = 126;
285
286/// The specified procedure could not be found.
287pub const PROC_NOT_FOUND = 127;
288
289/// There are no child processes to wait for.
290pub const WAIT_NO_CHILDREN = 128;
291
292/// The %1 application cannot be run in Win32 mode.
293pub const CHILD_NOT_COMPLETE = 129;
294
295/// Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
296pub const DIRECT_ACCESS_HANDLE = 130;
297
298/// An attempt was made to move the file pointer before the beginning of the file.
299pub const NEGATIVE_SEEK = 131;
300
301/// The file pointer cannot be set on the specified device or file.
302pub const SEEK_ON_DEVICE = 132;
303
304/// A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
305pub const IS_JOIN_TARGET = 133;
306
307/// An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
308pub const IS_JOINED = 134;
309
310/// An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
311pub const IS_SUBSTED = 135;
312
313/// The system tried to delete the JOIN of a drive that is not joined.
314pub const NOT_JOINED = 136;
315
316/// The system tried to delete the substitution of a drive that is not substituted.
317pub const NOT_SUBSTED = 137;
318
319/// The system tried to join a drive to a directory on a joined drive.
320pub const JOIN_TO_JOIN = 138;
321
322/// The system tried to substitute a drive to a directory on a substituted drive.
323pub const SUBST_TO_SUBST = 139;
324
325/// The system tried to join a drive to a directory on a substituted drive.
326pub const JOIN_TO_SUBST = 140;
327
328/// The system tried to SUBST a drive to a directory on a joined drive.
329pub const SUBST_TO_JOIN = 141;
330
331/// The system cannot perform a JOIN or SUBST at this time.
332pub const BUSY_DRIVE = 142;
333
334/// The system cannot join or substitute a drive to or for a directory on the same drive.
335pub const SAME_DRIVE = 143;
336
337/// The directory is not a subdirectory of the root directory.
338pub const DIR_NOT_ROOT = 144;
339
340/// The directory is not empty.
341pub const DIR_NOT_EMPTY = 145;
342
343/// The path specified is being used in a substitute.
344pub const IS_SUBST_PATH = 146;
345
346/// Not enough resources are available to process this command.
347pub const IS_JOIN_PATH = 147;
348
349/// The path specified cannot be used at this time.
350pub const PATH_BUSY = 148;
351
352/// An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
353pub const IS_SUBST_TARGET = 149;
354
355/// System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
356pub const SYSTEM_TRACE = 150;
357
358/// The number of specified semaphore events for DosMuxSemWait is not correct.
359pub const INVALID_EVENT_COUNT = 151;
360
361/// DosMuxSemWait did not execute; too many semaphores are already set.
362pub const TOO_MANY_MUXWAITERS = 152;
363
364/// The DosMuxSemWait list is not correct.
365pub const INVALID_LIST_FORMAT = 153;
366
367/// The volume label you entered exceeds the label character limit of the target file system.
368pub const LABEL_TOO_LONG = 154;
369
370/// Cannot create another thread.
371pub const TOO_MANY_TCBS = 155;
372
373/// The recipient process has refused the signal.
374pub const SIGNAL_REFUSED = 156;
375
376/// The segment is already discarded and cannot be locked.
377pub const DISCARDED = 157;
378
379/// The segment is already unlocked.
380pub const NOT_LOCKED = 158;
381
382/// The address for the thread ID is not correct.
383pub const BAD_THREADID_ADDR = 159;
384
385/// One or more arguments are not correct.
386pub const BAD_ARGUMENTS = 160;
387
388/// The specified path is invalid.
389pub const BAD_PATHNAME = 161;
390
391/// A signal is already pending.
392pub const SIGNAL_PENDING = 162;
393
394/// No more threads can be created in the system.
395pub const MAX_THRDS_REACHED = 164;
396
397/// Unable to lock a region of a file.
398pub const LOCK_FAILED = 167;
399
400/// The requested resource is in use.
401pub const BUSY = 170;
402
403/// Device's command support detection is in progress.
404pub const DEVICE_SUPPORT_IN_PROGRESS = 171;
405
406/// A lock request was not outstanding for the supplied cancel region.
407pub const CANCEL_VIOLATION = 173;
408
409/// The file system does not support atomic changes to the lock type.
410pub const ATOMIC_LOCKS_NOT_SUPPORTED = 174;
411
412/// The system detected a segment number that was not correct.
413pub const INVALID_SEGMENT_NUMBER = 180;
414
415/// The operating system cannot run %1.
416pub const INVALID_ORDINAL = 182;
417
418/// Cannot create a file when that file already exists.
419pub const ALREADY_EXISTS = 183;
420
421/// The flag passed is not correct.
422pub const INVALID_FLAG_NUMBER = 186;
423
424/// The specified system semaphore name was not found.
425pub const SEM_NOT_FOUND = 187;
426
427/// The operating system cannot run %1.
428pub const INVALID_STARTING_CODESEG = 188;
429
430/// The operating system cannot run %1.
431pub const INVALID_STACKSEG = 189;
432
433/// The operating system cannot run %1.
434pub const INVALID_MODULETYPE = 190;
435
436/// Cannot run %1 in Win32 mode.
437pub const INVALID_EXE_SIGNATURE = 191;
438
439/// The operating system cannot run %1.
440pub const EXE_MARKED_INVALID = 192;
441
442/// %1 is not a valid Win32 application.
443pub const BAD_EXE_FORMAT = 193;
444
445/// The operating system cannot run %1.
446pub const ITERATED_DATA_EXCEEDS_64k = 194;
447
448/// The operating system cannot run %1.
449pub const INVALID_MINALLOCSIZE = 195;
450
451/// The operating system cannot run this application program.
452pub const DYNLINK_FROM_INVALID_RING = 196;
453
454/// The operating system is not presently configured to run this application.
455pub const IOPL_NOT_ENABLED = 197;
456
457/// The operating system cannot run %1.
458pub const INVALID_SEGDPL = 198;
459
460/// The operating system cannot run this application program.
461pub const AUTODATASEG_EXCEEDS_64k = 199;
462
463/// The code segment cannot be greater than or equal to 64K.
464pub const RING2SEG_MUST_BE_MOVABLE = 200;
465
466/// The operating system cannot run %1.
467pub const RELOC_CHAIN_XEEDS_SEGLIM = 201;
468
469/// The operating system cannot run %1.
470pub const INFLOOP_IN_RELOC_CHAIN = 202;
471
472/// The system could not find the environment option that was entered.
473pub const ENVVAR_NOT_FOUND = 203;
474
475/// No process in the command subtree has a signal handler.
476pub const NO_SIGNAL_SENT = 205;
477
478/// The filename or extension is too long.
479pub const FILENAME_EXCED_RANGE = 206;
480
481/// The ring 2 stack is in use.
482pub const RING2_STACK_IN_USE = 207;
483
484/// The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
485pub const META_EXPANSION_TOO_LONG = 208;
486
487/// The signal being posted is not correct.
488pub const INVALID_SIGNAL_NUMBER = 209;
489
490/// The signal handler cannot be set.
491pub const THREAD_1_INACTIVE = 210;
492
493/// The segment is locked and cannot be reallocated.
494pub const LOCKED = 212;
495
496/// Too many dynamic-link modules are attached to this program or dynamic-link module.
497pub const TOO_MANY_MODULES = 214;
498
499/// Cannot nest calls to LoadModule.
500pub const NESTING_NOT_ALLOWED = 215;
501
502/// This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
503pub const EXE_MACHINE_TYPE_MISMATCH = 216;
504
505/// The image file %1 is signed, unable to modify.
506pub const EXE_CANNOT_MODIFY_SIGNED_BINARY = 217;
507
508/// The image file %1 is strong signed, unable to modify.
509pub const EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218;
510
511/// This file is checked out or locked for editing by another user.
512pub const FILE_CHECKED_OUT = 220;
513
514/// The file must be checked out before saving changes.
515pub const CHECKOUT_REQUIRED = 221;
516
517/// The file type being saved or retrieved has been blocked.
518pub const BAD_FILE_TYPE = 222;
519
520/// The file size exceeds the limit allowed and cannot be saved.
521pub const FILE_TOO_LARGE = 223;
522
523/// 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.
524pub const FORMS_AUTH_REQUIRED = 224;
525
526/// Operation did not complete successfully because the file contains a virus or potentially unwanted software.
527pub const VIRUS_INFECTED = 225;
528
529/// This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
530pub const VIRUS_DELETED = 226;
531
532/// The pipe is local.
533pub const PIPE_LOCAL = 229;
534
535/// The pipe state is invalid.
536pub const BAD_PIPE = 230;
537
538/// All pipe instances are busy.
539pub const PIPE_BUSY = 231;
540
541/// The pipe is being closed.
542pub const NO_DATA = 232;
543
544/// No process is on the other end of the pipe.
545pub const PIPE_NOT_CONNECTED = 233;
546
547/// More data is available.
548pub const MORE_DATA = 234;
549
550/// The session was canceled.
551pub const VC_DISCONNECTED = 240;
552
553/// The specified extended attribute name was invalid.
554pub const INVALID_EA_NAME = 254;
555
556/// The extended attributes are inconsistent.
557pub const EA_LIST_INCONSISTENT = 255;
558
559/// The wait operation timed out.
560pub const IMEOUT = 258;
561
562/// No more data is available.
563pub const NO_MORE_ITEMS = 259;
564
565/// The copy functions cannot be used.
566pub const CANNOT_COPY = 266;
567
568/// The directory name is invalid.
569pub const DIRECTORY = 267;
570
571/// The extended attributes did not fit in the buffer.
572pub const EAS_DIDNT_FIT = 275;
573
574/// The extended attribute file on the mounted file system is corrupt.
575pub const EA_FILE_CORRUPT = 276;
576
577/// The extended attribute table file is full.
578pub const EA_TABLE_FULL = 277;
579
580/// The specified extended attribute handle is invalid.
581pub const INVALID_EA_HANDLE = 278;
582
583/// The mounted file system does not support extended attributes.
584pub const EAS_NOT_SUPPORTED = 282;
585
586/// Attempt to release mutex not owned by caller.
587pub const NOT_OWNER = 288;
588
589/// Too many posts were made to a semaphore.
590pub const TOO_MANY_POSTS = 298;
591
592/// Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
593pub const PARTIAL_COPY = 299;
594
595/// The oplock request is denied.
596pub const OPLOCK_NOT_GRANTED = 300;
597
598/// An invalid oplock acknowledgment was received by the system.
599pub const INVALID_OPLOCK_PROTOCOL = 301;
600
601/// The volume is too fragmented to complete this operation.
602pub const DISK_TOO_FRAGMENTED = 302;
603
604/// The file cannot be opened because it is in the process of being deleted.
605pub const DELETE_PENDING = 303;
606
607/// Short name settings may not be changed on this volume due to the global registry setting.
608pub const INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING = 304;
609
610/// Short names are not enabled on this volume.
611pub const SHORT_NAMES_NOT_ENABLED_ON_VOLUME = 305;
612
613/// The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume.
614pub const SECURITY_STREAM_IS_INCONSISTENT = 306;
615
616/// A requested file lock operation cannot be processed due to an invalid byte range.
617pub const INVALID_LOCK_RANGE = 307;
618
619/// The subsystem needed to support the image type is not present.
620pub const IMAGE_SUBSYSTEM_NOT_PRESENT = 308;
621
622/// The specified file already has a notification GUID associated with it.
623pub const NOTIFICATION_GUID_ALREADY_DEFINED = 309;
624
625/// An invalid exception handler routine has been detected.
626pub const INVALID_EXCEPTION_HANDLER = 310;
627
628/// Duplicate privileges were specified for the token.
629pub const DUPLICATE_PRIVILEGES = 311;
630
631/// No ranges for the specified operation were able to be processed.
632pub const NO_RANGES_PROCESSED = 312;
633
634/// Operation is not allowed on a file system internal file.
635pub const NOT_ALLOWED_ON_SYSTEM_FILE = 313;
636
637/// The physical resources of this disk have been exhausted.
638pub const DISK_RESOURCES_EXHAUSTED = 314;
639
640/// The token representing the data is invalid.
641pub const INVALID_TOKEN = 315;
642
643/// The device does not support the command feature.
644pub const DEVICE_FEATURE_NOT_SUPPORTED = 316;
645
646/// The system cannot find message text for message number 0x%1 in the message file for %2.
647pub const MR_MID_NOT_FOUND = 317;
648
649/// The scope specified was not found.
650pub const SCOPE_NOT_FOUND = 318;
651
652/// The Central Access Policy specified is not defined on the target machine.
653pub const UNDEFINED_SCOPE = 319;
654
655/// The Central Access Policy obtained from Active Directory is invalid.
656pub const INVALID_CAP = 320;
657
658/// The device is unreachable.
659pub const DEVICE_UNREACHABLE = 321;
660
661/// The target device has insufficient resources to complete the operation.
662pub const DEVICE_NO_RESOURCES = 322;
663
664/// A data integrity checksum error occurred. Data in the file stream is corrupt.
665pub const DATA_CHECKSUM_ERROR = 323;
666
667/// An attempt was made to modify both a KERNEL and normal Extended Attribute (EA) in the same operation.
668pub const INTERMIXED_KERNEL_EA_OPERATION = 324;
669
670/// Device does not support file-level TRIM.
671pub const FILE_LEVEL_TRIM_NOT_SUPPORTED = 326;
672
673/// The command specified a data offset that does not align to the device's granularity/alignment.
674pub const OFFSET_ALIGNMENT_VIOLATION = 327;
675
676/// The command specified an invalid field in its parameter list.
677pub const INVALID_FIELD_IN_PARAMETER_LIST = 328;
678
679/// An operation is currently in progress with the device.
680pub const OPERATION_IN_PROGRESS = 329;
681
682/// An attempt was made to send down the command via an invalid path to the target device.
683pub const BAD_DEVICE_PATH = 330;
684
685/// The command specified a number of descriptors that exceeded the maximum supported by the device.
686pub const TOO_MANY_DESCRIPTORS = 331;
687
688/// Scrub is disabled on the specified file.
689pub const SCRUB_DATA_DISABLED = 332;
690
691/// The storage device does not provide redundancy.
692pub const NOT_REDUNDANT_STORAGE = 333;
693
694/// An operation is not supported on a resident file.
695pub const RESIDENT_FILE_NOT_SUPPORTED = 334;
696
697/// An operation is not supported on a compressed file.
698pub const COMPRESSED_FILE_NOT_SUPPORTED = 335;
699
700/// An operation is not supported on a directory.
701pub const DIRECTORY_NOT_SUPPORTED = 336;
702
703/// The specified copy of the requested data could not be read.
704pub const NOT_READ_FROM_COPY = 337;
705
706/// No action was taken as a system reboot is required.
707pub const FAIL_NOACTION_REBOOT = 350;
708
709/// The shutdown operation failed.
710pub const FAIL_SHUTDOWN = 351;
711
712/// The restart operation failed.
713pub const FAIL_RESTART = 352;
714
715/// The maximum number of sessions has been reached.
716pub const MAX_SESSIONS_REACHED = 353;
717
718/// The thread is already in background processing mode.
719pub const THREAD_MODE_ALREADY_BACKGROUND = 400;
720
721/// The thread is not in background processing mode.
722pub const THREAD_MODE_NOT_BACKGROUND = 401;
723
724/// The process is already in background processing mode.
725pub const PROCESS_MODE_ALREADY_BACKGROUND = 402;
726
727/// The process is not in background processing mode.
728pub const PROCESS_MODE_NOT_BACKGROUND = 403;
729
730/// Attempt to access invalid address.
731pub const INVALID_ADDRESS = 487;
732
733/// User profile cannot be loaded.
734pub const USER_PROFILE_LOAD = 500;
735
736/// Arithmetic result exceeded 32 bits.
737pub const ARITHMETIC_OVERFLOW = 534;
738
739/// There is a process on other end of the pipe.
740pub const PIPE_CONNECTED = 535;
741
742/// Waiting for a process to open the other end of the pipe.
743pub const PIPE_LISTENING = 536;
744
745/// Application verifier has found an error in the current process.
746pub const VERIFIER_STOP = 537;
747
748/// An error occurred in the ABIOS subsystem.
749pub const ABIOS_ERROR = 538;
750
751/// A warning occurred in the WX86 subsystem.
752pub const WX86_WARNING = 539;
753
754/// An error occurred in the WX86 subsystem.
755pub const WX86_ERROR = 540;
756
757/// 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.
758pub const TIMER_NOT_CANCELED = 541;
759
760/// Unwind exception code.
761pub const UNWIND = 542;
762
763/// An invalid or unaligned stack was encountered during an unwind operation.
764pub const BAD_STACK = 543;
765
766/// An invalid unwind target was encountered during an unwind operation.
767pub const INVALID_UNWIND_TARGET = 544;
768
769/// Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort
770pub const INVALID_PORT_ATTRIBUTES = 545;
771
772/// Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port.
773pub const PORT_MESSAGE_TOO_LONG = 546;
774
775/// An attempt was made to lower a quota limit below the current usage.
776pub const INVALID_QUOTA_LOWER = 547;
777
778/// An attempt was made to attach to a device that was already attached to another device.
779pub const DEVICE_ALREADY_ATTACHED = 548;
780
781/// An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references.
782pub const INSTRUCTION_MISALIGNMENT = 549;
783
784/// Profiling not started.
785pub const PROFILING_NOT_STARTED = 550;
786
787/// Profiling not stopped.
788pub const PROFILING_NOT_STOPPED = 551;
789
790/// The passed ACL did not contain the minimum required information.
791pub const COULD_NOT_INTERPRET = 552;
792
793/// The number of active profiling objects is at the maximum and no more may be started.
794pub const PROFILING_AT_LIMIT = 553;
795
796/// Used to indicate that an operation cannot continue without blocking for I/O.
797pub const CANT_WAIT = 554;
798
799/// Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current process.
800pub const CANT_TERMINATE_SELF = 555;
801
802/// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception.
803pub const UNEXPECTED_MM_CREATE_ERR = 556;
804
805/// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception.
806pub const UNEXPECTED_MM_MAP_ERROR = 557;
807
808/// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception.
809pub const UNEXPECTED_MM_EXTEND_ERR = 558;
810
811/// A malformed function table was encountered during an unwind operation.
812pub const BAD_FUNCTION_TABLE = 559;
813
814/// Indicates that an attempt was made to assign protection to a file system file or directory and one of the SIDs in the security descriptor could not be translated into a GUID that could be stored by the file system. This causes the protection attempt to fail, which may cause a file creation attempt to fail.
815pub const NO_GUID_TRANSLATION = 560;
816
817/// 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.
818pub const INVALID_LDT_SIZE = 561;
819
820/// Indicates that the starting value for the LDT information was not an integral multiple of the selector size.
821pub const INVALID_LDT_OFFSET = 563;
822
823/// Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors.
824pub const INVALID_LDT_DESCRIPTOR = 564;
825
826/// Indicates a process has too many threads to perform the requested action. For example, assignment of a primary token may only be performed when a process has zero or one threads.
827pub const TOO_MANY_THREADS = 565;
828
829/// An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
830pub const THREAD_NOT_IN_PROCESS = 566;
831
832/// Page file quota was exceeded.
833pub const PAGEFILE_QUOTA_EXCEEDED = 567;
834
835/// The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role.
836pub const LOGON_SERVER_CONFLICT = 568;
837
838/// The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required.
839pub const SYNCHRONIZATION_REQUIRED = 569;
840
841/// 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.
842pub const NET_OPEN_FAILED = 570;
843
844/// {Privilege Failed} The I/O permissions for the process could not be changed.
845pub const IO_PRIVILEGE_FAILED = 571;
846
847/// {Application Exit by CTRL+C} The application terminated as a result of a CTRL+C.
848pub const CONTROL_C_EXIT = 572;
849
850/// {Missing System File} The required system file %hs is bad or missing.
851pub const MISSING_SYSTEMFILE = 573;
852
853/// {Application Error} The exception %s (0x%08lx) occurred in the application at location 0x%08lx.
854pub const UNHANDLED_EXCEPTION = 574;
855
856/// {Application Error} The application was unable to start correctly (0x%lx). Click OK to close the application.
857pub const APP_INIT_FAILURE = 575;
858
859/// {Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld.
860pub const PAGEFILE_CREATE_FAILED = 576;
861
862/// Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
863pub const INVALID_IMAGE_HASH = 577;
864
865/// {No Paging File Specified} No paging file was specified in the system configuration.
866pub const NO_PAGEFILE = 578;
867
868/// {EXCEPTION} A real-mode application issued a floating-point instruction and floating-point hardware is not present.
869pub const ILLEGAL_FLOAT_CONTEXT = 579;
870
871/// 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.
872pub const NO_EVENT_PAIR = 580;
873
874/// A Windows Server has an incorrect configuration.
875pub const DOMAIN_CTRLR_CONFIG_ERROR = 581;
876
877/// An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
878pub const ILLEGAL_CHARACTER = 582;
879
880/// The Unicode character is not defined in the Unicode character set installed on the system.
881pub const UNDEFINED_CHARACTER = 583;
882
883/// The paging file cannot be created on a floppy diskette.
884pub const FLOPPY_VOLUME = 584;
885
886/// The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected.
887pub const BIOS_FAILED_TO_CONNECT_INTERRUPT = 585;
888
889/// This operation is only allowed for the Primary Domain Controller of the domain.
890pub const BACKUP_CONTROLLER = 586;
891
892/// An attempt was made to acquire a mutant such that its maximum count would have been exceeded.
893pub const MUTANT_LIMIT_EXCEEDED = 587;
894
895/// A volume has been accessed for which a file system driver is required that has not yet been loaded.
896pub const FS_DRIVER_REQUIRED = 588;
897
898/// {Registry File Failure} The registry cannot load the hive (file): %hs or its log or alternate. It is corrupt, absent, or not writable.
899pub const CANNOT_LOAD_REGISTRY_FILE = 589;
900
901/// {Unexpected Failure in DebugActiveProcess} An unexpected failure occurred while processing a DebugActiveProcess API request. You may choose OK to terminate the process, or Cancel to ignore the error.
902pub const DEBUG_ATTACH_FAILED = 590;
903
904/// {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.
905pub const SYSTEM_PROCESS_TERMINATED = 591;
906
907/// {Data Not Accepted} The TDI client could not handle the data received during an indication.
908pub const DATA_NOT_ACCEPTED = 592;
909
910/// NTVDM encountered a hard error.
911pub const VDM_HARD_ERROR = 593;
912
913/// {Cancel Timeout} The driver %hs failed to complete a cancelled I/O request in the allotted time.
914pub const DRIVER_CANCEL_TIMEOUT = 594;
915
916/// {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.
917pub const REPLY_MESSAGE_MISMATCH = 595;
918
919/// {Delayed Write Failed} Windows was unable to save all the data for the file %hs. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
920pub const LOST_WRITEBEHIND_DATA = 596;
921
922/// The parameter(s) passed to the server in the client/server shared memory window were invalid. Too much data may have been put in the shared memory window.
923pub const CLIENT_SERVER_PARAMETERS_INVALID = 597;
924
925/// The stream is not a tiny stream.
926pub const NOT_TINY_STREAM = 598;
927
928/// The request must be handled by the stack overflow code.
929pub const STACK_OVERFLOW_READ = 599;
930
931/// Internal OFS status codes indicating how an allocation operation is handled. Either it is retried after the containing onode is moved or the extent stream is converted to a large stream.
932pub const CONVERT_TO_LARGE = 600;
933
934/// 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.
935pub const FOUND_OUT_OF_SCOPE = 601;
936
937/// The bucket array must be grown. Retry transaction after doing so.
938pub const ALLOCATE_BUCKET = 602;
939
940/// The user/kernel marshalling buffer has overflowed.
941pub const MARSHALL_OVERFLOW = 603;
942
943/// The supplied variant structure contains invalid data.
944pub const INVALID_VARIANT = 604;
945
946/// The specified buffer contains ill-formed data.
947pub const BAD_COMPRESSION_BUFFER = 605;
948
949/// {Audit Failed} An attempt to generate a security audit failed.
950pub const AUDIT_FAILED = 606;
951
952/// The timer resolution was not previously set by the current process.
953pub const TIMER_RESOLUTION_NOT_SET = 607;
954
955/// There is insufficient account information to log you on.
956pub const INSUFFICIENT_LOGON_INFO = 608;
957
958/// {Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly. The stack pointer has been left in an inconsistent state. The entrypoint should be declared as WINAPI or STDCALL. Select YES to fail the DLL load. Select NO to continue execution. Selecting NO may cause the application to operate incorrectly.
959pub const BAD_DLL_ENTRYPOINT = 609;
960
961/// {Invalid Service Callback Entrypoint} The %hs service is not written correctly. The stack pointer has been left in an inconsistent state. The callback entrypoint should be declared as WINAPI or STDCALL. Selecting OK will cause the service to continue operation. However, the service process may operate incorrectly.
962pub const BAD_SERVICE_ENTRYPOINT = 610;
963
964/// There is an IP address conflict with another system on the network.
965pub const IP_ADDRESS_CONFLICT1 = 611;
966
967/// There is an IP address conflict with another system on the network.
968pub const IP_ADDRESS_CONFLICT2 = 612;
969
970/// {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.
971pub const REGISTRY_QUOTA_LIMIT = 613;
972
973/// A callback return system service cannot be executed when no callback is active.
974pub const NO_CALLBACK_ACTIVE = 614;
975
976/// The password provided is too short to meet the policy of your user account. Please choose a longer password.
977pub const PWD_TOO_SHORT = 615;
978
979/// The policy of your user account does not allow you to change passwords too frequently. This is done to prevent users from changing back to a familiar, but potentially discovered, password. If you feel your password has been compromised then please contact your administrator immediately to have a new one assigned.
980pub const PWD_TOO_RECENT = 616;
981
982/// You have attempted to change your password to one that you have used in the past. The policy of your user account does not allow this. Please select a password that you have not previously used.
983pub const PWD_HISTORY_CONFLICT = 617;
984
985/// The specified compression format is unsupported.
986pub const UNSUPPORTED_COMPRESSION = 618;
987
988/// The specified hardware profile configuration is invalid.
989pub const INVALID_HW_PROFILE = 619;
990
991/// The specified Plug and Play registry device path is invalid.
992pub const INVALID_PLUGPLAY_DEVICE_PATH = 620;
993
994/// The specified quota list is internally inconsistent with its descriptor.
995pub const QUOTA_LIST_INCONSISTENT = 621;
996
997/// {Windows Evaluation Notification} The evaluation period for this installation of Windows has expired. This system will shutdown in 1 hour. To restore access to this installation of Windows, please upgrade this installation using a licensed distribution of this product.
998pub const EVALUATION_EXPIRATION = 622;
999
1000/// {Illegal System DLL Relocation} The system DLL %hs was relocated in memory. The application will not run properly. The relocation occurred because the DLL %hs occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL.
1001pub const ILLEGAL_DLL_RELOCATION = 623;
1002
1003/// {DLL Initialization Failed} The application failed to initialize because the window station is shutting down.
1004pub const DLL_INIT_FAILED_LOGOFF = 624;
1005
1006/// The validation process needs to continue on to the next step.
1007pub const VALIDATE_CONTINUE = 625;
1008
1009/// There are no more matches for the current index enumeration.
1010pub const NO_MORE_MATCHES = 626;
1011
1012/// The range could not be added to the range list because of a conflict.
1013pub const RANGE_LIST_CONFLICT = 627;
1014
1015/// The server process is running under a SID different than that required by client.
1016pub const SERVER_SID_MISMATCH = 628;
1017
1018/// A group marked use for deny only cannot be enabled.
1019pub const CANT_ENABLE_DENY_ONLY = 629;
1020
1021/// {EXCEPTION} Multiple floating point faults.
1022pub const FLOAT_MULTIPLE_FAULTS = 630;
1023
1024/// {EXCEPTION} Multiple floating point traps.
1025pub const FLOAT_MULTIPLE_TRAPS = 631;
1026
1027/// The requested interface is not supported.
1028pub const NOINTERFACE = 632;
1029
1030/// {System Standby Failed} The driver %hs does not support standby mode. Updating this driver may allow the system to go to standby mode.
1031pub const DRIVER_FAILED_SLEEP = 633;
1032
1033/// The system file %1 has become corrupt and has been replaced.
1034pub const CORRUPT_SYSTEM_FILE = 634;
1035
1036/// {Virtual Memory Minimum Too Low} Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see Help.
1037pub const COMMITMENT_MINIMUM = 635;
1038
1039/// A device was removed so enumeration must be restarted.
1040pub const PNP_RESTART_ENUMERATION = 636;
1041
1042/// {Fatal System Error} The system image %s is not properly signed. The file has been replaced with the signed file. The system has been shut down.
1043pub const SYSTEM_IMAGE_BAD_SIGNATURE = 637;
1044
1045/// Device will not start without a reboot.
1046pub const PNP_REBOOT_REQUIRED = 638;
1047
1048/// There is not enough power to complete the requested operation.
1049pub const INSUFFICIENT_POWER = 639;
1050
1051/// ERROR_MULTIPLE_FAULT_VIOLATION
1052pub const MULTIPLE_FAULT_VIOLATION = 640;
1053
1054/// The system is in the process of shutting down.
1055pub const SYSTEM_SHUTDOWN = 641;
1056
1057/// An attempt to remove a processes DebugPort was made, but a port was not already associated with the process.
1058pub const PORT_NOT_SET = 642;
1059
1060/// This version of Windows is not compatible with the behavior version of directory forest, domain or domain controller.
1061pub const DS_VERSION_CHECK_FAILURE = 643;
1062
1063/// The specified range could not be found in the range list.
1064pub const RANGE_NOT_FOUND = 644;
1065
1066/// The driver was not loaded because the system is booting into safe mode.
1067pub const NOT_SAFE_MODE_DRIVER = 646;
1068
1069/// The driver was not loaded because it failed its initialization call.
1070pub const FAILED_DRIVER_ENTRY = 647;
1071
1072/// The "%hs" encountered an error while applying power or reading the device configuration. This may be caused by a failure of your hardware or by a poor connection.
1073pub const DEVICE_ENUMERATION_ERROR = 648;
1074
1075/// 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.
1076pub const MOUNT_POINT_NOT_RESOLVED = 649;
1077
1078/// The device object parameter is either not a valid device object or is not attached to the volume specified by the file name.
1079pub const INVALID_DEVICE_OBJECT_PARAMETER = 650;
1080
1081/// A Machine Check Error has occurred. Please check the system eventlog for additional information.
1082pub const MCA_OCCURED = 651;
1083
1084/// There was error [%2] processing the driver database.
1085pub const DRIVER_DATABASE_ERROR = 652;
1086
1087/// System hive size has exceeded its limit.
1088pub const SYSTEM_HIVE_TOO_LARGE = 653;
1089
1090/// The driver could not be loaded because a previous version of the driver is still in memory.
1091pub const DRIVER_FAILED_PRIOR_UNLOAD = 654;
1092
1093/// {Volume Shadow Copy Service} Please wait while the Volume Shadow Copy Service prepares volume %hs for hibernation.
1094pub const VOLSNAP_PREPARE_HIBERNATE = 655;
1095
1096/// The system has failed to hibernate (The error code is %hs). Hibernation will be disabled until the system is restarted.
1097pub const HIBERNATION_FAILURE = 656;
1098
1099/// The password provided is too long to meet the policy of your user account. Please choose a shorter password.
1100pub const PWD_TOO_LONG = 657;
1101
1102/// The requested operation could not be completed due to a file system limitation.
1103pub const FILE_SYSTEM_LIMITATION = 665;
1104
1105/// An assertion failure has occurred.
1106pub const ASSERTION_FAILURE = 668;
1107
1108/// An error occurred in the ACPI subsystem.
1109pub const ACPI_ERROR = 669;
1110
1111/// WOW Assertion Error.
1112pub const WOW_ASSERTION = 670;
1113
1114/// A device is missing in the system BIOS MPS table. This device will not be used. Please contact your system vendor for system BIOS update.
1115pub const PNP_BAD_MPS_TABLE = 671;
1116
1117/// A translator failed to translate resources.
1118pub const PNP_TRANSLATION_FAILED = 672;
1119
1120/// A IRQ translator failed to translate resources.
1121pub const PNP_IRQ_TRANSLATION_FAILED = 673;
1122
1123/// Driver %2 returned invalid ID for a child device (%3).
1124pub const PNP_INVALID_ID = 674;
1125
1126/// {Kernel Debugger Awakened} the system debugger was awakened by an interrupt.
1127pub const WAKE_SYSTEM_DEBUGGER = 675;
1128
1129/// {Handles Closed} Handles to objects have been automatically closed as a result of the requested operation.
1130pub const HANDLES_CLOSED = 676;
1131
1132/// {Too Much Information} The specified access control list (ACL) contained more information than was expected.
1133pub const EXTRANEOUS_INFORMATION = 677;
1134
1135/// This warning level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has NOT been completed, but has not been rolled back either (so it may still be committed if desired).
1136pub const RXACT_COMMIT_NECESSARY = 678;
1137
1138/// {Media Changed} The media may have changed.
1139pub const MEDIA_CHECK = 679;
1140
1141/// {GUID Substitution} During the translation of a global identifier (GUID) to a Windows security ID (SID), no administratively-defined GUID prefix was found. A substitute prefix was used, which will not compromise system security. However, this may provide a more restrictive access than intended.
1142pub const GUID_SUBSTITUTION_MADE = 680;
1143
1144/// The create operation stopped after reaching a symbolic link.
1145pub const STOPPED_ON_SYMLINK = 681;
1146
1147/// A long jump has been executed.
1148pub const LONGJUMP = 682;
1149
1150/// The Plug and Play query operation was not successful.
1151pub const PLUGPLAY_QUERY_VETOED = 683;
1152
1153/// A frame consolidation has been executed.
1154pub const UNWIND_CONSOLIDATE = 684;
1155
1156/// {Registry Hive Recovered} Registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost.
1157pub const REGISTRY_HIVE_RECOVERED = 685;
1158
1159/// The application is attempting to run executable code from the module %hs. This may be insecure. An alternative, %hs, is available. Should the application use the secure module %hs?
1160pub const DLL_MIGHT_BE_INSECURE = 686;
1161
1162/// The application is loading executable code from the module %hs. This is secure, but may be incompatible with previous releases of the operating system. An alternative, %hs, is available. Should the application use the secure module %hs?
1163pub const DLL_MIGHT_BE_INCOMPATIBLE = 687;
1164
1165/// Debugger did not handle the exception.
1166pub const DBG_EXCEPTION_NOT_HANDLED = 688;
1167
1168/// Debugger will reply later.
1169pub const DBG_REPLY_LATER = 689;
1170
1171/// Debugger cannot provide handle.
1172pub const DBG_UNABLE_TO_PROVIDE_HANDLE = 690;
1173
1174/// Debugger terminated thread.
1175pub const DBG_TERMINATE_THREAD = 691;
1176
1177/// Debugger terminated process.
1178pub const DBG_TERMINATE_PROCESS = 692;
1179
1180/// Debugger got control C.
1181pub const DBG_CONTROL_C = 693;
1182
1183/// Debugger printed exception on control C.
1184pub const DBG_PRINTEXCEPTION_C = 694;
1185
1186/// Debugger received RIP exception.
1187pub const DBG_RIPEXCEPTION = 695;
1188
1189/// Debugger received control break.
1190pub const DBG_CONTROL_BREAK = 696;
1191
1192/// Debugger command communication exception.
1193pub const DBG_COMMAND_EXCEPTION = 697;
1194
1195/// {Object Exists} An attempt was made to create an object and the object name already existed.
1196pub const OBJECT_NAME_EXISTS = 698;
1197
1198/// {Thread Suspended} A thread termination occurred while the thread was suspended. The thread was resumed, and termination proceeded.
1199pub const THREAD_WAS_SUSPENDED = 699;
1200
1201/// {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.
1202pub const IMAGE_NOT_AT_BASE = 700;
1203
1204/// This informational level status indicates that a specified registry sub-tree transaction state did not yet exist and had to be created.
1205pub const RXACT_STATE_CREATED = 701;
1206
1207/// {Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image. An exception is raised so a debugger can load, unload or track symbols and breakpoints within these 16-bit segments.
1208pub const SEGMENT_NOTIFICATION = 702;
1209
1210/// {Invalid Current Directory} The process cannot switch to the startup current directory %hs. Select OK to set current directory to %hs, or select CANCEL to exit.
1211pub const BAD_CURRENT_DIRECTORY = 703;
1212
1213/// {Redundant Read} To satisfy a read request, the NT fault-tolerant file system successfully read the requested data from a redundant copy. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was unable to reassign the failing area of the device.
1214pub const FT_READ_RECOVERY_FROM_BACKUP = 704;
1215
1216/// {Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.
1217pub const FT_WRITE_RECOVERY = 705;
1218
1219/// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine. Select OK to continue, or CANCEL to fail the DLL load.
1220pub const IMAGE_MACHINE_TYPE_MISMATCH = 706;
1221
1222/// {Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.
1223pub const RECEIVE_PARTIAL = 707;
1224
1225/// {Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.
1226pub const RECEIVE_EXPEDITED = 708;
1227
1228/// {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.
1229pub const RECEIVE_PARTIAL_EXPEDITED = 709;
1230
1231/// {TDI Event Done} The TDI indication has completed successfully.
1232pub const EVENT_DONE = 710;
1233
1234/// {TDI Event Pending} The TDI indication has entered the pending state.
1235pub const EVENT_PENDING = 711;
1236
1237/// Checking file system on %wZ.
1238pub const CHECKING_FILE_SYSTEM = 712;
1239
1240/// {Fatal Application Exit} %hs.
1241pub const FATAL_APP_EXIT = 713;
1242
1243/// The specified registry key is referenced by a predefined handle.
1244pub const PREDEFINED_HANDLE = 714;
1245
1246/// {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.
1247pub const WAS_UNLOCKED = 715;
1248
1249/// %hs
1250pub const SERVICE_NOTIFICATION = 716;
1251
1252/// {Page Locked} One of the pages to lock was already locked.
1253pub const WAS_LOCKED = 717;
1254
1255/// Application popup: %1 : %2
1256pub const LOG_HARD_ERROR = 718;
1257
1258/// ERROR_ALREADY_WIN32
1259pub const ALREADY_WIN32 = 719;
1260
1261/// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.
1262pub const IMAGE_MACHINE_TYPE_MISMATCH_EXE = 720;
1263
1264/// A yield execution was performed and no thread was available to run.
1265pub const NO_YIELD_PERFORMED = 721;
1266
1267/// The resumable flag to a timer API was ignored.
1268pub const TIMER_RESUME_IGNORED = 722;
1269
1270/// The arbiter has deferred arbitration of these resources to its parent.
1271pub const ARBITRATION_UNHANDLED = 723;
1272
1273/// The inserted CardBus device cannot be started because of a configuration error on "%hs".
1274pub const CARDBUS_NOT_SUPPORTED = 724;
1275
1276/// The CPUs in this multiprocessor system are not all the same revision level. To use all processors the operating system restricts itself to the features of the least capable processor in the system. Should problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported.
1277pub const MP_PROCESSOR_MISMATCH = 725;
1278
1279/// The system was put into hibernation.
1280pub const HIBERNATED = 726;
1281
1282/// The system was resumed from hibernation.
1283pub const RESUME_HIBERNATION = 727;
1284
1285/// Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3].
1286pub const FIRMWARE_UPDATED = 728;
1287
1288/// A device driver is leaking locked I/O pages causing system degradation. The system has automatically enabled tracking code in order to try and catch the culprit.
1289pub const DRIVERS_LEAKING_LOCKED_PAGES = 729;
1290
1291/// The system has awoken.
1292pub const WAKE_SYSTEM = 730;
1293
1294/// ERROR_WAIT_1
1295pub const WAIT_1 = 731;
1296
1297/// ERROR_WAIT_2
1298pub const WAIT_2 = 732;
1299
1300/// ERROR_WAIT_3
1301pub const WAIT_3 = 733;
1302
1303/// ERROR_WAIT_63
1304pub const WAIT_63 = 734;
1305
1306/// ERROR_ABANDONED_WAIT_0
1307pub const ABANDONED_WAIT_0 = 735;
1308
1309/// ERROR_ABANDONED_WAIT_63
1310pub const ABANDONED_WAIT_63 = 736;
1311
1312/// ERROR_USER_APC
1313pub const USER_APC = 737;
1314
1315/// ERROR_KERNEL_APC
1316pub const KERNEL_APC = 738;
1317
1318/// ERROR_ALERTED
1319pub const ALERTED = 739;
1320
1321/// The requested operation requires elevation.
1322pub const ELEVATION_REQUIRED = 740;
1323
1324/// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
1325pub const REPARSE = 741;
1326
1327/// An open/create operation completed while an oplock break is underway.
1328pub const OPLOCK_BREAK_IN_PROGRESS = 742;
1329
1330/// A new volume has been mounted by a file system.
1331pub const VOLUME_MOUNTED = 743;
1332
1333/// 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.
1334pub const RXACT_COMMITTED = 744;
1335
1336/// This indicates that a notify change request has been completed due to closing the handle which made the notify change request.
1337pub const NOTIFY_CLEANUP = 745;
1338
1339/// {Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed. The computer WAS able to connect on a secondary transport.
1340pub const PRIMARY_TRANSPORT_CONNECT_FAILED = 746;
1341
1342/// Page fault was a transition fault.
1343pub const PAGE_FAULT_TRANSITION = 747;
1344
1345/// Page fault was a demand zero fault.
1346pub const PAGE_FAULT_DEMAND_ZERO = 748;
1347
1348/// Page fault was a demand zero fault.
1349pub const PAGE_FAULT_COPY_ON_WRITE = 749;
1350
1351/// Page fault was a demand zero fault.
1352pub const PAGE_FAULT_GUARD_PAGE = 750;
1353
1354/// Page fault was satisfied by reading from a secondary storage device.
1355pub const PAGE_FAULT_PAGING_FILE = 751;
1356
1357/// Cached page was locked during operation.
1358pub const CACHE_PAGE_LOCKED = 752;
1359
1360/// Crash dump exists in paging file.
1361pub const CRASH_DUMP = 753;
1362
1363/// Specified buffer contains all zeros.
1364pub const BUFFER_ALL_ZEROS = 754;
1365
1366/// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
1367pub const REPARSE_OBJECT = 755;
1368
1369/// The device has succeeded a query-stop and its resource requirements have changed.
1370pub const RESOURCE_REQUIREMENTS_CHANGED = 756;
1371
1372/// The translator has translated these resources into the global space and no further translations should be performed.
1373pub const TRANSLATION_COMPLETE = 757;
1374
1375/// A process being terminated has no threads to terminate.
1376pub const NOTHING_TO_TERMINATE = 758;
1377
1378/// The specified process is not part of a job.
1379pub const PROCESS_NOT_IN_JOB = 759;
1380
1381/// The specified process is part of a job.
1382pub const PROCESS_IN_JOB = 760;
1383
1384/// {Volume Shadow Copy Service} The system is now ready for hibernation.
1385pub const VOLSNAP_HIBERNATE_READY = 761;
1386
1387/// A file system or file system filter driver has successfully completed an FsFilter operation.
1388pub const FSFILTER_OP_COMPLETED_SUCCESSFULLY = 762;
1389
1390/// The specified interrupt vector was already connected.
1391pub const INTERRUPT_VECTOR_ALREADY_CONNECTED = 763;
1392
1393/// The specified interrupt vector is still connected.
1394pub const INTERRUPT_STILL_CONNECTED = 764;
1395
1396/// An operation is blocked waiting for an oplock.
1397pub const WAIT_FOR_OPLOCK = 765;
1398
1399/// Debugger handled exception.
1400pub const DBG_EXCEPTION_HANDLED = 766;
1401
1402/// Debugger continued.
1403pub const DBG_CONTINUE = 767;
1404
1405/// An exception occurred in a user mode callback and the kernel callback frame should be removed.
1406pub const CALLBACK_POP_STACK = 768;
1407
1408/// Compression is disabled for this volume.
1409pub const COMPRESSION_DISABLED = 769;
1410
1411/// The data provider cannot fetch backwards through a result set.
1412pub const CANTFETCHBACKWARDS = 770;
1413
1414/// The data provider cannot scroll backwards through a result set.
1415pub const CANTSCROLLBACKWARDS = 771;
1416
1417/// The data provider requires that previously fetched data is released before asking for more data.
1418pub const ROWSNOTRELEASED = 772;
1419
1420/// The data provider was not able to interpret the flags set for a column binding in an accessor.
1421pub const BAD_ACCESSOR_FLAGS = 773;
1422
1423/// One or more errors occurred while processing the request.
1424pub const ERRORS_ENCOUNTERED = 774;
1425
1426/// The implementation is not capable of performing the request.
1427pub const NOT_CAPABLE = 775;
1428
1429/// The client of a component requested an operation which is not valid given the state of the component instance.
1430pub const REQUEST_OUT_OF_SEQUENCE = 776;
1431
1432/// A version number could not be parsed.
1433pub const VERSION_PARSE_ERROR = 777;
1434
1435/// The iterator's start position is invalid.
1436pub const BADSTARTPOSITION = 778;
1437
1438/// The hardware has reported an uncorrectable memory error.
1439pub const MEMORY_HARDWARE = 779;
1440
1441/// The attempted operation required self healing to be enabled.
1442pub const DISK_REPAIR_DISABLED = 780;
1443
1444/// The Desktop heap encountered an error while allocating session memory. There is more information in the system event log.
1445pub const INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE = 781;
1446
1447/// The system power state is transitioning from %2 to %3.
1448pub const SYSTEM_POWERSTATE_TRANSITION = 782;
1449
1450/// The system power state is transitioning from %2 to %3 but could enter %4.
1451pub const SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 783;
1452
1453/// A thread is getting dispatched with MCA EXCEPTION because of MCA.
1454pub const MCA_EXCEPTION = 784;
1455
1456/// Access to %1 is monitored by policy rule %2.
1457pub const ACCESS_AUDIT_BY_POLICY = 785;
1458
1459/// Access to %1 has been restricted by your Administrator by policy rule %2.
1460pub const ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 786;
1461
1462/// A valid hibernation file has been invalidated and should be abandoned.
1463pub const ABANDON_HIBERFILE = 787;
1464
1465/// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error may be caused by network connectivity issues. Please try to save this file elsewhere.
1466pub const LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 788;
1467
1468/// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error was returned by the server on which the file exists. Please try to save this file elsewhere.
1469pub const LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 789;
1470
1471/// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error may be caused if the device has been removed or the media is write-protected.
1472pub const LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 790;
1473
1474/// The resources required for this device conflict with the MCFG table.
1475pub const BAD_MCFG_TABLE = 791;
1476
1477/// The volume repair could not be performed while it is online. Please schedule to take the volume offline so that it can be repaired.
1478pub const DISK_REPAIR_REDIRECTED = 792;
1479
1480/// The volume repair was not successful.
1481pub const DISK_REPAIR_UNSUCCESSFUL = 793;
1482
1483/// One of the volume corruption logs is full. Further corruptions that may be detected won't be logged.
1484pub const CORRUPT_LOG_OVERFULL = 794;
1485
1486/// One of the volume corruption logs is internally corrupted and needs to be recreated. The volume may contain undetected corruptions and must be scanned.
1487pub const CORRUPT_LOG_CORRUPTED = 795;
1488
1489/// One of the volume corruption logs is unavailable for being operated on.
1490pub const CORRUPT_LOG_UNAVAILABLE = 796;
1491
1492/// One of the volume corruption logs was deleted while still having corruption records in them. The volume contains detected corruptions and must be scanned.
1493pub const CORRUPT_LOG_DELETED_FULL = 797;
1494
1495/// One of the volume corruption logs was cleared by chkdsk and no longer contains real corruptions.
1496pub const CORRUPT_LOG_CLEARED = 798;
1497
1498/// 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.
1499pub const ORPHAN_NAME_EXHAUSTED = 799;
1500
1501/// The oplock that was associated with this handle is now associated with a different handle.
1502pub const OPLOCK_SWITCHED_TO_NEW_HANDLE = 800;
1503
1504/// An oplock of the requested level cannot be granted. An oplock of a lower level may be available.
1505pub const CANNOT_GRANT_REQUESTED_OPLOCK = 801;
1506
1507/// The operation did not complete successfully because it would cause an oplock to be broken. The caller has requested that existing oplocks not be broken.
1508pub const CANNOT_BREAK_OPLOCK = 802;
1509
1510/// The handle with which this oplock was associated has been closed. The oplock is now broken.
1511pub const OPLOCK_HANDLE_CLOSED = 803;
1512
1513/// The specified access control entry (ACE) does not contain a condition.
1514pub const NO_ACE_CONDITION = 804;
1515
1516/// The specified access control entry (ACE) contains an invalid condition.
1517pub const INVALID_ACE_CONDITION = 805;
1518
1519/// Access to the specified file handle has been revoked.
1520pub const FILE_HANDLE_REVOKED = 806;
1521
1522/// 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.
1523pub const IMAGE_AT_DIFFERENT_BASE = 807;
1524
1525/// Access to the extended attribute was denied.
1526pub const EA_ACCESS_DENIED = 994;
1527
1528/// The I/O operation has been aborted because of either a thread exit or an application request.
1529pub const OPERATION_ABORTED = 995;
1530
1531/// Overlapped I/O event is not in a signaled state.
1532pub const IO_INCOMPLETE = 996;
1533
1534/// Overlapped I/O operation is in progress.
1535pub const IO_PENDING = 997;
1536
1537/// Invalid access to memory location.
1538pub const NOACCESS = 998;
1539
1540/// Error performing inpage operation.
1541pub const SWAPERROR = 999;
1542
1543/// Recursion too deep; the stack overflowed.
1544pub const STACK_OVERFLOW = 1001;
1545
1546/// The window cannot act on the sent message.
1547pub const INVALID_MESSAGE = 1002;
1548
1549/// Cannot complete this function.
1550pub const CAN_NOT_COMPLETE = 1003;
1551
1552/// Invalid flags.
1553pub const INVALID_FLAGS = 1004;
1554
1555/// The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
1556pub const UNRECOGNIZED_VOLUME = 1005;
1557
1558/// The volume for a file has been externally altered so that the opened file is no longer valid.
1559pub const FILE_INVALID = 1006;
1560
1561/// The requested operation cannot be performed in full-screen mode.
1562pub const FULLSCREEN_MODE = 1007;
1563
1564/// An attempt was made to reference a token that does not exist.
1565pub const NO_TOKEN = 1008;
1566
1567/// The configuration registry database is corrupt.
1568pub const BADDB = 1009;
1569
1570/// The configuration registry key is invalid.
1571pub const BADKEY = 1010;
1572
1573/// The configuration registry key could not be opened.
1574pub const CANTOPEN = 1011;
1575
1576/// The configuration registry key could not be read.
1577pub const CANTREAD = 1012;
1578
1579/// The configuration registry key could not be written.
1580pub const CANTWRITE = 1013;
1581
1582/// One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.
1583pub const REGISTRY_RECOVERED = 1014;
1584
1585/// 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.
1586pub const REGISTRY_CORRUPT = 1015;
1587
1588/// An I/O operation initiated by the registry failed unrecoverably. The registry could not read in, or write out, or flush, one of the files that contain the system's image of the registry.
1589pub const REGISTRY_IO_FAILED = 1016;
1590
1591/// The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
1592pub const NOT_REGISTRY_FILE = 1017;
1593
1594/// Illegal operation attempted on a registry key that has been marked for deletion.
1595pub const KEY_DELETED = 1018;
1596
1597/// System could not allocate the required space in a registry log.
1598pub const NO_LOG_SPACE = 1019;
1599
1600/// Cannot create a symbolic link in a registry key that already has subkeys or values.
1601pub const KEY_HAS_CHILDREN = 1020;
1602
1603/// Cannot create a stable subkey under a volatile parent key.
1604pub const CHILD_MUST_BE_VOLATILE = 1021;
1605
1606/// A notify change request is being completed and the information is not being returned in the caller's buffer. The caller now needs to enumerate the files to find the changes.
1607pub const NOTIFY_ENUM_DIR = 1022;
1608
1609/// A stop control has been sent to a service that other running services are dependent on.
1610pub const DEPENDENT_SERVICES_RUNNING = 1051;
1611
1612/// The requested control is not valid for this service.
1613pub const INVALID_SERVICE_CONTROL = 1052;
1614
1615/// The service did not respond to the start or control request in a timely fashion.
1616pub const SERVICE_REQUEST_TIMEOUT = 1053;
1617
1618/// A thread could not be created for the service.
1619pub const SERVICE_NO_THREAD = 1054;
1620
1621/// The service database is locked.
1622pub const SERVICE_DATABASE_LOCKED = 1055;
1623
1624/// An instance of the service is already running.
1625pub const SERVICE_ALREADY_RUNNING = 1056;
1626
1627/// The account name is invalid or does not exist, or the password is invalid for the account name specified.
1628pub const INVALID_SERVICE_ACCOUNT = 1057;
1629
1630/// The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
1631pub const SERVICE_DISABLED = 1058;
1632
1633/// Circular service dependency was specified.
1634pub const CIRCULAR_DEPENDENCY = 1059;
1635
1636/// The specified service does not exist as an installed service.
1637pub const SERVICE_DOES_NOT_EXIST = 1060;
1638
1639/// The service cannot accept control messages at this time.
1640pub const SERVICE_CANNOT_ACCEPT_CTRL = 1061;
1641
1642/// The service has not been started.
1643pub const SERVICE_NOT_ACTIVE = 1062;
1644
1645/// The service process could not connect to the service controller.
1646pub const FAILED_SERVICE_CONTROLLER_CONNECT = 1063;
1647
1648/// An exception occurred in the service when handling the control request.
1649pub const EXCEPTION_IN_SERVICE = 1064;
1650
1651/// The database specified does not exist.
1652pub const DATABASE_DOES_NOT_EXIST = 1065;
1653
1654/// The service has returned a service-specific error code.
1655pub const SERVICE_SPECIFIC_ERROR = 1066;
1656
1657/// The process terminated unexpectedly.
1658pub const PROCESS_ABORTED = 1067;
1659
1660/// The dependency service or group failed to start.
1661pub const SERVICE_DEPENDENCY_FAIL = 1068;
1662
1663/// The service did not start due to a logon failure.
1664pub const SERVICE_LOGON_FAILED = 1069;
1665
1666/// After starting, the service hung in a start-pending state.
1667pub const SERVICE_START_HANG = 1070;
1668
1669/// The specified service database lock is invalid.
1670pub const INVALID_SERVICE_LOCK = 1071;
1671
1672/// The specified service has been marked for deletion.
1673pub const SERVICE_MARKED_FOR_DELETE = 1072;
1674
1675/// The specified service already exists.
1676pub const SERVICE_EXISTS = 1073;
1677
1678/// The system is currently running with the last-known-good configuration.
1679pub const ALREADY_RUNNING_LKG = 1074;
1680
1681/// The dependency service does not exist or has been marked for deletion.
1682pub const SERVICE_DEPENDENCY_DELETED = 1075;
1683
1684/// The current boot has already been accepted for use as the last-known-good control set.
1685pub const BOOT_ALREADY_ACCEPTED = 1076;
1686
1687/// No attempts to start the service have been made since the last boot.
1688pub const SERVICE_NEVER_STARTED = 1077;
1689
1690/// The name is already in use as either a service name or a service display name.
1691pub const DUPLICATE_SERVICE_NAME = 1078;
1692
1693/// The account specified for this service is different from the account specified for other services running in the same process.
1694pub const DIFFERENT_SERVICE_ACCOUNT = 1079;
1695
1696/// Failure actions can only be set for Win32 services, not for drivers.
1697pub const CANNOT_DETECT_DRIVER_FAILURE = 1080;
1698
1699/// This service runs in the same process as the service control manager. Therefore, the service control manager cannot take action if this service's process terminates unexpectedly.
1700pub const CANNOT_DETECT_PROCESS_ABORT = 1081;
1701
1702/// No recovery program has been configured for this service.
1703pub const NO_RECOVERY_PROGRAM = 1082;
1704
1705/// The executable program that this service is configured to run in does not implement the service.
1706pub const SERVICE_NOT_IN_EXE = 1083;
1707
1708/// This service cannot be started in Safe Mode.
1709pub const NOT_SAFEBOOT_SERVICE = 1084;
1710
1711/// The physical end of the tape has been reached.
1712pub const END_OF_MEDIA = 1100;
1713
1714/// A tape access reached a filemark.
1715pub const FILEMARK_DETECTED = 1101;
1716
1717/// The beginning of the tape or a partition was encountered.
1718pub const BEGINNING_OF_MEDIA = 1102;
1719
1720/// A tape access reached the end of a set of files.
1721pub const SETMARK_DETECTED = 1103;
1722
1723/// No more data is on the tape.
1724pub const NO_DATA_DETECTED = 1104;
1725
1726/// Tape could not be partitioned.
1727pub const PARTITION_FAILURE = 1105;
1728
1729/// When accessing a new tape of a multivolume partition, the current block size is incorrect.
1730pub const INVALID_BLOCK_LENGTH = 1106;
1731
1732/// Tape partition information could not be found when loading a tape.
1733pub const DEVICE_NOT_PARTITIONED = 1107;
1734
1735/// Unable to lock the media eject mechanism.
1736pub const UNABLE_TO_LOCK_MEDIA = 1108;
1737
1738/// Unable to unload the media.
1739pub const UNABLE_TO_UNLOAD_MEDIA = 1109;
1740
1741/// The media in the drive may have changed.
1742pub const MEDIA_CHANGED = 1110;
1743
1744/// The I/O bus was reset.
1745pub const BUS_RESET = 1111;
1746
1747/// No media in drive.
1748pub const NO_MEDIA_IN_DRIVE = 1112;
1749
1750/// No mapping for the Unicode character exists in the target multi-byte code page.
1751pub const NO_UNICODE_TRANSLATION = 1113;
1752
1753/// A dynamic link library (DLL) initialization routine failed.
1754pub const DLL_INIT_FAILED = 1114;
1755
1756/// A system shutdown is in progress.
1757pub const SHUTDOWN_IN_PROGRESS = 1115;
1758
1759/// Unable to abort the system shutdown because no shutdown was in progress.
1760pub const NO_SHUTDOWN_IN_PROGRESS = 1116;
1761
1762/// The request could not be performed because of an I/O device error.
1763pub const IO_DEVICE = 1117;
1764
1765/// No serial device was successfully initialized. The serial driver will unload.
1766pub const SERIAL_NO_DEVICE = 1118;
1767
1768/// Unable to open a device that was sharing an interrupt request (IRQ) with other devices. At least one other device that uses that IRQ was already opened.
1769pub const IRQ_BUSY = 1119;
1770
1771/// A serial I/O operation was completed by another write to the serial port. The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
1772pub const MORE_WRITES = 1120;
1773
1774/// A serial I/O operation completed because the timeout period expired. The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
1775pub const COUNTER_TIMEOUT = 1121;
1776
1777/// No ID address mark was found on the floppy disk.
1778pub const FLOPPY_ID_MARK_NOT_FOUND = 1122;
1779
1780/// Mismatch between the floppy disk sector ID field and the floppy disk controller track address.
1781pub const FLOPPY_WRONG_CYLINDER = 1123;
1782
1783/// The floppy disk controller reported an error that is not recognized by the floppy disk driver.
1784pub const FLOPPY_UNKNOWN_ERROR = 1124;
1785
1786/// The floppy disk controller returned inconsistent results in its registers.
1787pub const FLOPPY_BAD_REGISTERS = 1125;
1788
1789/// While accessing the hard disk, a recalibrate operation failed, even after retries.
1790pub const DISK_RECALIBRATE_FAILED = 1126;
1791
1792/// While accessing the hard disk, a disk operation failed even after retries.
1793pub const DISK_OPERATION_FAILED = 1127;
1794
1795/// While accessing the hard disk, a disk controller reset was needed, but even that failed.
1796pub const DISK_RESET_FAILED = 1128;
1797
1798/// Physical end of tape encountered.
1799pub const EOM_OVERFLOW = 1129;
1800
1801/// Not enough server storage is available to process this command.
1802pub const NOT_ENOUGH_SERVER_MEMORY = 1130;
1803
1804/// A potential deadlock condition has been detected.
1805pub const POSSIBLE_DEADLOCK = 1131;
1806
1807/// The base address or the file offset specified does not have the proper alignment.
1808pub const MAPPED_ALIGNMENT = 1132;
1809
1810/// An attempt to change the system power state was vetoed by another application or driver.
1811pub const SET_POWER_STATE_VETOED = 1140;
1812
1813/// The system BIOS failed an attempt to change the system power state.
1814pub const SET_POWER_STATE_FAILED = 1141;
1815
1816/// An attempt was made to create more links on a file than the file system supports.
1817pub const TOO_MANY_LINKS = 1142;
1818
1819/// The specified program requires a newer version of Windows.
1820pub const OLD_WIN_VERSION = 1150;
1821
1822/// The specified program is not a Windows or MS-DOS program.
1823pub const APP_WRONG_OS = 1151;
1824
1825/// Cannot start more than one instance of the specified program.
1826pub const SINGLE_INSTANCE_APP = 1152;
1827
1828/// The specified program was written for an earlier version of Windows.
1829pub const RMODE_APP = 1153;
1830
1831/// One of the library files needed to run this application is damaged.
1832pub const INVALID_DLL = 1154;
1833
1834/// No application is associated with the specified file for this operation.
1835pub const NO_ASSOCIATION = 1155;
1836
1837/// An error occurred in sending the command to the application.
1838pub const DDE_FAIL = 1156;
1839
1840/// One of the library files needed to run this application cannot be found.
1841pub const DLL_NOT_FOUND = 1157;
1842
1843/// The current process has used all of its system allowance of handles for Window Manager objects.
1844pub const NO_MORE_USER_HANDLES = 1158;
1845
1846/// The message can be used only with synchronous operations.
1847pub const MESSAGE_SYNC_ONLY = 1159;
1848
1849/// The indicated source element has no media.
1850pub const SOURCE_ELEMENT_EMPTY = 1160;
1851
1852/// The indicated destination element already contains media.
1853pub const DESTINATION_ELEMENT_FULL = 1161;
1854
1855/// The indicated element does not exist.
1856pub const ILLEGAL_ELEMENT_ADDRESS = 1162;
1857
1858/// The indicated element is part of a magazine that is not present.
1859pub const MAGAZINE_NOT_PRESENT = 1163;
1860
1861/// The indicated device requires reinitialization due to hardware errors.
1862pub const DEVICE_REINITIALIZATION_NEEDED = 1164;
1863
1864/// The device has indicated that cleaning is required before further operations are attempted.
1865pub const DEVICE_REQUIRES_CLEANING = 1165;
1866
1867/// The device has indicated that its door is open.
1868pub const DEVICE_DOOR_OPEN = 1166;
1869
1870/// The device is not connected.
1871pub const DEVICE_NOT_CONNECTED = 1167;
1872
1873/// Element not found.
1874pub const NOT_FOUND = 1168;
1875
1876/// There was no match for the specified key in the index.
1877pub const NO_MATCH = 1169;
1878
1879/// The property set specified does not exist on the object.
1880pub const SET_NOT_FOUND = 1170;
1881
1882/// The point passed to GetMouseMovePoints is not in the buffer.
1883pub const POINT_NOT_FOUND = 1171;
1884
1885/// The tracking (workstation) service is not running.
1886pub const NO_TRACKING_SERVICE = 1172;
1887
1888/// The Volume ID could not be found.
1889pub const NO_VOLUME_ID = 1173;
1890
1891/// Unable to remove the file to be replaced.
1892pub const UNABLE_TO_REMOVE_REPLACED = 1175;
1893
1894/// Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name.
1895pub const UNABLE_TO_MOVE_REPLACEMENT = 1176;
1896
1897/// Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name.
1898pub const UNABLE_TO_MOVE_REPLACEMENT_2 = 1177;
1899
1900/// The volume change journal is being deleted.
1901pub const JOURNAL_DELETE_IN_PROGRESS = 1178;
1902
1903/// The volume change journal is not active.
1904pub const JOURNAL_NOT_ACTIVE = 1179;
1905
1906/// A file was found, but it may not be the correct file.
1907pub const POTENTIAL_FILE_FOUND = 1180;
1908
1909/// The journal entry has been deleted from the journal.
1910pub const JOURNAL_ENTRY_DELETED = 1181;
1911
1912/// A system shutdown has already been scheduled.
1913pub const SHUTDOWN_IS_SCHEDULED = 1190;
1914
1915/// The system shutdown cannot be initiated because there are other users logged on to the computer.
1916pub const SHUTDOWN_USERS_LOGGED_ON = 1191;
1917
1918/// The specified device name is invalid.
1919pub const BAD_DEVICE = 1200;
1920
1921/// The device is not currently connected but it is a remembered connection.
1922pub const CONNECTION_UNAVAIL = 1201;
1923
1924/// The local device name has a remembered connection to another network resource.
1925pub const DEVICE_ALREADY_REMEMBERED = 1202;
1926
1927/// The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator.
1928pub const NO_NET_OR_BAD_PATH = 1203;
1929
1930/// The specified network provider name is invalid.
1931pub const BAD_PROVIDER = 1204;
1932
1933/// Unable to open the network connection profile.
1934pub const CANNOT_OPEN_PROFILE = 1205;
1935
1936/// The network connection profile is corrupted.
1937pub const BAD_PROFILE = 1206;
1938
1939/// Cannot enumerate a noncontainer.
1940pub const NOT_CONTAINER = 1207;
1941
1942/// An extended error has occurred.
1943pub const EXTENDED_ERROR = 1208;
1944
1945/// The format of the specified group name is invalid.
1946pub const INVALID_GROUPNAME = 1209;
1947
1948/// The format of the specified computer name is invalid.
1949pub const INVALID_COMPUTERNAME = 1210;
1950
1951/// The format of the specified event name is invalid.
1952pub const INVALID_EVENTNAME = 1211;
1953
1954/// The format of the specified domain name is invalid.
1955pub const INVALID_DOMAINNAME = 1212;
1956
1957/// The format of the specified service name is invalid.
1958pub const INVALID_SERVICENAME = 1213;
1959
1960/// The format of the specified network name is invalid.
1961pub const INVALID_NETNAME = 1214;
1962
1963/// The format of the specified share name is invalid.
1964pub const INVALID_SHARENAME = 1215;
1965
1966/// The format of the specified password is invalid.
1967pub const INVALID_PASSWORDNAME = 1216;
1968
1969/// The format of the specified message name is invalid.
1970pub const INVALID_MESSAGENAME = 1217;
1971
1972/// The format of the specified message destination is invalid.
1973pub const INVALID_MESSAGEDEST = 1218;
1974
1975/// Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
1976pub const SESSION_CREDENTIAL_CONFLICT = 1219;
1977
1978/// An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.
1979pub const REMOTE_SESSION_LIMIT_EXCEEDED = 1220;
1980
1981/// The workgroup or domain name is already in use by another computer on the network.
1982pub const DUP_DOMAINNAME = 1221;
1983
1984/// The network is not present or not started.
1985pub const NO_NETWORK = 1222;
1986
1987/// The operation was canceled by the user.
1988pub const CANCELLED = 1223;
1989
1990/// The requested operation cannot be performed on a file with a user-mapped section open.
1991pub const USER_MAPPED_FILE = 1224;
1992
1993/// The remote computer refused the network connection.
1994pub const CONNECTION_REFUSED = 1225;
1995
1996/// The network connection was gracefully closed.
1997pub const GRACEFUL_DISCONNECT = 1226;
1998
1999/// The network transport endpoint already has an address associated with it.
2000pub const ADDRESS_ALREADY_ASSOCIATED = 1227;
2001
2002/// An address has not yet been associated with the network endpoint.
2003pub const ADDRESS_NOT_ASSOCIATED = 1228;
2004
2005/// An operation was attempted on a nonexistent network connection.
2006pub const CONNECTION_INVALID = 1229;
2007
2008/// An invalid operation was attempted on an active network connection.
2009pub const CONNECTION_ACTIVE = 1230;
2010
2011/// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
2012pub const NETWORK_UNREACHABLE = 1231;
2013
2014/// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
2015pub const HOST_UNREACHABLE = 1232;
2016
2017/// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
2018pub const PROTOCOL_UNREACHABLE = 1233;
2019
2020/// No service is operating at the destination network endpoint on the remote system.
2021pub const PORT_UNREACHABLE = 1234;
2022
2023/// The request was aborted.
2024pub const REQUEST_ABORTED = 1235;
2025
2026/// The network connection was aborted by the local system.
2027pub const CONNECTION_ABORTED = 1236;
2028
2029/// The operation could not be completed. A retry should be performed.
2030pub const RETRY = 1237;
2031
2032/// A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.
2033pub const CONNECTION_COUNT_LIMIT = 1238;
2034
2035/// Attempting to log in during an unauthorized time of day for this account.
2036pub const LOGIN_TIME_RESTRICTION = 1239;
2037
2038/// The account is not authorized to log in from this station.
2039pub const LOGIN_WKSTA_RESTRICTION = 1240;
2040
2041/// The network address could not be used for the operation requested.
2042pub const INCORRECT_ADDRESS = 1241;
2043
2044/// The service is already registered.
2045pub const ALREADY_REGISTERED = 1242;
2046
2047/// The specified service does not exist.
2048pub const SERVICE_NOT_FOUND = 1243;
2049
2050/// The operation being requested was not performed because the user has not been authenticated.
2051pub const NOT_AUTHENTICATED = 1244;
2052
2053/// The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.
2054pub const NOT_LOGGED_ON = 1245;
2055
2056/// Continue with work in progress.
2057pub const CONTINUE = 1246;
2058
2059/// An attempt was made to perform an initialization operation when initialization has already been completed.
2060pub const ALREADY_INITIALIZED = 1247;
2061
2062/// No more local devices.
2063pub const NO_MORE_DEVICES = 1248;
2064
2065/// The specified site does not exist.
2066pub const NO_SUCH_SITE = 1249;
2067
2068/// A domain controller with the specified name already exists.
2069pub const DOMAIN_CONTROLLER_EXISTS = 1250;
2070
2071/// This operation is supported only when you are connected to the server.
2072pub const ONLY_IF_CONNECTED = 1251;
2073
2074/// The group policy framework should call the extension even if there are no changes.
2075pub const OVERRIDE_NOCHANGES = 1252;
2076
2077/// The specified user does not have a valid profile.
2078pub const BAD_USER_PROFILE = 1253;
2079
2080/// This operation is not supported on a computer running Windows Server 2003 for Small Business Server.
2081pub const NOT_SUPPORTED_ON_SBS = 1254;
2082
2083/// The server machine is shutting down.
2084pub const SERVER_SHUTDOWN_IN_PROGRESS = 1255;
2085
2086/// The remote system is not available. For information about network troubleshooting, see Windows Help.
2087pub const HOST_DOWN = 1256;
2088
2089/// The security identifier provided is not from an account domain.
2090pub const NON_ACCOUNT_SID = 1257;
2091
2092/// The security identifier provided does not have a domain component.
2093pub const NON_DOMAIN_SID = 1258;
2094
2095/// AppHelp dialog canceled thus preventing the application from starting.
2096pub const APPHELP_BLOCK = 1259;
2097
2098/// This program is blocked by group policy. For more information, contact your system administrator.
2099pub const ACCESS_DISABLED_BY_POLICY = 1260;
2100
2101/// A program attempt to use an invalid register value. Normally caused by an uninitialized register. This error is Itanium specific.
2102pub const REG_NAT_CONSUMPTION = 1261;
2103
2104/// The share is currently offline or does not exist.
2105pub const CSCSHARE_OFFLINE = 1262;
2106
2107/// The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon. There is more information in the system event log.
2108pub const PKINIT_FAILURE = 1263;
2109
2110/// The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.
2111pub const SMARTCARD_SUBSYSTEM_FAILURE = 1264;
2112
2113/// The system cannot contact a domain controller to service the authentication request. Please try again later.
2114pub const DOWNGRADE_DETECTED = 1265;
2115
2116/// The machine is locked and cannot be shut down without the force option.
2117pub const MACHINE_LOCKED = 1271;
2118
2119/// An application-defined callback gave invalid data when called.
2120pub const CALLBACK_SUPPLIED_INVALID_DATA = 1273;
2121
2122/// The group policy framework should call the extension in the synchronous foreground policy refresh.
2123pub const SYNC_FOREGROUND_REFRESH_REQUIRED = 1274;
2124
2125/// This driver has been blocked from loading.
2126pub const DRIVER_BLOCKED = 1275;
2127
2128/// A dynamic link library (DLL) referenced a module that was neither a DLL nor the process's executable image.
2129pub const INVALID_IMPORT_OF_NON_DLL = 1276;
2130
2131/// Windows cannot open this program since it has been disabled.
2132pub const ACCESS_DISABLED_WEBBLADE = 1277;
2133
2134/// Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.
2135pub const ACCESS_DISABLED_WEBBLADE_TAMPER = 1278;
2136
2137/// A transaction recover failed.
2138pub const RECOVERY_FAILURE = 1279;
2139
2140/// The current thread has already been converted to a fiber.
2141pub const ALREADY_FIBER = 1280;
2142
2143/// The current thread has already been converted from a fiber.
2144pub const ALREADY_THREAD = 1281;
2145
2146/// The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
2147pub const STACK_BUFFER_OVERRUN = 1282;
2148
2149/// Data present in one of the parameters is more than the function can operate on.
2150pub const PARAMETER_QUOTA_EXCEEDED = 1283;
2151
2152/// An attempt to do an operation on a debug object failed because the object is in the process of being deleted.
2153pub const DEBUGGER_INACTIVE = 1284;
2154
2155/// An attempt to delay-load a .dll or get a function address in a delay-loaded .dll failed.
2156pub const DELAY_LOAD_FAILED = 1285;
2157
2158/// %1 is a 16-bit application. You do not have permissions to execute 16-bit applications. Check your permissions with your system administrator.
2159pub const VDM_DISALLOWED = 1286;
2160
2161/// Insufficient information exists to identify the cause of failure.
2162pub const UNIDENTIFIED_ERROR = 1287;
2163
2164/// The parameter passed to a C runtime function is incorrect.
2165pub const INVALID_CRUNTIME_PARAMETER = 1288;
2166
2167/// The operation occurred beyond the valid data length of the file.
2168pub const BEYOND_VDL = 1289;
2169
2170/// The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.
2171/// On Windows Server 2003 and Windows XP, an unrestricted service cannot coexist in the same process with other services. The service with the unrestricted service SID type must be moved to an owned process in order to start this service.
2172pub const INCOMPATIBLE_SERVICE_SID_TYPE = 1290;
2173
2174/// The process hosting the driver for this device has been terminated.
2175pub const DRIVER_PROCESS_TERMINATED = 1291;
2176
2177/// An operation attempted to exceed an implementation-defined limit.
2178pub const IMPLEMENTATION_LIMIT = 1292;
2179
2180/// Either the target process, or the target thread's containing process, is a protected process.
2181pub const PROCESS_IS_PROTECTED = 1293;
2182
2183/// The service notification client is lagging too far behind the current state of services in the machine.
2184pub const SERVICE_NOTIFY_CLIENT_LAGGING = 1294;
2185
2186/// The requested file operation failed because the storage quota was exceeded. To free up disk space, move files to a different location or delete unnecessary files. For more information, contact your system administrator.
2187pub const DISK_QUOTA_EXCEEDED = 1295;
2188
2189/// The requested file operation failed because the storage policy blocks that type of file. For more information, contact your system administrator.
2190pub const CONTENT_BLOCKED = 1296;
2191
2192/// A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration.
2193pub const INCOMPATIBLE_SERVICE_PRIVILEGE = 1297;
2194
2195/// A thread involved in this operation appears to be unresponsive.
2196pub const APP_HANG = 1298;
2197
2198/// Indicates a particular Security ID may not be assigned as the label of an object.
2199pub const INVALID_LABEL = 1299;
2200
2201/// Not all privileges or groups referenced are assigned to the caller.
2202pub const NOT_ALL_ASSIGNED = 1300;
2203
2204/// Some mapping between account names and security IDs was not done.
2205pub const SOME_NOT_MAPPED = 1301;
2206
2207/// No system quota limits are specifically set for this account.
2208pub const NO_QUOTAS_FOR_ACCOUNT = 1302;
2209
2210/// No encryption key is available. A well-known encryption key was returned.
2211pub const LOCAL_USER_SESSION_KEY = 1303;
2212
2213/// The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a NULL string.
2214pub const NULL_LM_PASSWORD = 1304;
2215
2216/// The revision level is unknown.
2217pub const UNKNOWN_REVISION = 1305;
2218
2219/// Indicates two revision levels are incompatible.
2220pub const REVISION_MISMATCH = 1306;
2221
2222/// This security ID may not be assigned as the owner of this object.
2223pub const INVALID_OWNER = 1307;
2224
2225/// This security ID may not be assigned as the primary group of an object.
2226pub const INVALID_PRIMARY_GROUP = 1308;
2227
2228/// An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
2229pub const NO_IMPERSONATION_TOKEN = 1309;
2230
2231/// The group may not be disabled.
2232pub const CANT_DISABLE_MANDATORY = 1310;
2233
2234/// There are currently no logon servers available to service the logon request.
2235pub const NO_LOGON_SERVERS = 1311;
2236
2237/// A specified logon session does not exist. It may already have been terminated.
2238pub const NO_SUCH_LOGON_SESSION = 1312;
2239
2240/// A specified privilege does not exist.
2241pub const NO_SUCH_PRIVILEGE = 1313;
2242
2243/// A required privilege is not held by the client.
2244pub const PRIVILEGE_NOT_HELD = 1314;
2245
2246/// The name provided is not a properly formed account name.
2247pub const INVALID_ACCOUNT_NAME = 1315;
2248
2249/// The specified account already exists.
2250pub const USER_EXISTS = 1316;
2251
2252/// The specified account does not exist.
2253pub const NO_SUCH_USER = 1317;
2254
2255/// The specified group already exists.
2256pub const GROUP_EXISTS = 1318;
2257
2258/// The specified group does not exist.
2259pub const NO_SUCH_GROUP = 1319;
2260
2261/// 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.
2262pub const MEMBER_IN_GROUP = 1320;
2263
2264/// The specified user account is not a member of the specified group account.
2265pub const MEMBER_NOT_IN_GROUP = 1321;
2266
2267/// This operation is disallowed as it could result in an administration account being disabled, deleted or unable to log on.
2268pub const LAST_ADMIN = 1322;
2269
2270/// Unable to update the password. The value provided as the current password is incorrect.
2271pub const WRONG_PASSWORD = 1323;
2272
2273/// Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.
2274pub const ILL_FORMED_PASSWORD = 1324;
2275
2276/// Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.
2277pub const PASSWORD_RESTRICTION = 1325;
2278
2279/// The user name or password is incorrect.
2280pub const LOGON_FAILURE = 1326;
2281
2282/// Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.
2283pub const ACCOUNT_RESTRICTION = 1327;
2284
2285/// Your account has time restrictions that keep you from signing in right now.
2286pub const INVALID_LOGON_HOURS = 1328;
2287
2288/// This user isn't allowed to sign in to this computer.
2289pub const INVALID_WORKSTATION = 1329;
2290
2291/// The password for this account has expired.
2292pub const PASSWORD_EXPIRED = 1330;
2293
2294/// This user can't sign in because this account is currently disabled.
2295pub const ACCOUNT_DISABLED = 1331;
2296
2297/// No mapping between account names and security IDs was done.
2298pub const NONE_MAPPED = 1332;
2299
2300/// Too many local user identifiers (LUIDs) were requested at one time.
2301pub const TOO_MANY_LUIDS_REQUESTED = 1333;
2302
2303/// No more local user identifiers (LUIDs) are available.
2304pub const LUIDS_EXHAUSTED = 1334;
2305
2306/// The subauthority part of a security ID is invalid for this particular use.
2307pub const INVALID_SUB_AUTHORITY = 1335;
2308
2309/// The access control list (ACL) structure is invalid.
2310pub const INVALID_ACL = 1336;
2311
2312/// The security ID structure is invalid.
2313pub const INVALID_SID = 1337;
2314
2315/// The security descriptor structure is invalid.
2316pub const INVALID_SECURITY_DESCR = 1338;
2317
2318/// The inherited access control list (ACL) or access control entry (ACE) could not be built.
2319pub const BAD_INHERITANCE_ACL = 1340;
2320
2321/// The server is currently disabled.
2322pub const SERVER_DISABLED = 1341;
2323
2324/// The server is currently enabled.
2325pub const SERVER_NOT_DISABLED = 1342;
2326
2327/// The value provided was an invalid value for an identifier authority.
2328pub const INVALID_ID_AUTHORITY = 1343;
2329
2330/// No more memory is available for security information updates.
2331pub const ALLOTTED_SPACE_EXCEEDED = 1344;
2332
2333/// The specified attributes are invalid, or incompatible with the attributes for the group as a whole.
2334pub const INVALID_GROUP_ATTRIBUTES = 1345;
2335
2336/// Either a required impersonation level was not provided, or the provided impersonation level is invalid.
2337pub const BAD_IMPERSONATION_LEVEL = 1346;
2338
2339/// Cannot open an anonymous level security token.
2340pub const CANT_OPEN_ANONYMOUS = 1347;
2341
2342/// The validation information class requested was invalid.
2343pub const BAD_VALIDATION_CLASS = 1348;
2344
2345/// The type of the token is inappropriate for its attempted use.
2346pub const BAD_TOKEN_TYPE = 1349;
2347
2348/// Unable to perform a security operation on an object that has no associated security.
2349pub const NO_SECURITY_ON_OBJECT = 1350;
2350
2351/// Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.
2352pub const CANT_ACCESS_DOMAIN_INFO = 1351;
2353
2354/// The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation.
2355pub const INVALID_SERVER_STATE = 1352;
2356
2357/// The domain was in the wrong state to perform the security operation.
2358pub const INVALID_DOMAIN_STATE = 1353;
2359
2360/// This operation is only allowed for the Primary Domain Controller of the domain.
2361pub const INVALID_DOMAIN_ROLE = 1354;
2362
2363/// The specified domain either does not exist or could not be contacted.
2364pub const NO_SUCH_DOMAIN = 1355;
2365
2366/// The specified domain already exists.
2367pub const DOMAIN_EXISTS = 1356;
2368
2369/// An attempt was made to exceed the limit on the number of domains per server.
2370pub const DOMAIN_LIMIT_EXCEEDED = 1357;
2371
2372/// Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.
2373pub const INTERNAL_DB_CORRUPTION = 1358;
2374
2375/// An internal error occurred.
2376pub const INTERNAL_ERROR = 1359;
2377
2378/// Generic access types were contained in an access mask which should already be mapped to nongeneric types.
2379pub const GENERIC_NOT_MAPPED = 1360;
2380
2381/// A security descriptor is not in the right format (absolute or self-relative).
2382pub const BAD_DESCRIPTOR_FORMAT = 1361;
2383
2384/// The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.
2385pub const NOT_LOGON_PROCESS = 1362;
2386
2387/// Cannot start a new logon session with an ID that is already in use.
2388pub const LOGON_SESSION_EXISTS = 1363;
2389
2390/// A specified authentication package is unknown.
2391pub const NO_SUCH_PACKAGE = 1364;
2392
2393/// The logon session is not in a state that is consistent with the requested operation.
2394pub const BAD_LOGON_SESSION_STATE = 1365;
2395
2396/// The logon session ID is already in use.
2397pub const LOGON_SESSION_COLLISION = 1366;
2398
2399/// A logon request contained an invalid logon type value.
2400pub const INVALID_LOGON_TYPE = 1367;
2401
2402/// Unable to impersonate using a named pipe until data has been read from that pipe.
2403pub const CANNOT_IMPERSONATE = 1368;
2404
2405/// The transaction state of a registry subtree is incompatible with the requested operation.
2406pub const RXACT_INVALID_STATE = 1369;
2407
2408/// An internal security database corruption has been encountered.
2409pub const RXACT_COMMIT_FAILURE = 1370;
2410
2411/// Cannot perform this operation on built-in accounts.
2412pub const SPECIAL_ACCOUNT = 1371;
2413
2414/// Cannot perform this operation on this built-in special group.
2415pub const SPECIAL_GROUP = 1372;
2416
2417/// Cannot perform this operation on this built-in special user.
2418pub const SPECIAL_USER = 1373;
2419
2420/// The user cannot be removed from a group because the group is currently the user's primary group.
2421pub const MEMBERS_PRIMARY_GROUP = 1374;
2422
2423/// The token is already in use as a primary token.
2424pub const TOKEN_ALREADY_IN_USE = 1375;
2425
2426/// The specified local group does not exist.
2427pub const NO_SUCH_ALIAS = 1376;
2428
2429/// The specified account name is not a member of the group.
2430pub const MEMBER_NOT_IN_ALIAS = 1377;
2431
2432/// The specified account name is already a member of the group.
2433pub const MEMBER_IN_ALIAS = 1378;
2434
2435/// The specified local group already exists.
2436pub const ALIAS_EXISTS = 1379;
2437
2438/// Logon failure: the user has not been granted the requested logon type at this computer.
2439pub const LOGON_NOT_GRANTED = 1380;
2440
2441/// The maximum number of secrets that may be stored in a single system has been exceeded.
2442pub const TOO_MANY_SECRETS = 1381;
2443
2444/// The length of a secret exceeds the maximum length allowed.
2445pub const SECRET_TOO_LONG = 1382;
2446
2447/// The local security authority database contains an internal inconsistency.
2448pub const INTERNAL_DB_ERROR = 1383;
2449
2450/// During a logon attempt, the user's security context accumulated too many security IDs.
2451pub const TOO_MANY_CONTEXT_IDS = 1384;
2452
2453/// Logon failure: the user has not been granted the requested logon type at this computer.
2454pub const LOGON_TYPE_NOT_GRANTED = 1385;
2455
2456/// A cross-encrypted password is necessary to change a user password.
2457pub const NT_CROSS_ENCRYPTION_REQUIRED = 1386;
2458
2459/// A member could not be added to or removed from the local group because the member does not exist.
2460pub const NO_SUCH_MEMBER = 1387;
2461
2462/// A new member could not be added to a local group because the member has the wrong account type.
2463pub const INVALID_MEMBER = 1388;
2464
2465/// Too many security IDs have been specified.
2466pub const TOO_MANY_SIDS = 1389;
2467
2468/// A cross-encrypted password is necessary to change this user password.
2469pub const LM_CROSS_ENCRYPTION_REQUIRED = 1390;
2470
2471/// Indicates an ACL contains no inheritable components.
2472pub const NO_INHERITANCE = 1391;
2473
2474/// The file or directory is corrupted and unreadable.
2475pub const FILE_CORRUPT = 1392;
2476
2477/// The disk structure is corrupted and unreadable.
2478pub const DISK_CORRUPT = 1393;
2479
2480/// There is no user session key for the specified logon session.
2481pub const NO_USER_SESSION_KEY = 1394;
2482
2483/// The service being accessed is licensed for a particular number of connections. No more connections can be made to the service at this time because there are already as many connections as the service can accept.
2484pub const LICENSE_QUOTA_EXCEEDED = 1395;
2485
2486/// The target account name is incorrect.
2487pub const WRONG_TARGET_NAME = 1396;
2488
2489/// Mutual Authentication failed. The server's password is out of date at the domain controller.
2490pub const MUTUAL_AUTH_FAILED = 1397;
2491
2492/// There is a time and/or date difference between the client and server.
2493pub const TIME_SKEW = 1398;
2494
2495/// This operation cannot be performed on the current domain.
2496pub const CURRENT_DOMAIN_NOT_ALLOWED = 1399;
2497
2498/// Invalid window handle.
2499pub const INVALID_WINDOW_HANDLE = 1400;
2500
2501/// Invalid menu handle.
2502pub const INVALID_MENU_HANDLE = 1401;
2503
2504/// Invalid cursor handle.
2505pub const INVALID_CURSOR_HANDLE = 1402;
2506
2507/// Invalid accelerator table handle.
2508pub const INVALID_ACCEL_HANDLE = 1403;
2509
2510/// Invalid hook handle.
2511pub const INVALID_HOOK_HANDLE = 1404;
2512
2513/// Invalid handle to a multiple-window position structure.
2514pub const INVALID_DWP_HANDLE = 1405;
2515
2516/// Cannot create a top-level child window.
2517pub const TLW_WITH_WSCHILD = 1406;
2518
2519/// Cannot find window class.
2520pub const CANNOT_FIND_WND_CLASS = 1407;
2521
2522/// Invalid window; it belongs to other thread.
2523pub const WINDOW_OF_OTHER_THREAD = 1408;
2524
2525/// Hot key is already registered.
2526pub const HOTKEY_ALREADY_REGISTERED = 1409;
2527
2528/// Class already exists.
2529pub const CLASS_ALREADY_EXISTS = 1410;
2530
2531/// Class does not exist.
2532pub const CLASS_DOES_NOT_EXIST = 1411;
2533
2534/// Class still has open windows.
2535pub const CLASS_HAS_WINDOWS = 1412;
2536
2537/// Invalid index.
2538pub const INVALID_INDEX = 1413;
2539
2540/// Invalid icon handle.
2541pub const INVALID_ICON_HANDLE = 1414;
2542
2543/// Using private DIALOG window words.
2544pub const PRIVATE_DIALOG_INDEX = 1415;
2545
2546/// The list box identifier was not found.
2547pub const LISTBOX_ID_NOT_FOUND = 1416;
2548
2549/// No wildcards were found.
2550pub const NO_WILDCARD_CHARACTERS = 1417;
2551
2552/// Thread does not have a clipboard open.
2553pub const CLIPBOARD_NOT_OPEN = 1418;
2554
2555/// Hot key is not registered.
2556pub const HOTKEY_NOT_REGISTERED = 1419;
2557
2558/// The window is not a valid dialog window.
2559pub const WINDOW_NOT_DIALOG = 1420;
2560
2561/// Control ID not found.
2562pub const CONTROL_ID_NOT_FOUND = 1421;
2563
2564/// Invalid message for a combo box because it does not have an edit control.
2565pub const INVALID_COMBOBOX_MESSAGE = 1422;
2566
2567/// The window is not a combo box.
2568pub const WINDOW_NOT_COMBOBOX = 1423;
2569
2570/// Height must be less than 256.
2571pub const INVALID_EDIT_HEIGHT = 1424;
2572
2573/// Invalid device context (DC) handle.
2574pub const DC_NOT_FOUND = 1425;
2575
2576/// Invalid hook procedure type.
2577pub const INVALID_HOOK_FILTER = 1426;
2578
2579/// Invalid hook procedure.
2580pub const INVALID_FILTER_PROC = 1427;
2581
2582/// Cannot set nonlocal hook without a module handle.
2583pub const HOOK_NEEDS_HMOD = 1428;
2584
2585/// This hook procedure can only be set globally.
2586pub const GLOBAL_ONLY_HOOK = 1429;
2587
2588/// The journal hook procedure is already installed.
2589pub const JOURNAL_HOOK_SET = 1430;
2590
2591/// The hook procedure is not installed.
2592pub const HOOK_NOT_INSTALLED = 1431;
2593
2594/// Invalid message for single-selection list box.
2595pub const INVALID_LB_MESSAGE = 1432;
2596
2597/// LB_SETCOUNT sent to non-lazy list box.
2598pub const SETCOUNT_ON_BAD_LB = 1433;
2599
2600/// This list box does not support tab stops.
2601pub const LB_WITHOUT_TABSTOPS = 1434;
2602
2603/// Cannot destroy object created by another thread.
2604pub const DESTROY_OBJECT_OF_OTHER_THREAD = 1435;
2605
2606/// Child windows cannot have menus.
2607pub const CHILD_WINDOW_MENU = 1436;
2608
2609/// The window does not have a system menu.
2610pub const NO_SYSTEM_MENU = 1437;
2611
2612/// Invalid message box style.
2613pub const INVALID_MSGBOX_STYLE = 1438;
2614
2615/// Invalid system-wide (SPI_*) parameter.
2616pub const INVALID_SPI_VALUE = 1439;
2617
2618/// Screen already locked.
2619pub const SCREEN_ALREADY_LOCKED = 1440;
2620
2621/// All handles to windows in a multiple-window position structure must have the same parent.
2622pub const HWNDS_HAVE_DIFF_PARENT = 1441;
2623
2624/// The window is not a child window.
2625pub const NOT_CHILD_WINDOW = 1442;
2626
2627/// Invalid GW_* command.
2628pub const INVALID_GW_COMMAND = 1443;
2629
2630/// Invalid thread identifier.
2631pub const INVALID_THREAD_ID = 1444;
2632
2633/// Cannot process a message from a window that is not a multiple document interface (MDI) window.
2634pub const NON_MDICHILD_WINDOW = 1445;
2635
2636/// Popup menu already active.
2637pub const POPUP_ALREADY_ACTIVE = 1446;
2638
2639/// The window does not have scroll bars.
2640pub const NO_SCROLLBARS = 1447;
2641
2642/// Scroll bar range cannot be greater than MAXLONG.
2643pub const INVALID_SCROLLBAR_RANGE = 1448;
2644
2645/// Cannot show or remove the window in the way specified.
2646pub const INVALID_SHOWWIN_COMMAND = 1449;
2647
2648/// Insufficient system resources exist to complete the requested service.
2649pub const NO_SYSTEM_RESOURCES = 1450;
2650
2651/// Insufficient system resources exist to complete the requested service.
2652pub const NONPAGED_SYSTEM_RESOURCES = 1451;
2653
2654/// Insufficient system resources exist to complete the requested service.
2655pub const PAGED_SYSTEM_RESOURCES = 1452;
2656
2657/// Insufficient quota to complete the requested service.
2658pub const WORKING_SET_QUOTA = 1453;
2659
2660/// Insufficient quota to complete the requested service.
2661pub const PAGEFILE_QUOTA = 1454;
2662
2663/// The paging file is too small for this operation to complete.
2664pub const COMMITMENT_LIMIT = 1455;
2665
2666/// A menu item was not found.
2667pub const MENU_ITEM_NOT_FOUND = 1456;
2668
2669/// Invalid keyboard layout handle.
2670pub const INVALID_KEYBOARD_HANDLE = 1457;
2671
2672/// Hook type not allowed.
2673pub const HOOK_TYPE_NOT_ALLOWED = 1458;
2674
2675/// This operation requires an interactive window station.
2676pub const REQUIRES_INTERACTIVE_WINDOWSTATION = 1459;
2677
2678/// This operation returned because the timeout period expired.
2679pub const TIMEOUT = 1460;
2680
2681/// Invalid monitor handle.
2682pub const INVALID_MONITOR_HANDLE = 1461;
2683
2684/// Incorrect size argument.
2685pub const INCORRECT_SIZE = 1462;
2686
2687/// The symbolic link cannot be followed because its type is disabled.
2688pub const SYMLINK_CLASS_DISABLED = 1463;
2689
2690/// This application does not support the current operation on symbolic links.
2691pub const SYMLINK_NOT_SUPPORTED = 1464;
2692
2693/// Windows was unable to parse the requested XML data.
2694pub const XML_PARSE_ERROR = 1465;
2695
2696/// An error was encountered while processing an XML digital signature.
2697pub const XMLDSIG_ERROR = 1466;
2698
2699/// This application must be restarted.
2700pub const RESTART_APPLICATION = 1467;
2701
2702/// The caller made the connection request in the wrong routing compartment.
2703pub const WRONG_COMPARTMENT = 1468;
2704
2705/// There was an AuthIP failure when attempting to connect to the remote host.
2706pub const AUTHIP_FAILURE = 1469;
2707
2708/// Insufficient NVRAM resources exist to complete the requested service. A reboot might be required.
2709pub const NO_NVRAM_RESOURCES = 1470;
2710
2711/// Unable to finish the requested operation because the specified process is not a GUI process.
2712pub const NOT_GUI_PROCESS = 1471;
2713
2714/// The event log file is corrupted.
2715pub const EVENTLOG_FILE_CORRUPT = 1500;
2716
2717/// No event log file could be opened, so the event logging service did not start.
2718pub const EVENTLOG_CANT_START = 1501;
2719
2720/// The event log file is full.
2721pub const LOG_FILE_FULL = 1502;
2722
2723/// The event log file has changed between read operations.
2724pub const EVENTLOG_FILE_CHANGED = 1503;
2725
2726/// The specified task name is invalid.
2727pub const INVALID_TASK_NAME = 1550;
2728
2729/// The specified task index is invalid.
2730pub const INVALID_TASK_INDEX = 1551;
2731
2732/// The specified thread is already joining a task.
2733pub const THREAD_ALREADY_IN_TASK = 1552;
2734
2735/// The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
2736pub const INSTALL_SERVICE_FAILURE = 1601;
2737
2738/// User cancelled installation.
2739pub const INSTALL_USEREXIT = 1602;
2740
2741/// Fatal error during installation.
2742pub const INSTALL_FAILURE = 1603;
2743
2744/// Installation suspended, incomplete.
2745pub const INSTALL_SUSPEND = 1604;
2746
2747/// This action is only valid for products that are currently installed.
2748pub const UNKNOWN_PRODUCT = 1605;
2749
2750/// Feature ID not registered.
2751pub const UNKNOWN_FEATURE = 1606;
2752
2753/// Component ID not registered.
2754pub const UNKNOWN_COMPONENT = 1607;
2755
2756/// Unknown property.
2757pub const UNKNOWN_PROPERTY = 1608;
2758
2759/// Handle is in an invalid state.
2760pub const INVALID_HANDLE_STATE = 1609;
2761
2762/// The configuration data for this product is corrupt. Contact your support personnel.
2763pub const BAD_CONFIGURATION = 1610;
2764
2765/// Component qualifier not present.
2766pub const INDEX_ABSENT = 1611;
2767
2768/// The installation source for this product is not available. Verify that the source exists and that you can access it.
2769pub const INSTALL_SOURCE_ABSENT = 1612;
2770
2771/// This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
2772pub const INSTALL_PACKAGE_VERSION = 1613;
2773
2774/// Product is uninstalled.
2775pub const PRODUCT_UNINSTALLED = 1614;
2776
2777/// SQL query syntax invalid or unsupported.
2778pub const BAD_QUERY_SYNTAX = 1615;
2779
2780/// Record field does not exist.
2781pub const INVALID_FIELD = 1616;
2782
2783/// The device has been removed.
2784pub const DEVICE_REMOVED = 1617;
2785
2786/// Another installation is already in progress. Complete that installation before proceeding with this install.
2787pub const INSTALL_ALREADY_RUNNING = 1618;
2788
2789/// This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.
2790pub const INSTALL_PACKAGE_OPEN_FAILED = 1619;
2791
2792/// This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
2793pub const INSTALL_PACKAGE_INVALID = 1620;
2794
2795/// There was an error starting the Windows Installer service user interface. Contact your support personnel.
2796pub const INSTALL_UI_FAILURE = 1621;
2797
2798/// Error opening installation log file. Verify that the specified log file location exists and that you can write to it.
2799pub const INSTALL_LOG_FAILURE = 1622;
2800
2801/// The language of this installation package is not supported by your system.
2802pub const INSTALL_LANGUAGE_UNSUPPORTED = 1623;
2803
2804/// Error applying transforms. Verify that the specified transform paths are valid.
2805pub const INSTALL_TRANSFORM_FAILURE = 1624;
2806
2807/// This installation is forbidden by system policy. Contact your system administrator.
2808pub const INSTALL_PACKAGE_REJECTED = 1625;
2809
2810/// Function could not be executed.
2811pub const FUNCTION_NOT_CALLED = 1626;
2812
2813/// Function failed during execution.
2814pub const FUNCTION_FAILED = 1627;
2815
2816/// Invalid or unknown table specified.
2817pub const INVALID_TABLE = 1628;
2818
2819/// Data supplied is of wrong type.
2820pub const DATATYPE_MISMATCH = 1629;
2821
2822/// Data of this type is not supported.
2823pub const UNSUPPORTED_TYPE = 1630;
2824
2825/// The Windows Installer service failed to start. Contact your support personnel.
2826pub const CREATE_FAILED = 1631;
2827
2828/// The Temp folder is on a drive that is full or is inaccessible. Free up space on the drive or verify that you have write permission on the Temp folder.
2829pub const INSTALL_TEMP_UNWRITABLE = 1632;
2830
2831/// This installation package is not supported by this processor type. Contact your product vendor.
2832pub const INSTALL_PLATFORM_UNSUPPORTED = 1633;
2833
2834/// Component not used on this computer.
2835pub const INSTALL_NOTUSED = 1634;
2836
2837/// This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
2838pub const PATCH_PACKAGE_OPEN_FAILED = 1635;
2839
2840/// This update package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer update package.
2841pub const PATCH_PACKAGE_INVALID = 1636;
2842
2843/// This update package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
2844pub const PATCH_PACKAGE_UNSUPPORTED = 1637;
2845
2846/// Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
2847pub const PRODUCT_VERSION = 1638;
2848
2849/// Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
2850pub const INVALID_COMMAND_LINE = 1639;
2851
2852/// Only administrators have permission to add, remove, or configure server software during a Terminal services remote session. If you want to install or configure software on the server, contact your network administrator.
2853pub const INSTALL_REMOTE_DISALLOWED = 1640;
2854
2855/// The requested operation completed successfully. The system will be restarted so the changes can take effect.
2856pub const SUCCESS_REBOOT_INITIATED = 1641;
2857
2858/// The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
2859pub const PATCH_TARGET_NOT_FOUND = 1642;
2860
2861/// The update package is not permitted by software restriction policy.
2862pub const PATCH_PACKAGE_REJECTED = 1643;
2863
2864/// One or more customizations are not permitted by software restriction policy.
2865pub const INSTALL_TRANSFORM_REJECTED = 1644;
2866
2867/// The Windows Installer does not permit installation from a Remote Desktop Connection.
2868pub const INSTALL_REMOTE_PROHIBITED = 1645;
2869
2870/// Uninstallation of the update package is not supported.
2871pub const PATCH_REMOVAL_UNSUPPORTED = 1646;
2872
2873/// The update is not applied to this product.
2874pub const UNKNOWN_PATCH = 1647;
2875
2876/// No valid sequence could be found for the set of updates.
2877pub const PATCH_NO_SEQUENCE = 1648;
2878
2879/// Update removal was disallowed by policy.
2880pub const PATCH_REMOVAL_DISALLOWED = 1649;
2881
2882/// The XML update data is invalid.
2883pub const INVALID_PATCH_XML = 1650;
2884
2885/// Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update.
2886pub const PATCH_MANAGED_ADVERTISED_PRODUCT = 1651;
2887
2888/// The Windows Installer service is not accessible in Safe Mode. Please try again when your computer is not in Safe Mode or you can use System Restore to return your machine to a previous good state.
2889pub const INSTALL_SERVICE_SAFEBOOT = 1652;
2890
2891/// A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.
2892pub const FAIL_FAST_EXCEPTION = 1653;
2893
2894/// The app that you are trying to run is not supported on this version of Windows.
2895pub const INSTALL_REJECTED = 1654;
2896
2897/// The string binding is invalid.
2898pub const RPC_S_INVALID_STRING_BINDING = 1700;
2899
2900/// The binding handle is not the correct type.
2901pub const RPC_S_WRONG_KIND_OF_BINDING = 1701;
2902
2903/// The binding handle is invalid.
2904pub const RPC_S_INVALID_BINDING = 1702;
2905
2906/// The RPC protocol sequence is not supported.
2907pub const RPC_S_PROTSEQ_NOT_SUPPORTED = 1703;
2908
2909/// The RPC protocol sequence is invalid.
2910pub const RPC_S_INVALID_RPC_PROTSEQ = 1704;
2911
2912/// The string universal unique identifier (UUID) is invalid.
2913pub const RPC_S_INVALID_STRING_UUID = 1705;
2914
2915/// The endpoint format is invalid.
2916pub const RPC_S_INVALID_ENDPOINT_FORMAT = 1706;
2917
2918/// The network address is invalid.
2919pub const RPC_S_INVALID_NET_ADDR = 1707;
2920
2921/// No endpoint was found.
2922pub const RPC_S_NO_ENDPOINT_FOUND = 1708;
2923
2924/// The timeout value is invalid.
2925pub const RPC_S_INVALID_TIMEOUT = 1709;
2926
2927/// The object universal unique identifier (UUID) was not found.
2928pub const RPC_S_OBJECT_NOT_FOUND = 1710;
2929
2930/// The object universal unique identifier (UUID) has already been registered.
2931pub const RPC_S_ALREADY_REGISTERED = 1711;
2932
2933/// The type universal unique identifier (UUID) has already been registered.
2934pub const RPC_S_TYPE_ALREADY_REGISTERED = 1712;
2935
2936/// The RPC server is already listening.
2937pub const RPC_S_ALREADY_LISTENING = 1713;
2938
2939/// No protocol sequences have been registered.
2940pub const RPC_S_NO_PROTSEQS_REGISTERED = 1714;
2941
2942/// The RPC server is not listening.
2943pub const RPC_S_NOT_LISTENING = 1715;
2944
2945/// The manager type is unknown.
2946pub const RPC_S_UNKNOWN_MGR_TYPE = 1716;
2947
2948/// The interface is unknown.
2949pub const RPC_S_UNKNOWN_IF = 1717;
2950
2951/// There are no bindings.
2952pub const RPC_S_NO_BINDINGS = 1718;
2953
2954/// There are no protocol sequences.
2955pub const RPC_S_NO_PROTSEQS = 1719;
2956
2957/// The endpoint cannot be created.
2958pub const RPC_S_CANT_CREATE_ENDPOINT = 1720;
2959
2960/// Not enough resources are available to complete this operation.
2961pub const RPC_S_OUT_OF_RESOURCES = 1721;
2962
2963/// The RPC server is unavailable.
2964pub const RPC_S_SERVER_UNAVAILABLE = 1722;
2965
2966/// The RPC server is too busy to complete this operation.
2967pub const RPC_S_SERVER_TOO_BUSY = 1723;
2968
2969/// The network options are invalid.
2970pub const RPC_S_INVALID_NETWORK_OPTIONS = 1724;
2971
2972/// There are no remote procedure calls active on this thread.
2973pub const RPC_S_NO_CALL_ACTIVE = 1725;
2974
2975/// The remote procedure call failed.
2976pub const RPC_S_CALL_FAILED = 1726;
2977
2978/// The remote procedure call failed and did not execute.
2979pub const RPC_S_CALL_FAILED_DNE = 1727;
2980
2981/// A remote procedure call (RPC) protocol error occurred.
2982pub const RPC_S_PROTOCOL_ERROR = 1728;
2983
2984/// Access to the HTTP proxy is denied.
2985pub const RPC_S_PROXY_ACCESS_DENIED = 1729;
2986
2987/// The transfer syntax is not supported by the RPC server.
2988pub const RPC_S_UNSUPPORTED_TRANS_SYN = 1730;
2989
2990/// The universal unique identifier (UUID) type is not supported.
2991pub const RPC_S_UNSUPPORTED_TYPE = 1732;
2992
2993/// The tag is invalid.
2994pub const RPC_S_INVALID_TAG = 1733;
2995
2996/// The array bounds are invalid.
2997pub const RPC_S_INVALID_BOUND = 1734;
2998
2999/// The binding does not contain an entry name.
3000pub const RPC_S_NO_ENTRY_NAME = 1735;
3001
3002/// The name syntax is invalid.
3003pub const RPC_S_INVALID_NAME_SYNTAX = 1736;
3004
3005/// The name syntax is not supported.
3006pub const RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737;
3007
3008/// No network address is available to use to construct a universal unique identifier (UUID).
3009pub const RPC_S_UUID_NO_ADDRESS = 1739;
3010
3011/// The endpoint is a duplicate.
3012pub const RPC_S_DUPLICATE_ENDPOINT = 1740;
3013
3014/// The authentication type is unknown.
3015pub const RPC_S_UNKNOWN_AUTHN_TYPE = 1741;
3016
3017/// The maximum number of calls is too small.
3018pub const RPC_S_MAX_CALLS_TOO_SMALL = 1742;
3019
3020/// The string is too long.
3021pub const RPC_S_STRING_TOO_LONG = 1743;
3022
3023/// The RPC protocol sequence was not found.
3024pub const RPC_S_PROTSEQ_NOT_FOUND = 1744;
3025
3026/// The procedure number is out of range.
3027pub const RPC_S_PROCNUM_OUT_OF_RANGE = 1745;
3028
3029/// The binding does not contain any authentication information.
3030pub const RPC_S_BINDING_HAS_NO_AUTH = 1746;
3031
3032/// The authentication service is unknown.
3033pub const RPC_S_UNKNOWN_AUTHN_SERVICE = 1747;
3034
3035/// The authentication level is unknown.
3036pub const RPC_S_UNKNOWN_AUTHN_LEVEL = 1748;
3037
3038/// The security context is invalid.
3039pub const RPC_S_INVALID_AUTH_IDENTITY = 1749;
3040
3041/// The authorization service is unknown.
3042pub const RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750;
3043
3044/// The entry is invalid.
3045pub const EPT_S_INVALID_ENTRY = 1751;
3046
3047/// The server endpoint cannot perform the operation.
3048pub const EPT_S_CANT_PERFORM_OP = 1752;
3049
3050/// There are no more endpoints available from the endpoint mapper.
3051pub const EPT_S_NOT_REGISTERED = 1753;
3052
3053/// No interfaces have been exported.
3054pub const RPC_S_NOTHING_TO_EXPORT = 1754;
3055
3056/// The entry name is incomplete.
3057pub const RPC_S_INCOMPLETE_NAME = 1755;
3058
3059/// The version option is invalid.
3060pub const RPC_S_INVALID_VERS_OPTION = 1756;
3061
3062/// There are no more members.
3063pub const RPC_S_NO_MORE_MEMBERS = 1757;
3064
3065/// There is nothing to unexport.
3066pub const RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758;
3067
3068/// The interface was not found.
3069pub const RPC_S_INTERFACE_NOT_FOUND = 1759;
3070
3071/// The entry already exists.
3072pub const RPC_S_ENTRY_ALREADY_EXISTS = 1760;
3073
3074/// The entry is not found.
3075pub const RPC_S_ENTRY_NOT_FOUND = 1761;
3076
3077/// The name service is unavailable.
3078pub const RPC_S_NAME_SERVICE_UNAVAILABLE = 1762;
3079
3080/// The network address family is invalid.
3081pub const RPC_S_INVALID_NAF_ID = 1763;
3082
3083/// The requested operation is not supported.
3084pub const RPC_S_CANNOT_SUPPORT = 1764;
3085
3086/// No security context is available to allow impersonation.
3087pub const RPC_S_NO_CONTEXT_AVAILABLE = 1765;
3088
3089/// An internal error occurred in a remote procedure call (RPC).
3090pub const RPC_S_INTERNAL_ERROR = 1766;
3091
3092/// The RPC server attempted an integer division by zero.
3093pub const RPC_S_ZERO_DIVIDE = 1767;
3094
3095/// An addressing error occurred in the RPC server.
3096pub const RPC_S_ADDRESS_ERROR = 1768;
3097
3098/// A floating-point operation at the RPC server caused a division by zero.
3099pub const RPC_S_FP_DIV_ZERO = 1769;
3100
3101/// A floating-point underflow occurred at the RPC server.
3102pub const RPC_S_FP_UNDERFLOW = 1770;
3103
3104/// A floating-point overflow occurred at the RPC server.
3105pub const RPC_S_FP_OVERFLOW = 1771;
3106
3107/// The list of RPC servers available for the binding of auto handles has been exhausted.
3108pub const RPC_X_NO_MORE_ENTRIES = 1772;
3109
3110/// Unable to open the character translation table file.
3111pub const RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773;
3112
3113/// The file containing the character translation table has fewer than 512 bytes.
3114pub const RPC_X_SS_CHAR_TRANS_SHORT_FILE = 1774;
3115
3116/// A null context handle was passed from the client to the host during a remote procedure call.
3117pub const RPC_X_SS_IN_NULL_CONTEXT = 1775;
3118
3119/// The context handle changed during a remote procedure call.
3120pub const RPC_X_SS_CONTEXT_DAMAGED = 1777;
3121
3122/// The binding handles passed to a remote procedure call do not match.
3123pub const RPC_X_SS_HANDLES_MISMATCH = 1778;
3124
3125/// The stub is unable to get the remote procedure call handle.
3126pub const RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779;
3127
3128/// A null reference pointer was passed to the stub.
3129pub const RPC_X_NULL_REF_POINTER = 1780;
3130
3131/// The enumeration value is out of range.
3132pub const RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781;
3133
3134/// The byte count is too small.
3135pub const RPC_X_BYTE_COUNT_TOO_SMALL = 1782;
3136
3137/// The stub received bad data.
3138pub const RPC_X_BAD_STUB_DATA = 1783;
3139
3140/// The supplied user buffer is not valid for the requested operation.
3141pub const INVALID_USER_BUFFER = 1784;
3142
3143/// The disk media is not recognized. It may not be formatted.
3144pub const UNRECOGNIZED_MEDIA = 1785;
3145
3146/// The workstation does not have a trust secret.
3147pub const NO_TRUST_LSA_SECRET = 1786;
3148
3149/// The security database on the server does not have a computer account for this workstation trust relationship.
3150pub const NO_TRUST_SAM_ACCOUNT = 1787;
3151
3152/// The trust relationship between the primary domain and the trusted domain failed.
3153pub const TRUSTED_DOMAIN_FAILURE = 1788;
3154
3155/// The trust relationship between this workstation and the primary domain failed.
3156pub const TRUSTED_RELATIONSHIP_FAILURE = 1789;
3157
3158/// The network logon failed.
3159pub const TRUST_FAILURE = 1790;
3160
3161/// A remote procedure call is already in progress for this thread.
3162pub const RPC_S_CALL_IN_PROGRESS = 1791;
3163
3164/// An attempt was made to logon, but the network logon service was not started.
3165pub const NETLOGON_NOT_STARTED = 1792;
3166
3167/// The user's account has expired.
3168pub const ACCOUNT_EXPIRED = 1793;
3169
3170/// The redirector is in use and cannot be unloaded.
3171pub const REDIRECTOR_HAS_OPEN_HANDLES = 1794;
3172
3173/// The specified printer driver is already installed.
3174pub const PRINTER_DRIVER_ALREADY_INSTALLED = 1795;
3175
3176/// The specified port is unknown.
3177pub const UNKNOWN_PORT = 1796;
3178
3179/// The printer driver is unknown.
3180pub const UNKNOWN_PRINTER_DRIVER = 1797;
3181
3182/// The print processor is unknown.
3183pub const UNKNOWN_PRINTPROCESSOR = 1798;
3184
3185/// The specified separator file is invalid.
3186pub const INVALID_SEPARATOR_FILE = 1799;
3187
3188/// The specified priority is invalid.
3189pub const INVALID_PRIORITY = 1800;
3190
3191/// The printer name is invalid.
3192pub const INVALID_PRINTER_NAME = 1801;
3193
3194/// The printer already exists.
3195pub const PRINTER_ALREADY_EXISTS = 1802;
3196
3197/// The printer command is invalid.
3198pub const INVALID_PRINTER_COMMAND = 1803;
3199
3200/// The specified datatype is invalid.
3201pub const INVALID_DATATYPE = 1804;
3202
3203/// The environment specified is invalid.
3204pub const INVALID_ENVIRONMENT = 1805;
3205
3206/// There are no more bindings.
3207pub const RPC_S_NO_MORE_BINDINGS = 1806;
3208
3209/// The account used is an interdomain trust account. Use your global user account or local user account to access this server.
3210pub const NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807;
3211
3212/// The account used is a computer account. Use your global user account or local user account to access this server.
3213pub const NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808;
3214
3215/// The account used is a server trust account. Use your global user account or local user account to access this server.
3216pub const NOLOGON_SERVER_TRUST_ACCOUNT = 1809;
3217
3218/// The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain.
3219pub const DOMAIN_TRUST_INCONSISTENT = 1810;
3220
3221/// The server is in use and cannot be unloaded.
3222pub const SERVER_HAS_OPEN_HANDLES = 1811;
3223
3224/// The specified image file did not contain a resource section.
3225pub const RESOURCE_DATA_NOT_FOUND = 1812;
3226
3227/// The specified resource type cannot be found in the image file.
3228pub const RESOURCE_TYPE_NOT_FOUND = 1813;
3229
3230/// The specified resource name cannot be found in the image file.
3231pub const RESOURCE_NAME_NOT_FOUND = 1814;
3232
3233/// The specified resource language ID cannot be found in the image file.
3234pub const RESOURCE_LANG_NOT_FOUND = 1815;
3235
3236/// Not enough quota is available to process this command.
3237pub const NOT_ENOUGH_QUOTA = 1816;
3238
3239/// No interfaces have been registered.
3240pub const RPC_S_NO_INTERFACES = 1817;
3241
3242/// The remote procedure call was cancelled.
3243pub const RPC_S_CALL_CANCELLED = 1818;
3244
3245/// The binding handle does not contain all required information.
3246pub const RPC_S_BINDING_INCOMPLETE = 1819;
3247
3248/// A communications failure occurred during a remote procedure call.
3249pub const RPC_S_COMM_FAILURE = 1820;
3250
3251/// The requested authentication level is not supported.
3252pub const RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821;
3253
3254/// No principal name registered.
3255pub const RPC_S_NO_PRINC_NAME = 1822;
3256
3257/// The error specified is not a valid Windows RPC error code.
3258pub const RPC_S_NOT_RPC_ERROR = 1823;
3259
3260/// A UUID that is valid only on this computer has been allocated.
3261pub const RPC_S_UUID_LOCAL_ONLY = 1824;
3262
3263/// A security package specific error occurred.
3264pub const RPC_S_SEC_PKG_ERROR = 1825;
3265
3266/// Thread is not canceled.
3267pub const RPC_S_NOT_CANCELLED = 1826;
3268
3269/// Invalid operation on the encoding/decoding handle.
3270pub const RPC_X_INVALID_ES_ACTION = 1827;
3271
3272/// Incompatible version of the serializing package.
3273pub const RPC_X_WRONG_ES_VERSION = 1828;
3274
3275/// Incompatible version of the RPC stub.
3276pub const RPC_X_WRONG_STUB_VERSION = 1829;
3277
3278/// The RPC pipe object is invalid or corrupted.
3279pub const RPC_X_INVALID_PIPE_OBJECT = 1830;
3280
3281/// An invalid operation was attempted on an RPC pipe object.
3282pub const RPC_X_WRONG_PIPE_ORDER = 1831;
3283
3284/// Unsupported RPC pipe version.
3285pub const RPC_X_WRONG_PIPE_VERSION = 1832;
3286
3287/// HTTP proxy server rejected the connection because the cookie authentication failed.
3288pub const RPC_S_COOKIE_AUTH_FAILED = 1833;
3289
3290/// The group member was not found.
3291pub const RPC_S_GROUP_MEMBER_NOT_FOUND = 1898;
3292
3293/// The endpoint mapper database entry could not be created.
3294pub const EPT_S_CANT_CREATE = 1899;
3295
3296/// The object universal unique identifier (UUID) is the nil UUID.
3297pub const RPC_S_INVALID_OBJECT = 1900;
3298
3299/// The specified time is invalid.
3300pub const INVALID_TIME = 1901;
3301
3302/// The specified form name is invalid.
3303pub const INVALID_FORM_NAME = 1902;
3304
3305/// The specified form size is invalid.
3306pub const INVALID_FORM_SIZE = 1903;
3307
3308/// The specified printer handle is already being waited on.
3309pub const ALREADY_WAITING = 1904;
3310
3311/// The specified printer has been deleted.
3312pub const PRINTER_DELETED = 1905;
3313
3314/// The state of the printer is invalid.
3315pub const INVALID_PRINTER_STATE = 1906;
3316
3317/// The user's password must be changed before signing in.
3318pub const PASSWORD_MUST_CHANGE = 1907;
3319
3320/// Could not find the domain controller for this domain.
3321pub const DOMAIN_CONTROLLER_NOT_FOUND = 1908;
3322
3323/// The referenced account is currently locked out and may not be logged on to.
3324pub const ACCOUNT_LOCKED_OUT = 1909;
3325
3326/// The object exporter specified was not found.
3327pub const OR_INVALID_OXID = 1910;
3328
3329/// The object specified was not found.
3330pub const OR_INVALID_OID = 1911;
3331
3332/// The object resolver set specified was not found.
3333pub const OR_INVALID_SET = 1912;
3334
3335/// Some data remains to be sent in the request buffer.
3336pub const RPC_S_SEND_INCOMPLETE = 1913;
3337
3338/// Invalid asynchronous remote procedure call handle.
3339pub const RPC_S_INVALID_ASYNC_HANDLE = 1914;
3340
3341/// Invalid asynchronous RPC call handle for this operation.
3342pub const RPC_S_INVALID_ASYNC_CALL = 1915;
3343
3344/// The RPC pipe object has already been closed.
3345pub const RPC_X_PIPE_CLOSED = 1916;
3346
3347/// The RPC call completed before all pipes were processed.
3348pub const RPC_X_PIPE_DISCIPLINE_ERROR = 1917;
3349
3350/// No more data is available from the RPC pipe.
3351pub const RPC_X_PIPE_EMPTY = 1918;
3352
3353/// No site name is available for this machine.
3354pub const NO_SITENAME = 1919;
3355
3356/// The file cannot be accessed by the system.
3357pub const CANT_ACCESS_FILE = 1920;
3358
3359/// The name of the file cannot be resolved by the system.
3360pub const CANT_RESOLVE_FILENAME = 1921;
3361
3362/// The entry is not of the expected type.
3363pub const RPC_S_ENTRY_TYPE_MISMATCH = 1922;
3364
3365/// Not all object UUIDs could be exported to the specified entry.
3366pub const RPC_S_NOT_ALL_OBJS_EXPORTED = 1923;
3367
3368/// Interface could not be exported to the specified entry.
3369pub const RPC_S_INTERFACE_NOT_EXPORTED = 1924;
3370
3371/// The specified profile entry could not be added.
3372pub const RPC_S_PROFILE_NOT_ADDED = 1925;
3373
3374/// The specified profile element could not be added.
3375pub const RPC_S_PRF_ELT_NOT_ADDED = 1926;
3376
3377/// The specified profile element could not be removed.
3378pub const RPC_S_PRF_ELT_NOT_REMOVED = 1927;
3379
3380/// The group element could not be added.
3381pub const RPC_S_GRP_ELT_NOT_ADDED = 1928;
3382
3383/// The group element could not be removed.
3384pub const RPC_S_GRP_ELT_NOT_REMOVED = 1929;
3385
3386/// The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers.
3387pub const KM_DRIVER_BLOCKED = 1930;
3388
3389/// The context has expired and can no longer be used.
3390pub const CONTEXT_EXPIRED = 1931;
3391
3392/// The current user's delegated trust creation quota has been exceeded.
3393pub const PER_USER_TRUST_QUOTA_EXCEEDED = 1932;
3394
3395/// The total delegated trust creation quota has been exceeded.
3396pub const ALL_USER_TRUST_QUOTA_EXCEEDED = 1933;
3397
3398/// The current user's delegated trust deletion quota has been exceeded.
3399pub const USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934;
3400
3401/// The computer you are signing into is protected by an authentication firewall. The specified account is not allowed to authenticate to the computer.
3402pub const AUTHENTICATION_FIREWALL_FAILED = 1935;
3403
3404/// Remote connections to the Print Spooler are blocked by a policy set on your machine.
3405pub const REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936;
3406
3407/// Authentication failed because NTLM authentication has been disabled.
3408pub const NTLM_BLOCKED = 1937;
3409
3410/// Logon Failure: EAS policy requires that the user change their password before this operation can be performed.
3411pub const PASSWORD_CHANGE_REQUIRED = 1938;
3412
3413/// The pixel format is invalid.
3414pub const INVALID_PIXEL_FORMAT = 2000;
3415
3416/// The specified driver is invalid.
3417pub const BAD_DRIVER = 2001;
3418
3419/// The window style or class attribute is invalid for this operation.
3420pub const INVALID_WINDOW_STYLE = 2002;
3421
3422/// The requested metafile operation is not supported.
3423pub const METAFILE_NOT_SUPPORTED = 2003;
3424
3425/// The requested transformation operation is not supported.
3426pub const TRANSFORM_NOT_SUPPORTED = 2004;
3427
3428/// The requested clipping operation is not supported.
3429pub const CLIPPING_NOT_SUPPORTED = 2005;
3430
3431/// The specified color management module is invalid.
3432pub const INVALID_CMM = 2010;
3433
3434/// The specified color profile is invalid.
3435pub const INVALID_PROFILE = 2011;
3436
3437/// The specified tag was not found.
3438pub const TAG_NOT_FOUND = 2012;
3439
3440/// A required tag is not present.
3441pub const TAG_NOT_PRESENT = 2013;
3442
3443/// The specified tag is already present.
3444pub const DUPLICATE_TAG = 2014;
3445
3446/// The specified color profile is not associated with the specified device.
3447pub const PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015;
3448
3449/// The specified color profile was not found.
3450pub const PROFILE_NOT_FOUND = 2016;
3451
3452/// The specified color space is invalid.
3453pub const INVALID_COLORSPACE = 2017;
3454
3455/// Image Color Management is not enabled.
3456pub const ICM_NOT_ENABLED = 2018;
3457
3458/// There was an error while deleting the color transform.
3459pub const DELETING_ICM_XFORM = 2019;
3460
3461/// The specified color transform is invalid.
3462pub const INVALID_TRANSFORM = 2020;
3463
3464/// The specified transform does not match the bitmap's color space.
3465pub const COLORSPACE_MISMATCH = 2021;
3466
3467/// The specified named color index is not present in the profile.
3468pub const INVALID_COLORINDEX = 2022;
3469
3470/// The specified profile is intended for a device of a different type than the specified device.
3471pub const PROFILE_DOES_NOT_MATCH_DEVICE = 2023;
3472
3473/// The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.
3474pub const CONNECTED_OTHER_PASSWORD = 2108;
3475
3476/// The network connection was made successfully using default credentials.
3477pub const CONNECTED_OTHER_PASSWORD_DEFAULT = 2109;
3478
3479/// The specified username is invalid.
3480pub const BAD_USERNAME = 2202;
3481
3482/// This network connection does not exist.
3483pub const NOT_CONNECTED = 2250;
3484
3485/// This network connection has files open or requests pending.
3486pub const OPEN_FILES = 2401;
3487
3488/// Active connections still exist.
3489pub const ACTIVE_CONNECTIONS = 2402;
3490
3491/// The device is in use by an active process and cannot be disconnected.
3492pub const DEVICE_IN_USE = 2404;
3493
3494/// The specified print monitor is unknown.
3495pub const UNKNOWN_PRINT_MONITOR = 3000;
3496
3497/// The specified printer driver is currently in use.
3498pub const PRINTER_DRIVER_IN_USE = 3001;
3499
3500/// The spool file was not found.
3501pub const SPOOL_FILE_NOT_FOUND = 3002;
3502
3503/// A StartDocPrinter call was not issued.
3504pub const SPL_NO_STARTDOC = 3003;
3505
3506/// An AddJob call was not issued.
3507pub const SPL_NO_ADDJOB = 3004;
3508
3509/// The specified print processor has already been installed.
3510pub const PRINT_PROCESSOR_ALREADY_INSTALLED = 3005;
3511
3512/// The specified print monitor has already been installed.
3513pub const PRINT_MONITOR_ALREADY_INSTALLED = 3006;
3514
3515/// The specified print monitor does not have the required functions.
3516pub const INVALID_PRINT_MONITOR = 3007;
3517
3518/// The specified print monitor is currently in use.
3519pub const PRINT_MONITOR_IN_USE = 3008;
3520
3521/// The requested operation is not allowed when there are jobs queued to the printer.
3522pub const PRINTER_HAS_JOBS_QUEUED = 3009;
3523
3524/// The requested operation is successful. Changes will not be effective until the system is rebooted.
3525pub const SUCCESS_REBOOT_REQUIRED = 3010;
3526
3527/// The requested operation is successful. Changes will not be effective until the service is restarted.
3528pub const SUCCESS_RESTART_REQUIRED = 3011;
3529
3530/// No printers were found.
3531pub const PRINTER_NOT_FOUND = 3012;
3532
3533/// The printer driver is known to be unreliable.
3534pub const PRINTER_DRIVER_WARNED = 3013;
3535
3536/// The printer driver is known to harm the system.
3537pub const PRINTER_DRIVER_BLOCKED = 3014;
3538
3539/// The specified printer driver package is currently in use.
3540pub const PRINTER_DRIVER_PACKAGE_IN_USE = 3015;
3541
3542/// Unable to find a core driver package that is required by the printer driver package.
3543pub const CORE_DRIVER_PACKAGE_NOT_FOUND = 3016;
3544
3545/// The requested operation failed. A system reboot is required to roll back changes made.
3546pub const FAIL_REBOOT_REQUIRED = 3017;
3547
3548/// The requested operation failed. A system reboot has been initiated to roll back changes made.
3549pub const FAIL_REBOOT_INITIATED = 3018;
3550
3551/// The specified printer driver was not found on the system and needs to be downloaded.
3552pub const PRINTER_DRIVER_DOWNLOAD_NEEDED = 3019;
3553
3554/// The requested print job has failed to print. A print system update requires the job to be resubmitted.
3555pub const PRINT_JOB_RESTART_REQUIRED = 3020;
3556
3557/// The printer driver does not contain a valid manifest, or contains too many manifests.
3558pub const INVALID_PRINTER_DRIVER_MANIFEST = 3021;
3559
3560/// The specified printer cannot be shared.
3561pub const PRINTER_NOT_SHAREABLE = 3022;
3562
3563/// The operation was paused.
3564pub const REQUEST_PAUSED = 3050;
3565
3566/// Reissue the given operation as a cached IO operation.
3567pub const IO_REISSUE_AS_CACHED = 3950;
lib/std/os/windows/kernel32.zig+2-2
......@@ -73,7 +73,7 @@ pub extern "kernel32" fn FindFirstFileW(lpFileName: [*:0]const u16, lpFindFileDa
7373pub extern "kernel32" fn FindClose(hFindFile: HANDLE) callconv(.Stdcall) BOOL;
7474pub extern "kernel32" fn FindNextFileW(hFindFile: HANDLE, lpFindFileData: *WIN32_FIND_DATAW) callconv(.Stdcall) BOOL;
7575
76pub extern "kernel32" fn FormatMessageW(dwFlags: DWORD, lpSource: ?LPVOID, dwMessageId: DWORD, dwLanguageId: DWORD, lpBuffer: [*]u16, nSize: DWORD, Arguments: ?*va_list) callconv(.Stdcall) DWORD;
76pub extern "kernel32" fn FormatMessageW(dwFlags: DWORD, lpSource: ?LPVOID, dwMessageId: Win32Error, dwLanguageId: DWORD, lpBuffer: [*]u16, nSize: DWORD, Arguments: ?*va_list) callconv(.Stdcall) DWORD;
7777
7878pub extern "kernel32" fn FreeEnvironmentStringsW(penv: [*:0]u16) callconv(.Stdcall) BOOL;
7979
......@@ -102,7 +102,7 @@ pub extern "kernel32" fn GetModuleFileNameW(hModule: ?HMODULE, lpFilename: [*]u1
102102
103103pub extern "kernel32" fn GetModuleHandleW(lpModuleName: ?[*]const WCHAR) callconv(.Stdcall) HMODULE;
104104
105pub extern "kernel32" fn GetLastError() callconv(.Stdcall) DWORD;
105pub extern "kernel32" fn GetLastError() callconv(.Stdcall) Win32Error;
106106
107107pub extern "kernel32" fn GetFileInformationByHandle(
108108 hFile: HANDLE,
lib/std/os/windows/win32error.zig created+3696
......@@ -0,0 +1,3696 @@
1// Codes are from https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d
2pub const Win32Error = extern enum(u16) {
3 /// The operation completed successfully.
4 SUCCESS = 0,
5
6 /// Incorrect function.
7 INVALID_FUNCTION = 1,
8
9 /// The system cannot find the file specified.
10 FILE_NOT_FOUND = 2,
11
12 /// The system cannot find the path specified.
13 PATH_NOT_FOUND = 3,
14
15 /// The system cannot open the file.
16 TOO_MANY_OPEN_FILES = 4,
17
18 /// Access is denied.
19 ACCESS_DENIED = 5,
20
21 /// The handle is invalid.
22 INVALID_HANDLE = 6,
23
24 /// The storage control blocks were destroyed.
25 ARENA_TRASHED = 7,
26
27 /// Not enough storage is available to process this command.
28 NOT_ENOUGH_MEMORY = 8,
29
30 /// The storage control block address is invalid.
31 INVALID_BLOCK = 9,
32
33 /// The environment is incorrect.
34 BAD_ENVIRONMENT = 10,
35
36 /// An attempt was made to load a program with an incorrect format.
37 BAD_FORMAT = 11,
38
39 /// The access code is invalid.
40 INVALID_ACCESS = 12,
41
42 /// The data is invalid.
43 INVALID_DATA = 13,
44
45 /// Not enough storage is available to complete this operation.
46 OUTOFMEMORY = 14,
47
48 /// The system cannot find the drive specified.
49 INVALID_DRIVE = 15,
50
51 /// The directory cannot be removed.
52 CURRENT_DIRECTORY = 16,
53
54 /// The system cannot move the file to a different disk drive.
55 NOT_SAME_DEVICE = 17,
56
57 /// There are no more files.
58 NO_MORE_FILES = 18,
59
60 /// The media is write protected.
61 WRITE_PROTECT = 19,
62
63 /// The system cannot find the device specified.
64 BAD_UNIT = 20,
65
66 /// The device is not ready.
67 NOT_READY = 21,
68
69 /// The device does not recognize the command.
70 BAD_COMMAND = 22,
71
72 /// Data error (cyclic redundancy check).
73 CRC = 23,
74
75 /// The program issued a command but the command length is incorrect.
76 BAD_LENGTH = 24,
77
78 /// The drive cannot locate a specific area or track on the disk.
79 SEEK = 25,
80
81 /// The specified disk or diskette cannot be accessed.
82 NOT_DOS_DISK = 26,
83
84 /// The drive cannot find the sector requested.
85 SECTOR_NOT_FOUND = 27,
86
87 /// The printer is out of paper.
88 OUT_OF_PAPER = 28,
89
90 /// The system cannot write to the specified device.
91 WRITE_FAULT = 29,
92
93 /// The system cannot read from the specified device.
94 READ_FAULT = 30,
95
96 /// A device attached to the system is not functioning.
97 GEN_FAILURE = 31,
98
99 /// The process cannot access the file because it is being used by another process.
100 SHARING_VIOLATION = 32,
101
102 /// The process cannot access the file because another process has locked a portion of the file.
103 LOCK_VIOLATION = 33,
104
105 /// The wrong diskette is in the drive.
106 /// Insert %2 (Volume Serial Number: %3) into drive %1.
107 WRONG_DISK = 34,
108
109 /// Too many files opened for sharing.
110 SHARING_BUFFER_EXCEEDED = 36,
111
112 /// Reached the end of the file.
113 HANDLE_EOF = 38,
114
115 /// The disk is full.
116 HANDLE_DISK_FULL = 39,
117
118 /// The request is not supported.
119 NOT_SUPPORTED = 50,
120
121 /// Windows cannot find the network path.
122 /// Verify that the network path is correct and the destination computer is not busy or turned off.
123 /// If Windows still cannot find the network path, contact your network administrator.
124 REM_NOT_LIST = 51,
125
126 /// You were not connected because a duplicate name exists on the network.
127 /// If joining a domain, go to System in Control Panel to change the computer name and try again.
128 /// If joining a workgroup, choose another workgroup name.
129 DUP_NAME = 52,
130
131 /// The network path was not found.
132 BAD_NETPATH = 53,
133
134 /// The network is busy.
135 NETWORK_BUSY = 54,
136
137 /// The specified network resource or device is no longer available.
138 DEV_NOT_EXIST = 55,
139
140 /// The network BIOS command limit has been reached.
141 TOO_MANY_CMDS = 56,
142
143 /// A network adapter hardware error occurred.
144 ADAP_HDW_ERR = 57,
145
146 /// The specified server cannot perform the requested operation.
147 BAD_NET_RESP = 58,
148
149 /// An unexpected network error occurred.
150 UNEXP_NET_ERR = 59,
151
152 /// The remote adapter is not compatible.
153 BAD_REM_ADAP = 60,
154
155 /// The printer queue is full.
156 PRINTQ_FULL = 61,
157
158 /// Space to store the file waiting to be printed is not available on the server.
159 NO_SPOOL_SPACE = 62,
160
161 /// Your file waiting to be printed was deleted.
162 PRINT_CANCELLED = 63,
163
164 /// The specified network name is no longer available.
165 NETNAME_DELETED = 64,
166
167 /// Network access is denied.
168 NETWORK_ACCESS_DENIED = 65,
169
170 /// The network resource type is not correct.
171 BAD_DEV_TYPE = 66,
172
173 /// The network name cannot be found.
174 BAD_NET_NAME = 67,
175
176 /// The name limit for the local computer network adapter card was exceeded.
177 TOO_MANY_NAMES = 68,
178
179 /// The network BIOS session limit was exceeded.
180 TOO_MANY_SESS = 69,
181
182 /// The remote server has been paused or is in the process of being started.
183 SHARING_PAUSED = 70,
184
185 /// 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.
186 REQ_NOT_ACCEP = 71,
187
188 /// The specified printer or disk device has been paused.
189 REDIR_PAUSED = 72,
190
191 /// The file exists.
192 FILE_EXISTS = 80,
193
194 /// The directory or file cannot be created.
195 CANNOT_MAKE = 82,
196
197 /// Fail on INT 24.
198 FAIL_I24 = 83,
199
200 /// Storage to process this request is not available.
201 OUT_OF_STRUCTURES = 84,
202
203 /// The local device name is already in use.
204 ALREADY_ASSIGNED = 85,
205
206 /// The specified network password is not correct.
207 INVALID_PASSWORD = 86,
208
209 /// The parameter is incorrect.
210 INVALID_PARAMETER = 87,
211
212 /// A write fault occurred on the network.
213 NET_WRITE_FAULT = 88,
214
215 /// The system cannot start another process at this time.
216 NO_PROC_SLOTS = 89,
217
218 /// Cannot create another system semaphore.
219 TOO_MANY_SEMAPHORES = 100,
220
221 /// The exclusive semaphore is owned by another process.
222 EXCL_SEM_ALREADY_OWNED = 101,
223
224 /// The semaphore is set and cannot be closed.
225 SEM_IS_SET = 102,
226
227 /// The semaphore cannot be set again.
228 TOO_MANY_SEM_REQUESTS = 103,
229
230 /// Cannot request exclusive semaphores at interrupt time.
231 INVALID_AT_INTERRUPT_TIME = 104,
232
233 /// The previous ownership of this semaphore has ended.
234 SEM_OWNER_DIED = 105,
235
236 /// Insert the diskette for drive %1.
237 SEM_USER_LIMIT = 106,
238
239 /// The program stopped because an alternate diskette was not inserted.
240 DISK_CHANGE = 107,
241
242 /// The disk is in use or locked by another process.
243 DRIVE_LOCKED = 108,
244
245 /// The pipe has been ended.
246 BROKEN_PIPE = 109,
247
248 /// The system cannot open the device or file specified.
249 OPEN_FAILED = 110,
250
251 /// The file name is too long.
252 BUFFER_OVERFLOW = 111,
253
254 /// There is not enough space on the disk.
255 DISK_FULL = 112,
256
257 /// No more internal file identifiers available.
258 NO_MORE_SEARCH_HANDLES = 113,
259
260 /// The target internal file identifier is incorrect.
261 INVALID_TARGET_HANDLE = 114,
262
263 /// The IOCTL call made by the application program is not correct.
264 INVALID_CATEGORY = 117,
265
266 /// The verify-on-write switch parameter value is not correct.
267 INVALID_VERIFY_SWITCH = 118,
268
269 /// The system does not support the command requested.
270 BAD_DRIVER_LEVEL = 119,
271
272 /// This function is not supported on this system.
273 CALL_NOT_IMPLEMENTED = 120,
274
275 /// The semaphore timeout period has expired.
276 SEM_TIMEOUT = 121,
277
278 /// The data area passed to a system call is too small.
279 INSUFFICIENT_BUFFER = 122,
280
281 /// The filename, directory name, or volume label syntax is incorrect.
282 INVALID_NAME = 123,
283
284 /// The system call level is not correct.
285 INVALID_LEVEL = 124,
286
287 /// The disk has no volume label.
288 NO_VOLUME_LABEL = 125,
289
290 /// The specified module could not be found.
291 MOD_NOT_FOUND = 126,
292
293 /// The specified procedure could not be found.
294 PROC_NOT_FOUND = 127,
295
296 /// There are no child processes to wait for.
297 WAIT_NO_CHILDREN = 128,
298
299 /// The %1 application cannot be run in Win32 mode.
300 CHILD_NOT_COMPLETE = 129,
301
302 /// Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
303 DIRECT_ACCESS_HANDLE = 130,
304
305 /// An attempt was made to move the file pointer before the beginning of the file.
306 NEGATIVE_SEEK = 131,
307
308 /// The file pointer cannot be set on the specified device or file.
309 SEEK_ON_DEVICE = 132,
310
311 /// A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
312 IS_JOIN_TARGET = 133,
313
314 /// An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
315 IS_JOINED = 134,
316
317 /// An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
318 IS_SUBSTED = 135,
319
320 /// The system tried to delete the JOIN of a drive that is not joined.
321 NOT_JOINED = 136,
322
323 /// The system tried to delete the substitution of a drive that is not substituted.
324 NOT_SUBSTED = 137,
325
326 /// The system tried to join a drive to a directory on a joined drive.
327 JOIN_TO_JOIN = 138,
328
329 /// The system tried to substitute a drive to a directory on a substituted drive.
330 SUBST_TO_SUBST = 139,
331
332 /// The system tried to join a drive to a directory on a substituted drive.
333 JOIN_TO_SUBST = 140,
334
335 /// The system tried to SUBST a drive to a directory on a joined drive.
336 SUBST_TO_JOIN = 141,
337
338 /// The system cannot perform a JOIN or SUBST at this time.
339 BUSY_DRIVE = 142,
340
341 /// The system cannot join or substitute a drive to or for a directory on the same drive.
342 SAME_DRIVE = 143,
343
344 /// The directory is not a subdirectory of the root directory.
345 DIR_NOT_ROOT = 144,
346
347 /// The directory is not empty.
348 DIR_NOT_EMPTY = 145,
349
350 /// The path specified is being used in a substitute.
351 IS_SUBST_PATH = 146,
352
353 /// Not enough resources are available to process this command.
354 IS_JOIN_PATH = 147,
355
356 /// The path specified cannot be used at this time.
357 PATH_BUSY = 148,
358
359 /// An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
360 IS_SUBST_TARGET = 149,
361
362 /// System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
363 SYSTEM_TRACE = 150,
364
365 /// The number of specified semaphore events for DosMuxSemWait is not correct.
366 INVALID_EVENT_COUNT = 151,
367
368 /// DosMuxSemWait did not execute; too many semaphores are already set.
369 TOO_MANY_MUXWAITERS = 152,
370
371 /// The DosMuxSemWait list is not correct.
372 INVALID_LIST_FORMAT = 153,
373
374 /// The volume label you entered exceeds the label character limit of the target file system.
375 LABEL_TOO_LONG = 154,
376
377 /// Cannot create another thread.
378 TOO_MANY_TCBS = 155,
379
380 /// The recipient process has refused the signal.
381 SIGNAL_REFUSED = 156,
382
383 /// The segment is already discarded and cannot be locked.
384 DISCARDED = 157,
385
386 /// The segment is already unlocked.
387 NOT_LOCKED = 158,
388
389 /// The address for the thread ID is not correct.
390 BAD_THREADID_ADDR = 159,
391
392 /// One or more arguments are not correct.
393 BAD_ARGUMENTS = 160,
394
395 /// The specified path is invalid.
396 BAD_PATHNAME = 161,
397
398 /// A signal is already pending.
399 SIGNAL_PENDING = 162,
400
401 /// No more threads can be created in the system.
402 MAX_THRDS_REACHED = 164,
403
404 /// Unable to lock a region of a file.
405 LOCK_FAILED = 167,
406
407 /// The requested resource is in use.
408 BUSY = 170,
409
410 /// Device's command support detection is in progress.
411 DEVICE_SUPPORT_IN_PROGRESS = 171,
412
413 /// A lock request was not outstanding for the supplied cancel region.
414 CANCEL_VIOLATION = 173,
415
416 /// The file system does not support atomic changes to the lock type.
417 ATOMIC_LOCKS_NOT_SUPPORTED = 174,
418
419 /// The system detected a segment number that was not correct.
420 INVALID_SEGMENT_NUMBER = 180,
421
422 /// The operating system cannot run %1.
423 INVALID_ORDINAL = 182,
424
425 /// Cannot create a file when that file already exists.
426 ALREADY_EXISTS = 183,
427
428 /// The flag passed is not correct.
429 INVALID_FLAG_NUMBER = 186,
430
431 /// The specified system semaphore name was not found.
432 SEM_NOT_FOUND = 187,
433
434 /// The operating system cannot run %1.
435 INVALID_STARTING_CODESEG = 188,
436
437 /// The operating system cannot run %1.
438 INVALID_STACKSEG = 189,
439
440 /// The operating system cannot run %1.
441 INVALID_MODULETYPE = 190,
442
443 /// Cannot run %1 in Win32 mode.
444 INVALID_EXE_SIGNATURE = 191,
445
446 /// The operating system cannot run %1.
447 EXE_MARKED_INVALID = 192,
448
449 /// %1 is not a valid Win32 application.
450 BAD_EXE_FORMAT = 193,
451
452 /// The operating system cannot run %1.
453 ITERATED_DATA_EXCEEDS_64k = 194,
454
455 /// The operating system cannot run %1.
456 INVALID_MINALLOCSIZE = 195,
457
458 /// The operating system cannot run this application program.
459 DYNLINK_FROM_INVALID_RING = 196,
460
461 /// The operating system is not presently configured to run this application.
462 IOPL_NOT_ENABLED = 197,
463
464 /// The operating system cannot run %1.
465 INVALID_SEGDPL = 198,
466
467 /// The operating system cannot run this application program.
468 AUTODATASEG_EXCEEDS_64k = 199,
469
470 /// The code segment cannot be greater than or equal to 64K.
471 RING2SEG_MUST_BE_MOVABLE = 200,
472
473 /// The operating system cannot run %1.
474 RELOC_CHAIN_XEEDS_SEGLIM = 201,
475
476 /// The operating system cannot run %1.
477 INFLOOP_IN_RELOC_CHAIN = 202,
478
479 /// The system could not find the environment option that was entered.
480 ENVVAR_NOT_FOUND = 203,
481
482 /// No process in the command subtree has a signal handler.
483 NO_SIGNAL_SENT = 205,
484
485 /// The filename or extension is too long.
486 FILENAME_EXCED_RANGE = 206,
487
488 /// The ring 2 stack is in use.
489 RING2_STACK_IN_USE = 207,
490
491 /// The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
492 META_EXPANSION_TOO_LONG = 208,
493
494 /// The signal being posted is not correct.
495 INVALID_SIGNAL_NUMBER = 209,
496
497 /// The signal handler cannot be set.
498 THREAD_1_INACTIVE = 210,
499
500 /// The segment is locked and cannot be reallocated.
501 LOCKED = 212,
502
503 /// Too many dynamic-link modules are attached to this program or dynamic-link module.
504 TOO_MANY_MODULES = 214,
505
506 /// Cannot nest calls to LoadModule.
507 NESTING_NOT_ALLOWED = 215,
508
509 /// This version of %1 is not compatible with the version of Windows you're running.
510 /// Check your computer's system information and then contact the software publisher.
511 EXE_MACHINE_TYPE_MISMATCH = 216,
512
513 /// The image file %1 is signed, unable to modify.
514 EXE_CANNOT_MODIFY_SIGNED_BINARY = 217,
515
516 /// The image file %1 is strong signed, unable to modify.
517 EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218,
518
519 /// This file is checked out or locked for editing by another user.
520 FILE_CHECKED_OUT = 220,
521
522 /// The file must be checked out before saving changes.
523 CHECKOUT_REQUIRED = 221,
524
525 /// The file type being saved or retrieved has been blocked.
526 BAD_FILE_TYPE = 222,
527
528 /// The file size exceeds the limit allowed and cannot be saved.
529 FILE_TOO_LARGE = 223,
530
531 /// 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.
532 FORMS_AUTH_REQUIRED = 224,
533
534 /// Operation did not complete successfully because the file contains a virus or potentially unwanted software.
535 VIRUS_INFECTED = 225,
536
537 /// This file contains a virus or potentially unwanted software and cannot be opened.
538 /// Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
539 VIRUS_DELETED = 226,
540
541 /// The pipe is local.
542 PIPE_LOCAL = 229,
543
544 /// The pipe state is invalid.
545 BAD_PIPE = 230,
546
547 /// All pipe instances are busy.
548 PIPE_BUSY = 231,
549
550 /// The pipe is being closed.
551 NO_DATA = 232,
552
553 /// No process is on the other end of the pipe.
554 PIPE_NOT_CONNECTED = 233,
555
556 /// More data is available.
557 MORE_DATA = 234,
558
559 /// The session was canceled.
560 VC_DISCONNECTED = 240,
561
562 /// The specified extended attribute name was invalid.
563 INVALID_EA_NAME = 254,
564
565 /// The extended attributes are inconsistent.
566 EA_LIST_INCONSISTENT = 255,
567
568 /// The wait operation timed out.
569 IMEOUT = 258,
570
571 /// No more data is available.
572 NO_MORE_ITEMS = 259,
573
574 /// The copy functions cannot be used.
575 CANNOT_COPY = 266,
576
577 /// The directory name is invalid.
578 DIRECTORY = 267,
579
580 /// The extended attributes did not fit in the buffer.
581 EAS_DIDNT_FIT = 275,
582
583 /// The extended attribute file on the mounted file system is corrupt.
584 EA_FILE_CORRUPT = 276,
585
586 /// The extended attribute table file is full.
587 EA_TABLE_FULL = 277,
588
589 /// The specified extended attribute handle is invalid.
590 INVALID_EA_HANDLE = 278,
591
592 /// The mounted file system does not support extended attributes.
593 EAS_NOT_SUPPORTED = 282,
594
595 /// Attempt to release mutex not owned by caller.
596 NOT_OWNER = 288,
597
598 /// Too many posts were made to a semaphore.
599 TOO_MANY_POSTS = 298,
600
601 /// Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
602 PARTIAL_COPY = 299,
603
604 /// The oplock request is denied.
605 OPLOCK_NOT_GRANTED = 300,
606
607 /// An invalid oplock acknowledgment was received by the system.
608 INVALID_OPLOCK_PROTOCOL = 301,
609
610 /// The volume is too fragmented to complete this operation.
611 DISK_TOO_FRAGMENTED = 302,
612
613 /// The file cannot be opened because it is in the process of being deleted.
614 DELETE_PENDING = 303,
615
616 /// Short name settings may not be changed on this volume due to the global registry setting.
617 INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING = 304,
618
619 /// Short names are not enabled on this volume.
620 SHORT_NAMES_NOT_ENABLED_ON_VOLUME = 305,
621
622 /// The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume.
623 SECURITY_STREAM_IS_INCONSISTENT = 306,
624
625 /// A requested file lock operation cannot be processed due to an invalid byte range.
626 INVALID_LOCK_RANGE = 307,
627
628 /// The subsystem needed to support the image type is not present.
629 IMAGE_SUBSYSTEM_NOT_PRESENT = 308,
630
631 /// The specified file already has a notification GUID associated with it.
632 NOTIFICATION_GUID_ALREADY_DEFINED = 309,
633
634 /// An invalid exception handler routine has been detected.
635 INVALID_EXCEPTION_HANDLER = 310,
636
637 /// Duplicate privileges were specified for the token.
638 DUPLICATE_PRIVILEGES = 311,
639
640 /// No ranges for the specified operation were able to be processed.
641 NO_RANGES_PROCESSED = 312,
642
643 /// Operation is not allowed on a file system internal file.
644 NOT_ALLOWED_ON_SYSTEM_FILE = 313,
645
646 /// The physical resources of this disk have been exhausted.
647 DISK_RESOURCES_EXHAUSTED = 314,
648
649 /// The token representing the data is invalid.
650 INVALID_TOKEN = 315,
651
652 /// The device does not support the command feature.
653 DEVICE_FEATURE_NOT_SUPPORTED = 316,
654
655 /// The system cannot find message text for message number 0x%1 in the message file for %2.
656 MR_MID_NOT_FOUND = 317,
657
658 /// The scope specified was not found.
659 SCOPE_NOT_FOUND = 318,
660
661 /// The Central Access Policy specified is not defined on the target machine.
662 UNDEFINED_SCOPE = 319,
663
664 /// The Central Access Policy obtained from Active Directory is invalid.
665 INVALID_CAP = 320,
666
667 /// The device is unreachable.
668 DEVICE_UNREACHABLE = 321,
669
670 /// The target device has insufficient resources to complete the operation.
671 DEVICE_NO_RESOURCES = 322,
672
673 /// A data integrity checksum error occurred. Data in the file stream is corrupt.
674 DATA_CHECKSUM_ERROR = 323,
675
676 /// An attempt was made to modify both a KERNEL and normal Extended Attribute (EA) in the same operation.
677 INTERMIXED_KERNEL_EA_OPERATION = 324,
678
679 /// Device does not support file-level TRIM.
680 FILE_LEVEL_TRIM_NOT_SUPPORTED = 326,
681
682 /// The command specified a data offset that does not align to the device's granularity/alignment.
683 OFFSET_ALIGNMENT_VIOLATION = 327,
684
685 /// The command specified an invalid field in its parameter list.
686 INVALID_FIELD_IN_PARAMETER_LIST = 328,
687
688 /// An operation is currently in progress with the device.
689 OPERATION_IN_PROGRESS = 329,
690
691 /// An attempt was made to send down the command via an invalid path to the target device.
692 BAD_DEVICE_PATH = 330,
693
694 /// The command specified a number of descriptors that exceeded the maximum supported by the device.
695 TOO_MANY_DESCRIPTORS = 331,
696
697 /// Scrub is disabled on the specified file.
698 SCRUB_DATA_DISABLED = 332,
699
700 /// The storage device does not provide redundancy.
701 NOT_REDUNDANT_STORAGE = 333,
702
703 /// An operation is not supported on a resident file.
704 RESIDENT_FILE_NOT_SUPPORTED = 334,
705
706 /// An operation is not supported on a compressed file.
707 COMPRESSED_FILE_NOT_SUPPORTED = 335,
708
709 /// An operation is not supported on a directory.
710 DIRECTORY_NOT_SUPPORTED = 336,
711
712 /// The specified copy of the requested data could not be read.
713 NOT_READ_FROM_COPY = 337,
714
715 /// No action was taken as a system reboot is required.
716 FAIL_NOACTION_REBOOT = 350,
717
718 /// The shutdown operation failed.
719 FAIL_SHUTDOWN = 351,
720
721 /// The restart operation failed.
722 FAIL_RESTART = 352,
723
724 /// The maximum number of sessions has been reached.
725 MAX_SESSIONS_REACHED = 353,
726
727 /// The thread is already in background processing mode.
728 THREAD_MODE_ALREADY_BACKGROUND = 400,
729
730 /// The thread is not in background processing mode.
731 THREAD_MODE_NOT_BACKGROUND = 401,
732
733 /// The process is already in background processing mode.
734 PROCESS_MODE_ALREADY_BACKGROUND = 402,
735
736 /// The process is not in background processing mode.
737 PROCESS_MODE_NOT_BACKGROUND = 403,
738
739 /// Attempt to access invalid address.
740 INVALID_ADDRESS = 487,
741
742 /// User profile cannot be loaded.
743 USER_PROFILE_LOAD = 500,
744
745 /// Arithmetic result exceeded 32 bits.
746 ARITHMETIC_OVERFLOW = 534,
747
748 /// There is a process on other end of the pipe.
749 PIPE_CONNECTED = 535,
750
751 /// Waiting for a process to open the other end of the pipe.
752 PIPE_LISTENING = 536,
753
754 /// Application verifier has found an error in the current process.
755 VERIFIER_STOP = 537,
756
757 /// An error occurred in the ABIOS subsystem.
758 ABIOS_ERROR = 538,
759
760 /// A warning occurred in the WX86 subsystem.
761 WX86_WARNING = 539,
762
763 /// An error occurred in the WX86 subsystem.
764 WX86_ERROR = 540,
765
766 /// 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.
767 TIMER_NOT_CANCELED = 541,
768
769 /// Unwind exception code.
770 UNWIND = 542,
771
772 /// An invalid or unaligned stack was encountered during an unwind operation.
773 BAD_STACK = 543,
774
775 /// An invalid unwind target was encountered during an unwind operation.
776 INVALID_UNWIND_TARGET = 544,
777
778 /// Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort
779 INVALID_PORT_ATTRIBUTES = 545,
780
781 /// Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port.
782 PORT_MESSAGE_TOO_LONG = 546,
783
784 /// An attempt was made to lower a quota limit below the current usage.
785 INVALID_QUOTA_LOWER = 547,
786
787 /// An attempt was made to attach to a device that was already attached to another device.
788 DEVICE_ALREADY_ATTACHED = 548,
789
790 /// An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references.
791 INSTRUCTION_MISALIGNMENT = 549,
792
793 /// Profiling not started.
794 PROFILING_NOT_STARTED = 550,
795
796 /// Profiling not stopped.
797 PROFILING_NOT_STOPPED = 551,
798
799 /// The passed ACL did not contain the minimum required information.
800 COULD_NOT_INTERPRET = 552,
801
802 /// The number of active profiling objects is at the maximum and no more may be started.
803 PROFILING_AT_LIMIT = 553,
804
805 /// Used to indicate that an operation cannot continue without blocking for I/O.
806 CANT_WAIT = 554,
807
808 /// Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current process.
809 CANT_TERMINATE_SELF = 555,
810
811 /// 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.
812 /// In this case information is lost, however, the filter correctly handles the exception.
813 UNEXPECTED_MM_CREATE_ERR = 556,
814
815 /// 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.
816 /// In this case information is lost, however, the filter correctly handles the exception.
817 UNEXPECTED_MM_MAP_ERROR = 557,
818
819 /// 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.
820 /// In this case information is lost, however, the filter correctly handles the exception.
821 UNEXPECTED_MM_EXTEND_ERR = 558,
822
823 /// A malformed function table was encountered during an unwind operation.
824 BAD_FUNCTION_TABLE = 559,
825
826 /// 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.
827 /// This causes the protection attempt to fail, which may cause a file creation attempt to fail.
828 NO_GUID_TRANSLATION = 560,
829
830 /// 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.
831 INVALID_LDT_SIZE = 561,
832
833 /// Indicates that the starting value for the LDT information was not an integral multiple of the selector size.
834 INVALID_LDT_OFFSET = 563,
835
836 /// Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors.
837 INVALID_LDT_DESCRIPTOR = 564,
838
839 /// Indicates a process has too many threads to perform the requested action.
840 /// For example, assignment of a primary token may only be performed when a process has zero or one threads.
841 TOO_MANY_THREADS = 565,
842
843 /// An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
844 THREAD_NOT_IN_PROCESS = 566,
845
846 /// Page file quota was exceeded.
847 PAGEFILE_QUOTA_EXCEEDED = 567,
848
849 /// The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role.
850 LOGON_SERVER_CONFLICT = 568,
851
852 /// The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required.
853 SYNCHRONIZATION_REQUIRED = 569,
854
855 /// 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.
856 NET_OPEN_FAILED = 570,
857
858 /// {Privilege Failed} The I/O permissions for the process could not be changed.
859 IO_PRIVILEGE_FAILED = 571,
860
861 /// {Application Exit by CTRL+C} The application terminated as a result of a CTRL+C.
862 CONTROL_C_EXIT = 572,
863
864 /// {Missing System File} The required system file %hs is bad or missing.
865 MISSING_SYSTEMFILE = 573,
866
867 /// {Application Error} The exception %s (0x%08lx) occurred in the application at location 0x%08lx.
868 UNHANDLED_EXCEPTION = 574,
869
870 /// {Application Error} The application was unable to start correctly (0x%lx). Click OK to close the application.
871 APP_INIT_FAILURE = 575,
872
873 /// {Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld.
874 PAGEFILE_CREATE_FAILED = 576,
875
876 /// Windows cannot verify the digital signature for this file.
877 /// 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.
878 INVALID_IMAGE_HASH = 577,
879
880 /// {No Paging File Specified} No paging file was specified in the system configuration.
881 NO_PAGEFILE = 578,
882
883 /// {EXCEPTION} A real-mode application issued a floating-point instruction and floating-point hardware is not present.
884 ILLEGAL_FLOAT_CONTEXT = 579,
885
886 /// 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.
887 NO_EVENT_PAIR = 580,
888
889 /// A Windows Server has an incorrect configuration.
890 DOMAIN_CTRLR_CONFIG_ERROR = 581,
891
892 /// An illegal character was encountered.
893 /// For a multi-byte character set this includes a lead byte without a succeeding trail byte.
894 /// For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
895 ILLEGAL_CHARACTER = 582,
896
897 /// The Unicode character is not defined in the Unicode character set installed on the system.
898 UNDEFINED_CHARACTER = 583,
899
900 /// The paging file cannot be created on a floppy diskette.
901 FLOPPY_VOLUME = 584,
902
903 /// The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected.
904 BIOS_FAILED_TO_CONNECT_INTERRUPT = 585,
905
906 /// This operation is only allowed for the Primary Domain Controller of the domain.
907 BACKUP_CONTROLLER = 586,
908
909 /// An attempt was made to acquire a mutant such that its maximum count would have been exceeded.
910 MUTANT_LIMIT_EXCEEDED = 587,
911
912 /// A volume has been accessed for which a file system driver is required that has not yet been loaded.
913 FS_DRIVER_REQUIRED = 588,
914
915 /// {Registry File Failure} The registry cannot load the hive (file): %hs or its log or alternate. It is corrupt, absent, or not writable.
916 CANNOT_LOAD_REGISTRY_FILE = 589,
917
918 /// {Unexpected Failure in DebugActiveProcess} An unexpected failure occurred while processing a DebugActiveProcess API request.
919 /// You may choose OK to terminate the process, or Cancel to ignore the error.
920 DEBUG_ATTACH_FAILED = 590,
921
922 /// {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.
923 SYSTEM_PROCESS_TERMINATED = 591,
924
925 /// {Data Not Accepted} The TDI client could not handle the data received during an indication.
926 DATA_NOT_ACCEPTED = 592,
927
928 /// NTVDM encountered a hard error.
929 VDM_HARD_ERROR = 593,
930
931 /// {Cancel Timeout} The driver %hs failed to complete a cancelled I/O request in the allotted time.
932 DRIVER_CANCEL_TIMEOUT = 594,
933
934 /// {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.
935 REPLY_MESSAGE_MISMATCH = 595,
936
937 /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs. The data has been lost.
938 /// This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
939 LOST_WRITEBEHIND_DATA = 596,
940
941 /// The parameter(s) passed to the server in the client/server shared memory window were invalid.
942 /// Too much data may have been put in the shared memory window.
943 CLIENT_SERVER_PARAMETERS_INVALID = 597,
944
945 /// The stream is not a tiny stream.
946 NOT_TINY_STREAM = 598,
947
948 /// The request must be handled by the stack overflow code.
949 STACK_OVERFLOW_READ = 599,
950
951 /// Internal OFS status codes indicating how an allocation operation is handled.
952 /// Either it is retried after the containing onode is moved or the extent stream is converted to a large stream.
953 CONVERT_TO_LARGE = 600,
954
955 /// 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.
956 FOUND_OUT_OF_SCOPE = 601,
957
958 /// The bucket array must be grown. Retry transaction after doing so.
959 ALLOCATE_BUCKET = 602,
960
961 /// The user/kernel marshalling buffer has overflowed.
962 MARSHALL_OVERFLOW = 603,
963
964 /// The supplied variant structure contains invalid data.
965 INVALID_VARIANT = 604,
966
967 /// The specified buffer contains ill-formed data.
968 BAD_COMPRESSION_BUFFER = 605,
969
970 /// {Audit Failed} An attempt to generate a security audit failed.
971 AUDIT_FAILED = 606,
972
973 /// The timer resolution was not previously set by the current process.
974 TIMER_RESOLUTION_NOT_SET = 607,
975
976 /// There is insufficient account information to log you on.
977 INSUFFICIENT_LOGON_INFO = 608,
978
979 /// {Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly.
980 /// The stack pointer has been left in an inconsistent state.
981 /// The entrypoint should be declared as WINAPI or STDCALL.
982 /// Select YES to fail the DLL load. Select NO to continue execution.
983 /// Selecting NO may cause the application to operate incorrectly.
984 BAD_DLL_ENTRYPOINT = 609,
985
986 /// {Invalid Service Callback Entrypoint} The %hs service is not written correctly.
987 /// The stack pointer has been left in an inconsistent state.
988 /// The callback entrypoint should be declared as WINAPI or STDCALL.
989 /// Selecting OK will cause the service to continue operation.
990 /// However, the service process may operate incorrectly.
991 BAD_SERVICE_ENTRYPOINT = 610,
992
993 /// There is an IP address conflict with another system on the network.
994 IP_ADDRESS_CONFLICT1 = 611,
995
996 /// There is an IP address conflict with another system on the network.
997 IP_ADDRESS_CONFLICT2 = 612,
998
999 /// {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.
1000 REGISTRY_QUOTA_LIMIT = 613,
1001
1002 /// A callback return system service cannot be executed when no callback is active.
1003 NO_CALLBACK_ACTIVE = 614,
1004
1005 /// The password provided is too short to meet the policy of your user account. Please choose a longer password.
1006 PWD_TOO_SHORT = 615,
1007
1008 /// The policy of your user account does not allow you to change passwords too frequently.
1009 /// This is done to prevent users from changing back to a familiar, but potentially discovered, password.
1010 /// If you feel your password has been compromised then please contact your administrator immediately to have a new one assigned.
1011 PWD_TOO_RECENT = 616,
1012
1013 /// You have attempted to change your password to one that you have used in the past.
1014 /// The policy of your user account does not allow this.
1015 /// Please select a password that you have not previously used.
1016 PWD_HISTORY_CONFLICT = 617,
1017
1018 /// The specified compression format is unsupported.
1019 UNSUPPORTED_COMPRESSION = 618,
1020
1021 /// The specified hardware profile configuration is invalid.
1022 INVALID_HW_PROFILE = 619,
1023
1024 /// The specified Plug and Play registry device path is invalid.
1025 INVALID_PLUGPLAY_DEVICE_PATH = 620,
1026
1027 /// The specified quota list is internally inconsistent with its descriptor.
1028 QUOTA_LIST_INCONSISTENT = 621,
1029
1030 /// {Windows Evaluation Notification} The evaluation period for this installation of Windows has expired. This system will shutdown in 1 hour.
1031 /// To restore access to this installation of Windows, please upgrade this installation using a licensed distribution of this product.
1032 EVALUATION_EXPIRATION = 622,
1033
1034 /// {Illegal System DLL Relocation} The system DLL %hs was relocated in memory. The application will not run properly.
1035 /// The relocation occurred because the DLL %hs occupied an address range reserved for Windows system DLLs.
1036 /// The vendor supplying the DLL should be contacted for a new DLL.
1037 ILLEGAL_DLL_RELOCATION = 623,
1038
1039 /// {DLL Initialization Failed} The application failed to initialize because the window station is shutting down.
1040 DLL_INIT_FAILED_LOGOFF = 624,
1041
1042 /// The validation process needs to continue on to the next step.
1043 VALIDATE_CONTINUE = 625,
1044
1045 /// There are no more matches for the current index enumeration.
1046 NO_MORE_MATCHES = 626,
1047
1048 /// The range could not be added to the range list because of a conflict.
1049 RANGE_LIST_CONFLICT = 627,
1050
1051 /// The server process is running under a SID different than that required by client.
1052 SERVER_SID_MISMATCH = 628,
1053
1054 /// A group marked use for deny only cannot be enabled.
1055 CANT_ENABLE_DENY_ONLY = 629,
1056
1057 /// {EXCEPTION} Multiple floating point faults.
1058 FLOAT_MULTIPLE_FAULTS = 630,
1059
1060 /// {EXCEPTION} Multiple floating point traps.
1061 FLOAT_MULTIPLE_TRAPS = 631,
1062
1063 /// The requested interface is not supported.
1064 NOINTERFACE = 632,
1065
1066 /// {System Standby Failed} The driver %hs does not support standby mode.
1067 /// Updating this driver may allow the system to go to standby mode.
1068 DRIVER_FAILED_SLEEP = 633,
1069
1070 /// The system file %1 has become corrupt and has been replaced.
1071 CORRUPT_SYSTEM_FILE = 634,
1072
1073 /// {Virtual Memory Minimum Too Low} Your system is low on virtual memory.
1074 /// Windows is increasing the size of your virtual memory paging file.
1075 /// During this process, memory requests for some applications may be denied. For more information, see Help.
1076 COMMITMENT_MINIMUM = 635,
1077
1078 /// A device was removed so enumeration must be restarted.
1079 PNP_RESTART_ENUMERATION = 636,
1080
1081 /// {Fatal System Error} The system image %s is not properly signed.
1082 /// The file has been replaced with the signed file. The system has been shut down.
1083 SYSTEM_IMAGE_BAD_SIGNATURE = 637,
1084
1085 /// Device will not start without a reboot.
1086 PNP_REBOOT_REQUIRED = 638,
1087
1088 /// There is not enough power to complete the requested operation.
1089 INSUFFICIENT_POWER = 639,
1090
1091 /// ERROR_MULTIPLE_FAULT_VIOLATION
1092 MULTIPLE_FAULT_VIOLATION = 640,
1093
1094 /// The system is in the process of shutting down.
1095 SYSTEM_SHUTDOWN = 641,
1096
1097 /// An attempt to remove a processes DebugPort was made, but a port was not already associated with the process.
1098 PORT_NOT_SET = 642,
1099
1100 /// This version of Windows is not compatible with the behavior version of directory forest, domain or domain controller.
1101 DS_VERSION_CHECK_FAILURE = 643,
1102
1103 /// The specified range could not be found in the range list.
1104 RANGE_NOT_FOUND = 644,
1105
1106 /// The driver was not loaded because the system is booting into safe mode.
1107 NOT_SAFE_MODE_DRIVER = 646,
1108
1109 /// The driver was not loaded because it failed its initialization call.
1110 FAILED_DRIVER_ENTRY = 647,
1111
1112 /// The "%hs" encountered an error while applying power or reading the device configuration.
1113 /// This may be caused by a failure of your hardware or by a poor connection.
1114 DEVICE_ENUMERATION_ERROR = 648,
1115
1116 /// 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.
1117 MOUNT_POINT_NOT_RESOLVED = 649,
1118
1119 /// The device object parameter is either not a valid device object or is not attached to the volume specified by the file name.
1120 INVALID_DEVICE_OBJECT_PARAMETER = 650,
1121
1122 /// A Machine Check Error has occurred.
1123 /// Please check the system eventlog for additional information.
1124 MCA_OCCURED = 651,
1125
1126 /// There was error [%2] processing the driver database.
1127 DRIVER_DATABASE_ERROR = 652,
1128
1129 /// System hive size has exceeded its limit.
1130 SYSTEM_HIVE_TOO_LARGE = 653,
1131
1132 /// The driver could not be loaded because a previous version of the driver is still in memory.
1133 DRIVER_FAILED_PRIOR_UNLOAD = 654,
1134
1135 /// {Volume Shadow Copy Service} Please wait while the Volume Shadow Copy Service prepares volume %hs for hibernation.
1136 VOLSNAP_PREPARE_HIBERNATE = 655,
1137
1138 /// The system has failed to hibernate (The error code is %hs).
1139 /// Hibernation will be disabled until the system is restarted.
1140 HIBERNATION_FAILURE = 656,
1141
1142 /// The password provided is too long to meet the policy of your user account. Please choose a shorter password.
1143 PWD_TOO_LONG = 657,
1144
1145 /// The requested operation could not be completed due to a file system limitation.
1146 FILE_SYSTEM_LIMITATION = 665,
1147
1148 /// An assertion failure has occurred.
1149 ASSERTION_FAILURE = 668,
1150
1151 /// An error occurred in the ACPI subsystem.
1152 ACPI_ERROR = 669,
1153
1154 /// WOW Assertion Error.
1155 WOW_ASSERTION = 670,
1156
1157 /// A device is missing in the system BIOS MPS table. This device will not be used.
1158 /// Please contact your system vendor for system BIOS update.
1159 PNP_BAD_MPS_TABLE = 671,
1160
1161 /// A translator failed to translate resources.
1162 PNP_TRANSLATION_FAILED = 672,
1163
1164 /// A IRQ translator failed to translate resources.
1165 PNP_IRQ_TRANSLATION_FAILED = 673,
1166
1167 /// Driver %2 returned invalid ID for a child device (%3).
1168 PNP_INVALID_ID = 674,
1169
1170 /// {Kernel Debugger Awakened} the system debugger was awakened by an interrupt.
1171 WAKE_SYSTEM_DEBUGGER = 675,
1172
1173 /// {Handles Closed} Handles to objects have been automatically closed as a result of the requested operation.
1174 HANDLES_CLOSED = 676,
1175
1176 /// {Too Much Information} The specified access control list (ACL) contained more information than was expected.
1177 EXTRANEOUS_INFORMATION = 677,
1178
1179 /// This warning level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted.
1180 /// The commit has NOT been completed, but has not been rolled back either (so it may still be committed if desired).
1181 RXACT_COMMIT_NECESSARY = 678,
1182
1183 /// {Media Changed} The media may have changed.
1184 MEDIA_CHECK = 679,
1185
1186 /// {GUID Substitution} During the translation of a global identifier (GUID) to a Windows security ID (SID), no administratively-defined GUID prefix was found.
1187 /// A substitute prefix was used, which will not compromise system security.
1188 /// However, this may provide a more restrictive access than intended.
1189 GUID_SUBSTITUTION_MADE = 680,
1190
1191 /// The create operation stopped after reaching a symbolic link.
1192 STOPPED_ON_SYMLINK = 681,
1193
1194 /// A long jump has been executed.
1195 LONGJUMP = 682,
1196
1197 /// The Plug and Play query operation was not successful.
1198 PLUGPLAY_QUERY_VETOED = 683,
1199
1200 /// A frame consolidation has been executed.
1201 UNWIND_CONSOLIDATE = 684,
1202
1203 /// {Registry Hive Recovered} Registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost.
1204 REGISTRY_HIVE_RECOVERED = 685,
1205
1206 /// The application is attempting to run executable code from the module %hs. This may be insecure.
1207 /// An alternative, %hs, is available. Should the application use the secure module %hs?
1208 DLL_MIGHT_BE_INSECURE = 686,
1209
1210 /// The application is loading executable code from the module %hs.
1211 /// This is secure, but may be incompatible with previous releases of the operating system.
1212 /// An alternative, %hs, is available. Should the application use the secure module %hs?
1213 DLL_MIGHT_BE_INCOMPATIBLE = 687,
1214
1215 /// Debugger did not handle the exception.
1216 DBG_EXCEPTION_NOT_HANDLED = 688,
1217
1218 /// Debugger will reply later.
1219 DBG_REPLY_LATER = 689,
1220
1221 /// Debugger cannot provide handle.
1222 DBG_UNABLE_TO_PROVIDE_HANDLE = 690,
1223
1224 /// Debugger terminated thread.
1225 DBG_TERMINATE_THREAD = 691,
1226
1227 /// Debugger terminated process.
1228 DBG_TERMINATE_PROCESS = 692,
1229
1230 /// Debugger got control C.
1231 DBG_CONTROL_C = 693,
1232
1233 /// Debugger printed exception on control C.
1234 DBG_PRINTEXCEPTION_C = 694,
1235
1236 /// Debugger received RIP exception.
1237 DBG_RIPEXCEPTION = 695,
1238
1239 /// Debugger received control break.
1240 DBG_CONTROL_BREAK = 696,
1241
1242 /// Debugger command communication exception.
1243 DBG_COMMAND_EXCEPTION = 697,
1244
1245 /// {Object Exists} An attempt was made to create an object and the object name already existed.
1246 OBJECT_NAME_EXISTS = 698,
1247
1248 /// {Thread Suspended} A thread termination occurred while the thread was suspended.
1249 /// The thread was resumed, and termination proceeded.
1250 THREAD_WAS_SUSPENDED = 699,
1251
1252 /// {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.
1253 IMAGE_NOT_AT_BASE = 700,
1254
1255 /// This informational level status indicates that a specified registry sub-tree transaction state did not yet exist and had to be created.
1256 RXACT_STATE_CREATED = 701,
1257
1258 /// {Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image.
1259 /// An exception is raised so a debugger can load, unload or track symbols and breakpoints within these 16-bit segments.
1260 SEGMENT_NOTIFICATION = 702,
1261
1262 /// {Invalid Current Directory} The process cannot switch to the startup current directory %hs.
1263 /// Select OK to set current directory to %hs, or select CANCEL to exit.
1264 BAD_CURRENT_DIRECTORY = 703,
1265
1266 /// {Redundant Read} To satisfy a read request, the NT fault-tolerant file system successfully read the requested data from a redundant copy.
1267 /// 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.
1268 FT_READ_RECOVERY_FROM_BACKUP = 704,
1269
1270 /// {Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information.
1271 /// 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.
1272 FT_WRITE_RECOVERY = 705,
1273
1274 /// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.
1275 /// Select OK to continue, or CANCEL to fail the DLL load.
1276 IMAGE_MACHINE_TYPE_MISMATCH = 706,
1277
1278 /// {Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.
1279 RECEIVE_PARTIAL = 707,
1280
1281 /// {Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.
1282 RECEIVE_EXPEDITED = 708,
1283
1284 /// {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.
1285 RECEIVE_PARTIAL_EXPEDITED = 709,
1286
1287 /// {TDI Event Done} The TDI indication has completed successfully.
1288 EVENT_DONE = 710,
1289
1290 /// {TDI Event Pending} The TDI indication has entered the pending state.
1291 EVENT_PENDING = 711,
1292
1293 /// Checking file system on %wZ.
1294 CHECKING_FILE_SYSTEM = 712,
1295
1296 /// {Fatal Application Exit} %hs.
1297 FATAL_APP_EXIT = 713,
1298
1299 /// The specified registry key is referenced by a predefined handle.
1300 PREDEFINED_HANDLE = 714,
1301
1302 /// {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.
1303 WAS_UNLOCKED = 715,
1304
1305 /// %hs
1306 SERVICE_NOTIFICATION = 716,
1307
1308 /// {Page Locked} One of the pages to lock was already locked.
1309 WAS_LOCKED = 717,
1310
1311 /// Application popup: %1 : %2
1312 LOG_HARD_ERROR = 718,
1313
1314 /// ERROR_ALREADY_WIN32
1315 ALREADY_WIN32 = 719,
1316
1317 /// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.
1318 IMAGE_MACHINE_TYPE_MISMATCH_EXE = 720,
1319
1320 /// A yield execution was performed and no thread was available to run.
1321 NO_YIELD_PERFORMED = 721,
1322
1323 /// The resumable flag to a timer API was ignored.
1324 TIMER_RESUME_IGNORED = 722,
1325
1326 /// The arbiter has deferred arbitration of these resources to its parent.
1327 ARBITRATION_UNHANDLED = 723,
1328
1329 /// The inserted CardBus device cannot be started because of a configuration error on "%hs".
1330 CARDBUS_NOT_SUPPORTED = 724,
1331
1332 /// The CPUs in this multiprocessor system are not all the same revision level.
1333 /// To use all processors the operating system restricts itself to the features of the least capable processor in the system.
1334 /// Should problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported.
1335 MP_PROCESSOR_MISMATCH = 725,
1336
1337 /// The system was put into hibernation.
1338 HIBERNATED = 726,
1339
1340 /// The system was resumed from hibernation.
1341 RESUME_HIBERNATION = 727,
1342
1343 /// Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3].
1344 FIRMWARE_UPDATED = 728,
1345
1346 /// A device driver is leaking locked I/O pages causing system degradation.
1347 /// The system has automatically enabled tracking code in order to try and catch the culprit.
1348 DRIVERS_LEAKING_LOCKED_PAGES = 729,
1349
1350 /// The system has awoken.
1351 WAKE_SYSTEM = 730,
1352
1353 /// ERROR_WAIT_1
1354 WAIT_1 = 731,
1355
1356 /// ERROR_WAIT_2
1357 WAIT_2 = 732,
1358
1359 /// ERROR_WAIT_3
1360 WAIT_3 = 733,
1361
1362 /// ERROR_WAIT_63
1363 WAIT_63 = 734,
1364
1365 /// ERROR_ABANDONED_WAIT_0
1366 ABANDONED_WAIT_0 = 735,
1367
1368 /// ERROR_ABANDONED_WAIT_63
1369 ABANDONED_WAIT_63 = 736,
1370
1371 /// ERROR_USER_APC
1372 USER_APC = 737,
1373
1374 /// ERROR_KERNEL_APC
1375 KERNEL_APC = 738,
1376
1377 /// ERROR_ALERTED
1378 ALERTED = 739,
1379
1380 /// The requested operation requires elevation.
1381 ELEVATION_REQUIRED = 740,
1382
1383 /// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
1384 REPARSE = 741,
1385
1386 /// An open/create operation completed while an oplock break is underway.
1387 OPLOCK_BREAK_IN_PROGRESS = 742,
1388
1389 /// A new volume has been mounted by a file system.
1390 VOLUME_MOUNTED = 743,
1391
1392 /// 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.
1393 RXACT_COMMITTED = 744,
1394
1395 /// This indicates that a notify change request has been completed due to closing the handle which made the notify change request.
1396 NOTIFY_CLEANUP = 745,
1397
1398 /// {Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed.
1399 /// The computer WAS able to connect on a secondary transport.
1400 PRIMARY_TRANSPORT_CONNECT_FAILED = 746,
1401
1402 /// Page fault was a transition fault.
1403 PAGE_FAULT_TRANSITION = 747,
1404
1405 /// Page fault was a demand zero fault.
1406 PAGE_FAULT_DEMAND_ZERO = 748,
1407
1408 /// Page fault was a demand zero fault.
1409 PAGE_FAULT_COPY_ON_WRITE = 749,
1410
1411 /// Page fault was a demand zero fault.
1412 PAGE_FAULT_GUARD_PAGE = 750,
1413
1414 /// Page fault was satisfied by reading from a secondary storage device.
1415 PAGE_FAULT_PAGING_FILE = 751,
1416
1417 /// Cached page was locked during operation.
1418 CACHE_PAGE_LOCKED = 752,
1419
1420 /// Crash dump exists in paging file.
1421 CRASH_DUMP = 753,
1422
1423 /// Specified buffer contains all zeros.
1424 BUFFER_ALL_ZEROS = 754,
1425
1426 /// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
1427 REPARSE_OBJECT = 755,
1428
1429 /// The device has succeeded a query-stop and its resource requirements have changed.
1430 RESOURCE_REQUIREMENTS_CHANGED = 756,
1431
1432 /// The translator has translated these resources into the global space and no further translations should be performed.
1433 TRANSLATION_COMPLETE = 757,
1434
1435 /// A process being terminated has no threads to terminate.
1436 NOTHING_TO_TERMINATE = 758,
1437
1438 /// The specified process is not part of a job.
1439 PROCESS_NOT_IN_JOB = 759,
1440
1441 /// The specified process is part of a job.
1442 PROCESS_IN_JOB = 760,
1443
1444 /// {Volume Shadow Copy Service} The system is now ready for hibernation.
1445 VOLSNAP_HIBERNATE_READY = 761,
1446
1447 /// A file system or file system filter driver has successfully completed an FsFilter operation.
1448 FSFILTER_OP_COMPLETED_SUCCESSFULLY = 762,
1449
1450 /// The specified interrupt vector was already connected.
1451 INTERRUPT_VECTOR_ALREADY_CONNECTED = 763,
1452
1453 /// The specified interrupt vector is still connected.
1454 INTERRUPT_STILL_CONNECTED = 764,
1455
1456 /// An operation is blocked waiting for an oplock.
1457 WAIT_FOR_OPLOCK = 765,
1458
1459 /// Debugger handled exception.
1460 DBG_EXCEPTION_HANDLED = 766,
1461
1462 /// Debugger continued.
1463 DBG_CONTINUE = 767,
1464
1465 /// An exception occurred in a user mode callback and the kernel callback frame should be removed.
1466 CALLBACK_POP_STACK = 768,
1467
1468 /// Compression is disabled for this volume.
1469 COMPRESSION_DISABLED = 769,
1470
1471 /// The data provider cannot fetch backwards through a result set.
1472 CANTFETCHBACKWARDS = 770,
1473
1474 /// The data provider cannot scroll backwards through a result set.
1475 CANTSCROLLBACKWARDS = 771,
1476
1477 /// The data provider requires that previously fetched data is released before asking for more data.
1478 ROWSNOTRELEASED = 772,
1479
1480 /// The data provider was not able to interpret the flags set for a column binding in an accessor.
1481 BAD_ACCESSOR_FLAGS = 773,
1482
1483 /// One or more errors occurred while processing the request.
1484 ERRORS_ENCOUNTERED = 774,
1485
1486 /// The implementation is not capable of performing the request.
1487 NOT_CAPABLE = 775,
1488
1489 /// The client of a component requested an operation which is not valid given the state of the component instance.
1490 REQUEST_OUT_OF_SEQUENCE = 776,
1491
1492 /// A version number could not be parsed.
1493 VERSION_PARSE_ERROR = 777,
1494
1495 /// The iterator's start position is invalid.
1496 BADSTARTPOSITION = 778,
1497
1498 /// The hardware has reported an uncorrectable memory error.
1499 MEMORY_HARDWARE = 779,
1500
1501 /// The attempted operation required self healing to be enabled.
1502 DISK_REPAIR_DISABLED = 780,
1503
1504 /// The Desktop heap encountered an error while allocating session memory.
1505 /// There is more information in the system event log.
1506 INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE = 781,
1507
1508 /// The system power state is transitioning from %2 to %3.
1509 SYSTEM_POWERSTATE_TRANSITION = 782,
1510
1511 /// The system power state is transitioning from %2 to %3 but could enter %4.
1512 SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 783,
1513
1514 /// A thread is getting dispatched with MCA EXCEPTION because of MCA.
1515 MCA_EXCEPTION = 784,
1516
1517 /// Access to %1 is monitored by policy rule %2.
1518 ACCESS_AUDIT_BY_POLICY = 785,
1519
1520 /// Access to %1 has been restricted by your Administrator by policy rule %2.
1521 ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 786,
1522
1523 /// A valid hibernation file has been invalidated and should be abandoned.
1524 ABANDON_HIBERFILE = 787,
1525
1526 /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost.
1527 /// This error may be caused by network connectivity issues. Please try to save this file elsewhere.
1528 LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 788,
1529
1530 /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost.
1531 /// This error was returned by the server on which the file exists. Please try to save this file elsewhere.
1532 LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 789,
1533
1534 /// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost.
1535 /// This error may be caused if the device has been removed or the media is write-protected.
1536 LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 790,
1537
1538 /// The resources required for this device conflict with the MCFG table.
1539 BAD_MCFG_TABLE = 791,
1540
1541 /// The volume repair could not be performed while it is online.
1542 /// Please schedule to take the volume offline so that it can be repaired.
1543 DISK_REPAIR_REDIRECTED = 792,
1544
1545 /// The volume repair was not successful.
1546 DISK_REPAIR_UNSUCCESSFUL = 793,
1547
1548 /// One of the volume corruption logs is full.
1549 /// Further corruptions that may be detected won't be logged.
1550 CORRUPT_LOG_OVERFULL = 794,
1551
1552 /// One of the volume corruption logs is internally corrupted and needs to be recreated.
1553 /// The volume may contain undetected corruptions and must be scanned.
1554 CORRUPT_LOG_CORRUPTED = 795,
1555
1556 /// One of the volume corruption logs is unavailable for being operated on.
1557 CORRUPT_LOG_UNAVAILABLE = 796,
1558
1559 /// One of the volume corruption logs was deleted while still having corruption records in them.
1560 /// The volume contains detected corruptions and must be scanned.
1561 CORRUPT_LOG_DELETED_FULL = 797,
1562
1563 /// One of the volume corruption logs was cleared by chkdsk and no longer contains real corruptions.
1564 CORRUPT_LOG_CLEARED = 798,
1565
1566 /// 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.
1567 ORPHAN_NAME_EXHAUSTED = 799,
1568
1569 /// The oplock that was associated with this handle is now associated with a different handle.
1570 OPLOCK_SWITCHED_TO_NEW_HANDLE = 800,
1571
1572 /// An oplock of the requested level cannot be granted. An oplock of a lower level may be available.
1573 CANNOT_GRANT_REQUESTED_OPLOCK = 801,
1574
1575 /// The operation did not complete successfully because it would cause an oplock to be broken.
1576 /// The caller has requested that existing oplocks not be broken.
1577 CANNOT_BREAK_OPLOCK = 802,
1578
1579 /// The handle with which this oplock was associated has been closed. The oplock is now broken.
1580 OPLOCK_HANDLE_CLOSED = 803,
1581
1582 /// The specified access control entry (ACE) does not contain a condition.
1583 NO_ACE_CONDITION = 804,
1584
1585 /// The specified access control entry (ACE) contains an invalid condition.
1586 INVALID_ACE_CONDITION = 805,
1587
1588 /// Access to the specified file handle has been revoked.
1589 FILE_HANDLE_REVOKED = 806,
1590
1591 /// 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.
1592 IMAGE_AT_DIFFERENT_BASE = 807,
1593
1594 /// Access to the extended attribute was denied.
1595 EA_ACCESS_DENIED = 994,
1596
1597 /// The I/O operation has been aborted because of either a thread exit or an application request.
1598 OPERATION_ABORTED = 995,
1599
1600 /// Overlapped I/O event is not in a signaled state.
1601 IO_INCOMPLETE = 996,
1602
1603 /// Overlapped I/O operation is in progress.
1604 IO_PENDING = 997,
1605
1606 /// Invalid access to memory location.
1607 NOACCESS = 998,
1608
1609 /// Error performing inpage operation.
1610 SWAPERROR = 999,
1611
1612 /// Recursion too deep; the stack overflowed.
1613 STACK_OVERFLOW = 1001,
1614
1615 /// The window cannot act on the sent message.
1616 INVALID_MESSAGE = 1002,
1617
1618 /// Cannot complete this function.
1619 CAN_NOT_COMPLETE = 1003,
1620
1621 /// Invalid flags.
1622 INVALID_FLAGS = 1004,
1623
1624 /// The volume does not contain a recognized file system.
1625 /// Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
1626 UNRECOGNIZED_VOLUME = 1005,
1627
1628 /// The volume for a file has been externally altered so that the opened file is no longer valid.
1629 FILE_INVALID = 1006,
1630
1631 /// The requested operation cannot be performed in full-screen mode.
1632 FULLSCREEN_MODE = 1007,
1633
1634 /// An attempt was made to reference a token that does not exist.
1635 NO_TOKEN = 1008,
1636
1637 /// The configuration registry database is corrupt.
1638 BADDB = 1009,
1639
1640 /// The configuration registry key is invalid.
1641 BADKEY = 1010,
1642
1643 /// The configuration registry key could not be opened.
1644 CANTOPEN = 1011,
1645
1646 /// The configuration registry key could not be read.
1647 CANTREAD = 1012,
1648
1649 /// The configuration registry key could not be written.
1650 CANTWRITE = 1013,
1651
1652 /// One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.
1653 REGISTRY_RECOVERED = 1014,
1654
1655 /// 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.
1656 REGISTRY_CORRUPT = 1015,
1657
1658 /// An I/O operation initiated by the registry failed unrecoverably.
1659 /// The registry could not read in, or write out, or flush, one of the files that contain the system's image of the registry.
1660 REGISTRY_IO_FAILED = 1016,
1661
1662 /// The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
1663 NOT_REGISTRY_FILE = 1017,
1664
1665 /// Illegal operation attempted on a registry key that has been marked for deletion.
1666 KEY_DELETED = 1018,
1667
1668 /// System could not allocate the required space in a registry log.
1669 NO_LOG_SPACE = 1019,
1670
1671 /// Cannot create a symbolic link in a registry key that already has subkeys or values.
1672 KEY_HAS_CHILDREN = 1020,
1673
1674 /// Cannot create a stable subkey under a volatile parent key.
1675 CHILD_MUST_BE_VOLATILE = 1021,
1676
1677 /// A notify change request is being completed and the information is not being returned in the caller's buffer.
1678 /// The caller now needs to enumerate the files to find the changes.
1679 NOTIFY_ENUM_DIR = 1022,
1680
1681 /// A stop control has been sent to a service that other running services are dependent on.
1682 DEPENDENT_SERVICES_RUNNING = 1051,
1683
1684 /// The requested control is not valid for this service.
1685 INVALID_SERVICE_CONTROL = 1052,
1686
1687 /// The service did not respond to the start or control request in a timely fashion.
1688 SERVICE_REQUEST_TIMEOUT = 1053,
1689
1690 /// A thread could not be created for the service.
1691 SERVICE_NO_THREAD = 1054,
1692
1693 /// The service database is locked.
1694 SERVICE_DATABASE_LOCKED = 1055,
1695
1696 /// An instance of the service is already running.
1697 SERVICE_ALREADY_RUNNING = 1056,
1698
1699 /// The account name is invalid or does not exist, or the password is invalid for the account name specified.
1700 INVALID_SERVICE_ACCOUNT = 1057,
1701
1702 /// The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
1703 SERVICE_DISABLED = 1058,
1704
1705 /// Circular service dependency was specified.
1706 CIRCULAR_DEPENDENCY = 1059,
1707
1708 /// The specified service does not exist as an installed service.
1709 SERVICE_DOES_NOT_EXIST = 1060,
1710
1711 /// The service cannot accept control messages at this time.
1712 SERVICE_CANNOT_ACCEPT_CTRL = 1061,
1713
1714 /// The service has not been started.
1715 SERVICE_NOT_ACTIVE = 1062,
1716
1717 /// The service process could not connect to the service controller.
1718 FAILED_SERVICE_CONTROLLER_CONNECT = 1063,
1719
1720 /// An exception occurred in the service when handling the control request.
1721 EXCEPTION_IN_SERVICE = 1064,
1722
1723 /// The database specified does not exist.
1724 DATABASE_DOES_NOT_EXIST = 1065,
1725
1726 /// The service has returned a service-specific error code.
1727 SERVICE_SPECIFIC_ERROR = 1066,
1728
1729 /// The process terminated unexpectedly.
1730 PROCESS_ABORTED = 1067,
1731
1732 /// The dependency service or group failed to start.
1733 SERVICE_DEPENDENCY_FAIL = 1068,
1734
1735 /// The service did not start due to a logon failure.
1736 SERVICE_LOGON_FAILED = 1069,
1737
1738 /// After starting, the service hung in a start-pending state.
1739 SERVICE_START_HANG = 1070,
1740
1741 /// The specified service database lock is invalid.
1742 INVALID_SERVICE_LOCK = 1071,
1743
1744 /// The specified service has been marked for deletion.
1745 SERVICE_MARKED_FOR_DELETE = 1072,
1746
1747 /// The specified service already exists.
1748 SERVICE_EXISTS = 1073,
1749
1750 /// The system is currently running with the last-known-good configuration.
1751 ALREADY_RUNNING_LKG = 1074,
1752
1753 /// The dependency service does not exist or has been marked for deletion.
1754 SERVICE_DEPENDENCY_DELETED = 1075,
1755
1756 /// The current boot has already been accepted for use as the last-known-good control set.
1757 BOOT_ALREADY_ACCEPTED = 1076,
1758
1759 /// No attempts to start the service have been made since the last boot.
1760 SERVICE_NEVER_STARTED = 1077,
1761
1762 /// The name is already in use as either a service name or a service display name.
1763 DUPLICATE_SERVICE_NAME = 1078,
1764
1765 /// The account specified for this service is different from the account specified for other services running in the same process.
1766 DIFFERENT_SERVICE_ACCOUNT = 1079,
1767
1768 /// Failure actions can only be set for Win32 services, not for drivers.
1769 CANNOT_DETECT_DRIVER_FAILURE = 1080,
1770
1771 /// This service runs in the same process as the service control manager.
1772 /// Therefore, the service control manager cannot take action if this service's process terminates unexpectedly.
1773 CANNOT_DETECT_PROCESS_ABORT = 1081,
1774
1775 /// No recovery program has been configured for this service.
1776 NO_RECOVERY_PROGRAM = 1082,
1777
1778 /// The executable program that this service is configured to run in does not implement the service.
1779 SERVICE_NOT_IN_EXE = 1083,
1780
1781 /// This service cannot be started in Safe Mode.
1782 NOT_SAFEBOOT_SERVICE = 1084,
1783
1784 /// The physical end of the tape has been reached.
1785 END_OF_MEDIA = 1100,
1786
1787 /// A tape access reached a filemark.
1788 FILEMARK_DETECTED = 1101,
1789
1790 /// The beginning of the tape or a partition was encountered.
1791 BEGINNING_OF_MEDIA = 1102,
1792
1793 /// A tape access reached the end of a set of files.
1794 SETMARK_DETECTED = 1103,
1795
1796 /// No more data is on the tape.
1797 NO_DATA_DETECTED = 1104,
1798
1799 /// Tape could not be partitioned.
1800 PARTITION_FAILURE = 1105,
1801
1802 /// When accessing a new tape of a multivolume partition, the current block size is incorrect.
1803 INVALID_BLOCK_LENGTH = 1106,
1804
1805 /// Tape partition information could not be found when loading a tape.
1806 DEVICE_NOT_PARTITIONED = 1107,
1807
1808 /// Unable to lock the media eject mechanism.
1809 UNABLE_TO_LOCK_MEDIA = 1108,
1810
1811 /// Unable to unload the media.
1812 UNABLE_TO_UNLOAD_MEDIA = 1109,
1813
1814 /// The media in the drive may have changed.
1815 MEDIA_CHANGED = 1110,
1816
1817 /// The I/O bus was reset.
1818 BUS_RESET = 1111,
1819
1820 /// No media in drive.
1821 NO_MEDIA_IN_DRIVE = 1112,
1822
1823 /// No mapping for the Unicode character exists in the target multi-byte code page.
1824 NO_UNICODE_TRANSLATION = 1113,
1825
1826 /// A dynamic link library (DLL) initialization routine failed.
1827 DLL_INIT_FAILED = 1114,
1828
1829 /// A system shutdown is in progress.
1830 SHUTDOWN_IN_PROGRESS = 1115,
1831
1832 /// Unable to abort the system shutdown because no shutdown was in progress.
1833 NO_SHUTDOWN_IN_PROGRESS = 1116,
1834
1835 /// The request could not be performed because of an I/O device error.
1836 IO_DEVICE = 1117,
1837
1838 /// No serial device was successfully initialized. The serial driver will unload.
1839 SERIAL_NO_DEVICE = 1118,
1840
1841 /// Unable to open a device that was sharing an interrupt request (IRQ) with other devices.
1842 /// At least one other device that uses that IRQ was already opened.
1843 IRQ_BUSY = 1119,
1844
1845 /// A serial I/O operation was completed by another write to the serial port. The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
1846 MORE_WRITES = 1120,
1847
1848 /// A serial I/O operation completed because the timeout period expired.
1849 /// The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
1850 COUNTER_TIMEOUT = 1121,
1851
1852 /// No ID address mark was found on the floppy disk.
1853 FLOPPY_ID_MARK_NOT_FOUND = 1122,
1854
1855 /// Mismatch between the floppy disk sector ID field and the floppy disk controller track address.
1856 FLOPPY_WRONG_CYLINDER = 1123,
1857
1858 /// The floppy disk controller reported an error that is not recognized by the floppy disk driver.
1859 FLOPPY_UNKNOWN_ERROR = 1124,
1860
1861 /// The floppy disk controller returned inconsistent results in its registers.
1862 FLOPPY_BAD_REGISTERS = 1125,
1863
1864 /// While accessing the hard disk, a recalibrate operation failed, even after retries.
1865 DISK_RECALIBRATE_FAILED = 1126,
1866
1867 /// While accessing the hard disk, a disk operation failed even after retries.
1868 DISK_OPERATION_FAILED = 1127,
1869
1870 /// While accessing the hard disk, a disk controller reset was needed, but even that failed.
1871 DISK_RESET_FAILED = 1128,
1872
1873 /// Physical end of tape encountered.
1874 EOM_OVERFLOW = 1129,
1875
1876 /// Not enough server storage is available to process this command.
1877 NOT_ENOUGH_SERVER_MEMORY = 1130,
1878
1879 /// A potential deadlock condition has been detected.
1880 POSSIBLE_DEADLOCK = 1131,
1881
1882 /// The base address or the file offset specified does not have the proper alignment.
1883 MAPPED_ALIGNMENT = 1132,
1884
1885 /// An attempt to change the system power state was vetoed by another application or driver.
1886 SET_POWER_STATE_VETOED = 1140,
1887
1888 /// The system BIOS failed an attempt to change the system power state.
1889 SET_POWER_STATE_FAILED = 1141,
1890
1891 /// An attempt was made to create more links on a file than the file system supports.
1892 TOO_MANY_LINKS = 1142,
1893
1894 /// The specified program requires a newer version of Windows.
1895 OLD_WIN_VERSION = 1150,
1896
1897 /// The specified program is not a Windows or MS-DOS program.
1898 APP_WRONG_OS = 1151,
1899
1900 /// Cannot start more than one instance of the specified program.
1901 SINGLE_INSTANCE_APP = 1152,
1902
1903 /// The specified program was written for an earlier version of Windows.
1904 RMODE_APP = 1153,
1905
1906 /// One of the library files needed to run this application is damaged.
1907 INVALID_DLL = 1154,
1908
1909 /// No application is associated with the specified file for this operation.
1910 NO_ASSOCIATION = 1155,
1911
1912 /// An error occurred in sending the command to the application.
1913 DDE_FAIL = 1156,
1914
1915 /// One of the library files needed to run this application cannot be found.
1916 DLL_NOT_FOUND = 1157,
1917
1918 /// The current process has used all of its system allowance of handles for Window Manager objects.
1919 NO_MORE_USER_HANDLES = 1158,
1920
1921 /// The message can be used only with synchronous operations.
1922 MESSAGE_SYNC_ONLY = 1159,
1923
1924 /// The indicated source element has no media.
1925 SOURCE_ELEMENT_EMPTY = 1160,
1926
1927 /// The indicated destination element already contains media.
1928 DESTINATION_ELEMENT_FULL = 1161,
1929
1930 /// The indicated element does not exist.
1931 ILLEGAL_ELEMENT_ADDRESS = 1162,
1932
1933 /// The indicated element is part of a magazine that is not present.
1934 MAGAZINE_NOT_PRESENT = 1163,
1935
1936 /// The indicated device requires reinitialization due to hardware errors.
1937 DEVICE_REINITIALIZATION_NEEDED = 1164,
1938
1939 /// The device has indicated that cleaning is required before further operations are attempted.
1940 DEVICE_REQUIRES_CLEANING = 1165,
1941
1942 /// The device has indicated that its door is open.
1943 DEVICE_DOOR_OPEN = 1166,
1944
1945 /// The device is not connected.
1946 DEVICE_NOT_CONNECTED = 1167,
1947
1948 /// Element not found.
1949 NOT_FOUND = 1168,
1950
1951 /// There was no match for the specified key in the index.
1952 NO_MATCH = 1169,
1953
1954 /// The property set specified does not exist on the object.
1955 SET_NOT_FOUND = 1170,
1956
1957 /// The point passed to GetMouseMovePoints is not in the buffer.
1958 POINT_NOT_FOUND = 1171,
1959
1960 /// The tracking (workstation) service is not running.
1961 NO_TRACKING_SERVICE = 1172,
1962
1963 /// The Volume ID could not be found.
1964 NO_VOLUME_ID = 1173,
1965
1966 /// Unable to remove the file to be replaced.
1967 UNABLE_TO_REMOVE_REPLACED = 1175,
1968
1969 /// Unable to move the replacement file to the file to be replaced.
1970 /// The file to be replaced has retained its original name.
1971 UNABLE_TO_MOVE_REPLACEMENT = 1176,
1972
1973 /// Unable to move the replacement file to the file to be replaced.
1974 /// The file to be replaced has been renamed using the backup name.
1975 UNABLE_TO_MOVE_REPLACEMENT_2 = 1177,
1976
1977 /// The volume change journal is being deleted.
1978 JOURNAL_DELETE_IN_PROGRESS = 1178,
1979
1980 /// The volume change journal is not active.
1981 JOURNAL_NOT_ACTIVE = 1179,
1982
1983 /// A file was found, but it may not be the correct file.
1984 POTENTIAL_FILE_FOUND = 1180,
1985
1986 /// The journal entry has been deleted from the journal.
1987 JOURNAL_ENTRY_DELETED = 1181,
1988
1989 /// A system shutdown has already been scheduled.
1990 SHUTDOWN_IS_SCHEDULED = 1190,
1991
1992 /// The system shutdown cannot be initiated because there are other users logged on to the computer.
1993 SHUTDOWN_USERS_LOGGED_ON = 1191,
1994
1995 /// The specified device name is invalid.
1996 BAD_DEVICE = 1200,
1997
1998 /// The device is not currently connected but it is a remembered connection.
1999 CONNECTION_UNAVAIL = 1201,
2000
2001 /// The local device name has a remembered connection to another network resource.
2002 DEVICE_ALREADY_REMEMBERED = 1202,
2003
2004 /// The network path was either typed incorrectly, does not exist, or the network provider is not currently available.
2005 /// Please try retyping the path or contact your network administrator.
2006 NO_NET_OR_BAD_PATH = 1203,
2007
2008 /// The specified network provider name is invalid.
2009 BAD_PROVIDER = 1204,
2010
2011 /// Unable to open the network connection profile.
2012 CANNOT_OPEN_PROFILE = 1205,
2013
2014 /// The network connection profile is corrupted.
2015 BAD_PROFILE = 1206,
2016
2017 /// Cannot enumerate a noncontainer.
2018 NOT_CONTAINER = 1207,
2019
2020 /// An extended error has occurred.
2021 EXTENDED_ERROR = 1208,
2022
2023 /// The format of the specified group name is invalid.
2024 INVALID_GROUPNAME = 1209,
2025
2026 /// The format of the specified computer name is invalid.
2027 INVALID_COMPUTERNAME = 1210,
2028
2029 /// The format of the specified event name is invalid.
2030 INVALID_EVENTNAME = 1211,
2031
2032 /// The format of the specified domain name is invalid.
2033 INVALID_DOMAINNAME = 1212,
2034
2035 /// The format of the specified service name is invalid.
2036 INVALID_SERVICENAME = 1213,
2037
2038 /// The format of the specified network name is invalid.
2039 INVALID_NETNAME = 1214,
2040
2041 /// The format of the specified share name is invalid.
2042 INVALID_SHARENAME = 1215,
2043
2044 /// The format of the specified password is invalid.
2045 INVALID_PASSWORDNAME = 1216,
2046
2047 /// The format of the specified message name is invalid.
2048 INVALID_MESSAGENAME = 1217,
2049
2050 /// The format of the specified message destination is invalid.
2051 INVALID_MESSAGEDEST = 1218,
2052
2053 /// Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.
2054 /// Disconnect all previous connections to the server or shared resource and try again.
2055 SESSION_CREDENTIAL_CONFLICT = 1219,
2056
2057 /// An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.
2058 REMOTE_SESSION_LIMIT_EXCEEDED = 1220,
2059
2060 /// The workgroup or domain name is already in use by another computer on the network.
2061 DUP_DOMAINNAME = 1221,
2062
2063 /// The network is not present or not started.
2064 NO_NETWORK = 1222,
2065
2066 /// The operation was canceled by the user.
2067 CANCELLED = 1223,
2068
2069 /// The requested operation cannot be performed on a file with a user-mapped section open.
2070 USER_MAPPED_FILE = 1224,
2071
2072 /// The remote computer refused the network connection.
2073 CONNECTION_REFUSED = 1225,
2074
2075 /// The network connection was gracefully closed.
2076 GRACEFUL_DISCONNECT = 1226,
2077
2078 /// The network transport endpoint already has an address associated with it.
2079 ADDRESS_ALREADY_ASSOCIATED = 1227,
2080
2081 /// An address has not yet been associated with the network endpoint.
2082 ADDRESS_NOT_ASSOCIATED = 1228,
2083
2084 /// An operation was attempted on a nonexistent network connection.
2085 CONNECTION_INVALID = 1229,
2086
2087 /// An invalid operation was attempted on an active network connection.
2088 CONNECTION_ACTIVE = 1230,
2089
2090 /// The network location cannot be reached.
2091 /// For information about network troubleshooting, see Windows Help.
2092 NETWORK_UNREACHABLE = 1231,
2093
2094 /// The network location cannot be reached.
2095 /// For information about network troubleshooting, see Windows Help.
2096 HOST_UNREACHABLE = 1232,
2097
2098 /// The network location cannot be reached.
2099 /// For information about network troubleshooting, see Windows Help.
2100 PROTOCOL_UNREACHABLE = 1233,
2101
2102 /// No service is operating at the destination network endpoint on the remote system.
2103 PORT_UNREACHABLE = 1234,
2104
2105 /// The request was aborted.
2106 REQUEST_ABORTED = 1235,
2107
2108 /// The network connection was aborted by the local system.
2109 CONNECTION_ABORTED = 1236,
2110
2111 /// The operation could not be completed. A retry should be performed.
2112 RETRY = 1237,
2113
2114 /// A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.
2115 CONNECTION_COUNT_LIMIT = 1238,
2116
2117 /// Attempting to log in during an unauthorized time of day for this account.
2118 LOGIN_TIME_RESTRICTION = 1239,
2119
2120 /// The account is not authorized to log in from this station.
2121 LOGIN_WKSTA_RESTRICTION = 1240,
2122
2123 /// The network address could not be used for the operation requested.
2124 INCORRECT_ADDRESS = 1241,
2125
2126 /// The service is already registered.
2127 ALREADY_REGISTERED = 1242,
2128
2129 /// The specified service does not exist.
2130 SERVICE_NOT_FOUND = 1243,
2131
2132 /// The operation being requested was not performed because the user has not been authenticated.
2133 NOT_AUTHENTICATED = 1244,
2134
2135 /// The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.
2136 NOT_LOGGED_ON = 1245,
2137
2138 /// Continue with work in progress.
2139 CONTINUE = 1246,
2140
2141 /// An attempt was made to perform an initialization operation when initialization has already been completed.
2142 ALREADY_INITIALIZED = 1247,
2143
2144 /// No more local devices.
2145 NO_MORE_DEVICES = 1248,
2146
2147 /// The specified site does not exist.
2148 NO_SUCH_SITE = 1249,
2149
2150 /// A domain controller with the specified name already exists.
2151 DOMAIN_CONTROLLER_EXISTS = 1250,
2152
2153 /// This operation is supported only when you are connected to the server.
2154 ONLY_IF_CONNECTED = 1251,
2155
2156 /// The group policy framework should call the extension even if there are no changes.
2157 OVERRIDE_NOCHANGES = 1252,
2158
2159 /// The specified user does not have a valid profile.
2160 BAD_USER_PROFILE = 1253,
2161
2162 /// This operation is not supported on a computer running Windows Server 2003 for Small Business Server.
2163 NOT_SUPPORTED_ON_SBS = 1254,
2164
2165 /// The server machine is shutting down.
2166 SERVER_SHUTDOWN_IN_PROGRESS = 1255,
2167
2168 /// The remote system is not available.
2169 /// For information about network troubleshooting, see Windows Help.
2170 HOST_DOWN = 1256,
2171
2172 /// The security identifier provided is not from an account domain.
2173 NON_ACCOUNT_SID = 1257,
2174
2175 /// The security identifier provided does not have a domain component.
2176 NON_DOMAIN_SID = 1258,
2177
2178 /// AppHelp dialog canceled thus preventing the application from starting.
2179 APPHELP_BLOCK = 1259,
2180
2181 /// This program is blocked by group policy.
2182 /// For more information, contact your system administrator.
2183 ACCESS_DISABLED_BY_POLICY = 1260,
2184
2185 /// A program attempt to use an invalid register value.
2186 /// Normally caused by an uninitialized register. This error is Itanium specific.
2187 REG_NAT_CONSUMPTION = 1261,
2188
2189 /// The share is currently offline or does not exist.
2190 CSCSHARE_OFFLINE = 1262,
2191
2192 /// The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon.
2193 /// There is more information in the system event log.
2194 PKINIT_FAILURE = 1263,
2195
2196 /// The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.
2197 SMARTCARD_SUBSYSTEM_FAILURE = 1264,
2198
2199 /// The system cannot contact a domain controller to service the authentication request. Please try again later.
2200 DOWNGRADE_DETECTED = 1265,
2201
2202 /// The machine is locked and cannot be shut down without the force option.
2203 MACHINE_LOCKED = 1271,
2204
2205 /// An application-defined callback gave invalid data when called.
2206 CALLBACK_SUPPLIED_INVALID_DATA = 1273,
2207
2208 /// The group policy framework should call the extension in the synchronous foreground policy refresh.
2209 SYNC_FOREGROUND_REFRESH_REQUIRED = 1274,
2210
2211 /// This driver has been blocked from loading.
2212 DRIVER_BLOCKED = 1275,
2213
2214 /// A dynamic link library (DLL) referenced a module that was neither a DLL nor the process's executable image.
2215 INVALID_IMPORT_OF_NON_DLL = 1276,
2216
2217 /// Windows cannot open this program since it has been disabled.
2218 ACCESS_DISABLED_WEBBLADE = 1277,
2219
2220 /// Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.
2221 ACCESS_DISABLED_WEBBLADE_TAMPER = 1278,
2222
2223 /// A transaction recover failed.
2224 RECOVERY_FAILURE = 1279,
2225
2226 /// The current thread has already been converted to a fiber.
2227 ALREADY_FIBER = 1280,
2228
2229 /// The current thread has already been converted from a fiber.
2230 ALREADY_THREAD = 1281,
2231
2232 /// The system detected an overrun of a stack-based buffer in this application.
2233 /// This overrun could potentially allow a malicious user to gain control of this application.
2234 STACK_BUFFER_OVERRUN = 1282,
2235
2236 /// Data present in one of the parameters is more than the function can operate on.
2237 PARAMETER_QUOTA_EXCEEDED = 1283,
2238
2239 /// An attempt to do an operation on a debug object failed because the object is in the process of being deleted.
2240 DEBUGGER_INACTIVE = 1284,
2241
2242 /// An attempt to delay-load a .dll or get a function address in a delay-loaded .dll failed.
2243 DELAY_LOAD_FAILED = 1285,
2244
2245 /// %1 is a 16-bit application. You do not have permissions to execute 16-bit applications.
2246 /// Check your permissions with your system administrator.
2247 VDM_DISALLOWED = 1286,
2248
2249 /// Insufficient information exists to identify the cause of failure.
2250 UNIDENTIFIED_ERROR = 1287,
2251
2252 /// The parameter passed to a C runtime function is incorrect.
2253 INVALID_CRUNTIME_PARAMETER = 1288,
2254
2255 /// The operation occurred beyond the valid data length of the file.
2256 BEYOND_VDL = 1289,
2257
2258 /// The service start failed since one or more services in the same process have an incompatible service SID type setting.
2259 /// A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type.
2260 /// If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.
2261 /// On Windows Server 2003 and Windows XP, an unrestricted service cannot coexist in the same process with other services.
2262 /// The service with the unrestricted service SID type must be moved to an owned process in order to start this service.
2263 INCOMPATIBLE_SERVICE_SID_TYPE = 1290,
2264
2265 /// The process hosting the driver for this device has been terminated.
2266 DRIVER_PROCESS_TERMINATED = 1291,
2267
2268 /// An operation attempted to exceed an implementation-defined limit.
2269 IMPLEMENTATION_LIMIT = 1292,
2270
2271 /// Either the target process, or the target thread's containing process, is a protected process.
2272 PROCESS_IS_PROTECTED = 1293,
2273
2274 /// The service notification client is lagging too far behind the current state of services in the machine.
2275 SERVICE_NOTIFY_CLIENT_LAGGING = 1294,
2276
2277 /// The requested file operation failed because the storage quota was exceeded.
2278 /// To free up disk space, move files to a different location or delete unnecessary files.
2279 /// For more information, contact your system administrator.
2280 DISK_QUOTA_EXCEEDED = 1295,
2281
2282 /// The requested file operation failed because the storage policy blocks that type of file.
2283 /// For more information, contact your system administrator.
2284 CONTENT_BLOCKED = 1296,
2285
2286 /// A privilege that the service requires to function properly does not exist in the service account configuration.
2287 /// 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.
2288 INCOMPATIBLE_SERVICE_PRIVILEGE = 1297,
2289
2290 /// A thread involved in this operation appears to be unresponsive.
2291 APP_HANG = 1298,
2292
2293 /// Indicates a particular Security ID may not be assigned as the label of an object.
2294 INVALID_LABEL = 1299,
2295
2296 /// Not all privileges or groups referenced are assigned to the caller.
2297 NOT_ALL_ASSIGNED = 1300,
2298
2299 /// Some mapping between account names and security IDs was not done.
2300 SOME_NOT_MAPPED = 1301,
2301
2302 /// No system quota limits are specifically set for this account.
2303 NO_QUOTAS_FOR_ACCOUNT = 1302,
2304
2305 /// No encryption key is available. A well-known encryption key was returned.
2306 LOCAL_USER_SESSION_KEY = 1303,
2307
2308 /// The password is too complex to be converted to a LAN Manager password.
2309 /// The LAN Manager password returned is a NULL string.
2310 NULL_LM_PASSWORD = 1304,
2311
2312 /// The revision level is unknown.
2313 UNKNOWN_REVISION = 1305,
2314
2315 /// Indicates two revision levels are incompatible.
2316 REVISION_MISMATCH = 1306,
2317
2318 /// This security ID may not be assigned as the owner of this object.
2319 INVALID_OWNER = 1307,
2320
2321 /// This security ID may not be assigned as the primary group of an object.
2322 INVALID_PRIMARY_GROUP = 1308,
2323
2324 /// An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
2325 NO_IMPERSONATION_TOKEN = 1309,
2326
2327 /// The group may not be disabled.
2328 CANT_DISABLE_MANDATORY = 1310,
2329
2330 /// There are currently no logon servers available to service the logon request.
2331 NO_LOGON_SERVERS = 1311,
2332
2333 /// A specified logon session does not exist. It may already have been terminated.
2334 NO_SUCH_LOGON_SESSION = 1312,
2335
2336 /// A specified privilege does not exist.
2337 NO_SUCH_PRIVILEGE = 1313,
2338
2339 /// A required privilege is not held by the client.
2340 PRIVILEGE_NOT_HELD = 1314,
2341
2342 /// The name provided is not a properly formed account name.
2343 INVALID_ACCOUNT_NAME = 1315,
2344
2345 /// The specified account already exists.
2346 USER_EXISTS = 1316,
2347
2348 /// The specified account does not exist.
2349 NO_SUCH_USER = 1317,
2350
2351 /// The specified group already exists.
2352 GROUP_EXISTS = 1318,
2353
2354 /// The specified group does not exist.
2355 NO_SUCH_GROUP = 1319,
2356
2357 /// 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.
2358 MEMBER_IN_GROUP = 1320,
2359
2360 /// The specified user account is not a member of the specified group account.
2361 MEMBER_NOT_IN_GROUP = 1321,
2362
2363 /// This operation is disallowed as it could result in an administration account being disabled, deleted or unable to log on.
2364 LAST_ADMIN = 1322,
2365
2366 /// Unable to update the password. The value provided as the current password is incorrect.
2367 WRONG_PASSWORD = 1323,
2368
2369 /// Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.
2370 ILL_FORMED_PASSWORD = 1324,
2371
2372 /// Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.
2373 PASSWORD_RESTRICTION = 1325,
2374
2375 /// The user name or password is incorrect.
2376 LOGON_FAILURE = 1326,
2377
2378 /// Account restrictions are preventing this user from signing in.
2379 /// For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.
2380 ACCOUNT_RESTRICTION = 1327,
2381
2382 /// Your account has time restrictions that keep you from signing in right now.
2383 INVALID_LOGON_HOURS = 1328,
2384
2385 /// This user isn't allowed to sign in to this computer.
2386 INVALID_WORKSTATION = 1329,
2387
2388 /// The password for this account has expired.
2389 PASSWORD_EXPIRED = 1330,
2390
2391 /// This user can't sign in because this account is currently disabled.
2392 ACCOUNT_DISABLED = 1331,
2393
2394 /// No mapping between account names and security IDs was done.
2395 NONE_MAPPED = 1332,
2396
2397 /// Too many local user identifiers (LUIDs) were requested at one time.
2398 TOO_MANY_LUIDS_REQUESTED = 1333,
2399
2400 /// No more local user identifiers (LUIDs) are available.
2401 LUIDS_EXHAUSTED = 1334,
2402
2403 /// The subauthority part of a security ID is invalid for this particular use.
2404 INVALID_SUB_AUTHORITY = 1335,
2405
2406 /// The access control list (ACL) structure is invalid.
2407 INVALID_ACL = 1336,
2408
2409 /// The security ID structure is invalid.
2410 INVALID_SID = 1337,
2411
2412 /// The security descriptor structure is invalid.
2413 INVALID_SECURITY_DESCR = 1338,
2414
2415 /// The inherited access control list (ACL) or access control entry (ACE) could not be built.
2416 BAD_INHERITANCE_ACL = 1340,
2417
2418 /// The server is currently disabled.
2419 SERVER_DISABLED = 1341,
2420
2421 /// The server is currently enabled.
2422 SERVER_NOT_DISABLED = 1342,
2423
2424 /// The value provided was an invalid value for an identifier authority.
2425 INVALID_ID_AUTHORITY = 1343,
2426
2427 /// No more memory is available for security information updates.
2428 ALLOTTED_SPACE_EXCEEDED = 1344,
2429
2430 /// The specified attributes are invalid, or incompatible with the attributes for the group as a whole.
2431 INVALID_GROUP_ATTRIBUTES = 1345,
2432
2433 /// Either a required impersonation level was not provided, or the provided impersonation level is invalid.
2434 BAD_IMPERSONATION_LEVEL = 1346,
2435
2436 /// Cannot open an anonymous level security token.
2437 CANT_OPEN_ANONYMOUS = 1347,
2438
2439 /// The validation information class requested was invalid.
2440 BAD_VALIDATION_CLASS = 1348,
2441
2442 /// The type of the token is inappropriate for its attempted use.
2443 BAD_TOKEN_TYPE = 1349,
2444
2445 /// Unable to perform a security operation on an object that has no associated security.
2446 NO_SECURITY_ON_OBJECT = 1350,
2447
2448 /// Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.
2449 CANT_ACCESS_DOMAIN_INFO = 1351,
2450
2451 /// The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation.
2452 INVALID_SERVER_STATE = 1352,
2453
2454 /// The domain was in the wrong state to perform the security operation.
2455 INVALID_DOMAIN_STATE = 1353,
2456
2457 /// This operation is only allowed for the Primary Domain Controller of the domain.
2458 INVALID_DOMAIN_ROLE = 1354,
2459
2460 /// The specified domain either does not exist or could not be contacted.
2461 NO_SUCH_DOMAIN = 1355,
2462
2463 /// The specified domain already exists.
2464 DOMAIN_EXISTS = 1356,
2465
2466 /// An attempt was made to exceed the limit on the number of domains per server.
2467 DOMAIN_LIMIT_EXCEEDED = 1357,
2468
2469 /// Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.
2470 INTERNAL_DB_CORRUPTION = 1358,
2471
2472 /// An internal error occurred.
2473 INTERNAL_ERROR = 1359,
2474
2475 /// Generic access types were contained in an access mask which should already be mapped to nongeneric types.
2476 GENERIC_NOT_MAPPED = 1360,
2477
2478 /// A security descriptor is not in the right format (absolute or self-relative).
2479 BAD_DESCRIPTOR_FORMAT = 1361,
2480
2481 /// The requested action is restricted for use by logon processes only.
2482 /// The calling process has not registered as a logon process.
2483 NOT_LOGON_PROCESS = 1362,
2484
2485 /// Cannot start a new logon session with an ID that is already in use.
2486 LOGON_SESSION_EXISTS = 1363,
2487
2488 /// A specified authentication package is unknown.
2489 NO_SUCH_PACKAGE = 1364,
2490
2491 /// The logon session is not in a state that is consistent with the requested operation.
2492 BAD_LOGON_SESSION_STATE = 1365,
2493
2494 /// The logon session ID is already in use.
2495 LOGON_SESSION_COLLISION = 1366,
2496
2497 /// A logon request contained an invalid logon type value.
2498 INVALID_LOGON_TYPE = 1367,
2499
2500 /// Unable to impersonate using a named pipe until data has been read from that pipe.
2501 CANNOT_IMPERSONATE = 1368,
2502
2503 /// The transaction state of a registry subtree is incompatible with the requested operation.
2504 RXACT_INVALID_STATE = 1369,
2505
2506 /// An internal security database corruption has been encountered.
2507 RXACT_COMMIT_FAILURE = 1370,
2508
2509 /// Cannot perform this operation on built-in accounts.
2510 SPECIAL_ACCOUNT = 1371,
2511
2512 /// Cannot perform this operation on this built-in special group.
2513 SPECIAL_GROUP = 1372,
2514
2515 /// Cannot perform this operation on this built-in special user.
2516 SPECIAL_USER = 1373,
2517
2518 /// The user cannot be removed from a group because the group is currently the user's primary group.
2519 MEMBERS_PRIMARY_GROUP = 1374,
2520
2521 /// The token is already in use as a primary token.
2522 TOKEN_ALREADY_IN_USE = 1375,
2523
2524 /// The specified local group does not exist.
2525 NO_SUCH_ALIAS = 1376,
2526
2527 /// The specified account name is not a member of the group.
2528 MEMBER_NOT_IN_ALIAS = 1377,
2529
2530 /// The specified account name is already a member of the group.
2531 MEMBER_IN_ALIAS = 1378,
2532
2533 /// The specified local group already exists.
2534 ALIAS_EXISTS = 1379,
2535
2536 /// Logon failure: the user has not been granted the requested logon type at this computer.
2537 LOGON_NOT_GRANTED = 1380,
2538
2539 /// The maximum number of secrets that may be stored in a single system has been exceeded.
2540 TOO_MANY_SECRETS = 1381,
2541
2542 /// The length of a secret exceeds the maximum length allowed.
2543 SECRET_TOO_LONG = 1382,
2544
2545 /// The local security authority database contains an internal inconsistency.
2546 INTERNAL_DB_ERROR = 1383,
2547
2548 /// During a logon attempt, the user's security context accumulated too many security IDs.
2549 TOO_MANY_CONTEXT_IDS = 1384,
2550
2551 /// Logon failure: the user has not been granted the requested logon type at this computer.
2552 LOGON_TYPE_NOT_GRANTED = 1385,
2553
2554 /// A cross-encrypted password is necessary to change a user password.
2555 NT_CROSS_ENCRYPTION_REQUIRED = 1386,
2556
2557 /// A member could not be added to or removed from the local group because the member does not exist.
2558 NO_SUCH_MEMBER = 1387,
2559
2560 /// A new member could not be added to a local group because the member has the wrong account type.
2561 INVALID_MEMBER = 1388,
2562
2563 /// Too many security IDs have been specified.
2564 TOO_MANY_SIDS = 1389,
2565
2566 /// A cross-encrypted password is necessary to change this user password.
2567 LM_CROSS_ENCRYPTION_REQUIRED = 1390,
2568
2569 /// Indicates an ACL contains no inheritable components.
2570 NO_INHERITANCE = 1391,
2571
2572 /// The file or directory is corrupted and unreadable.
2573 FILE_CORRUPT = 1392,
2574
2575 /// The disk structure is corrupted and unreadable.
2576 DISK_CORRUPT = 1393,
2577
2578 /// There is no user session key for the specified logon session.
2579 NO_USER_SESSION_KEY = 1394,
2580
2581 /// The service being accessed is licensed for a particular number of connections.
2582 /// No more connections can be made to the service at this time because there are already as many connections as the service can accept.
2583 LICENSE_QUOTA_EXCEEDED = 1395,
2584
2585 /// The target account name is incorrect.
2586 WRONG_TARGET_NAME = 1396,
2587
2588 /// Mutual Authentication failed. The server's password is out of date at the domain controller.
2589 MUTUAL_AUTH_FAILED = 1397,
2590
2591 /// There is a time and/or date difference between the client and server.
2592 TIME_SKEW = 1398,
2593
2594 /// This operation cannot be performed on the current domain.
2595 CURRENT_DOMAIN_NOT_ALLOWED = 1399,
2596
2597 /// Invalid window handle.
2598 INVALID_WINDOW_HANDLE = 1400,
2599
2600 /// Invalid menu handle.
2601 INVALID_MENU_HANDLE = 1401,
2602
2603 /// Invalid cursor handle.
2604 INVALID_CURSOR_HANDLE = 1402,
2605
2606 /// Invalid accelerator table handle.
2607 INVALID_ACCEL_HANDLE = 1403,
2608
2609 /// Invalid hook handle.
2610 INVALID_HOOK_HANDLE = 1404,
2611
2612 /// Invalid handle to a multiple-window position structure.
2613 INVALID_DWP_HANDLE = 1405,
2614
2615 /// Cannot create a top-level child window.
2616 TLW_WITH_WSCHILD = 1406,
2617
2618 /// Cannot find window class.
2619 CANNOT_FIND_WND_CLASS = 1407,
2620
2621 /// Invalid window; it belongs to other thread.
2622 WINDOW_OF_OTHER_THREAD = 1408,
2623
2624 /// Hot key is already registered.
2625 HOTKEY_ALREADY_REGISTERED = 1409,
2626
2627 /// Class already exists.
2628 CLASS_ALREADY_EXISTS = 1410,
2629
2630 /// Class does not exist.
2631 CLASS_DOES_NOT_EXIST = 1411,
2632
2633 /// Class still has open windows.
2634 CLASS_HAS_WINDOWS = 1412,
2635
2636 /// Invalid index.
2637 INVALID_INDEX = 1413,
2638
2639 /// Invalid icon handle.
2640 INVALID_ICON_HANDLE = 1414,
2641
2642 /// Using private DIALOG window words.
2643 PRIVATE_DIALOG_INDEX = 1415,
2644
2645 /// The list box identifier was not found.
2646 LISTBOX_ID_NOT_FOUND = 1416,
2647
2648 /// No wildcards were found.
2649 NO_WILDCARD_CHARACTERS = 1417,
2650
2651 /// Thread does not have a clipboard open.
2652 CLIPBOARD_NOT_OPEN = 1418,
2653
2654 /// Hot key is not registered.
2655 HOTKEY_NOT_REGISTERED = 1419,
2656
2657 /// The window is not a valid dialog window.
2658 WINDOW_NOT_DIALOG = 1420,
2659
2660 /// Control ID not found.
2661 CONTROL_ID_NOT_FOUND = 1421,
2662
2663 /// Invalid message for a combo box because it does not have an edit control.
2664 INVALID_COMBOBOX_MESSAGE = 1422,
2665
2666 /// The window is not a combo box.
2667 WINDOW_NOT_COMBOBOX = 1423,
2668
2669 /// Height must be less than 256.
2670 INVALID_EDIT_HEIGHT = 1424,
2671
2672 /// Invalid device context (DC) handle.
2673 DC_NOT_FOUND = 1425,
2674
2675 /// Invalid hook procedure type.
2676 INVALID_HOOK_FILTER = 1426,
2677
2678 /// Invalid hook procedure.
2679 INVALID_FILTER_PROC = 1427,
2680
2681 /// Cannot set nonlocal hook without a module handle.
2682 HOOK_NEEDS_HMOD = 1428,
2683
2684 /// This hook procedure can only be set globally.
2685 GLOBAL_ONLY_HOOK = 1429,
2686
2687 /// The journal hook procedure is already installed.
2688 JOURNAL_HOOK_SET = 1430,
2689
2690 /// The hook procedure is not installed.
2691 HOOK_NOT_INSTALLED = 1431,
2692
2693 /// Invalid message for single-selection list box.
2694 INVALID_LB_MESSAGE = 1432,
2695
2696 /// LB_SETCOUNT sent to non-lazy list box.
2697 SETCOUNT_ON_BAD_LB = 1433,
2698
2699 /// This list box does not support tab stops.
2700 LB_WITHOUT_TABSTOPS = 1434,
2701
2702 /// Cannot destroy object created by another thread.
2703 DESTROY_OBJECT_OF_OTHER_THREAD = 1435,
2704
2705 /// Child windows cannot have menus.
2706 CHILD_WINDOW_MENU = 1436,
2707
2708 /// The window does not have a system menu.
2709 NO_SYSTEM_MENU = 1437,
2710
2711 /// Invalid message box style.
2712 INVALID_MSGBOX_STYLE = 1438,
2713
2714 /// Invalid system-wide (SPI_*) parameter.
2715 INVALID_SPI_VALUE = 1439,
2716
2717 /// Screen already locked.
2718 SCREEN_ALREADY_LOCKED = 1440,
2719
2720 /// All handles to windows in a multiple-window position structure must have the same parent.
2721 HWNDS_HAVE_DIFF_PARENT = 1441,
2722
2723 /// The window is not a child window.
2724 NOT_CHILD_WINDOW = 1442,
2725
2726 /// Invalid GW_* command.
2727 INVALID_GW_COMMAND = 1443,
2728
2729 /// Invalid thread identifier.
2730 INVALID_THREAD_ID = 1444,
2731
2732 /// Cannot process a message from a window that is not a multiple document interface (MDI) window.
2733 NON_MDICHILD_WINDOW = 1445,
2734
2735 /// Popup menu already active.
2736 POPUP_ALREADY_ACTIVE = 1446,
2737
2738 /// The window does not have scroll bars.
2739 NO_SCROLLBARS = 1447,
2740
2741 /// Scroll bar range cannot be greater than MAXLONG.
2742 INVALID_SCROLLBAR_RANGE = 1448,
2743
2744 /// Cannot show or remove the window in the way specified.
2745 INVALID_SHOWWIN_COMMAND = 1449,
2746
2747 /// Insufficient system resources exist to complete the requested service.
2748 NO_SYSTEM_RESOURCES = 1450,
2749
2750 /// Insufficient system resources exist to complete the requested service.
2751 NONPAGED_SYSTEM_RESOURCES = 1451,
2752
2753 /// Insufficient system resources exist to complete the requested service.
2754 PAGED_SYSTEM_RESOURCES = 1452,
2755
2756 /// Insufficient quota to complete the requested service.
2757 WORKING_SET_QUOTA = 1453,
2758
2759 /// Insufficient quota to complete the requested service.
2760 PAGEFILE_QUOTA = 1454,
2761
2762 /// The paging file is too small for this operation to complete.
2763 COMMITMENT_LIMIT = 1455,
2764
2765 /// A menu item was not found.
2766 MENU_ITEM_NOT_FOUND = 1456,
2767
2768 /// Invalid keyboard layout handle.
2769 INVALID_KEYBOARD_HANDLE = 1457,
2770
2771 /// Hook type not allowed.
2772 HOOK_TYPE_NOT_ALLOWED = 1458,
2773
2774 /// This operation requires an interactive window station.
2775 REQUIRES_INTERACTIVE_WINDOWSTATION = 1459,
2776
2777 /// This operation returned because the timeout period expired.
2778 TIMEOUT = 1460,
2779
2780 /// Invalid monitor handle.
2781 INVALID_MONITOR_HANDLE = 1461,
2782
2783 /// Incorrect size argument.
2784 INCORRECT_SIZE = 1462,
2785
2786 /// The symbolic link cannot be followed because its type is disabled.
2787 SYMLINK_CLASS_DISABLED = 1463,
2788
2789 /// This application does not support the current operation on symbolic links.
2790 SYMLINK_NOT_SUPPORTED = 1464,
2791
2792 /// Windows was unable to parse the requested XML data.
2793 XML_PARSE_ERROR = 1465,
2794
2795 /// An error was encountered while processing an XML digital signature.
2796 XMLDSIG_ERROR = 1466,
2797
2798 /// This application must be restarted.
2799 RESTART_APPLICATION = 1467,
2800
2801 /// The caller made the connection request in the wrong routing compartment.
2802 WRONG_COMPARTMENT = 1468,
2803
2804 /// There was an AuthIP failure when attempting to connect to the remote host.
2805 AUTHIP_FAILURE = 1469,
2806
2807 /// Insufficient NVRAM resources exist to complete the requested service. A reboot might be required.
2808 NO_NVRAM_RESOURCES = 1470,
2809
2810 /// Unable to finish the requested operation because the specified process is not a GUI process.
2811 NOT_GUI_PROCESS = 1471,
2812
2813 /// The event log file is corrupted.
2814 EVENTLOG_FILE_CORRUPT = 1500,
2815
2816 /// No event log file could be opened, so the event logging service did not start.
2817 EVENTLOG_CANT_START = 1501,
2818
2819 /// The event log file is full.
2820 LOG_FILE_FULL = 1502,
2821
2822 /// The event log file has changed between read operations.
2823 EVENTLOG_FILE_CHANGED = 1503,
2824
2825 /// The specified task name is invalid.
2826 INVALID_TASK_NAME = 1550,
2827
2828 /// The specified task index is invalid.
2829 INVALID_TASK_INDEX = 1551,
2830
2831 /// The specified thread is already joining a task.
2832 THREAD_ALREADY_IN_TASK = 1552,
2833
2834 /// The Windows Installer Service could not be accessed.
2835 /// This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
2836 INSTALL_SERVICE_FAILURE = 1601,
2837
2838 /// User cancelled installation.
2839 INSTALL_USEREXIT = 1602,
2840
2841 /// Fatal error during installation.
2842 INSTALL_FAILURE = 1603,
2843
2844 /// Installation suspended, incomplete.
2845 INSTALL_SUSPEND = 1604,
2846
2847 /// This action is only valid for products that are currently installed.
2848 UNKNOWN_PRODUCT = 1605,
2849
2850 /// Feature ID not registered.
2851 UNKNOWN_FEATURE = 1606,
2852
2853 /// Component ID not registered.
2854 UNKNOWN_COMPONENT = 1607,
2855
2856 /// Unknown property.
2857 UNKNOWN_PROPERTY = 1608,
2858
2859 /// Handle is in an invalid state.
2860 INVALID_HANDLE_STATE = 1609,
2861
2862 /// The configuration data for this product is corrupt. Contact your support personnel.
2863 BAD_CONFIGURATION = 1610,
2864
2865 /// Component qualifier not present.
2866 INDEX_ABSENT = 1611,
2867
2868 /// The installation source for this product is not available.
2869 /// Verify that the source exists and that you can access it.
2870 INSTALL_SOURCE_ABSENT = 1612,
2871
2872 /// This installation package cannot be installed by the Windows Installer service.
2873 /// You must install a Windows service pack that contains a newer version of the Windows Installer service.
2874 INSTALL_PACKAGE_VERSION = 1613,
2875
2876 /// Product is uninstalled.
2877 PRODUCT_UNINSTALLED = 1614,
2878
2879 /// SQL query syntax invalid or unsupported.
2880 BAD_QUERY_SYNTAX = 1615,
2881
2882 /// Record field does not exist.
2883 INVALID_FIELD = 1616,
2884
2885 /// The device has been removed.
2886 DEVICE_REMOVED = 1617,
2887
2888 /// Another installation is already in progress.
2889 /// Complete that installation before proceeding with this install.
2890 INSTALL_ALREADY_RUNNING = 1618,
2891
2892 /// This installation package could not be opened.
2893 /// 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.
2894 INSTALL_PACKAGE_OPEN_FAILED = 1619,
2895
2896 /// This installation package could not be opened.
2897 /// Contact the application vendor to verify that this is a valid Windows Installer package.
2898 INSTALL_PACKAGE_INVALID = 1620,
2899
2900 /// There was an error starting the Windows Installer service user interface. Contact your support personnel.
2901 INSTALL_UI_FAILURE = 1621,
2902
2903 /// Error opening installation log file.
2904 /// Verify that the specified log file location exists and that you can write to it.
2905 INSTALL_LOG_FAILURE = 1622,
2906
2907 /// The language of this installation package is not supported by your system.
2908 INSTALL_LANGUAGE_UNSUPPORTED = 1623,
2909
2910 /// Error applying transforms. Verify that the specified transform paths are valid.
2911 INSTALL_TRANSFORM_FAILURE = 1624,
2912
2913 /// This installation is forbidden by system policy. Contact your system administrator.
2914 INSTALL_PACKAGE_REJECTED = 1625,
2915
2916 /// Function could not be executed.
2917 FUNCTION_NOT_CALLED = 1626,
2918
2919 /// Function failed during execution.
2920 FUNCTION_FAILED = 1627,
2921
2922 /// Invalid or unknown table specified.
2923 INVALID_TABLE = 1628,
2924
2925 /// Data supplied is of wrong type.
2926 DATATYPE_MISMATCH = 1629,
2927
2928 /// Data of this type is not supported.
2929 UNSUPPORTED_TYPE = 1630,
2930
2931 /// The Windows Installer service failed to start. Contact your support personnel.
2932 CREATE_FAILED = 1631,
2933
2934 /// The Temp folder is on a drive that is full or is inaccessible.
2935 /// Free up space on the drive or verify that you have write permission on the Temp folder.
2936 INSTALL_TEMP_UNWRITABLE = 1632,
2937
2938 /// This installation package is not supported by this processor type. Contact your product vendor.
2939 INSTALL_PLATFORM_UNSUPPORTED = 1633,
2940
2941 /// Component not used on this computer.
2942 INSTALL_NOTUSED = 1634,
2943
2944 /// This update package could not be opened.
2945 /// 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.
2946 PATCH_PACKAGE_OPEN_FAILED = 1635,
2947
2948 /// This update package could not be opened.
2949 /// Contact the application vendor to verify that this is a valid Windows Installer update package.
2950 PATCH_PACKAGE_INVALID = 1636,
2951
2952 /// This update package cannot be processed by the Windows Installer service.
2953 /// You must install a Windows service pack that contains a newer version of the Windows Installer service.
2954 PATCH_PACKAGE_UNSUPPORTED = 1637,
2955
2956 /// Another version of this product is already installed. Installation of this version cannot continue.
2957 /// To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
2958 PRODUCT_VERSION = 1638,
2959
2960 /// Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
2961 INVALID_COMMAND_LINE = 1639,
2962
2963 /// Only administrators have permission to add, remove, or configure server software during a Terminal services remote session.
2964 /// If you want to install or configure software on the server, contact your network administrator.
2965 INSTALL_REMOTE_DISALLOWED = 1640,
2966
2967 /// The requested operation completed successfully.
2968 /// The system will be restarted so the changes can take effect.
2969 SUCCESS_REBOOT_INITIATED = 1641,
2970
2971 /// 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.
2972 /// Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
2973 PATCH_TARGET_NOT_FOUND = 1642,
2974
2975 /// The update package is not permitted by software restriction policy.
2976 PATCH_PACKAGE_REJECTED = 1643,
2977
2978 /// One or more customizations are not permitted by software restriction policy.
2979 INSTALL_TRANSFORM_REJECTED = 1644,
2980
2981 /// The Windows Installer does not permit installation from a Remote Desktop Connection.
2982 INSTALL_REMOTE_PROHIBITED = 1645,
2983
2984 /// Uninstallation of the update package is not supported.
2985 PATCH_REMOVAL_UNSUPPORTED = 1646,
2986
2987 /// The update is not applied to this product.
2988 UNKNOWN_PATCH = 1647,
2989
2990 /// No valid sequence could be found for the set of updates.
2991 PATCH_NO_SEQUENCE = 1648,
2992
2993 /// Update removal was disallowed by policy.
2994 PATCH_REMOVAL_DISALLOWED = 1649,
2995
2996 /// The XML update data is invalid.
2997 INVALID_PATCH_XML = 1650,
2998
2999 /// Windows Installer does not permit updating of managed advertised products.
3000 /// At least one feature of the product must be installed before applying the update.
3001 PATCH_MANAGED_ADVERTISED_PRODUCT = 1651,
3002
3003 /// The Windows Installer service is not accessible in Safe Mode.
3004 /// 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.
3005 INSTALL_SERVICE_SAFEBOOT = 1652,
3006
3007 /// A fail fast exception occurred.
3008 /// Exception handlers will not be invoked and the process will be terminated immediately.
3009 FAIL_FAST_EXCEPTION = 1653,
3010
3011 /// The app that you are trying to run is not supported on this version of Windows.
3012 INSTALL_REJECTED = 1654,
3013
3014 /// The string binding is invalid.
3015 RPC_S_INVALID_STRING_BINDING = 1700,
3016
3017 /// The binding handle is not the correct type.
3018 RPC_S_WRONG_KIND_OF_BINDING = 1701,
3019
3020 /// The binding handle is invalid.
3021 RPC_S_INVALID_BINDING = 1702,
3022
3023 /// The RPC protocol sequence is not supported.
3024 RPC_S_PROTSEQ_NOT_SUPPORTED = 1703,
3025
3026 /// The RPC protocol sequence is invalid.
3027 RPC_S_INVALID_RPC_PROTSEQ = 1704,
3028
3029 /// The string universal unique identifier (UUID) is invalid.
3030 RPC_S_INVALID_STRING_UUID = 1705,
3031
3032 /// The endpoint format is invalid.
3033 RPC_S_INVALID_ENDPOINT_FORMAT = 1706,
3034
3035 /// The network address is invalid.
3036 RPC_S_INVALID_NET_ADDR = 1707,
3037
3038 /// No endpoint was found.
3039 RPC_S_NO_ENDPOINT_FOUND = 1708,
3040
3041 /// The timeout value is invalid.
3042 RPC_S_INVALID_TIMEOUT = 1709,
3043
3044 /// The object universal unique identifier (UUID) was not found.
3045 RPC_S_OBJECT_NOT_FOUND = 1710,
3046
3047 /// The object universal unique identifier (UUID) has already been registered.
3048 RPC_S_ALREADY_REGISTERED = 1711,
3049
3050 /// The type universal unique identifier (UUID) has already been registered.
3051 RPC_S_TYPE_ALREADY_REGISTERED = 1712,
3052
3053 /// The RPC server is already listening.
3054 RPC_S_ALREADY_LISTENING = 1713,
3055
3056 /// No protocol sequences have been registered.
3057 RPC_S_NO_PROTSEQS_REGISTERED = 1714,
3058
3059 /// The RPC server is not listening.
3060 RPC_S_NOT_LISTENING = 1715,
3061
3062 /// The manager type is unknown.
3063 RPC_S_UNKNOWN_MGR_TYPE = 1716,
3064
3065 /// The interface is unknown.
3066 RPC_S_UNKNOWN_IF = 1717,
3067
3068 /// There are no bindings.
3069 RPC_S_NO_BINDINGS = 1718,
3070
3071 /// There are no protocol sequences.
3072 RPC_S_NO_PROTSEQS = 1719,
3073
3074 /// The endpoint cannot be created.
3075 RPC_S_CANT_CREATE_ENDPOINT = 1720,
3076
3077 /// Not enough resources are available to complete this operation.
3078 RPC_S_OUT_OF_RESOURCES = 1721,
3079
3080 /// The RPC server is unavailable.
3081 RPC_S_SERVER_UNAVAILABLE = 1722,
3082
3083 /// The RPC server is too busy to complete this operation.
3084 RPC_S_SERVER_TOO_BUSY = 1723,
3085
3086 /// The network options are invalid.
3087 RPC_S_INVALID_NETWORK_OPTIONS = 1724,
3088
3089 /// There are no remote procedure calls active on this thread.
3090 RPC_S_NO_CALL_ACTIVE = 1725,
3091
3092 /// The remote procedure call failed.
3093 RPC_S_CALL_FAILED = 1726,
3094
3095 /// The remote procedure call failed and did not execute.
3096 RPC_S_CALL_FAILED_DNE = 1727,
3097
3098 /// A remote procedure call (RPC) protocol error occurred.
3099 RPC_S_PROTOCOL_ERROR = 1728,
3100
3101 /// Access to the HTTP proxy is denied.
3102 RPC_S_PROXY_ACCESS_DENIED = 1729,
3103
3104 /// The transfer syntax is not supported by the RPC server.
3105 RPC_S_UNSUPPORTED_TRANS_SYN = 1730,
3106
3107 /// The universal unique identifier (UUID) type is not supported.
3108 RPC_S_UNSUPPORTED_TYPE = 1732,
3109
3110 /// The tag is invalid.
3111 RPC_S_INVALID_TAG = 1733,
3112
3113 /// The array bounds are invalid.
3114 RPC_S_INVALID_BOUND = 1734,
3115
3116 /// The binding does not contain an entry name.
3117 RPC_S_NO_ENTRY_NAME = 1735,
3118
3119 /// The name syntax is invalid.
3120 RPC_S_INVALID_NAME_SYNTAX = 1736,
3121
3122 /// The name syntax is not supported.
3123 RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737,
3124
3125 /// No network address is available to use to construct a universal unique identifier (UUID).
3126 RPC_S_UUID_NO_ADDRESS = 1739,
3127
3128 /// The endpoint is a duplicate.
3129 RPC_S_DUPLICATE_ENDPOINT = 1740,
3130
3131 /// The authentication type is unknown.
3132 RPC_S_UNKNOWN_AUTHN_TYPE = 1741,
3133
3134 /// The maximum number of calls is too small.
3135 RPC_S_MAX_CALLS_TOO_SMALL = 1742,
3136
3137 /// The string is too long.
3138 RPC_S_STRING_TOO_LONG = 1743,
3139
3140 /// The RPC protocol sequence was not found.
3141 RPC_S_PROTSEQ_NOT_FOUND = 1744,
3142
3143 /// The procedure number is out of range.
3144 RPC_S_PROCNUM_OUT_OF_RANGE = 1745,
3145
3146 /// The binding does not contain any authentication information.
3147 RPC_S_BINDING_HAS_NO_AUTH = 1746,
3148
3149 /// The authentication service is unknown.
3150 RPC_S_UNKNOWN_AUTHN_SERVICE = 1747,
3151
3152 /// The authentication level is unknown.
3153 RPC_S_UNKNOWN_AUTHN_LEVEL = 1748,
3154
3155 /// The security context is invalid.
3156 RPC_S_INVALID_AUTH_IDENTITY = 1749,
3157
3158 /// The authorization service is unknown.
3159 RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750,
3160
3161 /// The entry is invalid.
3162 EPT_S_INVALID_ENTRY = 1751,
3163
3164 /// The server endpoint cannot perform the operation.
3165 EPT_S_CANT_PERFORM_OP = 1752,
3166
3167 /// There are no more endpoints available from the endpoint mapper.
3168 EPT_S_NOT_REGISTERED = 1753,
3169
3170 /// No interfaces have been exported.
3171 RPC_S_NOTHING_TO_EXPORT = 1754,
3172
3173 /// The entry name is incomplete.
3174 RPC_S_INCOMPLETE_NAME = 1755,
3175
3176 /// The version option is invalid.
3177 RPC_S_INVALID_VERS_OPTION = 1756,
3178
3179 /// There are no more members.
3180 RPC_S_NO_MORE_MEMBERS = 1757,
3181
3182 /// There is nothing to unexport.
3183 RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758,
3184
3185 /// The interface was not found.
3186 RPC_S_INTERFACE_NOT_FOUND = 1759,
3187
3188 /// The entry already exists.
3189 RPC_S_ENTRY_ALREADY_EXISTS = 1760,
3190
3191 /// The entry is not found.
3192 RPC_S_ENTRY_NOT_FOUND = 1761,
3193
3194 /// The name service is unavailable.
3195 RPC_S_NAME_SERVICE_UNAVAILABLE = 1762,
3196
3197 /// The network address family is invalid.
3198 RPC_S_INVALID_NAF_ID = 1763,
3199
3200 /// The requested operation is not supported.
3201 RPC_S_CANNOT_SUPPORT = 1764,
3202
3203 /// No security context is available to allow impersonation.
3204 RPC_S_NO_CONTEXT_AVAILABLE = 1765,
3205
3206 /// An internal error occurred in a remote procedure call (RPC).
3207 RPC_S_INTERNAL_ERROR = 1766,
3208
3209 /// The RPC server attempted an integer division by zero.
3210 RPC_S_ZERO_DIVIDE = 1767,
3211
3212 /// An addressing error occurred in the RPC server.
3213 RPC_S_ADDRESS_ERROR = 1768,
3214
3215 /// A floating-point operation at the RPC server caused a division by zero.
3216 RPC_S_FP_DIV_ZERO = 1769,
3217
3218 /// A floating-point underflow occurred at the RPC server.
3219 RPC_S_FP_UNDERFLOW = 1770,
3220
3221 /// A floating-point overflow occurred at the RPC server.
3222 RPC_S_FP_OVERFLOW = 1771,
3223
3224 /// The list of RPC servers available for the binding of auto handles has been exhausted.
3225 RPC_X_NO_MORE_ENTRIES = 1772,
3226
3227 /// Unable to open the character translation table file.
3228 RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773,
3229
3230 /// The file containing the character translation table has fewer than 512 bytes.
3231 RPC_X_SS_CHAR_TRANS_SHORT_FILE = 1774,
3232
3233 /// A null context handle was passed from the client to the host during a remote procedure call.
3234 RPC_X_SS_IN_NULL_CONTEXT = 1775,
3235
3236 /// The context handle changed during a remote procedure call.
3237 RPC_X_SS_CONTEXT_DAMAGED = 1777,
3238
3239 /// The binding handles passed to a remote procedure call do not match.
3240 RPC_X_SS_HANDLES_MISMATCH = 1778,
3241
3242 /// The stub is unable to get the remote procedure call handle.
3243 RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779,
3244
3245 /// A null reference pointer was passed to the stub.
3246 RPC_X_NULL_REF_POINTER = 1780,
3247
3248 /// The enumeration value is out of range.
3249 RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781,
3250
3251 /// The byte count is too small.
3252 RPC_X_BYTE_COUNT_TOO_SMALL = 1782,
3253
3254 /// The stub received bad data.
3255 RPC_X_BAD_STUB_DATA = 1783,
3256
3257 /// The supplied user buffer is not valid for the requested operation.
3258 INVALID_USER_BUFFER = 1784,
3259
3260 /// The disk media is not recognized. It may not be formatted.
3261 UNRECOGNIZED_MEDIA = 1785,
3262
3263 /// The workstation does not have a trust secret.
3264 NO_TRUST_LSA_SECRET = 1786,
3265
3266 /// The security database on the server does not have a computer account for this workstation trust relationship.
3267 NO_TRUST_SAM_ACCOUNT = 1787,
3268
3269 /// The trust relationship between the primary domain and the trusted domain failed.
3270 TRUSTED_DOMAIN_FAILURE = 1788,
3271
3272 /// The trust relationship between this workstation and the primary domain failed.
3273 TRUSTED_RELATIONSHIP_FAILURE = 1789,
3274
3275 /// The network logon failed.
3276 TRUST_FAILURE = 1790,
3277
3278 /// A remote procedure call is already in progress for this thread.
3279 RPC_S_CALL_IN_PROGRESS = 1791,
3280
3281 /// An attempt was made to logon, but the network logon service was not started.
3282 NETLOGON_NOT_STARTED = 1792,
3283
3284 /// The user's account has expired.
3285 ACCOUNT_EXPIRED = 1793,
3286
3287 /// The redirector is in use and cannot be unloaded.
3288 REDIRECTOR_HAS_OPEN_HANDLES = 1794,
3289
3290 /// The specified printer driver is already installed.
3291 PRINTER_DRIVER_ALREADY_INSTALLED = 1795,
3292
3293 /// The specified port is unknown.
3294 UNKNOWN_PORT = 1796,
3295
3296 /// The printer driver is unknown.
3297 UNKNOWN_PRINTER_DRIVER = 1797,
3298
3299 /// The print processor is unknown.
3300 UNKNOWN_PRINTPROCESSOR = 1798,
3301
3302 /// The specified separator file is invalid.
3303 INVALID_SEPARATOR_FILE = 1799,
3304
3305 /// The specified priority is invalid.
3306 INVALID_PRIORITY = 1800,
3307
3308 /// The printer name is invalid.
3309 INVALID_PRINTER_NAME = 1801,
3310
3311 /// The printer already exists.
3312 PRINTER_ALREADY_EXISTS = 1802,
3313
3314 /// The printer command is invalid.
3315 INVALID_PRINTER_COMMAND = 1803,
3316
3317 /// The specified datatype is invalid.
3318 INVALID_DATATYPE = 1804,
3319
3320 /// The environment specified is invalid.
3321 INVALID_ENVIRONMENT = 1805,
3322
3323 /// There are no more bindings.
3324 RPC_S_NO_MORE_BINDINGS = 1806,
3325
3326 /// The account used is an interdomain trust account.
3327 /// Use your global user account or local user account to access this server.
3328 NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807,
3329
3330 /// The account used is a computer account.
3331 /// Use your global user account or local user account to access this server.
3332 NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808,
3333
3334 /// The account used is a server trust account.
3335 /// Use your global user account or local user account to access this server.
3336 NOLOGON_SERVER_TRUST_ACCOUNT = 1809,
3337
3338 /// The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain.
3339 DOMAIN_TRUST_INCONSISTENT = 1810,
3340
3341 /// The server is in use and cannot be unloaded.
3342 SERVER_HAS_OPEN_HANDLES = 1811,
3343
3344 /// The specified image file did not contain a resource section.
3345 RESOURCE_DATA_NOT_FOUND = 1812,
3346
3347 /// The specified resource type cannot be found in the image file.
3348 RESOURCE_TYPE_NOT_FOUND = 1813,
3349
3350 /// The specified resource name cannot be found in the image file.
3351 RESOURCE_NAME_NOT_FOUND = 1814,
3352
3353 /// The specified resource language ID cannot be found in the image file.
3354 RESOURCE_LANG_NOT_FOUND = 1815,
3355
3356 /// Not enough quota is available to process this command.
3357 NOT_ENOUGH_QUOTA = 1816,
3358
3359 /// No interfaces have been registered.
3360 RPC_S_NO_INTERFACES = 1817,
3361
3362 /// The remote procedure call was cancelled.
3363 RPC_S_CALL_CANCELLED = 1818,
3364
3365 /// The binding handle does not contain all required information.
3366 RPC_S_BINDING_INCOMPLETE = 1819,
3367
3368 /// A communications failure occurred during a remote procedure call.
3369 RPC_S_COMM_FAILURE = 1820,
3370
3371 /// The requested authentication level is not supported.
3372 RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821,
3373
3374 /// No principal name registered.
3375 RPC_S_NO_PRINC_NAME = 1822,
3376
3377 /// The error specified is not a valid Windows RPC error code.
3378 RPC_S_NOT_RPC_ERROR = 1823,
3379
3380 /// A UUID that is valid only on this computer has been allocated.
3381 RPC_S_UUID_LOCAL_ONLY = 1824,
3382
3383 /// A security package specific error occurred.
3384 RPC_S_SEC_PKG_ERROR = 1825,
3385
3386 /// Thread is not canceled.
3387 RPC_S_NOT_CANCELLED = 1826,
3388
3389 /// Invalid operation on the encoding/decoding handle.
3390 RPC_X_INVALID_ES_ACTION = 1827,
3391
3392 /// Incompatible version of the serializing package.
3393 RPC_X_WRONG_ES_VERSION = 1828,
3394
3395 /// Incompatible version of the RPC stub.
3396 RPC_X_WRONG_STUB_VERSION = 1829,
3397
3398 /// The RPC pipe object is invalid or corrupted.
3399 RPC_X_INVALID_PIPE_OBJECT = 1830,
3400
3401 /// An invalid operation was attempted on an RPC pipe object.
3402 RPC_X_WRONG_PIPE_ORDER = 1831,
3403
3404 /// Unsupported RPC pipe version.
3405 RPC_X_WRONG_PIPE_VERSION = 1832,
3406
3407 /// HTTP proxy server rejected the connection because the cookie authentication failed.
3408 RPC_S_COOKIE_AUTH_FAILED = 1833,
3409
3410 /// The group member was not found.
3411 RPC_S_GROUP_MEMBER_NOT_FOUND = 1898,
3412
3413 /// The endpoint mapper database entry could not be created.
3414 EPT_S_CANT_CREATE = 1899,
3415
3416 /// The object universal unique identifier (UUID) is the nil UUID.
3417 RPC_S_INVALID_OBJECT = 1900,
3418
3419 /// The specified time is invalid.
3420 INVALID_TIME = 1901,
3421
3422 /// The specified form name is invalid.
3423 INVALID_FORM_NAME = 1902,
3424
3425 /// The specified form size is invalid.
3426 INVALID_FORM_SIZE = 1903,
3427
3428 /// The specified printer handle is already being waited on.
3429 ALREADY_WAITING = 1904,
3430
3431 /// The specified printer has been deleted.
3432 PRINTER_DELETED = 1905,
3433
3434 /// The state of the printer is invalid.
3435 INVALID_PRINTER_STATE = 1906,
3436
3437 /// The user's password must be changed before signing in.
3438 PASSWORD_MUST_CHANGE = 1907,
3439
3440 /// Could not find the domain controller for this domain.
3441 DOMAIN_CONTROLLER_NOT_FOUND = 1908,
3442
3443 /// The referenced account is currently locked out and may not be logged on to.
3444 ACCOUNT_LOCKED_OUT = 1909,
3445
3446 /// The object exporter specified was not found.
3447 OR_INVALID_OXID = 1910,
3448
3449 /// The object specified was not found.
3450 OR_INVALID_OID = 1911,
3451
3452 /// The object resolver set specified was not found.
3453 OR_INVALID_SET = 1912,
3454
3455 /// Some data remains to be sent in the request buffer.
3456 RPC_S_SEND_INCOMPLETE = 1913,
3457
3458 /// Invalid asynchronous remote procedure call handle.
3459 RPC_S_INVALID_ASYNC_HANDLE = 1914,
3460
3461 /// Invalid asynchronous RPC call handle for this operation.
3462 RPC_S_INVALID_ASYNC_CALL = 1915,
3463
3464 /// The RPC pipe object has already been closed.
3465 RPC_X_PIPE_CLOSED = 1916,
3466
3467 /// The RPC call completed before all pipes were processed.
3468 RPC_X_PIPE_DISCIPLINE_ERROR = 1917,
3469
3470 /// No more data is available from the RPC pipe.
3471 RPC_X_PIPE_EMPTY = 1918,
3472
3473 /// No site name is available for this machine.
3474 NO_SITENAME = 1919,
3475
3476 /// The file cannot be accessed by the system.
3477 CANT_ACCESS_FILE = 1920,
3478
3479 /// The name of the file cannot be resolved by the system.
3480 CANT_RESOLVE_FILENAME = 1921,
3481
3482 /// The entry is not of the expected type.
3483 RPC_S_ENTRY_TYPE_MISMATCH = 1922,
3484
3485 /// Not all object UUIDs could be exported to the specified entry.
3486 RPC_S_NOT_ALL_OBJS_EXPORTED = 1923,
3487
3488 /// Interface could not be exported to the specified entry.
3489 RPC_S_INTERFACE_NOT_EXPORTED = 1924,
3490
3491 /// The specified profile entry could not be added.
3492 RPC_S_PROFILE_NOT_ADDED = 1925,
3493
3494 /// The specified profile element could not be added.
3495 RPC_S_PRF_ELT_NOT_ADDED = 1926,
3496
3497 /// The specified profile element could not be removed.
3498 RPC_S_PRF_ELT_NOT_REMOVED = 1927,
3499
3500 /// The group element could not be added.
3501 RPC_S_GRP_ELT_NOT_ADDED = 1928,
3502
3503 /// The group element could not be removed.
3504 RPC_S_GRP_ELT_NOT_REMOVED = 1929,
3505
3506 /// The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers.
3507 KM_DRIVER_BLOCKED = 1930,
3508
3509 /// The context has expired and can no longer be used.
3510 CONTEXT_EXPIRED = 1931,
3511
3512 /// The current user's delegated trust creation quota has been exceeded.
3513 PER_USER_TRUST_QUOTA_EXCEEDED = 1932,
3514
3515 /// The total delegated trust creation quota has been exceeded.
3516 ALL_USER_TRUST_QUOTA_EXCEEDED = 1933,
3517
3518 /// The current user's delegated trust deletion quota has been exceeded.
3519 USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934,
3520
3521 /// The computer you are signing into is protected by an authentication firewall.
3522 /// The specified account is not allowed to authenticate to the computer.
3523 AUTHENTICATION_FIREWALL_FAILED = 1935,
3524
3525 /// Remote connections to the Print Spooler are blocked by a policy set on your machine.
3526 REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936,
3527
3528 /// Authentication failed because NTLM authentication has been disabled.
3529 NTLM_BLOCKED = 1937,
3530
3531 /// Logon Failure: EAS policy requires that the user change their password before this operation can be performed.
3532 PASSWORD_CHANGE_REQUIRED = 1938,
3533
3534 /// The pixel format is invalid.
3535 INVALID_PIXEL_FORMAT = 2000,
3536
3537 /// The specified driver is invalid.
3538 BAD_DRIVER = 2001,
3539
3540 /// The window style or class attribute is invalid for this operation.
3541 INVALID_WINDOW_STYLE = 2002,
3542
3543 /// The requested metafile operation is not supported.
3544 METAFILE_NOT_SUPPORTED = 2003,
3545
3546 /// The requested transformation operation is not supported.
3547 TRANSFORM_NOT_SUPPORTED = 2004,
3548
3549 /// The requested clipping operation is not supported.
3550 CLIPPING_NOT_SUPPORTED = 2005,
3551
3552 /// The specified color management module is invalid.
3553 INVALID_CMM = 2010,
3554
3555 /// The specified color profile is invalid.
3556 INVALID_PROFILE = 2011,
3557
3558 /// The specified tag was not found.
3559 TAG_NOT_FOUND = 2012,
3560
3561 /// A required tag is not present.
3562 TAG_NOT_PRESENT = 2013,
3563
3564 /// The specified tag is already present.
3565 DUPLICATE_TAG = 2014,
3566
3567 /// The specified color profile is not associated with the specified device.
3568 PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015,
3569
3570 /// The specified color profile was not found.
3571 PROFILE_NOT_FOUND = 2016,
3572
3573 /// The specified color space is invalid.
3574 INVALID_COLORSPACE = 2017,
3575
3576 /// Image Color Management is not enabled.
3577 ICM_NOT_ENABLED = 2018,
3578
3579 /// There was an error while deleting the color transform.
3580 DELETING_ICM_XFORM = 2019,
3581
3582 /// The specified color transform is invalid.
3583 INVALID_TRANSFORM = 2020,
3584
3585 /// The specified transform does not match the bitmap's color space.
3586 COLORSPACE_MISMATCH = 2021,
3587
3588 /// The specified named color index is not present in the profile.
3589 INVALID_COLORINDEX = 2022,
3590
3591 /// The specified profile is intended for a device of a different type than the specified device.
3592 PROFILE_DOES_NOT_MATCH_DEVICE = 2023,
3593
3594 /// The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.
3595 CONNECTED_OTHER_PASSWORD = 2108,
3596
3597 /// The network connection was made successfully using default credentials.
3598 CONNECTED_OTHER_PASSWORD_DEFAULT = 2109,
3599
3600 /// The specified username is invalid.
3601 BAD_USERNAME = 2202,
3602
3603 /// This network connection does not exist.
3604 NOT_CONNECTED = 2250,
3605
3606 /// This network connection has files open or requests pending.
3607 OPEN_FILES = 2401,
3608
3609 /// Active connections still exist.
3610 ACTIVE_CONNECTIONS = 2402,
3611
3612 /// The device is in use by an active process and cannot be disconnected.
3613 DEVICE_IN_USE = 2404,
3614
3615 /// The specified print monitor is unknown.
3616 UNKNOWN_PRINT_MONITOR = 3000,
3617
3618 /// The specified printer driver is currently in use.
3619 PRINTER_DRIVER_IN_USE = 3001,
3620
3621 /// The spool file was not found.
3622 SPOOL_FILE_NOT_FOUND = 3002,
3623
3624 /// A StartDocPrinter call was not issued.
3625 SPL_NO_STARTDOC = 3003,
3626
3627 /// An AddJob call was not issued.
3628 SPL_NO_ADDJOB = 3004,
3629
3630 /// The specified print processor has already been installed.
3631 PRINT_PROCESSOR_ALREADY_INSTALLED = 3005,
3632
3633 /// The specified print monitor has already been installed.
3634 PRINT_MONITOR_ALREADY_INSTALLED = 3006,
3635
3636 /// The specified print monitor does not have the required functions.
3637 INVALID_PRINT_MONITOR = 3007,
3638
3639 /// The specified print monitor is currently in use.
3640 PRINT_MONITOR_IN_USE = 3008,
3641
3642 /// The requested operation is not allowed when there are jobs queued to the printer.
3643 PRINTER_HAS_JOBS_QUEUED = 3009,
3644
3645 /// The requested operation is successful.
3646 /// Changes will not be effective until the system is rebooted.
3647 SUCCESS_REBOOT_REQUIRED = 3010,
3648
3649 /// The requested operation is successful.
3650 /// Changes will not be effective until the service is restarted.
3651 SUCCESS_RESTART_REQUIRED = 3011,
3652
3653 /// No printers were found.
3654 PRINTER_NOT_FOUND = 3012,
3655
3656 /// The printer driver is known to be unreliable.
3657 PRINTER_DRIVER_WARNED = 3013,
3658
3659 /// The printer driver is known to harm the system.
3660 PRINTER_DRIVER_BLOCKED = 3014,
3661
3662 /// The specified printer driver package is currently in use.
3663 PRINTER_DRIVER_PACKAGE_IN_USE = 3015,
3664
3665 /// Unable to find a core driver package that is required by the printer driver package.
3666 CORE_DRIVER_PACKAGE_NOT_FOUND = 3016,
3667
3668 /// The requested operation failed.
3669 /// A system reboot is required to roll back changes made.
3670 FAIL_REBOOT_REQUIRED = 3017,
3671
3672 /// The requested operation failed.
3673 /// A system reboot has been initiated to roll back changes made.
3674 FAIL_REBOOT_INITIATED = 3018,
3675
3676 /// The specified printer driver was not found on the system and needs to be downloaded.
3677 PRINTER_DRIVER_DOWNLOAD_NEEDED = 3019,
3678
3679 /// The requested print job has failed to print.
3680 /// A print system update requires the job to be resubmitted.
3681 PRINT_JOB_RESTART_REQUIRED = 3020,
3682
3683 /// The printer driver does not contain a valid manifest, or contains too many manifests.
3684 INVALID_PRINTER_DRIVER_MANIFEST = 3021,
3685
3686 /// The specified printer cannot be shared.
3687 PRINTER_NOT_SHAREABLE = 3022,
3688
3689 /// The operation was paused.
3690 REQUEST_PAUSED = 3050,
3691
3692 /// Reissue the given operation as a cached IO operation.
3693 IO_REISSUE_AS_CACHED = 3950,
3694
3695 _,
3696};