ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/Sojaner.MemoryScanner/ResultWin32.cs
Revision: 351
Committed: Sat Jun 9 20:52:19 2012 UTC (10 years, 11 months ago) by william
File size: 564753 byte(s)
Log Message:

File Contents

# Content
1 /******************************************************************************/
2 /* _ */
3 /* \`*-. */
4 /* ) _`-. */
5 /* . : `. . */
6 /* : _ ' \ */
7 /* ; *` _. `*-._ */
8 /* `-.-' `-. */
9 /* ; ` `. */
10 /* :. . \ */
11 /* . \ . : .-' . NABU Project */
12 /* ' `+.; ; ' : Microsoft.Win32.Interop Library */
13 /* : ' | ; ;-. Copyright © 2005, adontz */
14 /* ; ' : :`-: _.`* ; */
15 /* .*' / .*' ; .*`- +' `*' */
16 /* `*-* `*-* `*-*' */
17 /* */
18 /******************************************************************************/
19 using System;
20 using System.Runtime;
21 using System.Runtime.InteropServices;
22 using System.Reflection;
23
24 namespace Microsoft.Win32.Interop
25 {
26 public class ResultWin32
27 {
28
29 public static string GetErrorName(int result)
30 {
31 FieldInfo[] fields = typeof(ResultWin32).GetFields();
32 foreach (FieldInfo fi in fields)
33 if ((int)fi.GetValue(null) == result)
34 return fi.Name;
35 return String.Empty;
36 }
37 #region constants
38 /// <summary>
39 /// The operation completed successfully.
40 /// </summary>
41 public const int ERROR_SUCCESS = 0;
42 /// <summary>
43 /// Incorrect function.
44 /// </summary>
45 public const int ERROR_INVALID_FUNCTION = 1;
46 /// <summary>
47 /// The system cannot find the file specified.
48 /// </summary>
49 public const int ERROR_FILE_NOT_FOUND = 2;
50 /// <summary>
51 /// The system cannot find the path specified.
52 /// </summary>
53 public const int ERROR_PATH_NOT_FOUND = 3;
54 /// <summary>
55 /// The system cannot open the file.
56 /// </summary>
57 public const int ERROR_TOO_MANY_OPEN_FILES = 4;
58 /// <summary>
59 /// Access is denied.
60 /// </summary>
61 public const int ERROR_ACCESS_DENIED = 5;
62 /// <summary>
63 /// The handle is invalid.
64 /// </summary>
65 public const int ERROR_INVALID_HANDLE = 6;
66 /// <summary>
67 /// The storage control blocks were destroyed.
68 /// </summary>
69 public const int ERROR_ARENA_TRASHED = 7;
70 /// <summary>
71 /// Not enough storage is available to process this command.
72 /// </summary>
73 public const int ERROR_NOT_ENOUGH_MEMORY = 8;
74 /// <summary>
75 /// The storage control block address is invalid.
76 /// </summary>
77 public const int ERROR_INVALID_BLOCK = 9;
78 /// <summary>
79 /// The environment is incorrect.
80 /// </summary>
81 public const int ERROR_BAD_ENVIRONMENT = 10;
82 /// <summary>
83 /// An attempt was made to load a program with an incorrect format.
84 /// </summary>
85 public const int ERROR_BAD_FORMAT = 11;
86 /// <summary>
87 /// The access code is invalid.
88 /// </summary>
89 public const int ERROR_INVALID_ACCESS = 12;
90 /// <summary>
91 /// The data is invalid.
92 /// </summary>
93 public const int ERROR_INVALID_DATA = 13;
94 /// <summary>
95 /// Not enough storage is available to complete this operation.
96 /// </summary>
97 public const int ERROR_OUTOFMEMORY = 14;
98 /// <summary>
99 /// The system cannot find the drive specified.
100 /// </summary>
101 public const int ERROR_INVALID_DRIVE = 15;
102 /// <summary>
103 /// The directory cannot be removed.
104 /// </summary>
105 public const int ERROR_CURRENT_DIRECTORY = 16;
106 /// <summary>
107 /// The system cannot move the file to a different disk drive.
108 /// </summary>
109 public const int ERROR_NOT_SAME_DEVICE = 17;
110 /// <summary>
111 /// There are no more files.
112 /// </summary>
113 public const int ERROR_NO_MORE_FILES = 18;
114 /// <summary>
115 /// The media is write protected.
116 /// </summary>
117 public const int ERROR_WRITE_PROTECT = 19;
118 /// <summary>
119 /// The system cannot find the device specified.
120 /// </summary>
121 public const int ERROR_BAD_UNIT = 20;
122 /// <summary>
123 /// The device is not ready.
124 /// </summary>
125 public const int ERROR_NOT_READY = 21;
126 /// <summary>
127 /// The device does not recognize the command.
128 /// </summary>
129 public const int ERROR_BAD_COMMAND = 22;
130 /// <summary>
131 /// Data error (cyclic redundancy check).
132 /// </summary>
133 public const int ERROR_CRC = 23;
134 /// <summary>
135 /// The program issued a command but the command length is incorrect.
136 /// </summary>
137 public const int ERROR_BAD_LENGTH = 24;
138 /// <summary>
139 /// The drive cannot locate a specific area or track on the disk.
140 /// </summary>
141 public const int ERROR_SEEK = 25;
142 /// <summary>
143 /// The specified disk or diskette cannot be accessed.
144 /// </summary>
145 public const int ERROR_NOT_DOS_DISK = 26;
146 /// <summary>
147 /// The drive cannot find the sector requested.
148 /// </summary>
149 public const int ERROR_SECTOR_NOT_FOUND = 27;
150 /// <summary>
151 /// The printer is out of paper.
152 /// </summary>
153 public const int ERROR_OUT_OF_PAPER = 28;
154 /// <summary>
155 /// The system cannot write to the specified device.
156 /// </summary>
157 public const int ERROR_WRITE_FAULT = 29;
158 /// <summary>
159 /// The system cannot read from the specified device.
160 /// </summary>
161 public const int ERROR_READ_FAULT = 30;
162 /// <summary>
163 /// A device attached to the system is not functioning.
164 /// </summary>
165 public const int ERROR_GEN_FAILURE = 31;
166 /// <summary>
167 /// The process cannot access the file because it is being used by another process.
168 /// </summary>
169 public const int ERROR_SHARING_VIOLATION = 32;
170 /// <summary>
171 /// The process cannot access the file because another process has locked a portion of the file.
172 /// </summary>
173 public const int ERROR_LOCK_VIOLATION = 33;
174 /// <summary>
175 /// The wrong diskette is in the drive.
176 /// Insert %2 (Volume Serial Number: %3) into drive %1.
177 /// </summary>
178 public const int ERROR_WRONG_DISK = 34;
179 /// <summary>
180 /// Too many files opened for sharing.
181 /// </summary>
182 public const int ERROR_SHARING_BUFFER_EXCEEDED = 36;
183 /// <summary>
184 /// Reached the end of the file.
185 /// </summary>
186 public const int ERROR_HANDLE_EOF = 38;
187 /// <summary>
188 /// The disk is full.
189 /// </summary>
190 public const int ERROR_HANDLE_DISK_FULL = 39;
191 /// <summary>
192 /// The request is not supported.
193 /// </summary>
194 public const int ERROR_NOT_SUPPORTED = 50;
195 /// <summary>
196 /// 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.
197 /// </summary>
198 public const int ERROR_REM_NOT_LIST = 51;
199 /// <summary>
200 /// You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.
201 /// </summary>
202 public const int ERROR_DUP_NAME = 52;
203 /// <summary>
204 /// The network path was not found.
205 /// </summary>
206 public const int ERROR_BAD_NETPATH = 53;
207 /// <summary>
208 /// The network is busy.
209 /// </summary>
210 public const int ERROR_NETWORK_BUSY = 54;
211 /// <summary>
212 /// The specified network resource or device is no longer available.
213 /// </summary>
214 public const int ERROR_DEV_NOT_EXIST = 55;
215 /// <summary>
216 /// The network BIOS command limit has been reached.
217 /// </summary>
218 public const int ERROR_TOO_MANY_CMDS = 56;
219 /// <summary>
220 /// A network adapter hardware error occurred.
221 /// </summary>
222 public const int ERROR_ADAP_HDW_ERR = 57;
223 /// <summary>
224 /// The specified server cannot perform the requested operation.
225 /// </summary>
226 public const int ERROR_BAD_NET_RESP = 58;
227 /// <summary>
228 /// An unexpected network error occurred.
229 /// </summary>
230 public const int ERROR_UNEXP_NET_ERR = 59;
231 /// <summary>
232 /// The remote adapter is not compatible.
233 /// </summary>
234 public const int ERROR_BAD_REM_ADAP = 60;
235 /// <summary>
236 /// The printer queue is full.
237 /// </summary>
238 public const int ERROR_PRINTQ_FULL = 61;
239 /// <summary>
240 /// Space to store the file waiting to be printed is not available on the server.
241 /// </summary>
242 public const int ERROR_NO_SPOOL_SPACE = 62;
243 /// <summary>
244 /// Your file waiting to be printed was deleted.
245 /// </summary>
246 public const int ERROR_PRINT_CANCELLED = 63;
247 /// <summary>
248 /// The specified network name is no longer available.
249 /// </summary>
250 public const int ERROR_NETNAME_DELETED = 64;
251 /// <summary>
252 /// Network access is denied.
253 /// </summary>
254 public const int ERROR_NETWORK_ACCESS_DENIED = 65;
255 /// <summary>
256 /// The network resource type is not correct.
257 /// </summary>
258 public const int ERROR_BAD_DEV_TYPE = 66;
259 /// <summary>
260 /// The network name cannot be found.
261 /// </summary>
262 public const int ERROR_BAD_NET_NAME = 67;
263 /// <summary>
264 /// The name limit for the local computer network adapter card was exceeded.
265 /// </summary>
266 public const int ERROR_TOO_MANY_NAMES = 68;
267 /// <summary>
268 /// The network BIOS session limit was exceeded.
269 /// </summary>
270 public const int ERROR_TOO_MANY_SESS = 69;
271 /// <summary>
272 /// The remote server has been paused or is in the process of being started.
273 /// </summary>
274 public const int ERROR_SHARING_PAUSED = 70;
275 /// <summary>
276 /// 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.
277 /// </summary>
278 public const int ERROR_REQ_NOT_ACCEP = 71;
279 /// <summary>
280 /// The specified printer or disk device has been paused.
281 /// </summary>
282 public const int ERROR_REDIR_PAUSED = 72;
283 /// <summary>
284 /// The file exists.
285 /// </summary>
286 public const int ERROR_FILE_EXISTS = 80;
287 /// <summary>
288 /// The directory or file cannot be created.
289 /// </summary>
290 public const int ERROR_CANNOT_MAKE = 82;
291 /// <summary>
292 /// Fail on INT 24.
293 /// </summary>
294 public const int ERROR_FAIL_I24 = 83;
295 /// <summary>
296 /// Storage to process this request is not available.
297 /// </summary>
298 public const int ERROR_OUT_OF_STRUCTURES = 84;
299 /// <summary>
300 /// The local device name is already in use.
301 /// </summary>
302 public const int ERROR_ALREADY_ASSIGNED = 85;
303 /// <summary>
304 /// The specified network password is not correct.
305 /// </summary>
306 public const int ERROR_INVALID_PASSWORD = 86;
307 /// <summary>
308 /// The parameter is incorrect.
309 /// </summary>
310 public const int ERROR_INVALID_PARAMETER = 87;
311 /// <summary>
312 /// A write fault occurred on the network.
313 /// </summary>
314 public const int ERROR_NET_WRITE_FAULT = 88;
315 /// <summary>
316 /// The system cannot start another process at this time.
317 /// </summary>
318 public const int ERROR_NO_PROC_SLOTS = 89;
319 /// <summary>
320 /// Cannot create another system semaphore.
321 /// </summary>
322 public const int ERROR_TOO_MANY_SEMAPHORES = 100;
323 /// <summary>
324 /// The exclusive semaphore is owned by another process.
325 /// </summary>
326 public const int ERROR_EXCL_SEM_ALREADY_OWNED = 101;
327 /// <summary>
328 /// The semaphore is set and cannot be closed.
329 /// </summary>
330 public const int ERROR_SEM_IS_SET = 102;
331 /// <summary>
332 /// The semaphore cannot be set again.
333 /// </summary>
334 public const int ERROR_TOO_MANY_SEM_REQUESTS = 103;
335 /// <summary>
336 /// Cannot request exclusive semaphores at interrupt time.
337 /// </summary>
338 public const int ERROR_INVALID_AT_INTERRUPT_TIME = 104;
339 /// <summary>
340 /// The previous ownership of this semaphore has ended.
341 /// </summary>
342 public const int ERROR_SEM_OWNER_DIED = 105;
343 /// <summary>
344 /// Insert the diskette for drive %1.
345 /// </summary>
346 public const int ERROR_SEM_USER_LIMIT = 106;
347 /// <summary>
348 /// The program stopped because an alternate diskette was not inserted.
349 /// </summary>
350 public const int ERROR_DISK_CHANGE = 107;
351 /// <summary>
352 /// The disk is in use or locked by another process.
353 /// </summary>
354 public const int ERROR_DRIVE_LOCKED = 108;
355 /// <summary>
356 /// The pipe has been ended.
357 /// </summary>
358 public const int ERROR_BROKEN_PIPE = 109;
359 /// <summary>
360 /// The system cannot open the device or file specified.
361 /// </summary>
362 public const int ERROR_OPEN_FAILED = 110;
363 /// <summary>
364 /// The file name is too long.
365 /// </summary>
366 public const int ERROR_BUFFER_OVERFLOW = 111;
367 /// <summary>
368 /// There is not enough space on the disk.
369 /// </summary>
370 public const int ERROR_DISK_FULL = 112;
371 /// <summary>
372 /// No more internal file identifiers available.
373 /// </summary>
374 public const int ERROR_NO_MORE_SEARCH_HANDLES = 113;
375 /// <summary>
376 /// The target internal file identifier is incorrect.
377 /// </summary>
378 public const int ERROR_INVALID_TARGET_HANDLE = 114;
379 /// <summary>
380 /// The IOCTL call made by the application program is not correct.
381 /// </summary>
382 public const int ERROR_INVALID_CATEGORY = 117;
383 /// <summary>
384 /// The verify-on-write switch parameter value is not correct.
385 /// </summary>
386 public const int ERROR_INVALID_VERIFY_SWITCH = 118;
387 /// <summary>
388 /// The system does not support the command requested.
389 /// </summary>
390 public const int ERROR_BAD_DRIVER_LEVEL = 119;
391 /// <summary>
392 /// This function is not supported on this system.
393 /// </summary>
394 public const int ERROR_CALL_NOT_IMPLEMENTED = 120;
395 /// <summary>
396 /// The semaphore timeout period has expired.
397 /// </summary>
398 public const int ERROR_SEM_TIMEOUT = 121;
399 /// <summary>
400 /// The data area passed to a system call is too small.
401 /// </summary>
402 public const int ERROR_INSUFFICIENT_BUFFER = 122;
403 /// <summary>
404 /// The filename, directory name, or volume label syntax is incorrect.
405 /// </summary>
406 public const int ERROR_INVALID_NAME = 123;
407 /// <summary>
408 /// The system call level is not correct.
409 /// </summary>
410 public const int ERROR_INVALID_LEVEL = 124;
411 /// <summary>
412 /// The disk has no volume label.
413 /// </summary>
414 public const int ERROR_NO_VOLUME_LABEL = 125;
415 /// <summary>
416 /// The specified module could not be found.
417 /// </summary>
418 public const int ERROR_MOD_NOT_FOUND = 126;
419 /// <summary>
420 /// The specified procedure could not be found.
421 /// </summary>
422 public const int ERROR_PROC_NOT_FOUND = 127;
423 /// <summary>
424 /// There are no child processes to wait for.
425 /// </summary>
426 public const int ERROR_WAIT_NO_CHILDREN = 128;
427 /// <summary>
428 /// The %1 application cannot be run in Win32 mode.
429 /// </summary>
430 public const int ERROR_CHILD_NOT_COMPLETE = 129;
431 /// <summary>
432 /// Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
433 /// </summary>
434 public const int ERROR_DIRECT_ACCESS_HANDLE = 130;
435 /// <summary>
436 /// An attempt was made to move the file pointer before the beginning of the file.
437 /// </summary>
438 public const int ERROR_NEGATIVE_SEEK = 131;
439 /// <summary>
440 /// The file pointer cannot be set on the specified device or file.
441 /// </summary>
442 public const int ERROR_SEEK_ON_DEVICE = 132;
443 /// <summary>
444 /// A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
445 /// </summary>
446 public const int ERROR_IS_JOIN_TARGET = 133;
447 /// <summary>
448 /// An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
449 /// </summary>
450 public const int ERROR_IS_JOINED = 134;
451 /// <summary>
452 /// An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
453 /// </summary>
454 public const int ERROR_IS_SUBSTED = 135;
455 /// <summary>
456 /// The system tried to delete the JOIN of a drive that is not joined.
457 /// </summary>
458 public const int ERROR_NOT_JOINED = 136;
459 /// <summary>
460 /// The system tried to delete the substitution of a drive that is not substituted.
461 /// </summary>
462 public const int ERROR_NOT_SUBSTED = 137;
463 /// <summary>
464 /// The system tried to join a drive to a directory on a joined drive.
465 /// </summary>
466 public const int ERROR_JOIN_TO_JOIN = 138;
467 /// <summary>
468 /// The system tried to substitute a drive to a directory on a substituted drive.
469 /// </summary>
470 public const int ERROR_SUBST_TO_SUBST = 139;
471 /// <summary>
472 /// The system tried to join a drive to a directory on a substituted drive.
473 /// </summary>
474 public const int ERROR_JOIN_TO_SUBST = 140;
475 /// <summary>
476 /// The system tried to SUBST a drive to a directory on a joined drive.
477 /// </summary>
478 public const int ERROR_SUBST_TO_JOIN = 141;
479 /// <summary>
480 /// The system cannot perform a JOIN or SUBST at this time.
481 /// </summary>
482 public const int ERROR_BUSY_DRIVE = 142;
483 /// <summary>
484 /// The system cannot join or substitute a drive to or for a directory on the same drive.
485 /// </summary>
486 public const int ERROR_SAME_DRIVE = 143;
487 /// <summary>
488 /// The directory is not a subdirectory of the root directory.
489 /// </summary>
490 public const int ERROR_DIR_NOT_ROOT = 144;
491 /// <summary>
492 /// The directory is not empty.
493 /// </summary>
494 public const int ERROR_DIR_NOT_EMPTY = 145;
495 /// <summary>
496 /// The path specified is being used in a substitute.
497 /// </summary>
498 public const int ERROR_IS_SUBST_PATH = 146;
499 /// <summary>
500 /// Not enough resources are available to process this command.
501 /// </summary>
502 public const int ERROR_IS_JOIN_PATH = 147;
503 /// <summary>
504 /// The path specified cannot be used at this time.
505 /// </summary>
506 public const int ERROR_PATH_BUSY = 148;
507 /// <summary>
508 /// An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
509 /// </summary>
510 public const int ERROR_IS_SUBST_TARGET = 149;
511 /// <summary>
512 /// System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
513 /// </summary>
514 public const int ERROR_SYSTEM_TRACE = 150;
515 /// <summary>
516 /// The number of specified semaphore events for DosMuxSemWait is not correct.
517 /// </summary>
518 public const int ERROR_INVALID_EVENT_COUNT = 151;
519 /// <summary>
520 /// DosMuxSemWait did not execute; too many semaphores are already set.
521 /// </summary>
522 public const int ERROR_TOO_MANY_MUXWAITERS = 152;
523 /// <summary>
524 /// The DosMuxSemWait list is not correct.
525 /// </summary>
526 public const int ERROR_INVALID_LIST_FORMAT = 153;
527 /// <summary>
528 /// The volume label you entered exceeds the label character limit of the target file system.
529 /// </summary>
530 public const int ERROR_LABEL_TOO_Int32 = 154;
531 /// <summary>
532 /// Cannot create another thread.
533 /// </summary>
534 public const int ERROR_TOO_MANY_TCBS = 155;
535 /// <summary>
536 /// The recipient process has refused the signal.
537 /// </summary>
538 public const int ERROR_SIGNAL_REFUSED = 156;
539 /// <summary>
540 /// The segment is already discarded and cannot be locked.
541 /// </summary>
542 public const int ERROR_DISCARDED = 157;
543 /// <summary>
544 /// The segment is already unlocked.
545 /// </summary>
546 public const int ERROR_NOT_LOCKED = 158;
547 /// <summary>
548 /// The address for the thread ID is not correct.
549 /// </summary>
550 public const int ERROR_BAD_THREADID_ADDR = 159;
551 /// <summary>
552 /// One or more arguments are not correct.
553 /// </summary>
554 public const int ERROR_BAD_ARGUMENTS = 160;
555 /// <summary>
556 /// The specified path is invalid.
557 /// </summary>
558 public const int ERROR_BAD_PATHNAME = 161;
559 /// <summary>
560 /// A signal is already pending.
561 /// </summary>
562 public const int ERROR_SIGNAL_PENDING = 162;
563 /// <summary>
564 /// No more threads can be created in the system.
565 /// </summary>
566 public const int ERROR_MAX_THRDS_REACHED = 164;
567 /// <summary>
568 /// Unable to lock a region of a file.
569 /// </summary>
570 public const int ERROR_LOCK_FAILED = 167;
571 /// <summary>
572 /// The requested resource is in use.
573 /// </summary>
574 public const int ERROR_BUSY = 170;
575 /// <summary>
576 /// A lock request was not outstanding for the supplied cancel region.
577 /// </summary>
578 public const int ERROR_CANCEL_VIOLATION = 173;
579 /// <summary>
580 /// The file system does not support atomic changes to the lock type.
581 /// </summary>
582 public const int ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174;
583 /// <summary>
584 /// The system detected a segment number that was not correct.
585 /// </summary>
586 public const int ERROR_INVALID_SEGMENT_NUMBER = 180;
587 /// <summary>
588 /// The operating system cannot run %1.
589 /// </summary>
590 public const int ERROR_INVALID_ORDINAL = 182;
591 /// <summary>
592 /// Cannot create a file when that file already exists.
593 /// </summary>
594 public const int ERROR_ALREADY_EXISTS = 183;
595 /// <summary>
596 /// The flag passed is not correct.
597 /// </summary>
598 public const int ERROR_INVALID_FLAG_NUMBER = 186;
599 /// <summary>
600 /// The specified system semaphore name was not found.
601 /// </summary>
602 public const int ERROR_SEM_NOT_FOUND = 187;
603 /// <summary>
604 /// The operating system cannot run %1.
605 /// </summary>
606 public const int ERROR_INVALID_STARTING_CODESEG = 188;
607 /// <summary>
608 /// The operating system cannot run %1.
609 /// </summary>
610 public const int ERROR_INVALID_STACKSEG = 189;
611 /// <summary>
612 /// The operating system cannot run %1.
613 /// </summary>
614 public const int ERROR_INVALID_MODULETYPE = 190;
615 /// <summary>
616 /// Cannot run %1 in Win32 mode.
617 /// </summary>
618 public const int ERROR_INVALID_EXE_SIGNATURE = 191;
619 /// <summary>
620 /// The operating system cannot run %1.
621 /// </summary>
622 public const int ERROR_EXE_MARKED_INVALID = 192;
623 /// <summary>
624 /// %1 is not a valid Win32 application.
625
626 /// </summary>
627 public const int ERROR_BAD_EXE_FORMAT = 193;
628 /// <summary>
629 /// The operating system cannot run %1.
630 /// </summary>
631 public const int ERROR_ITERATED_DATA_EXCEEDS_64k = 194;
632 /// <summary>
633 /// The operating system cannot run %1.
634 /// </summary>
635 public const int ERROR_INVALID_MINALLOCSIZE = 195;
636 /// <summary>
637 /// The operating system cannot run this application program.
638 /// </summary>
639 public const int ERROR_DYNLINK_FROM_INVALID_RING = 196;
640 /// <summary>
641 /// The operating system is not presently configured to run this application.
642 /// </summary>
643 public const int ERROR_IOPL_NOT_ENABLED = 197;
644 /// <summary>
645 /// The operating system cannot run %1.
646 /// </summary>
647 public const int ERROR_INVALID_SEGDPL = 198;
648 /// <summary>
649 /// The operating system cannot run this application program.
650 /// </summary>
651 public const int ERROR_AUTODATASEG_EXCEEDS_64k = 199;
652 /// <summary>
653 /// The code segment cannot be greater than or equal to 64K.
654 /// </summary>
655 public const int ERROR_RING2SEG_MUST_BE_MOVABLE = 200;
656 /// <summary>
657 /// The operating system cannot run %1.
658 /// </summary>
659 public const int ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201;
660 /// <summary>
661 /// The operating system cannot run %1.
662 /// </summary>
663 public const int ERROR_INFLOOP_IN_RELOC_CHAIN = 202;
664 /// <summary>
665 /// The system could not find the environment option that was entered.
666 /// </summary>
667 public const int ERROR_ENVVAR_NOT_FOUND = 203;
668 /// <summary>
669 /// No process in the command subtree has a signal handler.
670 /// </summary>
671 public const int ERROR_NO_SIGNAL_SENT = 205;
672 /// <summary>
673 /// The filename or extension is too long.
674 /// </summary>
675 public const int ERROR_FILENAME_EXCED_RANGE = 206;
676 /// <summary>
677 /// The ring 2 stack is in use.
678 /// </summary>
679 public const int ERROR_RING2_STACK_IN_USE = 207;
680 /// <summary>
681 /// The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
682 /// </summary>
683 public const int ERROR_META_EXPANSION_TOO_Int32 = 208;
684 /// <summary>
685 /// The signal being posted is not correct.
686 /// </summary>
687 public const int ERROR_INVALID_SIGNAL_NUMBER = 209;
688 /// <summary>
689 /// The signal handler cannot be set.
690 /// </summary>
691 public const int ERROR_THREAD_1_INACTIVE = 210;
692 /// <summary>
693 /// The segment is locked and cannot be reallocated.
694 /// </summary>
695 public const int ERROR_LOCKED = 212;
696 /// <summary>
697 /// Too many dynamic-link modules are attached to this program or dynamic-link module.
698 /// </summary>
699 public const int ERROR_TOO_MANY_MODULES = 214;
700 /// <summary>
701 /// Cannot nest calls to LoadModule.
702 /// </summary>
703 public const int ERROR_NESTING_NOT_ALLOWED = 215;
704 /// <summary>
705 /// The image file %1 is valid, but is for a machine type other than the current machine.
706 /// </summary>
707 public const int ERROR_EXE_MACHINE_TYPE_MISMATCH = 216;
708 /// <summary>
709 /// No information avialable.
710 /// </summary>
711 public const int ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217;
712 /// <summary>
713 /// No information avialable.
714 /// </summary>
715 public const int ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218;
716 /// <summary>
717 /// The pipe state is invalid.
718 /// </summary>
719 public const int ERROR_BAD_PIPE = 230;
720 /// <summary>
721 /// All pipe instances are busy.
722 /// </summary>
723 public const int ERROR_PIPE_BUSY = 231;
724 /// <summary>
725 /// The pipe is being closed.
726 /// </summary>
727 public const int ERROR_NO_DATA = 232;
728 /// <summary>
729 /// No process is on the other end of the pipe.
730 /// </summary>
731 public const int ERROR_PIPE_NOT_CONNECTED = 233;
732 /// <summary>
733 /// More data is available.
734 /// </summary>
735 public const int ERROR_MORE_DATA = 234;
736 /// <summary>
737 /// The session was canceled.
738 /// </summary>
739 public const int ERROR_VC_DISCONNECTED = 240;
740 /// <summary>
741 /// The specified extended attribute name was invalid.
742 /// </summary>
743 public const int ERROR_INVALID_EA_NAME = 254;
744 /// <summary>
745 /// The extended attributes are inconsistent.
746 /// </summary>
747 public const int ERROR_EA_LIST_INCONSISTENT = 255;
748 /// <summary>
749 /// The wait operation timed out.
750 /// </summary>
751 public const int WAIT_TIMEOUT = 258;
752 /// <summary>
753 /// No more data is available.
754 /// </summary>
755 public const int ERROR_NO_MORE_ITEMS = 259;
756 /// <summary>
757 /// The copy functions cannot be used.
758 /// </summary>
759 public const int ERROR_CANNOT_COPY = 266;
760 /// <summary>
761 /// The directory name is invalid.
762 /// </summary>
763 public const int ERROR_DIRECTORY = 267;
764 /// <summary>
765 /// The extended attributes did not fit in the buffer.
766 /// </summary>
767 public const int ERROR_EAS_DIDNT_FIT = 275;
768 /// <summary>
769 /// The extended attribute file on the mounted file system is corrupt.
770 /// </summary>
771 public const int ERROR_EA_FILE_CORRUPT = 276;
772 /// <summary>
773 /// The extended attribute table file is full.
774 /// </summary>
775 public const int ERROR_EA_TABLE_FULL = 277;
776 /// <summary>
777 /// The specified extended attribute handle is invalid.
778 /// </summary>
779 public const int ERROR_INVALID_EA_HANDLE = 278;
780 /// <summary>
781 /// The mounted file system does not support extended attributes.
782 /// </summary>
783 public const int ERROR_EAS_NOT_SUPPORTED = 282;
784 /// <summary>
785 /// Attempt to release mutex not owned by caller.
786 /// </summary>
787 public const int ERROR_NOT_OWNER = 288;
788 /// <summary>
789 /// Too many posts were made to a semaphore.
790 /// </summary>
791 public const int ERROR_TOO_MANY_POSTS = 298;
792 /// <summary>
793 /// Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
794 /// </summary>
795 public const int ERROR_PARTIAL_COPY = 299;
796 /// <summary>
797 /// The oplock request is denied.
798 /// </summary>
799 public const int ERROR_OPLOCK_NOT_GRANTED = 300;
800 /// <summary>
801 /// An invalid oplock acknowledgment was received by the system.
802 /// </summary>
803 public const int ERROR_INVALID_OPLOCK_PROTOCOL = 301;
804 /// <summary>
805 /// The volume is too fragmented to complete this operation.
806 /// </summary>
807 public const int ERROR_DISK_TOO_FRAGMENTED = 302;
808 /// <summary>
809 /// The file cannot be opened because it is in the process of being deleted.
810 /// </summary>
811 public const int ERROR_DELETE_PENDING = 303;
812 /// <summary>
813 /// The system cannot find message text for message number 0x%1 in the message file for %2.
814 /// </summary>
815 public const int ERROR_MR_MID_NOT_FOUND = 317;
816 /// <summary>
817 /// No information avialable.
818 /// </summary>
819 public const int ERROR_SCOPE_NOT_FOUND = 318;
820 /// <summary>
821 /// Attempt to access invalid address.
822 /// </summary>
823 public const int ERROR_INVALID_ADDRESS = 487;
824 /// <summary>
825 /// Arithmetic result exceeded 32 bits.
826 /// </summary>
827 public const int ERROR_ARITHMETIC_OVERFLOW = 534;
828 /// <summary>
829 /// There is a process on other end of the pipe.
830 /// </summary>
831 public const int ERROR_PIPE_CONNECTED = 535;
832 /// <summary>
833 /// Waiting for a process to open the other end of the pipe.
834 /// </summary>
835 public const int ERROR_PIPE_LISTENING = 536;
836 /// <summary>
837 /// Access to the extended attribute was denied.
838 /// </summary>
839 public const int ERROR_EA_ACCESS_DENIED = 994;
840 /// <summary>
841 /// The I/O operation has been aborted because of either a thread exit or an application request.
842 /// </summary>
843 public const int ERROR_OPERATION_ABORTED = 995;
844 /// <summary>
845 /// Overlapped I/O event is not in a signaled state.
846 /// </summary>
847 public const int ERROR_IO_INCOMPLETE = 996;
848 /// <summary>
849 /// Overlapped I/O operation is in progress.
850 /// </summary>
851 public const int ERROR_IO_PENDING = 997;
852 /// <summary>
853 /// Invalid access to memory location.
854 /// </summary>
855 public const int ERROR_NOACCESS = 998;
856 /// <summary>
857 /// Error performing inpage operation.
858 /// </summary>
859 public const int ERROR_SWAPERROR = 999;
860 /// <summary>
861 /// Recursion too deep; the stack overflowed.
862 /// </summary>
863 public const int ERROR_STACK_OVERFLOW = 1001;
864 /// <summary>
865 /// The window cannot act on the sent message.
866 /// </summary>
867 public const int ERROR_INVALID_MESSAGE = 1002;
868 /// <summary>
869 /// Cannot complete this function.
870 /// </summary>
871 public const int ERROR_CAN_NOT_COMPLETE = 1003;
872 /// <summary>
873 /// Invalid flags.
874 /// </summary>
875 public const int ERROR_INVALID_FLAGS = 1004;
876 /// <summary>
877 /// The volume does not contain a recognized file system.
878 /// Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
879 /// </summary>
880 public const int ERROR_UNRECOGNIZED_VOLUME = 1005;
881 /// <summary>
882 /// The volume for a file has been externally altered so that the opened file is no longer valid.
883 /// </summary>
884 public const int ERROR_FILE_INVALID = 1006;
885 /// <summary>
886 /// The requested operation cannot be performed in full-screen mode.
887 /// </summary>
888 public const int ERROR_FULLSCREEN_MODE = 1007;
889 /// <summary>
890 /// An attempt was made to reference a token that does not exist.
891 /// </summary>
892 public const int ERROR_NO_TOKEN = 1008;
893 /// <summary>
894 /// The configuration registry database is corrupt.
895 /// </summary>
896 public const int ERROR_BADDB = 1009;
897 /// <summary>
898 /// The configuration registry key is invalid.
899 /// </summary>
900 public const int ERROR_BADKEY = 1010;
901 /// <summary>
902 /// The configuration registry key could not be opened.
903 /// </summary>
904 public const int ERROR_CANTOPEN = 1011;
905 /// <summary>
906 /// The configuration registry key could not be read.
907 /// </summary>
908 public const int ERROR_CANTREAD = 1012;
909 /// <summary>
910 /// The configuration registry key could not be written.
911 /// </summary>
912 public const int ERROR_CANTWRITE = 1013;
913 /// <summary>
914 /// One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.
915 /// </summary>
916 public const int ERROR_REGISTRY_RECOVERED = 1014;
917 /// <summary>
918 /// 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.
919 /// </summary>
920 public const int ERROR_REGISTRY_CORRUPT = 1015;
921 /// <summary>
922 /// 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.
923 /// </summary>
924 public const int ERROR_REGISTRY_IO_FAILED = 1016;
925 /// <summary>
926 /// The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
927 /// </summary>
928 public const int ERROR_NOT_REGISTRY_FILE = 1017;
929 /// <summary>
930 /// Illegal operation attempted on a registry key that has been marked for deletion.
931 /// </summary>
932 public const int ERROR_KEY_DELETED = 1018;
933 /// <summary>
934 /// System could not allocate the required space in a registry log.
935 /// </summary>
936 public const int ERROR_NO_LOG_SPACE = 1019;
937 /// <summary>
938 /// Cannot create a symbolic link in a registry key that already has subkeys or values.
939 /// </summary>
940 public const int ERROR_KEY_HAS_CHILDREN = 1020;
941 /// <summary>
942 /// Cannot create a stable subkey under a volatile parent key.
943 /// </summary>
944 public const int ERROR_CHILD_MUST_BE_VOLATILE = 1021;
945 /// <summary>
946 /// 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.
947 /// </summary>
948 public const int ERROR_NOTIFY_ENUM_DIR = 1022;
949 /// <summary>
950 /// A stop control has been sent to a service that other running services are dependent on.
951 /// </summary>
952 public const int ERROR_DEPENDENT_SERVICES_RUNNING = 1051;
953 /// <summary>
954 /// The requested control is not valid for this service.
955 /// </summary>
956 public const int ERROR_INVALID_SERVICE_CONTROL = 1052;
957 /// <summary>
958 /// The service did not respond to the start or control request in a timely fashion.
959 /// </summary>
960 public const int ERROR_SERVICE_REQUEST_TIMEOUT = 1053;
961 /// <summary>
962 /// A thread could not be created for the service.
963 /// </summary>
964 public const int ERROR_SERVICE_NO_THREAD = 1054;
965 /// <summary>
966 /// The service database is locked.
967 /// </summary>
968 public const int ERROR_SERVICE_DATABASE_LOCKED = 1055;
969 /// <summary>
970 /// An instance of the service is already running.
971 /// </summary>
972 public const int ERROR_SERVICE_ALREADY_RUNNING = 1056;
973 /// <summary>
974 /// The account name is invalid or does not exist, or the password is invalid for the account name specified.
975 /// </summary>
976 public const int ERROR_INVALID_SERVICE_ACCOUNT = 1057;
977 /// <summary>
978 /// The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
979 /// </summary>
980 public const int ERROR_SERVICE_DISABLED = 1058;
981 /// <summary>
982 /// Circular service dependency was specified.
983 /// </summary>
984 public const int ERROR_CIRCULAR_DEPENDENCY = 1059;
985 /// <summary>
986 /// The specified service does not exist as an installed service.
987 /// </summary>
988 public const int ERROR_SERVICE_DOES_NOT_EXIST = 1060;
989 /// <summary>
990 /// The service cannot accept control messages at this time.
991 /// </summary>
992 public const int ERROR_SERVICE_CANNOT_ACCEPT_CTRL = 1061;
993 /// <summary>
994 /// The service has not been started.
995 /// </summary>
996 public const int ERROR_SERVICE_NOT_ACTIVE = 1062;
997 /// <summary>
998 /// The service process could not connect to the service controller.
999 /// </summary>
1000 public const int ERROR_FAILED_SERVICE_CONTROLLER_CONNECT = 1063;
1001 /// <summary>
1002 /// An exception occurred in the service when handling the control request.
1003 /// </summary>
1004 public const int ERROR_EXCEPTION_IN_SERVICE = 1064;
1005 /// <summary>
1006 /// The database specified does not exist.
1007 /// </summary>
1008 public const int ERROR_DATABASE_DOES_NOT_EXIST = 1065;
1009 /// <summary>
1010 /// The service has returned a service-specific error code.
1011 /// </summary>
1012 public const int ERROR_SERVICE_SPECIFIC_ERROR = 1066;
1013 /// <summary>
1014 /// The process terminated unexpectedly.
1015 /// </summary>
1016 public const int ERROR_PROCESS_ABORTED = 1067;
1017 /// <summary>
1018 /// The dependency service or group failed to start.
1019 /// </summary>
1020 public const int ERROR_SERVICE_DEPENDENCY_FAIL = 1068;
1021 /// <summary>
1022 /// The service did not start due to a logon failure.
1023 /// </summary>
1024 public const int ERROR_SERVICE_LOGON_FAILED = 1069;
1025 /// <summary>
1026 /// After starting, the service hung in a start-pending state.
1027 /// </summary>
1028 public const int ERROR_SERVICE_START_HANG = 1070;
1029 /// <summary>
1030 /// The specified service database lock is invalid.
1031 /// </summary>
1032 public const int ERROR_INVALID_SERVICE_LOCK = 1071;
1033 /// <summary>
1034 /// The specified service has been marked for deletion.
1035 /// </summary>
1036 public const int ERROR_SERVICE_MARKED_FOR_DELETE = 1072;
1037 /// <summary>
1038 /// The specified service already exists.
1039 /// </summary>
1040 public const int ERROR_SERVICE_EXISTS = 1073;
1041 /// <summary>
1042 /// The system is currently running with the last-known-good configuration.
1043 /// </summary>
1044 public const int ERROR_ALREADY_RUNNING_LKG = 1074;
1045 /// <summary>
1046 /// The dependency service does not exist or has been marked for deletion.
1047 /// </summary>
1048 public const int ERROR_SERVICE_DEPENDENCY_DELETED = 1075;
1049 /// <summary>
1050 /// The current boot has already been accepted for use as the last-known-good control set.
1051 /// </summary>
1052 public const int ERROR_BOOT_ALREADY_ACCEPTED = 1076;
1053 /// <summary>
1054 /// No attempts to start the service have been made since the last boot.
1055 /// </summary>
1056 public const int ERROR_SERVICE_NEVER_STARTED = 1077;
1057 /// <summary>
1058 /// The name is already in use as either a service name or a service display name.
1059 /// </summary>
1060 public const int ERROR_DUPLICATE_SERVICE_NAME = 1078;
1061 /// <summary>
1062 /// The account specified for this service is different from the account specified for other services running in the same process.
1063 /// </summary>
1064 public const int ERROR_DIFFERENT_SERVICE_ACCOUNT = 1079;
1065 /// <summary>
1066 /// Failure actions can only be set for Win32 services, not for drivers.
1067 /// </summary>
1068 public const int ERROR_CANNOT_DETECT_DRIVER_FAILURE = 1080;
1069 /// <summary>
1070 /// This service runs in the same process as the service control manager.
1071 /// Therefore, the service control manager cannot take action if this service's process terminates unexpectedly.
1072 /// </summary>
1073 public const int ERROR_CANNOT_DETECT_PROCESS_ABORT = 1081;
1074 /// <summary>
1075 /// No recovery program has been configured for this service.
1076 /// </summary>
1077 public const int ERROR_NO_RECOVERY_PROGRAM = 1082;
1078 /// <summary>
1079 /// The executable program that this service is configured to run in does not implement the service.
1080 /// </summary>
1081 public const int ERROR_SERVICE_NOT_IN_EXE = 1083;
1082 /// <summary>
1083 /// This service cannot be started in Safe Mode
1084 /// </summary>
1085 public const int ERROR_NOT_SAFEBOOT_SERVICE = 1084;
1086 /// <summary>
1087 /// The physical end of the tape has been reached.
1088 /// </summary>
1089 public const int ERROR_END_OF_MEDIA = 1100;
1090 /// <summary>
1091 /// A tape access reached a filemark.
1092 /// </summary>
1093 public const int ERROR_FILEMARK_DETECTED = 1101;
1094 /// <summary>
1095 /// The beginning of the tape or a partition was encountered.
1096 /// </summary>
1097 public const int ERROR_BEGINNING_OF_MEDIA = 1102;
1098 /// <summary>
1099 /// A tape access reached the end of a set of files.
1100 /// </summary>
1101 public const int ERROR_SETMARK_DETECTED = 1103;
1102 /// <summary>
1103 /// No more data is on the tape.
1104 /// </summary>
1105 public const int ERROR_NO_DATA_DETECTED = 1104;
1106 /// <summary>
1107 /// Tape could not be partitioned.
1108 /// </summary>
1109 public const int ERROR_PARTITION_FAILURE = 1105;
1110 /// <summary>
1111 /// When accessing a new tape of a multivolume partition, the current block size is incorrect.
1112 /// </summary>
1113 public const int ERROR_INVALID_BLOCK_LENGTH = 1106;
1114 /// <summary>
1115 /// Tape partition information could not be found when loading a tape.
1116 /// </summary>
1117 public const int ERROR_DEVICE_NOT_PARTITIONED = 1107;
1118 /// <summary>
1119 /// Unable to lock the media eject mechanism.
1120 /// </summary>
1121 public const int ERROR_UNABLE_TO_LOCK_MEDIA = 1108;
1122 /// <summary>
1123 /// Unable to unload the media.
1124 /// </summary>
1125 public const int ERROR_UNABLE_TO_UNLOAD_MEDIA = 1109;
1126 /// <summary>
1127 /// The media in the drive may have changed.
1128 /// </summary>
1129 public const int ERROR_MEDIA_CHANGED = 1110;
1130 /// <summary>
1131 /// The I/O bus was reset.
1132 /// </summary>
1133 public const int ERROR_BUS_RESET = 1111;
1134 /// <summary>
1135 /// No media in drive.
1136 /// </summary>
1137 public const int ERROR_NO_MEDIA_IN_DRIVE = 1112;
1138 /// <summary>
1139 /// No mapping for the Unicode character exists in the target multi-byte code page.
1140 /// </summary>
1141 public const int ERROR_NO_UNICODE_TRANSLATION = 1113;
1142 /// <summary>
1143 /// A dynamic link library (DLL) initialization routine failed.
1144 /// </summary>
1145 public const int ERROR_DLL_INIT_FAILED = 1114;
1146 /// <summary>
1147 /// A system shutdown is in progress.
1148 /// </summary>
1149 public const int ERROR_SHUTDOWN_IN_PROGRESS = 1115;
1150 /// <summary>
1151 /// Unable to abort the system shutdown because no shutdown was in progress.
1152 /// </summary>
1153 public const int ERROR_NO_SHUTDOWN_IN_PROGRESS = 1116;
1154 /// <summary>
1155 /// The request could not be performed because of an I/O device error.
1156 /// </summary>
1157 public const int ERROR_IO_DEVICE = 1117;
1158 /// <summary>
1159 /// No serial device was successfully initialized. The serial driver will unload.
1160 /// </summary>
1161 public const int ERROR_SERIAL_NO_DEVICE = 1118;
1162 /// <summary>
1163 /// 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.
1164 /// </summary>
1165 public const int ERROR_IRQ_BUSY = 1119;
1166 /// <summary>
1167 /// A serial I/O operation was completed by another write to the serial port.
1168 /// (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
1169 /// </summary>
1170 public const int ERROR_MORE_WRITES = 1120;
1171 /// <summary>
1172 /// A serial I/O operation completed because the timeout period expired.
1173 /// (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
1174 /// </summary>
1175 public const int ERROR_COUNTER_TIMEOUT = 1121;
1176 /// <summary>
1177 /// No ID address mark was found on the floppy disk.
1178 /// </summary>
1179 public const int ERROR_FLOPPY_ID_MARK_NOT_FOUND = 1122;
1180 /// <summary>
1181 /// Mismatch between the floppy disk sector ID field and the floppy disk controller track address.
1182 /// </summary>
1183 public const int ERROR_FLOPPY_WRONG_CYLINDER = 1123;
1184 /// <summary>
1185 /// The floppy disk controller reported an error that is not recognized by the floppy disk driver.
1186 /// </summary>
1187 public const int ERROR_FLOPPY_UNKNOWN_ERROR = 1124;
1188 /// <summary>
1189 /// The floppy disk controller returned inconsistent results in its registers.
1190 /// </summary>
1191 public const int ERROR_FLOPPY_BAD_REGISTERS = 1125;
1192 /// <summary>
1193 /// While accessing the hard disk, a recalibrate operation failed, even after retries.
1194 /// </summary>
1195 public const int ERROR_DISK_RECALIBRATE_FAILED = 1126;
1196 /// <summary>
1197 /// While accessing the hard disk, a disk operation failed even after retries.
1198 /// </summary>
1199 public const int ERROR_DISK_OPERATION_FAILED = 1127;
1200 /// <summary>
1201 /// While accessing the hard disk, a disk controller reset was needed, but even that failed.
1202 /// </summary>
1203 public const int ERROR_DISK_RESET_FAILED = 1128;
1204 /// <summary>
1205 /// Physical end of tape encountered.
1206 /// </summary>
1207 public const int ERROR_EOM_OVERFLOW = 1129;
1208 /// <summary>
1209 /// Not enough server storage is available to process this command.
1210 /// </summary>
1211 public const int ERROR_NOT_ENOUGH_SERVER_MEMORY = 1130;
1212 /// <summary>
1213 /// A potential deadlock condition has been detected.
1214 /// </summary>
1215 public const int ERROR_POSSIBLE_DEADLOCK = 1131;
1216 /// <summary>
1217 /// The base address or the file offset specified does not have the proper alignment.
1218 /// </summary>
1219 public const int ERROR_MAPPED_ALIGNMENT = 1132;
1220 /// <summary>
1221 /// An attempt to change the system power state was vetoed by another application or driver.
1222 /// </summary>
1223 public const int ERROR_SET_POWER_STATE_VETOED = 1140;
1224 /// <summary>
1225 /// The system BIOS failed an attempt to change the system power state.
1226 /// </summary>
1227 public const int ERROR_SET_POWER_STATE_FAILED = 1141;
1228 /// <summary>
1229 /// An attempt was made to create more links on a file than the file system supports.
1230 /// </summary>
1231 public const int ERROR_TOO_MANY_LINKS = 1142;
1232 /// <summary>
1233 /// The specified program requires a newer version of Windows.
1234 /// </summary>
1235 public const int ERROR_OLD_WIN_VERSION = 1150;
1236 /// <summary>
1237 /// The specified program is not a Windows or MS-DOS program.
1238 /// </summary>
1239 public const int ERROR_APP_WRONG_OS = 1151;
1240 /// <summary>
1241 /// Cannot start more than one instance of the specified program.
1242 /// </summary>
1243 public const int ERROR_SINGLE_INSTANCE_APP = 1152;
1244 /// <summary>
1245 /// The specified program was written for an earlier version of Windows.
1246 /// </summary>
1247 public const int ERROR_RMODE_APP = 1153;
1248 /// <summary>
1249 /// One of the library files needed to run this application is damaged.
1250 /// </summary>
1251 public const int ERROR_INVALID_DLL = 1154;
1252 /// <summary>
1253 /// No application is associated with the specified file for this operation.
1254 /// </summary>
1255 public const int ERROR_NO_ASSOCIATION = 1155;
1256 /// <summary>
1257 /// An error occurred in sending the command to the application.
1258 /// </summary>
1259 public const int ERROR_DDE_FAIL = 1156;
1260 /// <summary>
1261 /// One of the library files needed to run this application cannot be found.
1262 /// </summary>
1263 public const int ERROR_DLL_NOT_FOUND = 1157;
1264 /// <summary>
1265 /// The current process has used all of its system allowance of handles for Window Manager objects.
1266 /// </summary>
1267 public const int ERROR_NO_MORE_USER_HANDLES = 1158;
1268 /// <summary>
1269 /// The message can be used only with synchronous operations.
1270 /// </summary>
1271 public const int ERROR_MESSAGE_SYNC_ONLY = 1159;
1272 /// <summary>
1273 /// The indicated source element has no media.
1274 /// </summary>
1275 public const int ERROR_SOURCE_ELEMENT_EMPTY = 1160;
1276 /// <summary>
1277 /// The indicated destination element already contains media.
1278 /// </summary>
1279 public const int ERROR_DESTINATION_ELEMENT_FULL = 1161;
1280 /// <summary>
1281 /// The indicated element does not exist.
1282 /// </summary>
1283 public const int ERROR_ILLEGAL_ELEMENT_ADDRESS = 1162;
1284 /// <summary>
1285 /// The indicated element is part of a magazine that is not present.
1286 /// </summary>
1287 public const int ERROR_MAGAZINE_NOT_PRESENT = 1163;
1288 /// <summary>
1289 /// The indicated device requires reinitialization due to hardware errors.
1290 /// </summary>
1291 public const int ERROR_DEVICE_REINITIALIZATION_NEEDED = 1164;
1292 /// <summary>
1293 /// The device has indicated that cleaning is required before further operations are attempted.
1294 /// </summary>
1295 public const int ERROR_DEVICE_REQUIRES_CLEANING = 1165;
1296 /// <summary>
1297 /// The device has indicated that its door is open.
1298 /// </summary>
1299 public const int ERROR_DEVICE_DOOR_OPEN = 1166;
1300 /// <summary>
1301 /// The device is not connected.
1302 /// </summary>
1303 public const int ERROR_DEVICE_NOT_CONNECTED = 1167;
1304 /// <summary>
1305 /// Element not found.
1306 /// </summary>
1307 public const int ERROR_NOT_FOUND = 1168;
1308 /// <summary>
1309 /// There was no match for the specified key in the index.
1310 /// </summary>
1311 public const int ERROR_NO_MATCH = 1169;
1312 /// <summary>
1313 /// The property set specified does not exist on the object.
1314 /// </summary>
1315 public const int ERROR_SET_NOT_FOUND = 1170;
1316 /// <summary>
1317 /// The point passed to GetMouseMovePoints is not in the buffer.
1318 /// </summary>
1319 public const int ERROR_POINT_NOT_FOUND = 1171;
1320 /// <summary>
1321 /// The tracking (workstation) service is not running.
1322 /// </summary>
1323 public const int ERROR_NO_TRACKING_SERVICE = 1172;
1324 /// <summary>
1325 /// The Volume ID could not be found.
1326 /// </summary>
1327 public const int ERROR_NO_VOLUME_ID = 1173;
1328 /// <summary>
1329 /// Unable to remove the file to be replaced.
1330 /// </summary>
1331 public const int ERROR_UNABLE_TO_REMOVE_REPLACED = 1175;
1332 /// <summary>
1333 /// Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name.
1334 /// </summary>
1335 public const int ERROR_UNABLE_TO_MOVE_REPLACEMENT = 1176;
1336 /// <summary>
1337 /// Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name.
1338 /// </summary>
1339 public const int ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 = 1177;
1340 /// <summary>
1341 /// The volume change journal is being deleted.
1342 /// </summary>
1343 public const int ERROR_JOURNAL_DELETE_IN_PROGRESS = 1178;
1344 /// <summary>
1345 /// The volume change journal is not active.
1346 /// </summary>
1347 public const int ERROR_JOURNAL_NOT_ACTIVE = 1179;
1348 /// <summary>
1349 /// A file was found, but it may not be the correct file.
1350 /// </summary>
1351 public const int ERROR_POTENTIAL_FILE_FOUND = 1180;
1352 /// <summary>
1353 /// The journal entry has been deleted from the journal.
1354 /// </summary>
1355 public const int ERROR_JOURNAL_ENTRY_DELETED = 1181;
1356 /// <summary>
1357 /// The specified device name is invalid.
1358 /// </summary>
1359 public const int ERROR_BAD_DEVICE = 1200;
1360 /// <summary>
1361 /// The device is not currently connected but it is a remembered connection.
1362 /// </summary>
1363 public const int ERROR_CONNECTION_UNAVAIL = 1201;
1364 /// <summary>
1365 /// The local device name has a remembered connection to another network resource.
1366 /// </summary>
1367 public const int ERROR_DEVICE_ALREADY_REMEMBERED = 1202;
1368 /// <summary>
1369 /// No network provider accepted the given network path.
1370 /// </summary>
1371 public const int ERROR_NO_NET_OR_BAD_PATH = 1203;
1372 /// <summary>
1373 /// The specified network provider name is invalid.
1374 /// </summary>
1375 public const int ERROR_BAD_PROVIDER = 1204;
1376 /// <summary>
1377 /// Unable to open the network connection profile.
1378 /// </summary>
1379 public const int ERROR_CANNOT_OPEN_PROFILE = 1205;
1380 /// <summary>
1381 /// The network connection profile is corrupted.
1382 /// </summary>
1383 public const int ERROR_BAD_PROFILE = 1206;
1384 /// <summary>
1385 /// Cannot enumerate a noncontainer.
1386 /// </summary>
1387 public const int ERROR_NOT_CONTAINER = 1207;
1388 /// <summary>
1389 /// An extended error has occurred.
1390 /// </summary>
1391 public const int ERROR_EXTENDED_ERROR = 1208;
1392 /// <summary>
1393 /// The format of the specified group name is invalid.
1394 /// </summary>
1395 public const int ERROR_INVALID_GROUPNAME = 1209;
1396 /// <summary>
1397 /// The format of the specified computer name is invalid.
1398 /// </summary>
1399 public const int ERROR_INVALID_COMPUTERNAME = 1210;
1400 /// <summary>
1401 /// The format of the specified event name is invalid.
1402 /// </summary>
1403 public const int ERROR_INVALID_EVENTNAME = 1211;
1404 /// <summary>
1405 /// The format of the specified domain name is invalid.
1406 /// </summary>
1407 public const int ERROR_INVALID_DOMAINNAME = 1212;
1408 /// <summary>
1409 /// The format of the specified service name is invalid.
1410 /// </summary>
1411 public const int ERROR_INVALID_SERVICENAME = 1213;
1412 /// <summary>
1413 /// The format of the specified network name is invalid.
1414 /// </summary>
1415 public const int ERROR_INVALID_NETNAME = 1214;
1416 /// <summary>
1417 /// The format of the specified share name is invalid.
1418 /// </summary>
1419 public const int ERROR_INVALID_SHARENAME = 1215;
1420 /// <summary>
1421 /// The format of the specified password is invalid.
1422 /// </summary>
1423 public const int ERROR_INVALID_PASSUInt16NAME = 1216;
1424 /// <summary>
1425 /// The format of the specified message name is invalid.
1426 /// </summary>
1427 public const int ERROR_INVALID_MESSAGENAME = 1217;
1428 /// <summary>
1429 /// The format of the specified message destination is invalid.
1430 /// </summary>
1431 public const int ERROR_INVALID_MESSAGEDEST = 1218;
1432 /// <summary>
1433 /// 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..
1434 /// </summary>
1435 public const int ERROR_SESSION_CREDENTIAL_CONFLICT = 1219;
1436 /// <summary>
1437 /// An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.
1438 /// </summary>
1439 public const int ERROR_REMOTE_SESSION_LIMIT_EXCEEDED = 1220;
1440 /// <summary>
1441 /// The workgroup or domain name is already in use by another computer on the network.
1442 /// </summary>
1443 public const int ERROR_DUP_DOMAINNAME = 1221;
1444 /// <summary>
1445 /// The network is not present or not started.
1446 /// </summary>
1447 public const int ERROR_NO_NETWORK = 1222;
1448 /// <summary>
1449 /// The operation was canceled by the user.
1450 /// </summary>
1451 public const int ERROR_CANCELLED = 1223;
1452 /// <summary>
1453 /// The requested operation cannot be performed on a file with a user-mapped section open.
1454 /// </summary>
1455 public const int ERROR_USER_MAPPED_FILE = 1224;
1456 /// <summary>
1457 /// The remote system refused the network connection.
1458 /// </summary>
1459 public const int ERROR_CONNECTION_REFUSED = 1225;
1460 /// <summary>
1461 /// The network connection was gracefully closed.
1462 /// </summary>
1463 public const int ERROR_GRACEFUL_DISCONNECT = 1226;
1464 /// <summary>
1465 /// The network transport endpoint already has an address associated with it.
1466 /// </summary>
1467 public const int ERROR_ADDRESS_ALREADY_ASSOCIATED = 1227;
1468 /// <summary>
1469 /// An address has not yet been associated with the network endpoint.
1470 /// </summary>
1471 public const int ERROR_ADDRESS_NOT_ASSOCIATED = 1228;
1472 /// <summary>
1473 /// An operation was attempted on a nonexistent network connection.
1474 /// </summary>
1475 public const int ERROR_CONNECTION_INVALID = 1229;
1476 /// <summary>
1477 /// An invalid operation was attempted on an active network connection.
1478 /// </summary>
1479 public const int ERROR_CONNECTION_ACTIVE = 1230;
1480 /// <summary>
1481 /// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
1482 /// </summary>
1483 public const int ERROR_NETWORK_UNREACHABLE = 1231;
1484 /// <summary>
1485 /// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
1486 /// </summary>
1487 public const int ERROR_HOST_UNREACHABLE = 1232;
1488 /// <summary>
1489 /// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
1490 /// </summary>
1491 public const int ERROR_PROTOCOL_UNREACHABLE = 1233;
1492 /// <summary>
1493 /// No service is operating at the destination network endpoint on the remote system.
1494 /// </summary>
1495 public const int ERROR_PORT_UNREACHABLE = 1234;
1496 /// <summary>
1497 /// The request was aborted.
1498 /// </summary>
1499 public const int ERROR_REQUEST_ABORTED = 1235;
1500 /// <summary>
1501 /// The network connection was aborted by the local system.
1502 /// </summary>
1503 public const int ERROR_CONNECTION_ABORTED = 1236;
1504 /// <summary>
1505 /// The operation could not be completed. A retry should be performed.
1506 /// </summary>
1507 public const int ERROR_RETRY = 1237;
1508 /// <summary>
1509 /// A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.
1510 /// </summary>
1511 public const int ERROR_CONNECTION_COUNT_LIMIT = 1238;
1512 /// <summary>
1513 /// Attempting to log in during an unauthorized time of day for this account.
1514 /// </summary>
1515 public const int ERROR_LOGIN_TIME_RESTRICTION = 1239;
1516 /// <summary>
1517 /// The account is not authorized to log in from this station.
1518 /// </summary>
1519 public const int ERROR_LOGIN_WKSTA_RESTRICTION = 1240;
1520 /// <summary>
1521 /// The network address could not be used for the operation requested.
1522 /// </summary>
1523 public const int ERROR_INCORRECT_ADDRESS = 1241;
1524 /// <summary>
1525 /// The service is already registered.
1526 /// </summary>
1527 public const int ERROR_ALREADY_REGISTERED = 1242;
1528 /// <summary>
1529 /// The specified service does not exist.
1530 /// </summary>
1531 public const int ERROR_SERVICE_NOT_FOUND = 1243;
1532 /// <summary>
1533 /// The operation being requested was not performed because the user has not been authenticated.
1534 /// </summary>
1535 public const int ERROR_NOT_AUTHENTICATED = 1244;
1536 /// <summary>
1537 /// The operation being requested was not performed because the user has not logged on to the network.
1538 /// The specified service does not exist.
1539 /// </summary>
1540 public const int ERROR_NOT_LOGGED_ON = 1245;
1541 /// <summary>
1542 /// Continue with work in progress.
1543 /// </summary>
1544 public const int ERROR_CONTINUE = 1246;
1545 /// <summary>
1546 /// An attempt was made to perform an initialization operation when initialization has already been completed.
1547 /// </summary>
1548 public const int ERROR_ALREADY_INITIALIZED = 1247;
1549 /// <summary>
1550 /// No more local devices.
1551 /// </summary>
1552 public const int ERROR_NO_MORE_DEVICES = 1248;
1553 /// <summary>
1554 /// The specified site does not exist.
1555 /// </summary>
1556 public const int ERROR_NO_SUCH_SITE = 1249;
1557 /// <summary>
1558 /// A domain controller with the specified name already exists.
1559 /// </summary>
1560 public const int ERROR_DOMAIN_CONTROLLER_EXISTS = 1250;
1561 /// <summary>
1562 /// This operation is supported only when you are connected to the server.
1563 /// </summary>
1564 public const int ERROR_ONLY_IF_CONNECTED = 1251;
1565 /// <summary>
1566 /// The group policy framework should call the extension even if there are no changes.
1567 /// </summary>
1568 public const int ERROR_OVERRIDE_NOCHANGES = 1252;
1569 /// <summary>
1570 /// The specified user does not have a valid profile.
1571 /// </summary>
1572 public const int ERROR_BAD_USER_PROFILE = 1253;
1573 /// <summary>
1574 /// This operation is not supported on a Microsoft Small Business Server
1575 /// </summary>
1576 public const int ERROR_NOT_SUPPORTED_ON_SBS = 1254;
1577 /// <summary>
1578 /// The server machine is shutting down.
1579 /// </summary>
1580 public const int ERROR_SERVER_SHUTDOWN_IN_PROGRESS = 1255;
1581 /// <summary>
1582 /// The remote system is not available. For information about network troubleshooting, see Windows Help.
1583 /// </summary>
1584 public const int ERROR_HOST_DOWN = 1256;
1585 /// <summary>
1586 /// The security identifier provided is not from an account domain.
1587 /// </summary>
1588 public const int ERROR_NON_ACCOUNT_SID = 1257;
1589 /// <summary>
1590 /// The security identifier provided does not have a domain component.
1591 /// </summary>
1592 public const int ERROR_NON_DOMAIN_SID = 1258;
1593 /// <summary>
1594 /// AppHelp dialog canceled thus preventing the application from starting.
1595 /// </summary>
1596 public const int ERROR_APPHELP_BLOCK = 1259;
1597 /// <summary>
1598 /// Windows cannot open this program because it has been prevented by a software restriction policy. For more information, open Event Viewer or contact your system administrator.
1599 /// </summary>
1600 public const int ERROR_ACCESS_DISABLED_BY_POLICY = 1260;
1601 /// <summary>
1602 /// A program attempt to use an invalid register value. Normally caused by an uninitialized register. This error is Itanium specific.
1603 /// </summary>
1604 public const int ERROR_REG_NAT_CONSUMPTION = 1261;
1605 /// <summary>
1606 /// The share is currently offline or does not exist.
1607 /// </summary>
1608 public const int ERROR_CSCSHARE_OFFLINE = 1262;
1609 /// <summary>
1610 /// The kerberos protocol encountered an error while validating the
1611 /// KDC certificate during smartcard logon.
1612 /// </summary>
1613 public const int ERROR_PKINIT_FAILURE = 1263;
1614 /// <summary>
1615 /// The kerberos protocol encountered an error while attempting to utilize
1616 /// the smartcard subsystem.
1617 /// </summary>
1618 public const int ERROR_SMARTCARD_SUBSYSTEM_FAILURE = 1264;
1619 /// <summary>
1620 /// The system detected a possible attempt to compromise security. Please ensure that you can contact the server that authenticated you.
1621 /// </summary>
1622 public const int ERROR_DOWNGRADE_DETECTED = 1265;
1623 /// <summary>
1624 /// The machine is locked and can not be shut down without the force option.
1625 /// </summary>
1626 public const int ERROR_MACHINE_LOCKED = 1271;
1627 /// <summary>
1628 /// An application-defined callback gave invalid data when called.
1629 /// </summary>
1630 public const int ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 1273;
1631 /// <summary>
1632 /// The group policy framework should call the extension in the synchronous foreground policy refresh.
1633 /// </summary>
1634 public const int ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED = 1274;
1635 /// <summary>
1636 /// This driver has been blocked from loading
1637 /// </summary>
1638 public const int ERROR_DRIVER_BLOCKED = 1275;
1639 /// <summary>
1640 /// A dynamic link library (DLL) referenced a module that was neither a DLL nor the process's executable image.
1641 /// </summary>
1642 public const int ERROR_INVALID_IMPORT_OF_NON_DLL = 1276;
1643 /// <summary>
1644 /// No information avialable.
1645 /// </summary>
1646 public const int ERROR_ACCESS_DISABLED_WEBBLADE = 1277;
1647 /// <summary>
1648 /// No information avialable.
1649 /// </summary>
1650 public const int ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER = 1278;
1651 /// <summary>
1652 /// No information avialable.
1653 /// </summary>
1654 public const int ERROR_RECOVERY_FAILURE = 1279;
1655 /// <summary>
1656 /// No information avialable.
1657 /// </summary>
1658 public const int ERROR_ALREADY_FIBER = 1280;
1659 /// <summary>
1660 /// No information avialable.
1661 /// </summary>
1662 public const int ERROR_ALREADY_THREAD = 1281;
1663 /// <summary>
1664 /// No information avialable.
1665 /// </summary>
1666 public const int ERROR_STACK_BUFFER_OVERRUN = 1282;
1667 /// <summary>
1668 /// No information avialable.
1669 /// </summary>
1670 public const int ERROR_PARAMETER_QUOTA_EXCEEDED = 1283;
1671 /// <summary>
1672 /// No information avialable.
1673 /// </summary>
1674 public const int ERROR_DEBUGGER_INACTIVE = 1284;
1675 /// <summary>
1676 /// No information avialable.
1677 /// </summary>
1678 public const int ERROR_DELAY_LOAD_FAILED = 1285;
1679 /// <summary>
1680 /// No information avialable.
1681 /// </summary>
1682 public const int ERROR_VDM_DISALLOWED = 1286;
1683 /// <summary>
1684 /// Not all privileges referenced are assigned to the caller.
1685 /// </summary>
1686 public const int ERROR_NOT_ALL_ASSIGNED = 1300;
1687 /// <summary>
1688 /// Some mapping between account names and security IDs was not done.
1689 /// </summary>
1690 public const int ERROR_SOME_NOT_MAPPED = 1301;
1691 /// <summary>
1692 /// No system quota limits are specifically set for this account.
1693 /// </summary>
1694 public const int ERROR_NO_QUOTAS_FOR_ACCOUNT = 1302;
1695 /// <summary>
1696 /// No encryption key is available. A well-known encryption key was returned.
1697 /// </summary>
1698 public const int ERROR_LOCAL_USER_SESSION_KEY = 1303;
1699 /// <summary>
1700 /// The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a NULL string.
1701 /// </summary>
1702 public const int ERROR_NULL_LM_PASSUInt16 = 1304;
1703 /// <summary>
1704 /// The revision level is unknown.
1705 /// </summary>
1706 public const int ERROR_UNKNOWN_REVISION = 1305;
1707 /// <summary>
1708 /// Indicates two revision levels are incompatible.
1709 /// </summary>
1710 public const int ERROR_REVISION_MISMATCH = 1306;
1711 /// <summary>
1712 /// This security ID may not be assigned as the owner of this object.
1713 /// </summary>
1714 public const int ERROR_INVALID_OWNER = 1307;
1715 /// <summary>
1716 /// This security ID may not be assigned as the primary group of an object.
1717 /// </summary>
1718 public const int ERROR_INVALID_PRIMARY_GROUP = 1308;
1719 /// <summary>
1720 /// An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
1721 /// </summary>
1722 public const int ERROR_NO_IMPERSONATION_TOKEN = 1309;
1723 /// <summary>
1724 /// The group may not be disabled.
1725 /// </summary>
1726 public const int ERROR_CANT_DISABLE_MANDATORY = 1310;
1727 /// <summary>
1728 /// There are currently no logon servers available to service the logon request.
1729 /// </summary>
1730 public const int ERROR_NO_LOGON_SERVERS = 1311;
1731 /// <summary>
1732 /// A specified logon session does not exist. It may already have been terminated.
1733 /// </summary>
1734 public const int ERROR_NO_SUCH_LOGON_SESSION = 1312;
1735 /// <summary>
1736 /// A specified privilege does not exist.
1737 /// </summary>
1738 public const int ERROR_NO_SUCH_PRIVILEGE = 1313;
1739 /// <summary>
1740 /// A required privilege is not held by the client.
1741 /// </summary>
1742 public const int ERROR_PRIVILEGE_NOT_HELD = 1314;
1743 /// <summary>
1744 /// The name provided is not a properly formed account name.
1745 /// </summary>
1746 public const int ERROR_INVALID_ACCOUNT_NAME = 1315;
1747 /// <summary>
1748 /// The specified user already exists.
1749 /// </summary>
1750 public const int ERROR_USER_EXISTS = 1316;
1751 /// <summary>
1752 /// The specified user does not exist.
1753 /// </summary>
1754 public const int ERROR_NO_SUCH_USER = 1317;
1755 /// <summary>
1756 /// The specified group already exists.
1757 /// </summary>
1758 public const int ERROR_GROUP_EXISTS = 1318;
1759 /// <summary>
1760 /// The specified group does not exist.
1761 /// </summary>
1762 public const int ERROR_NO_SUCH_GROUP = 1319;
1763 /// <summary>
1764 /// 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.
1765 /// </summary>
1766 public const int ERROR_MEMBER_IN_GROUP = 1320;
1767 /// <summary>
1768 /// The specified user account is not a member of the specified group account.
1769 /// </summary>
1770 public const int ERROR_MEMBER_NOT_IN_GROUP = 1321;
1771 /// <summary>
1772 /// The last remaining administration account cannot be disabled or deleted.
1773 /// </summary>
1774 public const int ERROR_LAST_ADMIN = 1322;
1775 /// <summary>
1776 /// Unable to update the password. The value provided as the current password is incorrect.
1777 /// </summary>
1778 public const int ERROR_WRONG_PASSWORD = 1323;
1779 /// <summary>
1780 /// Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.
1781 /// </summary>
1782 public const int ERROR_ILL_FORMED_PASSWORD = 1324;
1783 /// <summary>
1784 /// Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirement of the domain.
1785 /// </summary>
1786 public const int ERROR_PASSWORD_RESTRICTION = 1325;
1787 /// <summary>
1788 /// Logon failure: unknown user name or bad password.
1789 /// </summary>
1790 public const int ERROR_LOGON_FAILURE = 1326;
1791 /// <summary>
1792 /// Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.
1793 /// </summary>
1794 public const int ERROR_ACCOUNT_RESTRICTION = 1327;
1795 /// <summary>
1796 /// Logon failure: account logon time restriction violation.
1797 /// </summary>
1798 public const int ERROR_INVALID_LOGON_HOURS = 1328;
1799 /// <summary>
1800 /// Logon failure: user not allowed to log on to this computer.
1801 /// </summary>
1802 public const int ERROR_INVALID_WORKSTATION = 1329;
1803 /// <summary>
1804 /// Logon failure: the specified account password has expired.
1805 /// </summary>
1806 public const int ERROR_PASSUInt16_EXPIRED = 1330;
1807 /// <summary>
1808 /// Logon failure: account currently disabled.
1809 /// </summary>
1810 public const int ERROR_ACCOUNT_DISABLED = 1331;
1811 /// <summary>
1812 /// No mapping between account names and security IDs was done.
1813 /// </summary>
1814 public const int ERROR_NONE_MAPPED = 1332;
1815 /// <summary>
1816 /// Too many local user identifiers (LUIDs) were requested at one time.
1817 /// </summary>
1818 public const int ERROR_TOO_MANY_LUIDS_REQUESTED = 1333;
1819 /// <summary>
1820 /// No more local user identifiers (LUIDs) are available.
1821 /// </summary>
1822 public const int ERROR_LUIDS_EXHAUSTED = 1334;
1823 /// <summary>
1824 /// The subauthority part of a security ID is invalid for this particular use.
1825 /// </summary>
1826 public const int ERROR_INVALID_SUB_AUTHORITY = 1335;
1827 /// <summary>
1828 /// The access control list (ACL) structure is invalid.
1829 /// </summary>
1830 public const int ERROR_INVALID_ACL = 1336;
1831 /// <summary>
1832 /// The security ID structure is invalid.
1833 /// </summary>
1834 public const int ERROR_INVALID_SID = 1337;
1835 /// <summary>
1836 /// The security descriptor structure is invalid.
1837 /// </summary>
1838 public const int ERROR_INVALID_SECURITY_DESCR = 1338;
1839 /// <summary>
1840 /// The inherited access control list (ACL) or access control entry (ACE) could not be built.
1841 /// </summary>
1842 public const int ERROR_BAD_INHERITANCE_ACL = 1340;
1843 /// <summary>
1844 /// The server is currently disabled.
1845 /// </summary>
1846 public const int ERROR_SERVER_DISABLED = 1341;
1847 /// <summary>
1848 /// The server is currently enabled.
1849 /// </summary>
1850 public const int ERROR_SERVER_NOT_DISABLED = 1342;
1851 /// <summary>
1852 /// The value provided was an invalid value for an identifier authority.
1853 /// </summary>
1854 public const int ERROR_INVALID_ID_AUTHORITY = 1343;
1855 /// <summary>
1856 /// No more memory is available for security information updates.
1857 /// </summary>
1858 public const int ERROR_ALLOTTED_SPACE_EXCEEDED = 1344;
1859 /// <summary>
1860 /// The specified attributes are invalid, or incompatible with the attributes for the group as a whole.
1861 /// </summary>
1862 public const int ERROR_INVALID_GROUP_ATTRIBUTES = 1345;
1863 /// <summary>
1864 /// Either a required impersonation level was not provided, or the provided impersonation level is invalid.
1865 /// </summary>
1866 public const int ERROR_BAD_IMPERSONATION_LEVEL = 1346;
1867 /// <summary>
1868 /// Cannot open an anonymous level security token.
1869 /// </summary>
1870 public const int ERROR_CANT_OPEN_ANONYMOUS = 1347;
1871 /// <summary>
1872 /// The validation information class requested was invalid.
1873 /// </summary>
1874 public const int ERROR_BAD_VALIDATION_CLASS = 1348;
1875 /// <summary>
1876 /// The type of the token is inappropriate for its attempted use.
1877 /// </summary>
1878 public const int ERROR_BAD_TOKEN_TYPE = 1349;
1879 /// <summary>
1880 /// Unable to perform a security operation on an object that has no associated security.
1881 /// </summary>
1882 public const int ERROR_NO_SECURITY_ON_OBJECT = 1350;
1883 /// <summary>
1884 /// Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.
1885 /// </summary>
1886 public const int ERROR_CANT_ACCESS_DOMAIN_INFO = 1351;
1887 /// <summary>
1888 /// The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation.
1889 /// </summary>
1890 public const int ERROR_INVALID_SERVER_STATE = 1352;
1891 /// <summary>
1892 /// The domain was in the wrong state to perform the security operation.
1893 /// </summary>
1894 public const int ERROR_INVALID_DOMAIN_STATE = 1353;
1895 /// <summary>
1896 /// This operation is only allowed for the Primary Domain Controller of the domain.
1897 /// </summary>
1898 public const int ERROR_INVALID_DOMAIN_ROLE = 1354;
1899 /// <summary>
1900 /// The specified domain either does not exist or could not be contacted.
1901 /// </summary>
1902 public const int ERROR_NO_SUCH_DOMAIN = 1355;
1903 /// <summary>
1904 /// The specified domain already exists.
1905 /// </summary>
1906 public const int ERROR_DOMAIN_EXISTS = 1356;
1907 /// <summary>
1908 /// An attempt was made to exceed the limit on the number of domains per server.
1909 /// </summary>
1910 public const int ERROR_DOMAIN_LIMIT_EXCEEDED = 1357;
1911 /// <summary>
1912 /// Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.
1913 /// </summary>
1914 public const int ERROR_INTERNAL_DB_CORRUPTION = 1358;
1915 /// <summary>
1916 /// An internal error occurred.
1917 /// </summary>
1918 public const int ERROR_INTERNAL_ERROR = 1359;
1919 /// <summary>
1920 /// Generic access types were contained in an access mask which should already be mapped to nongeneric types.
1921 /// </summary>
1922 public const int ERROR_GENERIC_NOT_MAPPED = 1360;
1923 /// <summary>
1924 /// A security descriptor is not in the right format (absolute or self-relative).
1925 /// </summary>
1926 public const int ERROR_BAD_DESCRIPTOR_FORMAT = 1361;
1927 /// <summary>
1928 /// The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.
1929 /// </summary>
1930 public const int ERROR_NOT_LOGON_PROCESS = 1362;
1931 /// <summary>
1932 /// Cannot start a new logon session with an ID that is already in use.
1933 /// </summary>
1934 public const int ERROR_LOGON_SESSION_EXISTS = 1363;
1935 /// <summary>
1936 /// A specified authentication package is unknown.
1937 /// </summary>
1938 public const int ERROR_NO_SUCH_PACKAGE = 1364;
1939 /// <summary>
1940 /// The logon session is not in a state that is consistent with the requested operation.
1941 /// </summary>
1942 public const int ERROR_BAD_LOGON_SESSION_STATE = 1365;
1943 /// <summary>
1944 /// The logon session ID is already in use.
1945 /// </summary>
1946 public const int ERROR_LOGON_SESSION_COLLISION = 1366;
1947 /// <summary>
1948 /// A logon request contained an invalid logon type value.
1949 /// </summary>
1950 public const int ERROR_INVALID_LOGON_TYPE = 1367;
1951 /// <summary>
1952 /// Unable to impersonate using a named pipe until data has been read from that pipe.
1953 /// </summary>
1954 public const int ERROR_CANNOT_IMPERSONATE = 1368;
1955 /// <summary>
1956 /// The transaction state of a registry subtree is incompatible with the requested operation.
1957 /// </summary>
1958 public const int ERROR_RXACT_INVALID_STATE = 1369;
1959 /// <summary>
1960 /// An internal security database corruption has been encountered.
1961 /// </summary>
1962 public const int ERROR_RXACT_COMMIT_FAILURE = 1370;
1963 /// <summary>
1964 /// Cannot perform this operation on built-in accounts.
1965 /// </summary>
1966 public const int ERROR_SPECIAL_ACCOUNT = 1371;
1967 /// <summary>
1968 /// Cannot perform this operation on this built-in special group.
1969 /// </summary>
1970 public const int ERROR_SPECIAL_GROUP = 1372;
1971 /// <summary>
1972 /// Cannot perform this operation on this built-in special user.
1973 /// </summary>
1974 public const int ERROR_SPECIAL_USER = 1373;
1975 /// <summary>
1976 /// The user cannot be removed from a group because the group is currently the user's primary group.
1977 /// </summary>
1978 public const int ERROR_MEMBERS_PRIMARY_GROUP = 1374;
1979 /// <summary>
1980 /// The token is already in use as a primary token.
1981 /// </summary>
1982 public const int ERROR_TOKEN_ALREADY_IN_USE = 1375;
1983 /// <summary>
1984 /// The specified local group does not exist.
1985 /// </summary>
1986 public const int ERROR_NO_SUCH_ALIAS = 1376;
1987 /// <summary>
1988 /// The specified account name is not a member of the local group.
1989 /// </summary>
1990 public const int ERROR_MEMBER_NOT_IN_ALIAS = 1377;
1991 /// <summary>
1992 /// The specified account name is already a member of the local group.
1993 /// </summary>
1994 public const int ERROR_MEMBER_IN_ALIAS = 1378;
1995 /// <summary>
1996 /// The specified local group already exists.
1997 /// </summary>
1998 public const int ERROR_ALIAS_EXISTS = 1379;
1999 /// <summary>
2000 /// Logon failure: the user has not been granted the requested logon type at this computer.
2001 /// </summary>
2002 public const int ERROR_LOGON_NOT_GRANTED = 1380;
2003 /// <summary>
2004 /// The maximum number of secrets that may be stored in a single system has been exceeded.
2005 /// </summary>
2006 public const int ERROR_TOO_MANY_SECRETS = 1381;
2007 /// <summary>
2008 /// The length of a secret exceeds the maximum length allowed.
2009 /// </summary>
2010 public const int ERROR_SECRET_TOO_Int32 = 1382;
2011 /// <summary>
2012 /// The local security authority database contains an internal inconsistency.
2013 /// </summary>
2014 public const int ERROR_INTERNAL_DB_ERROR = 1383;
2015 /// <summary>
2016 /// During a logon attempt, the user's security context accumulated too many security IDs.
2017 /// </summary>
2018 public const int ERROR_TOO_MANY_CONTEXT_IDS = 1384;
2019 /// <summary>
2020 /// Logon failure: the user has not been granted the requested logon type at this computer.
2021 /// </summary>
2022 public const int ERROR_LOGON_TYPE_NOT_GRANTED = 1385;
2023 /// <summary>
2024 /// A cross-encrypted password is necessary to change a user password.
2025 /// </summary>
2026 public const int ERROR_NT_CROSS_ENCRYPTION_REQUIRED = 1386;
2027 /// <summary>
2028 /// A member could not be added to or removed from the local group because the member does not exist.
2029 /// </summary>
2030 public const int ERROR_NO_SUCH_MEMBER = 1387;
2031 /// <summary>
2032 /// A new member could not be added to a local group because the member has the wrong account type.
2033 /// </summary>
2034 public const int ERROR_INVALID_MEMBER = 1388;
2035 /// <summary>
2036 /// Too many security IDs have been specified.
2037 /// </summary>
2038 public const int ERROR_TOO_MANY_SIDS = 1389;
2039 /// <summary>
2040 /// A cross-encrypted password is necessary to change this user password.
2041 /// </summary>
2042 public const int ERROR_LM_CROSS_ENCRYPTION_REQUIRED = 1390;
2043 /// <summary>
2044 /// Indicates an ACL contains no inheritable components.
2045 /// </summary>
2046 public const int ERROR_NO_INHERITANCE = 1391;
2047 /// <summary>
2048 /// The file or directory is corrupted and unreadable.
2049 /// </summary>
2050 public const int ERROR_FILE_CORRUPT = 1392;
2051 /// <summary>
2052 /// The disk structure is corrupted and unreadable.
2053 /// </summary>
2054 public const int ERROR_DISK_CORRUPT = 1393;
2055 /// <summary>
2056 /// There is no user session key for the specified logon session.
2057 /// </summary>
2058 public const int ERROR_NO_USER_SESSION_KEY = 1394;
2059 /// <summary>
2060 /// The service being accessed is licensed for a particular number of connections.
2061 /// No more connections can be made to the service at this time because there are already as many connections as the service can accept.
2062 /// </summary>
2063 public const int ERROR_LICENSE_QUOTA_EXCEEDED = 1395;
2064 /// <summary>
2065 /// Logon Failure: The target account name is incorrect.
2066 /// </summary>
2067 public const int ERROR_WRONG_TARGET_NAME = 1396;
2068 /// <summary>
2069 /// Mutual Authentication failed. The server's password is out of date at the domain controller.
2070 /// </summary>
2071 public const int ERROR_MUTUAL_AUTH_FAILED = 1397;
2072 /// <summary>
2073 /// There is a time and/or date difference between the client and server.
2074 /// </summary>
2075 public const int ERROR_TIME_SKEW = 1398;
2076 /// <summary>
2077 /// This operation can not be performed on the current domain.
2078 /// </summary>
2079 public const int ERROR_CURRENT_DOMAIN_NOT_ALLOWED = 1399;
2080 /// <summary>
2081 /// Invalid window handle.
2082 /// </summary>
2083 public const int ERROR_INVALID_WINDOW_HANDLE = 1400;
2084 /// <summary>
2085 /// Invalid menu handle.
2086 /// </summary>
2087 public const int ERROR_INVALID_MENU_HANDLE = 1401;
2088 /// <summary>
2089 /// Invalid cursor handle.
2090 /// </summary>
2091 public const int ERROR_INVALID_CURSOR_HANDLE = 1402;
2092 /// <summary>
2093 /// Invalid accelerator table handle.
2094 /// </summary>
2095 public const int ERROR_INVALID_ACCEL_HANDLE = 1403;
2096 /// <summary>
2097 /// Invalid hook handle.
2098 /// </summary>
2099 public const int ERROR_INVALID_HOOK_HANDLE = 1404;
2100 /// <summary>
2101 /// Invalid handle to a multiple-window position structure.
2102 /// </summary>
2103 public const int ERROR_INVALID_DWP_HANDLE = 1405;
2104 /// <summary>
2105 /// Cannot create a top-level child window.
2106 /// </summary>
2107 public const int ERROR_TLW_WITH_WSCHILD = 1406;
2108 /// <summary>
2109 /// Cannot find window class.
2110 /// </summary>
2111 public const int ERROR_CANNOT_FIND_WND_CLASS = 1407;
2112 /// <summary>
2113 /// Invalid window; it belongs to other thread.
2114 /// </summary>
2115 public const int ERROR_WINDOW_OF_OTHER_THREAD = 1408;
2116 /// <summary>
2117 /// Hot key is already registered.
2118 /// </summary>
2119 public const int ERROR_HOTKEY_ALREADY_REGISTERED = 1409;
2120 /// <summary>
2121 /// Class already exists.
2122 /// </summary>
2123 public const int ERROR_CLASS_ALREADY_EXISTS = 1410;
2124 /// <summary>
2125 /// Class does not exist.
2126 /// </summary>
2127 public const int ERROR_CLASS_DOES_NOT_EXIST = 1411;
2128 /// <summary>
2129 /// Class still has open windows.
2130 /// </summary>
2131 public const int ERROR_CLASS_HAS_WINDOWS = 1412;
2132 /// <summary>
2133 /// Invalid index.
2134 /// </summary>
2135 public const int ERROR_INVALID_INDEX = 1413;
2136 /// <summary>
2137 /// Invalid icon handle.
2138 /// </summary>
2139 public const int ERROR_INVALID_ICON_HANDLE = 1414;
2140 /// <summary>
2141 /// Using private DIALOG window words.
2142 /// </summary>
2143 public const int ERROR_PRIVATE_DIALOG_INDEX = 1415;
2144 /// <summary>
2145 /// The list box identifier was not found.
2146 /// </summary>
2147 public const int ERROR_LISTBOX_ID_NOT_FOUND = 1416;
2148 /// <summary>
2149 /// No wildcards were found.
2150 /// </summary>
2151 public const int ERROR_NO_WILDCARD_CHARACTERS = 1417;
2152 /// <summary>
2153 /// Thread does not have a clipboard open.
2154 /// </summary>
2155 public const int ERROR_CLIPBOARD_NOT_OPEN = 1418;
2156 /// <summary>
2157 /// Hot key is not registered.
2158 /// </summary>
2159 public const int ERROR_HOTKEY_NOT_REGISTERED = 1419;
2160 /// <summary>
2161 /// The window is not a valid dialog window.
2162 /// </summary>
2163 public const int ERROR_WINDOW_NOT_DIALOG = 1420;
2164 /// <summary>
2165 /// Control ID not found.
2166 /// </summary>
2167 public const int ERROR_CONTROL_ID_NOT_FOUND = 1421;
2168 /// <summary>
2169 /// Invalid message for a combo box because it does not have an edit control.
2170 /// </summary>
2171 public const int ERROR_INVALID_COMBOBOX_MESSAGE = 1422;
2172 /// <summary>
2173 /// The window is not a combo box.
2174 /// </summary>
2175 public const int ERROR_WINDOW_NOT_COMBOBOX = 1423;
2176 /// <summary>
2177 /// Height must be less than 256.
2178 /// </summary>
2179 public const int ERROR_INVALID_EDIT_HEIGHT = 1424;
2180 /// <summary>
2181 /// Invalid device context (DC) handle.
2182 /// </summary>
2183 public const int ERROR_DC_NOT_FOUND = 1425;
2184 /// <summary>
2185 /// Invalid hook procedure type.
2186 /// </summary>
2187 public const int ERROR_INVALID_HOOK_FILTER = 1426;
2188 /// <summary>
2189 /// Invalid hook procedure.
2190 /// </summary>
2191 public const int ERROR_INVALID_FILTER_PROC = 1427;
2192 /// <summary>
2193 /// Cannot set nonlocal hook without a module handle.
2194 /// </summary>
2195 public const int ERROR_HOOK_NEEDS_HMOD = 1428;
2196 /// <summary>
2197 /// This hook procedure can only be set globally.
2198 /// </summary>
2199 public const int ERROR_GLOBAL_ONLY_HOOK = 1429;
2200 /// <summary>
2201 /// The journal hook procedure is already installed.
2202 /// </summary>
2203 public const int ERROR_JOURNAL_HOOK_SET = 1430;
2204 /// <summary>
2205 /// The hook procedure is not installed.
2206 /// </summary>
2207 public const int ERROR_HOOK_NOT_INSTALLED = 1431;
2208 /// <summary>
2209 /// Invalid message for single-selection list box.
2210 /// </summary>
2211 public const int ERROR_INVALID_LB_MESSAGE = 1432;
2212 /// <summary>
2213 /// LB_SETCOUNT sent to non-lazy list box.
2214 /// </summary>
2215 public const int ERROR_SETCOUNT_ON_BAD_LB = 1433;
2216 /// <summary>
2217 /// This list box does not support tab stops.
2218 /// </summary>
2219 public const int ERROR_LB_WITHOUT_TABSTOPS = 1434;
2220 /// <summary>
2221 /// Cannot destroy object created by another thread.
2222 /// </summary>
2223 public const int ERROR_DESTROY_OBJECT_OF_OTHER_THREAD = 1435;
2224 /// <summary>
2225 /// Child windows cannot have menus.
2226 /// </summary>
2227 public const int ERROR_CHILD_WINDOW_MENU = 1436;
2228 /// <summary>
2229 /// The window does not have a system menu.
2230 /// </summary>
2231 public const int ERROR_NO_SYSTEM_MENU = 1437;
2232 /// <summary>
2233 /// Invalid message box style.
2234 /// </summary>
2235 public const int ERROR_INVALID_MSGBOX_STYLE = 1438;
2236 /// <summary>
2237 /// Invalid system-wide (SPI_*) parameter.
2238 /// </summary>
2239 public const int ERROR_INVALID_SPI_VALUE = 1439;
2240 /// <summary>
2241 /// Screen already locked.
2242 /// </summary>
2243 public const int ERROR_SCREEN_ALREADY_LOCKED = 1440;
2244 /// <summary>
2245 /// All handles to windows in a multiple-window position structure must have the same parent.
2246 /// </summary>
2247 public const int ERROR_HWNDS_HAVE_DIFF_PARENT = 1441;
2248 /// <summary>
2249 /// The window is not a child window.
2250 /// </summary>
2251 public const int ERROR_NOT_CHILD_WINDOW = 1442;
2252 /// <summary>
2253 /// Invalid GW_* command.
2254 /// </summary>
2255 public const int ERROR_INVALID_GW_COMMAND = 1443;
2256 /// <summary>
2257 /// Invalid thread identifier.
2258 /// </summary>
2259 public const int ERROR_INVALID_THREAD_ID = 1444;
2260 /// <summary>
2261 /// Cannot process a message from a window that is not a multiple document interface (MDI) window.
2262 /// </summary>
2263 public const int ERROR_NON_MDICHILD_WINDOW = 1445;
2264 /// <summary>
2265 /// Popup menu already active.
2266 /// </summary>
2267 public const int ERROR_POPUP_ALREADY_ACTIVE = 1446;
2268 /// <summary>
2269 /// The window does not have scroll bars.
2270 /// </summary>
2271 public const int ERROR_NO_SCROLLBARS = 1447;
2272 /// <summary>
2273 /// Scroll bar range cannot be greater than MAXLONG.
2274 /// </summary>
2275 public const int ERROR_INVALID_SCROLLBAR_RANGE = 1448;
2276 /// <summary>
2277 /// Cannot show or remove the window in the way specified.
2278 /// </summary>
2279 public const int ERROR_INVALID_SHOWWIN_COMMAND = 1449;
2280 /// <summary>
2281 /// Insufficient system resources exist to complete the requested service.
2282 /// </summary>
2283 public const int ERROR_NO_SYSTEM_RESOURCES = 1450;
2284 /// <summary>
2285 /// Insufficient system resources exist to complete the requested service.
2286 /// </summary>
2287 public const int ERROR_NONPAGED_SYSTEM_RESOURCES = 1451;
2288 /// <summary>
2289 /// Insufficient system resources exist to complete the requested service.
2290 /// </summary>
2291 public const int ERROR_PAGED_SYSTEM_RESOURCES = 1452;
2292 /// <summary>
2293 /// Insufficient quota to complete the requested service.
2294 /// </summary>
2295 public const int ERROR_WORKING_SET_QUOTA = 1453;
2296 /// <summary>
2297 /// Insufficient quota to complete the requested service.
2298 /// </summary>
2299 public const int ERROR_PAGEFILE_QUOTA = 1454;
2300 /// <summary>
2301 /// The paging file is too small for this operation to complete.
2302 /// </summary>
2303 public const int ERROR_COMMITMENT_LIMIT = 1455;
2304 /// <summary>
2305 /// A menu item was not found.
2306 /// </summary>
2307 public const int ERROR_MENU_ITEM_NOT_FOUND = 1456;
2308 /// <summary>
2309 /// Invalid keyboard layout handle.
2310 /// </summary>
2311 public const int ERROR_INVALID_KEYBOARD_HANDLE = 1457;
2312 /// <summary>
2313 /// Hook type not allowed.
2314 /// </summary>
2315 public const int ERROR_HOOK_TYPE_NOT_ALLOWED = 1458;
2316 /// <summary>
2317 /// This operation requires an interactive window station.
2318 /// </summary>
2319 public const int ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION = 1459;
2320 /// <summary>
2321 /// This operation returned because the timeout period expired.
2322 /// </summary>
2323 public const int ERROR_TIMEOUT = 1460;
2324 /// <summary>
2325 /// Invalid monitor handle.
2326 /// </summary>
2327 public const int ERROR_INVALID_MONITOR_HANDLE = 1461;
2328 /// <summary>
2329 /// The event log file is corrupted.
2330 /// </summary>
2331 public const int ERROR_EVENTLOG_FILE_CORRUPT = 1500;
2332 /// <summary>
2333 /// No event log file could be opened, so the event logging service did not start.
2334 /// </summary>
2335 public const int ERROR_EVENTLOG_CANT_START = 1501;
2336 /// <summary>
2337 /// The event log file is full.
2338 /// </summary>
2339 public const int ERROR_LOG_FILE_FULL = 1502;
2340 /// <summary>
2341 /// The event log file has changed between read operations.
2342 /// </summary>
2343 public const int ERROR_EVENTLOG_FILE_CHANGED = 1503;
2344 /// <summary>
2345 /// The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
2346 /// </summary>
2347 public const int ERROR_INSTALL_SERVICE_FAILURE = 1601;
2348 /// <summary>
2349 /// User cancelled installation.
2350 /// </summary>
2351 public const int ERROR_INSTALL_USEREXIT = 1602;
2352 /// <summary>
2353 /// Fatal error during installation.
2354 /// </summary>
2355 public const int ERROR_INSTALL_FAILURE = 1603;
2356 /// <summary>
2357 /// Installation suspended, incomplete.
2358 /// </summary>
2359 public const int ERROR_INSTALL_SUSPEND = 1604;
2360 /// <summary>
2361 /// This action is only valid for products that are currently installed.
2362 /// </summary>
2363 public const int ERROR_UNKNOWN_PRODUCT = 1605;
2364 /// <summary>
2365 /// Feature ID not registered.
2366 /// </summary>
2367 public const int ERROR_UNKNOWN_FEATURE = 1606;
2368 /// <summary>
2369 /// Component ID not registered.
2370 /// </summary>
2371 public const int ERROR_UNKNOWN_COMPONENT = 1607;
2372 /// <summary>
2373 /// Unknown property.
2374 /// </summary>
2375 public const int ERROR_UNKNOWN_PROPERTY = 1608;
2376 /// <summary>
2377 /// Handle is in an invalid state.
2378 /// </summary>
2379 public const int ERROR_INVALID_HANDLE_STATE = 1609;
2380 /// <summary>
2381 /// The configuration data for this product is corrupt. Contact your support personnel.
2382 /// </summary>
2383 public const int ERROR_BAD_CONFIGURATION = 1610;
2384 /// <summary>
2385 /// Component qualifier not present.
2386 /// </summary>
2387 public const int ERROR_INDEX_ABSENT = 1611;
2388 /// <summary>
2389 /// The installation source for this product is not available. Verify that the source exists and that you can access it.
2390 /// </summary>
2391 public const int ERROR_INSTALL_SOURCE_ABSENT = 1612;
2392 /// <summary>
2393 /// 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.
2394 /// </summary>
2395 public const int ERROR_INSTALL_PACKAGE_VERSION = 1613;
2396 /// <summary>
2397 /// Product is uninstalled.
2398 /// </summary>
2399 public const int ERROR_PRODUCT_UNINSTALLED = 1614;
2400 /// <summary>
2401 /// SQL query syntax invalid or unsupported.
2402 /// </summary>
2403 public const int ERROR_BAD_QUERY_SYNTAX = 1615;
2404 /// <summary>
2405 /// Record field does not exist.
2406 /// </summary>
2407 public const int ERROR_INVALID_FIELD = 1616;
2408 /// <summary>
2409 /// The device has been removed.
2410 /// </summary>
2411 public const int ERROR_DEVICE_REMOVED = 1617;
2412 /// <summary>
2413 /// Another installation is already in progress. Complete that installation before proceeding with this install.
2414 /// </summary>
2415 public const int ERROR_INSTALL_ALREADY_RUNNING = 1618;
2416 /// <summary>
2417 /// 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.
2418 /// </summary>
2419 public const int ERROR_INSTALL_PACKAGE_OPEN_FAILED = 1619;
2420 /// <summary>
2421 /// This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
2422 /// </summary>
2423 public const int ERROR_INSTALL_PACKAGE_INVALID = 1620;
2424 /// <summary>
2425 /// There was an error starting the Windows Installer service user interface. Contact your support personnel.
2426 /// </summary>
2427 public const int ERROR_INSTALL_UI_FAILURE = 1621;
2428 /// <summary>
2429 /// Error opening installation log file. Verify that the specified log file location exists and that you can write to it.
2430 /// </summary>
2431 public const int ERROR_INSTALL_LOG_FAILURE = 1622;
2432 /// <summary>
2433 /// The language of this installation package is not supported by your system.
2434 /// </summary>
2435 public const int ERROR_INSTALL_LANGUAGE_UNSUPPORTED = 1623;
2436 /// <summary>
2437 /// Error applying transforms. Verify that the specified transform paths are valid.
2438 /// </summary>
2439 public const int ERROR_INSTALL_TRANSFORM_FAILURE = 1624;
2440 /// <summary>
2441 /// This installation is forbidden by system policy. Contact your system administrator.
2442 /// </summary>
2443 public const int ERROR_INSTALL_PACKAGE_REJECTED = 1625;
2444 /// <summary>
2445 /// Function could not be executed.
2446 /// </summary>
2447 public const int ERROR_FUNCTION_NOT_CALLED = 1626;
2448 /// <summary>
2449 /// Function failed during execution.
2450 /// </summary>
2451 public const int ERROR_FUNCTION_FAILED = 1627;
2452 /// <summary>
2453 /// Invalid or unknown table specified.
2454 /// </summary>
2455 public const int ERROR_INVALID_TABLE = 1628;
2456 /// <summary>
2457 /// Data supplied is of wrong type.
2458 /// </summary>
2459 public const int ERROR_DATATYPE_MISMATCH = 1629;
2460 /// <summary>
2461 /// Data of this type is not supported.
2462 /// </summary>
2463 public const int ERROR_UNSUPPORTED_TYPE = 1630;
2464 /// <summary>
2465 /// The Windows Installer service failed to start. Contact your support personnel.
2466 /// </summary>
2467 public const int ERROR_CREATE_FAILED = 1631;
2468 /// <summary>
2469 /// 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.
2470 /// </summary>
2471 public const int ERROR_INSTALL_TEMP_UNWRITABLE = 1632;
2472 /// <summary>
2473 /// This installation package is not supported by this processor type. Contact your product vendor.
2474 /// </summary>
2475 public const int ERROR_INSTALL_PLATFORM_UNSUPPORTED = 1633;
2476 /// <summary>
2477 /// Component not used on this computer.
2478 /// </summary>
2479 public const int ERROR_INSTALL_NOTUSED = 1634;
2480 /// <summary>
2481 /// This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.
2482 /// </summary>
2483 public const int ERROR_PATCH_PACKAGE_OPEN_FAILED = 1635;
2484 /// <summary>
2485 /// This patch package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package.
2486 /// </summary>
2487 public const int ERROR_PATCH_PACKAGE_INVALID = 1636;
2488 /// <summary>
2489 /// This patch 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.
2490 /// </summary>
2491 public const int ERROR_PATCH_PACKAGE_UNSUPPORTED = 1637;
2492 /// <summary>
2493 /// 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.
2494 /// </summary>
2495 public const int ERROR_PRODUCT_VERSION = 1638;
2496 /// <summary>
2497 /// Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
2498 /// </summary>
2499 public const int ERROR_INVALID_COMMAND_LINE = 1639;
2500 /// <summary>
2501 /// 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.
2502 /// </summary>
2503 public const int ERROR_INSTALL_REMOTE_DISALLOWED = 1640;
2504 /// <summary>
2505 /// The requested operation completed successfully. The system will be restarted so the changes can take effect.
2506 /// </summary>
2507 public const int ERROR_SUCCESS_REBOOT_INITIATED = 1641;
2508 /// <summary>
2509 /// The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer an
2510 /// d that you have the correct upgrade patch.
2511 /// </summary>
2512 public const int ERROR_PATCH_TARGET_NOT_FOUND = 1642;
2513 /// <summary>
2514 /// The patch package is not permitted by software restriction policy.
2515 /// </summary>
2516 public const int ERROR_PATCH_PACKAGE_REJECTED = 1643;
2517 /// <summary>
2518 /// One or more customizations are not permitted by software restriction policy.
2519 /// </summary>
2520 public const int ERROR_INSTALL_TRANSFORM_REJECTED = 1644;
2521 /// <summary>
2522 /// No information avialable.
2523 /// </summary>
2524 public const int ERROR_INSTALL_REMOTE_PROHIBITED = 1645;
2525 /// <summary>
2526 /// The string binding is invalid.
2527 /// </summary>
2528 public const int RPC_S_INVALID_STRING_BINDING = 1700;
2529 /// <summary>
2530 /// The binding handle is not the correct type.
2531 /// </summary>
2532 public const int RPC_S_WRONG_KIND_OF_BINDING = 1701;
2533 /// <summary>
2534 /// The binding handle is invalid.
2535 /// </summary>
2536 public const int RPC_S_INVALID_BINDING = 1702;
2537 /// <summary>
2538 /// The RPC protocol sequence is not supported.
2539 /// </summary>
2540 public const int RPC_S_PROTSEQ_NOT_SUPPORTED = 1703;
2541 /// <summary>
2542 /// The RPC protocol sequence is invalid.
2543 /// </summary>
2544 public const int RPC_S_INVALID_RPC_PROTSEQ = 1704;
2545 /// <summary>
2546 /// The string universal unique identifier (UUID) is invalid.
2547 /// </summary>
2548 public const int RPC_S_INVALID_STRING_UUID = 1705;
2549 /// <summary>
2550 /// The endpoint format is invalid.
2551 /// </summary>
2552 public const int RPC_S_INVALID_ENDPOINT_FORMAT = 1706;
2553 /// <summary>
2554 /// The network address is invalid.
2555 /// </summary>
2556 public const int RPC_S_INVALID_NET_ADDR = 1707;
2557 /// <summary>
2558 /// No endpoint was found.
2559 /// </summary>
2560 public const int RPC_S_NO_ENDPOINT_FOUND = 1708;
2561 /// <summary>
2562 /// The timeout value is invalid.
2563 /// </summary>
2564 public const int RPC_S_INVALID_TIMEOUT = 1709;
2565 /// <summary>
2566 /// The object universal unique identifier (UUID) was not found.
2567 /// </summary>
2568 public const int RPC_S_OBJECT_NOT_FOUND = 1710;
2569 /// <summary>
2570 /// The object universal unique identifier (UUID) has already been registered.
2571 /// </summary>
2572 public const int RPC_S_ALREADY_REGISTERED = 1711;
2573 /// <summary>
2574 /// The type universal unique identifier (UUID) has already been registered.
2575 /// </summary>
2576 public const int RPC_S_TYPE_ALREADY_REGISTERED = 1712;
2577 /// <summary>
2578 /// The RPC server is already listening.
2579 /// </summary>
2580 public const int RPC_S_ALREADY_LISTENING = 1713;
2581 /// <summary>
2582 /// No protocol sequences have been registered.
2583 /// </summary>
2584 public const int RPC_S_NO_PROTSEQS_REGISTERED = 1714;
2585 /// <summary>
2586 /// The RPC server is not listening.
2587 /// </summary>
2588 public const int RPC_S_NOT_LISTENING = 1715;
2589 /// <summary>
2590 /// The manager type is unknown.
2591 /// </summary>
2592 public const int RPC_S_UNKNOWN_MGR_TYPE = 1716;
2593 /// <summary>
2594 /// The interface is unknown.
2595 /// </summary>
2596 public const int RPC_S_UNKNOWN_IF = 1717;
2597 /// <summary>
2598 /// There are no bindings.
2599 /// </summary>
2600 public const int RPC_S_NO_BINDINGS = 1718;
2601 /// <summary>
2602 /// There are no protocol sequences.
2603 /// </summary>
2604 public const int RPC_S_NO_PROTSEQS = 1719;
2605 /// <summary>
2606 /// The endpoint cannot be created.
2607 /// </summary>
2608 public const int RPC_S_CANT_CREATE_ENDPOINT = 1720;
2609 /// <summary>
2610 /// Not enough resources are available to complete this operation.
2611 /// </summary>
2612 public const int RPC_S_OUT_OF_RESOURCES = 1721;
2613 /// <summary>
2614 /// The RPC server is unavailable.
2615 /// </summary>
2616 public const int RPC_S_SERVER_UNAVAILABLE = 1722;
2617 /// <summary>
2618 /// The RPC server is too busy to complete this operation.
2619 /// </summary>
2620 public const int RPC_S_SERVER_TOO_BUSY = 1723;
2621 /// <summary>
2622 /// The network options are invalid.
2623 /// </summary>
2624 public const int RPC_S_INVALID_NETWORK_OPTIONS = 1724;
2625 /// <summary>
2626 /// There are no remote procedure calls active on this thread.
2627 /// </summary>
2628 public const int RPC_S_NO_CALL_ACTIVE = 1725;
2629 /// <summary>
2630 /// The remote procedure call failed.
2631 /// </summary>
2632 public const int RPC_S_CALL_FAILED = 1726;
2633 /// <summary>
2634 /// The remote procedure call failed and did not execute.
2635 /// </summary>
2636 public const int RPC_S_CALL_FAILED_DNE = 1727;
2637 /// <summary>
2638 /// A remote procedure call (RPC) protocol error occurred.
2639 /// </summary>
2640 public const int RPC_S_PROTOCOL_ERROR = 1728;
2641 /// <summary>
2642 /// The transfer syntax is not supported by the RPC server.
2643 /// </summary>
2644 public const int RPC_S_UNSUPPORTED_TRANS_SYN = 1730;
2645 /// <summary>
2646 /// The universal unique identifier (UUID) type is not supported.
2647 /// </summary>
2648 public const int RPC_S_UNSUPPORTED_TYPE = 1732;
2649 /// <summary>
2650 /// The tag is invalid.
2651 /// </summary>
2652 public const int RPC_S_INVALID_TAG = 1733;
2653 /// <summary>
2654 /// The array bounds are invalid.
2655 /// </summary>
2656 public const int RPC_S_INVALID_BOUND = 1734;
2657 /// <summary>
2658 /// The binding does not contain an entry name.
2659 /// </summary>
2660 public const int RPC_S_NO_ENTRY_NAME = 1735;
2661 /// <summary>
2662 /// The name syntax is invalid.
2663 /// </summary>
2664 public const int RPC_S_INVALID_NAME_SYNTAX = 1736;
2665 /// <summary>
2666 /// The name syntax is not supported.
2667 /// </summary>
2668 public const int RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737;
2669 /// <summary>
2670 /// No network address is available to use to construct a universal unique identifier (UUID).
2671 /// </summary>
2672 public const int RPC_S_UUID_NO_ADDRESS = 1739;
2673 /// <summary>
2674 /// The endpoint is a duplicate.
2675 /// </summary>
2676 public const int RPC_S_DUPLICATE_ENDPOINT = 1740;
2677 /// <summary>
2678 /// The authentication type is unknown.
2679 /// </summary>
2680 public const int RPC_S_UNKNOWN_AUTHN_TYPE = 1741;
2681 /// <summary>
2682 /// The maximum number of calls is too small.
2683 /// </summary>
2684 public const int RPC_S_MAX_CALLS_TOO_SMALL = 1742;
2685 /// <summary>
2686 /// The string is too long.
2687 /// </summary>
2688 public const int RPC_S_STRING_TOO_Int32 = 1743;
2689 /// <summary>
2690 /// The RPC protocol sequence was not found.
2691 /// </summary>
2692 public const int RPC_S_PROTSEQ_NOT_FOUND = 1744;
2693 /// <summary>
2694 /// The procedure number is out of range.
2695 /// </summary>
2696 public const int RPC_S_PROCNUM_OUT_OF_RANGE = 1745;
2697 /// <summary>
2698 /// The binding does not contain any authentication information.
2699 /// </summary>
2700 public const int RPC_S_BINDING_HAS_NO_AUTH = 1746;
2701 /// <summary>
2702 /// The authentication service is unknown.
2703 /// </summary>
2704 public const int RPC_S_UNKNOWN_AUTHN_SERVICE = 1747;
2705 /// <summary>
2706 /// The authentication level is unknown.
2707 /// </summary>
2708 public const int RPC_S_UNKNOWN_AUTHN_LEVEL = 1748;
2709 /// <summary>
2710 /// The security context is invalid.
2711 /// </summary>
2712 public const int RPC_S_INVALID_AUTH_IDENTITY = 1749;
2713 /// <summary>
2714 /// The authorization service is unknown.
2715 /// </summary>
2716 public const int RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750;
2717 /// <summary>
2718 /// The entry is invalid.
2719 /// </summary>
2720 public const int EPT_S_INVALID_ENTRY = 1751;
2721 /// <summary>
2722 /// The server endpoint cannot perform the operation.
2723 /// </summary>
2724 public const int EPT_S_CANT_PERFORM_OP = 1752;
2725 /// <summary>
2726 /// There are no more endpoints available from the endpoint mapper.
2727 /// </summary>
2728 public const int EPT_S_NOT_REGISTERED = 1753;
2729 /// <summary>
2730 /// No interfaces have been exported.
2731 /// </summary>
2732 public const int RPC_S_NOTHING_TO_EXPORT = 1754;
2733 /// <summary>
2734 /// The entry name is incomplete.
2735 /// </summary>
2736 public const int RPC_S_INCOMPLETE_NAME = 1755;
2737 /// <summary>
2738 /// The version option is invalid.
2739 /// </summary>
2740 public const int RPC_S_INVALID_VERS_OPTION = 1756;
2741 /// <summary>
2742 /// There are no more members.
2743 /// </summary>
2744 public const int RPC_S_NO_MORE_MEMBERS = 1757;
2745 /// <summary>
2746 /// There is nothing to unexport.
2747 /// </summary>
2748 public const int RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758;
2749 /// <summary>
2750 /// The interface was not found.
2751 /// </summary>
2752 public const int RPC_S_INTERFACE_NOT_FOUND = 1759;
2753 /// <summary>
2754 /// The entry already exists.
2755 /// </summary>
2756 public const int RPC_S_ENTRY_ALREADY_EXISTS = 1760;
2757 /// <summary>
2758 /// The entry is not found.
2759 /// </summary>
2760 public const int RPC_S_ENTRY_NOT_FOUND = 1761;
2761 /// <summary>
2762 /// The name service is unavailable.
2763 /// </summary>
2764 public const int RPC_S_NAME_SERVICE_UNAVAILABLE = 1762;
2765 /// <summary>
2766 /// The network address family is invalid.
2767 /// </summary>
2768 public const int RPC_S_INVALID_NAF_ID = 1763;
2769 /// <summary>
2770 /// The requested operation is not supported.
2771 /// </summary>
2772 public const int RPC_S_CANNOT_SUPPORT = 1764;
2773 /// <summary>
2774 /// No security context is available to allow impersonation.
2775 /// </summary>
2776 public const int RPC_S_NO_CONTEXT_AVAILABLE = 1765;
2777 /// <summary>
2778 /// An internal error occurred in a remote procedure call (RPC).
2779 /// </summary>
2780 public const int RPC_S_INTERNAL_ERROR = 1766;
2781 /// <summary>
2782 /// The RPC server attempted an integer division by zero.
2783 /// </summary>
2784 public const int RPC_S_ZERO_DIVIDE = 1767;
2785 /// <summary>
2786 /// An addressing error occurred in the RPC server.
2787 /// </summary>
2788 public const int RPC_S_ADDRESS_ERROR = 1768;
2789 /// <summary>
2790 /// A floating-point operation at the RPC server caused a division by zero.
2791 /// </summary>
2792 public const int RPC_S_FP_DIV_ZERO = 1769;
2793 /// <summary>
2794 /// A floating-point underflow occurred at the RPC server.
2795 /// </summary>
2796 public const int RPC_S_FP_UNDERFLOW = 1770;
2797 /// <summary>
2798 /// A floating-point overflow occurred at the RPC server.
2799 /// </summary>
2800 public const int RPC_S_FP_OVERFLOW = 1771;
2801 /// <summary>
2802 /// The list of RPC servers available for the binding of auto handles has been exhausted.
2803 /// </summary>
2804 public const int RPC_X_NO_MORE_ENTRIES = 1772;
2805 /// <summary>
2806 /// Unable to open the character translation table file.
2807 /// </summary>
2808 public const int RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773;
2809 /// <summary>
2810 /// The file containing the character translation table has fewer than 512 bytes.
2811 /// </summary>
2812 public const int RPC_X_SS_CHAR_TRANS_Int16_FILE = 1774;
2813 /// <summary>
2814 /// A null context handle was passed from the client to the host during a remote procedure call.
2815 /// </summary>
2816 public const int RPC_X_SS_IN_NULL_CONTEXT = 1775;
2817 /// <summary>
2818 /// The context handle changed during a remote procedure call.
2819 /// </summary>
2820 public const int RPC_X_SS_CONTEXT_DAMAGED = 1777;
2821 /// <summary>
2822 /// The binding handles passed to a remote procedure call do not match.
2823 /// </summary>
2824 public const int RPC_X_SS_HANDLES_MISMATCH = 1778;
2825 /// <summary>
2826 /// The stub is unable to get the remote procedure call handle.
2827 /// </summary>
2828 public const int RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779;
2829 /// <summary>
2830 /// A null reference pointer was passed to the stub.
2831 /// </summary>
2832 public const int RPC_X_NULL_REF_POINTER = 1780;
2833 /// <summary>
2834 /// The enumeration value is out of range.
2835 /// </summary>
2836 public const int RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781;
2837 /// <summary>
2838 /// The byte count is too small.
2839 /// </summary>
2840 public const int RPC_X_BYTE_COUNT_TOO_SMALL = 1782;
2841 /// <summary>
2842 /// The stub received bad data.
2843 /// </summary>
2844 public const int RPC_X_BAD_STUB_DATA = 1783;
2845 /// <summary>
2846 /// The supplied user buffer is not valid for the requested operation.
2847 /// </summary>
2848 public const int ERROR_INVALID_USER_BUFFER = 1784;
2849 /// <summary>
2850 /// The disk media is not recognized. It may not be formatted.
2851 /// </summary>
2852 public const int ERROR_UNRECOGNIZED_MEDIA = 1785;
2853 /// <summary>
2854 /// The workstation does not have a trust secret.
2855 /// </summary>
2856 public const int ERROR_NO_TRUST_LSA_SECRET = 1786;
2857 /// <summary>
2858 /// The security database on the server does not have a computer account for this workstation trust relationship.
2859 /// </summary>
2860 public const int ERROR_NO_TRUST_SAM_ACCOUNT = 1787;
2861 /// <summary>
2862 /// The trust relationship between the primary domain and the trusted domain failed.
2863 /// </summary>
2864 public const int ERROR_TRUSTED_DOMAIN_FAILURE = 1788;
2865 /// <summary>
2866 /// The trust relationship between this workstation and the primary domain failed.
2867 /// </summary>
2868 public const int ERROR_TRUSTED_RELATIONSHIP_FAILURE = 1789;
2869 /// <summary>
2870 /// The network logon failed.
2871 /// </summary>
2872 public const int ERROR_TRUST_FAILURE = 1790;
2873 /// <summary>
2874 /// A remote procedure call is already in progress for this thread.
2875 /// </summary>
2876 public const int RPC_S_CALL_IN_PROGRESS = 1791;
2877 /// <summary>
2878 /// An attempt was made to logon, but the network logon service was not started.
2879 /// </summary>
2880 public const int ERROR_NETLOGON_NOT_STARTED = 1792;
2881 /// <summary>
2882 /// The user's account has expired.
2883 /// </summary>
2884 public const int ERROR_ACCOUNT_EXPIRED = 1793;
2885 /// <summary>
2886 /// The redirector is in use and cannot be unloaded.
2887 /// </summary>
2888 public const int ERROR_REDIRECTOR_HAS_OPEN_HANDLES = 1794;
2889 /// <summary>
2890 /// The specified printer driver is already installed.
2891 /// </summary>
2892 public const int ERROR_PRINTER_DRIVER_ALREADY_INSTALLED = 1795;
2893 /// <summary>
2894 /// The specified port is unknown.
2895 /// </summary>
2896 public const int ERROR_UNKNOWN_PORT = 1796;
2897 /// <summary>
2898 /// The printer driver is unknown.
2899 /// </summary>
2900 public const int ERROR_UNKNOWN_PRINTER_DRIVER = 1797;
2901 /// <summary>
2902 /// The print processor is unknown.
2903 /// </summary>
2904 public const int ERROR_UNKNOWN_PRINTPROCESSOR = 1798;
2905 /// <summary>
2906 /// The specified separator file is invalid.
2907 /// </summary>
2908 public const int ERROR_INVALID_SEPARATOR_FILE = 1799;
2909 /// <summary>
2910 /// The specified priority is invalid.
2911 /// </summary>
2912 public const int ERROR_INVALID_PRIORITY = 1800;
2913 /// <summary>
2914 /// The printer name is invalid.
2915 /// </summary>
2916 public const int ERROR_INVALID_PRINTER_NAME = 1801;
2917 /// <summary>
2918 /// The printer already exists.
2919 /// </summary>
2920 public const int ERROR_PRINTER_ALREADY_EXISTS = 1802;
2921 /// <summary>
2922 /// The printer command is invalid.
2923 /// </summary>
2924 public const int ERROR_INVALID_PRINTER_COMMAND = 1803;
2925 /// <summary>
2926 /// The specified datatype is invalid.
2927 /// </summary>
2928 public const int ERROR_INVALID_DATATYPE = 1804;
2929 /// <summary>
2930 /// The environment specified is invalid.
2931 /// </summary>
2932 public const int ERROR_INVALID_ENVIRONMENT = 1805;
2933 /// <summary>
2934 /// There are no more bindings.
2935 /// </summary>
2936 public const int RPC_S_NO_MORE_BINDINGS = 1806;
2937 /// <summary>
2938 /// The account used is an interdomain trust account. Use your global user account or local user account to access this server.
2939 /// </summary>
2940 public const int ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807;
2941 /// <summary>
2942 /// The account used is a computer account. Use your global user account or local user account to access this server.
2943 /// </summary>
2944 public const int ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808;
2945 /// <summary>
2946 /// The account used is a server trust account. Use your global user account or local user account to access this server.
2947 /// </summary>
2948 public const int ERROR_NOLOGON_SERVER_TRUST_ACCOUNT = 1809;
2949 /// <summary>
2950 /// The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain.
2951 /// </summary>
2952 public const int ERROR_DOMAIN_TRUST_INCONSISTENT = 1810;
2953 /// <summary>
2954 /// The server is in use and cannot be unloaded.
2955 /// </summary>
2956 public const int ERROR_SERVER_HAS_OPEN_HANDLES = 1811;
2957 /// <summary>
2958 /// The specified image file did not contain a resource section.
2959 /// </summary>
2960 public const int ERROR_RESOURCE_DATA_NOT_FOUND = 1812;
2961 /// <summary>
2962 /// The specified resource type cannot be found in the image file.
2963 /// </summary>
2964 public const int ERROR_RESOURCE_TYPE_NOT_FOUND = 1813;
2965 /// <summary>
2966 /// The specified resource name cannot be found in the image file.
2967 /// </summary>
2968 public const int ERROR_RESOURCE_NAME_NOT_FOUND = 1814;
2969 /// <summary>
2970 /// The specified resource language ID cannot be found in the image file.
2971 /// </summary>
2972 public const int ERROR_RESOURCE_LANG_NOT_FOUND = 1815;
2973 /// <summary>
2974 /// Not enough quota is available to process this command.
2975 /// </summary>
2976 public const int ERROR_NOT_ENOUGH_QUOTA = 1816;
2977 /// <summary>
2978 /// No interfaces have been registered.
2979 /// </summary>
2980 public const int RPC_S_NO_INTERFACES = 1817;
2981 /// <summary>
2982 /// The remote procedure call was cancelled.
2983 /// </summary>
2984 public const int RPC_S_CALL_CANCELLED = 1818;
2985 /// <summary>
2986 /// The binding handle does not contain all required information.
2987 /// </summary>
2988 public const int RPC_S_BINDING_INCOMPLETE = 1819;
2989 /// <summary>
2990 /// A communications failure occurred during a remote procedure call.
2991 /// </summary>
2992 public const int RPC_S_COMM_FAILURE = 1820;
2993 /// <summary>
2994 /// The requested authentication level is not supported.
2995 /// </summary>
2996 public const int RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821;
2997 /// <summary>
2998 /// No principal name registered.
2999 /// </summary>
3000 public const int RPC_S_NO_PRINC_NAME = 1822;
3001 /// <summary>
3002 /// The error specified is not a valid Windows RPC error code.
3003 /// </summary>
3004 public const int RPC_S_NOT_RPC_ERROR = 1823;
3005 /// <summary>
3006 /// A UUID that is valid only on this computer has been allocated.
3007 /// </summary>
3008 public const int RPC_S_UUID_LOCAL_ONLY = 1824;
3009 /// <summary>
3010 /// A security package specific error occurred.
3011 /// </summary>
3012 public const int RPC_S_SEC_PKG_ERROR = 1825;
3013 /// <summary>
3014 /// Thread is not canceled.
3015 /// </summary>
3016 public const int RPC_S_NOT_CANCELLED = 1826;
3017 /// <summary>
3018 /// Invalid operation on the encoding/decoding handle.
3019 /// </summary>
3020 public const int RPC_X_INVALID_ES_ACTION = 1827;
3021 /// <summary>
3022 /// Incompatible version of the serializing package.
3023 /// </summary>
3024 public const int RPC_X_WRONG_ES_VERSION = 1828;
3025 /// <summary>
3026 /// Incompatible version of the RPC stub.
3027 /// </summary>
3028 public const int RPC_X_WRONG_STUB_VERSION = 1829;
3029 /// <summary>
3030 /// The RPC pipe object is invalid or corrupted.
3031 /// </summary>
3032 public const int RPC_X_INVALID_PIPE_OBJECT = 1830;
3033 /// <summary>
3034 /// An invalid operation was attempted on an RPC pipe object.
3035 /// </summary>
3036 public const int RPC_X_WRONG_PIPE_ORDER = 1831;
3037 /// <summary>
3038 /// Unsupported RPC pipe version.
3039 /// </summary>
3040 public const int RPC_X_WRONG_PIPE_VERSION = 1832;
3041 /// <summary>
3042 /// The group member was not found.
3043 /// </summary>
3044 public const int RPC_S_GROUP_MEMBER_NOT_FOUND = 1898;
3045 /// <summary>
3046 /// The endpoint mapper database entry could not be created.
3047 /// </summary>
3048 public const int EPT_S_CANT_CREATE = 1899;
3049 /// <summary>
3050 /// The object universal unique identifier (UUID) is the nil UUID.
3051 /// </summary>
3052 public const int RPC_S_INVALID_OBJECT = 1900;
3053 /// <summary>
3054 /// The specified time is invalid.
3055 /// </summary>
3056 public const int ERROR_INVALID_TIME = 1901;
3057 /// <summary>
3058 /// The specified form name is invalid.
3059 /// </summary>
3060 public const int ERROR_INVALID_FORM_NAME = 1902;
3061 /// <summary>
3062 /// The specified form size is invalid.
3063 /// </summary>
3064 public const int ERROR_INVALID_FORM_SIZE = 1903;
3065 /// <summary>
3066 /// The specified printer handle is already being waited on
3067 /// </summary>
3068 public const int ERROR_ALREADY_WAITING = 1904;
3069 /// <summary>
3070 /// The specified printer has been deleted.
3071 /// </summary>
3072 public const int ERROR_PRINTER_DELETED = 1905;
3073 /// <summary>
3074 /// The state of the printer is invalid.
3075 /// </summary>
3076 public const int ERROR_INVALID_PRINTER_STATE = 1906;
3077 /// <summary>
3078 /// The user's password must be changed before logging on the first time.
3079 /// </summary>
3080 public const int ERROR_PASSUInt16_MUST_CHANGE = 1907;
3081 /// <summary>
3082 /// Could not find the domain controller for this domain.
3083 /// </summary>
3084 public const int ERROR_DOMAIN_CONTROLLER_NOT_FOUND = 1908;
3085 /// <summary>
3086 /// The referenced account is currently locked out and may not be logged on to.
3087 /// </summary>
3088 public const int ERROR_ACCOUNT_LOCKED_OUT = 1909;
3089 /// <summary>
3090 /// The object exporter specified was not found.
3091 /// </summary>
3092 public const int OR_INVALID_OXID = 1910;
3093 /// <summary>
3094 /// The object specified was not found.
3095 /// </summary>
3096 public const int OR_INVALID_OID = 1911;
3097 /// <summary>
3098 /// The object resolver set specified was not found.
3099 /// </summary>
3100 public const int OR_INVALID_SET = 1912;
3101 /// <summary>
3102 /// Some data remains to be sent in the request buffer.
3103 /// </summary>
3104 public const int RPC_S_SEND_INCOMPLETE = 1913;
3105 /// <summary>
3106 /// Invalid asynchronous remote procedure call handle.
3107 /// </summary>
3108 public const int RPC_S_INVALID_ASYNC_HANDLE = 1914;
3109 /// <summary>
3110 /// Invalid asynchronous RPC call handle for this operation.
3111 /// </summary>
3112 public const int RPC_S_INVALID_ASYNC_CALL = 1915;
3113 /// <summary>
3114 /// The RPC pipe object has already been closed.
3115 /// </summary>
3116 public const int RPC_X_PIPE_CLOSED = 1916;
3117 /// <summary>
3118 /// The RPC call completed before all pipes were processed.
3119 /// </summary>
3120 public const int RPC_X_PIPE_DISCIPLINE_ERROR = 1917;
3121 /// <summary>
3122 /// No more data is available from the RPC pipe.
3123 /// </summary>
3124 public const int RPC_X_PIPE_EMPTY = 1918;
3125 /// <summary>
3126 /// No site name is available for this machine.
3127 /// </summary>
3128 public const int ERROR_NO_SITENAME = 1919;
3129 /// <summary>
3130 /// The file can not be accessed by the system.
3131 /// </summary>
3132 public const int ERROR_CANT_ACCESS_FILE = 1920;
3133 /// <summary>
3134 /// The name of the file cannot be resolved by the system.
3135 /// </summary>
3136 public const int ERROR_CANT_RESOLVE_FILENAME = 1921;
3137 /// <summary>
3138 /// The entry is not of the expected type.
3139 /// </summary>
3140 public const int RPC_S_ENTRY_TYPE_MISMATCH = 1922;
3141 /// <summary>
3142 /// Not all object UUIDs could be exported to the specified entry.
3143 /// </summary>
3144 public const int RPC_S_NOT_ALL_OBJS_EXPORTED = 1923;
3145 /// <summary>
3146 /// Interface could not be exported to the specified entry.
3147 /// </summary>
3148 public const int RPC_S_INTERFACE_NOT_EXPORTED = 1924;
3149 /// <summary>
3150 /// The specified profile entry could not be added.
3151 /// </summary>
3152 public const int RPC_S_PROFILE_NOT_ADDED = 1925;
3153 /// <summary>
3154 /// The specified profile element could not be added.
3155 /// </summary>
3156 public const int RPC_S_PRF_ELT_NOT_ADDED = 1926;
3157 /// <summary>
3158 /// The specified profile element could not be removed.
3159 /// </summary>
3160 public const int RPC_S_PRF_ELT_NOT_REMOVED = 1927;
3161 /// <summary>
3162 /// The group element could not be added.
3163 /// </summary>
3164 public const int RPC_S_GRP_ELT_NOT_ADDED = 1928;
3165 /// <summary>
3166 /// The group element could not be removed.
3167 /// </summary>
3168 public const int RPC_S_GRP_ELT_NOT_REMOVED = 1929;
3169 /// <summary>
3170 /// The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers.
3171 /// </summary>
3172 public const int ERROR_KM_DRIVER_BLOCKED = 1930;
3173 /// <summary>
3174 /// The context has expired and can no longer be used.
3175 /// </summary>
3176 public const int ERROR_CONTEXT_EXPIRED = 1931;
3177 /// <summary>
3178 /// No information avialable.
3179 /// </summary>
3180 public const int ERROR_PER_USER_TRUST_QUOTA_EXCEEDED = 1932;
3181 /// <summary>
3182 /// No information avialable.
3183 /// </summary>
3184 public const int ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED = 1933;
3185 /// <summary>
3186 /// No information avialable.
3187 /// </summary>
3188 public const int ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934;
3189 /// <summary>
3190 /// No information avialable.
3191 /// </summary>
3192 public const int ERROR_AUTHENTICATION_FIREWALL_FAILED = 1935;
3193 /// <summary>
3194 /// No information avialable.
3195 /// </summary>
3196 public const int ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936;
3197 /// <summary>
3198 /// The pixel format is invalid.
3199 /// </summary>
3200 public const int ERROR_INVALID_PIXEL_FORMAT = 2000;
3201 /// <summary>
3202 /// The specified driver is invalid.
3203 /// </summary>
3204 public const int ERROR_BAD_DRIVER = 2001;
3205 /// <summary>
3206 /// The window style or class attribute is invalid for this operation.
3207 /// </summary>
3208 public const int ERROR_INVALID_WINDOW_STYLE = 2002;
3209 /// <summary>
3210 /// The requested metafile operation is not supported.
3211 /// </summary>
3212 public const int ERROR_METAFILE_NOT_SUPPORTED = 2003;
3213 /// <summary>
3214 /// The requested transformation operation is not supported.
3215 /// </summary>
3216 public const int ERROR_TRANSFORM_NOT_SUPPORTED = 2004;
3217 /// <summary>
3218 /// The requested clipping operation is not supported.
3219 /// </summary>
3220 public const int ERROR_CLIPPING_NOT_SUPPORTED = 2005;
3221 /// <summary>
3222 /// The specified color management module is invalid.
3223 /// </summary>
3224 public const int ERROR_INVALID_CMM = 2010;
3225 /// <summary>
3226 /// The specified color profile is invalid.
3227 /// </summary>
3228 public const int ERROR_INVALID_PROFILE = 2011;
3229 /// <summary>
3230 /// The specified tag was not found.
3231 /// </summary>
3232 public const int ERROR_TAG_NOT_FOUND = 2012;
3233 /// <summary>
3234 /// A required tag is not present.
3235 /// </summary>
3236 public const int ERROR_TAG_NOT_PRESENT = 2013;
3237 /// <summary>
3238 /// The specified tag is already present.
3239 /// </summary>
3240 public const int ERROR_DUPLICATE_TAG = 2014;
3241 /// <summary>
3242 /// The specified color profile is not associated with any device.
3243 /// </summary>
3244 public const int ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015;
3245 /// <summary>
3246 /// The specified color profile was not found.
3247 /// </summary>
3248 public const int ERROR_PROFILE_NOT_FOUND = 2016;
3249 /// <summary>
3250 /// The specified color space is invalid.
3251 /// </summary>
3252 public const int ERROR_INVALID_COLORSPACE = 2017;
3253 /// <summary>
3254 /// Image Color Management is not enabled.
3255 /// </summary>
3256 public const int ERROR_ICM_NOT_ENABLED = 2018;
3257 /// <summary>
3258 /// There was an error while deleting the color transform.
3259 /// </summary>
3260 public const int ERROR_DELETING_ICM_XFORM = 2019;
3261 /// <summary>
3262 /// The specified color transform is invalid.
3263 /// </summary>
3264 public const int ERROR_INVALID_TRANSFORM = 2020;
3265 /// <summary>
3266 /// The specified transform does not match the bitmap's color space.
3267 /// </summary>
3268 public const int ERROR_COLORSPACE_MISMATCH = 2021;
3269 /// <summary>
3270 /// The specified named color index is not present in the profile.
3271 /// </summary>
3272 public const int ERROR_INVALID_COLORINDEX = 2022;
3273 /// <summary>
3274 /// The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.
3275 /// </summary>
3276 public const int ERROR_CONNECTED_OTHER_PASSUInt16 = 2108;
3277 /// <summary>
3278 /// The network connection was made successfully using default credentials.
3279 /// </summary>
3280 public const int ERROR_CONNECTED_OTHER_PASSUInt16_DEFAULT = 2109;
3281 /// <summary>
3282 /// The specified username is invalid.
3283 /// </summary>
3284 public const int ERROR_BAD_USERNAME = 2202;
3285 /// <summary>
3286 /// This network connection does not exist.
3287 /// </summary>
3288 public const int ERROR_NOT_CONNECTED = 2250;
3289 /// <summary>
3290 /// This network connection has files open or requests pending.
3291 /// </summary>
3292 public const int ERROR_OPEN_FILES = 2401;
3293 /// <summary>
3294 /// Active connections still exist.
3295 /// </summary>
3296 public const int ERROR_ACTIVE_CONNECTIONS = 2402;
3297 /// <summary>
3298 /// The device is in use by an active process and cannot be disconnected.
3299 /// </summary>
3300 public const int ERROR_DEVICE_IN_USE = 2404;
3301 /// <summary>
3302 /// The specified print monitor is unknown.
3303 /// </summary>
3304 public const int ERROR_UNKNOWN_PRINT_MONITOR = 3000;
3305 /// <summary>
3306 /// The specified printer driver is currently in use.
3307 /// </summary>
3308 public const int ERROR_PRINTER_DRIVER_IN_USE = 3001;
3309 /// <summary>
3310 /// The spool file was not found.
3311 /// </summary>
3312 public const int ERROR_SPOOL_FILE_NOT_FOUND = 3002;
3313 /// <summary>
3314 /// A StartDocPrinter call was not issued.
3315 /// </summary>
3316 public const int ERROR_SPL_NO_STARTDOC = 3003;
3317 /// <summary>
3318 /// An AddJob call was not issued.
3319 /// </summary>
3320 public const int ERROR_SPL_NO_ADDJOB = 3004;
3321 /// <summary>
3322 /// The specified print processor has already been installed.
3323 /// </summary>
3324 public const int ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED = 3005;
3325 /// <summary>
3326 /// The specified print monitor has already been installed.
3327 /// </summary>
3328 public const int ERROR_PRINT_MONITOR_ALREADY_INSTALLED = 3006;
3329 /// <summary>
3330 /// The specified print monitor does not have the required functions.
3331 /// </summary>
3332 public const int ERROR_INVALID_PRINT_MONITOR = 3007;
3333 /// <summary>
3334 /// The specified print monitor is currently in use.
3335 /// </summary>
3336 public const int ERROR_PRINT_MONITOR_IN_USE = 3008;
3337 /// <summary>
3338 /// The requested operation is not allowed when there are jobs queued to the printer.
3339 /// </summary>
3340 public const int ERROR_PRINTER_HAS_JOBS_QUEUED = 3009;
3341 /// <summary>
3342 /// The requested operation is successful. Changes will not be effective until the system is rebooted.
3343 /// </summary>
3344 public const int ERROR_SUCCESS_REBOOT_REQUIRED = 3010;
3345 /// <summary>
3346 /// The requested operation is successful. Changes will not be effective until the service is restarted.
3347 /// </summary>
3348 public const int ERROR_SUCCESS_RESTART_REQUIRED = 3011;
3349 /// <summary>
3350 /// No printers were found.
3351 /// </summary>
3352 public const int ERROR_PRINTER_NOT_FOUND = 3012;
3353 /// <summary>
3354 /// The printer driver is known to be unreliable.
3355 /// </summary>
3356 public const int ERROR_PRINTER_DRIVER_WARNED = 3013;
3357 /// <summary>
3358 /// The printer driver is known to harm the system.
3359 /// </summary>
3360 public const int ERROR_PRINTER_DRIVER_BLOCKED = 3014;
3361 /// <summary>
3362 /// WINS encountered an error while processing the command.
3363 /// </summary>
3364 public const int ERROR_WINS_INTERNAL = 4000;
3365 /// <summary>
3366 /// The local WINS can not be deleted.
3367 /// </summary>
3368 public const int ERROR_CAN_NOT_DEL_LOCAL_WINS = 4001;
3369 /// <summary>
3370 /// The importation from the file failed.
3371 /// </summary>
3372 public const int ERROR_STATIC_INIT = 4002;
3373 /// <summary>
3374 /// The backup failed. Was a full backup done before?
3375 /// </summary>
3376 public const int ERROR_INC_BACKUP = 4003;
3377 /// <summary>
3378 /// The backup failed. Check the directory to which you are backing the database.
3379 /// </summary>
3380 public const int ERROR_FULL_BACKUP = 4004;
3381 /// <summary>
3382 /// The name does not exist in the WINS database.
3383 /// </summary>
3384 public const int ERROR_REC_NON_EXISTENT = 4005;
3385 /// <summary>
3386 /// Replication with a nonconfigured partner is not allowed.
3387 /// </summary>
3388 public const int ERROR_RPL_NOT_ALLOWED = 4006;
3389 /// <summary>
3390 /// The DHCP client has obtained an IP address that is already in use on the network. The local interface will be disabled until the DHCP client can obtain a new address.
3391 /// </summary>
3392 public const int ERROR_DHCP_ADDRESS_CONFLICT = 4100;
3393 /// <summary>
3394 /// The GUID passed was not recognized as valid by a WMI data provider.
3395 /// </summary>
3396 public const int ERROR_WMI_GUID_NOT_FOUND = 4200;
3397 /// <summary>
3398 /// The instance name passed was not recognized as valid by a WMI data provider.
3399 /// </summary>
3400 public const int ERROR_WMI_INSTANCE_NOT_FOUND = 4201;
3401 /// <summary>
3402 /// The data item ID passed was not recognized as valid by a WMI data provider.
3403 /// </summary>
3404 public const int ERROR_WMI_ITEMID_NOT_FOUND = 4202;
3405 /// <summary>
3406 /// The WMI request could not be completed and should be retried.
3407 /// </summary>
3408 public const int ERROR_WMI_TRY_AGAIN = 4203;
3409 /// <summary>
3410 /// The WMI data provider could not be located.
3411 /// </summary>
3412 public const int ERROR_WMI_DP_NOT_FOUND = 4204;
3413 /// <summary>
3414 /// The WMI data provider references an instance set that has not been registered.
3415 /// </summary>
3416 public const int ERROR_WMI_UNRESOLVED_INSTANCE_REF = 4205;
3417 /// <summary>
3418 /// The WMI data block or event notification has already been enabled.
3419 /// </summary>
3420 public const int ERROR_WMI_ALREADY_ENABLED = 4206;
3421 /// <summary>
3422 /// The WMI data block is no longer available.
3423 /// </summary>
3424 public const int ERROR_WMI_GUID_DISCONNECTED = 4207;
3425 /// <summary>
3426 /// The WMI data service is not available.
3427 /// </summary>
3428 public const int ERROR_WMI_SERVER_UNAVAILABLE = 4208;
3429 /// <summary>
3430 /// The WMI data provider failed to carry out the request.
3431 /// </summary>
3432 public const int ERROR_WMI_DP_FAILED = 4209;
3433 /// <summary>
3434 /// The WMI MOF information is not valid.
3435 /// </summary>
3436 public const int ERROR_WMI_INVALID_MOF = 4210;
3437 /// <summary>
3438 /// The WMI registration information is not valid.
3439 /// </summary>
3440 public const int ERROR_WMI_INVALID_REGINFO = 4211;
3441 /// <summary>
3442 /// The WMI data block or event notification has already been disabled.
3443 /// </summary>
3444 public const int ERROR_WMI_ALREADY_DISABLED = 4212;
3445 /// <summary>
3446 /// The WMI data item or data block is read only.
3447 /// </summary>
3448 public const