ProjectArcade

Форк
0
1956 строк · 65.7 Кб
1
namespace DokanNet
2
{
3
    /// <summary>
4
    /// NT status values.
5
    /// </summary>
6
    /// \see <a href="https://msdn.microsoft.com/en-us/library/cc704588.aspx">NTSTATUS Values (MSDN)</a>
7
    public enum NtStatus : long
8
    {
9
        // ***********
10
        // * Success *
11
        // ***********
12

13
        /// <summary>
14
        /// Success - The operation completed successfully.
15
        /// </summary>
16
        Success = 0x00000000,
17

18
        /// <summary>
19
        /// Success - The caller specified WaitAny for WaitType and one of the dispatcher objects in 
20
        /// the Object array has been set to the signaled state.
21
        /// </summary>
22
        Wait1 = 0x00000001,
23

24
        /// <summary>
25
        /// Success - The caller specified WaitAny for WaitType and one of the dispatcher objects in 
26
        /// the Object array has been set to the signaled state.
27
        /// </summary>
28
        Wait2 = 0x00000002,
29

30
        /// <summary>
31
        /// Success - The caller specified WaitAny for WaitType and one of the dispatcher objects in 
32
        /// the Object array has been set to the signaled state.
33
        /// </summary>
34
        Wait3 = 0x00000003,
35

36
        /// <summary>
37
        /// Success - The caller specified WaitAny for WaitType and one of the dispatcher objects in 
38
        /// the Object array has been set to the signaled state.
39
        /// </summary>
40
        Wait63 = 0x0000003f,
41

42
        /// <summary>
43
        /// Success - The caller attempted to wait for a mutex that has been abandoned.
44
        /// </summary>
45
        Abandoned = AbandonedWait0,
46

47
        /// <summary>
48
        /// Success - The caller attempted to wait for a mutex that has been abandoned.
49
        /// </summary>
50
        AbandonedWait0 = 0x00000080,
51

52
        /// <summary>
53
        /// Success - The caller attempted to wait for a mutex that has been abandoned.
54
        /// </summary>
55
        AbandonedWait1 = 0x00000081,
56

57
        /// <summary>
58
        /// Success - The caller attempted to wait for a mutex that has been abandoned.
59
        /// </summary>
60
        AbandonedWait2 = 0x00000082,
61

62
        /// <summary>
63
        /// Success - The caller attempted to wait for a mutex that has been abandoned.
64
        /// </summary>
65
        AbandonedWait3 = 0x00000083,
66

67
        /// <summary>
68
        /// Success - The caller attempted to wait for a mutex that has been abandoned.
69
        /// </summary>
70
        AbandonedWait63 = 0x000000bf,
71

72
        /// <summary>
73
        /// Success - A user-mode APC was delivered before the given Interval expired.
74
        /// </summary>
75
        UserApc = 0x000000c0,
76

77
        /// <summary>
78
        /// Success - ?
79
        /// </summary>
80
        KernelApc = 0x00000100,
81

82
        /// <summary>
83
        /// Success - The delay completed because the thread was alerted.
84
        /// </summary>
85
        Alerted = 0x00000101,
86

87
        /// <summary>
88
        /// Success - The given Timeout interval expired.
89
        /// </summary>
90
        Timeout = 0x00000102,
91

92
        /// <summary>
93
        /// Success - The operation that was requested is pending completion.
94
        /// </summary>
95
        Pending = 0x00000103,
96

97
        /// <summary>
98
        /// Success - A reparse should be performed by the Object Manager
99
        /// because the name of the file resulted in a symbolic link.
100
        /// </summary>
101
        Reparse = 0x00000104,
102

103
        /// <summary>
104
        /// Success - Returned by enumeration APIs to indicate more information
105
        /// is available to successive calls.
106
        /// </summary>
107
        MoreEntries = 0x00000105,
108

109
        /// <summary>
110
        /// Success - Indicates not all privileges or groups that are referenced
111
        /// are assigned to the caller. This allows, for example, all privileges
112
        /// to be disabled without having to know exactly which privileges are
113
        /// assigned.
114
        /// </summary>
115
        NotAllAssigned = 0x00000106,
116

117
        /// <summary>
118
        /// Success - Some of the information to be translated has not been translated.
119
        /// </summary>
120
        SomeNotMapped = 0x00000107,
121

122
        /// <summary>
123
        /// Success - An open/create operation completed while an opportunistic
124
        /// lock (<c>oplock</c>) break is underway.
125
        /// </summary>
126
        OpLockBreakInProgress = 0x00000108,
127

128
        /// <summary>
129
        /// Success - A new volume has been mounted by a file system.
130
        /// </summary>
131
        VolumeMounted = 0x00000109,
132

133
        /// <summary>
134
        /// Success - This success level status indicates that the transaction
135
        /// state already exists for the registry sub-tree but that a transaction
136
        /// commit was previously aborted. The commit has now been completed.
137
        /// </summary>
138
        RxActCommitted = 0x0000010a,
139

140
        /// <summary>
141
        /// Success - Indicates that a notify change request has been completed
142
        /// due to closing the handle that made the notify change request.
143
        /// </summary>
144
        NotifyCleanup = 0x0000010b,
145

146
        /// <summary>
147
        /// Success - Indicates that a notify change request is being completed
148
        /// and that the information is not being returned in the caller's
149
        /// buffer. The caller now needs to enumerate the files to find the
150
        /// changes.
151
        /// </summary>
152
        NotifyEnumDir = 0x0000010c,
153

154
        /// <summary>
155
        /// Success - {No Quotas} No system quota limits are specifically set for this account.
156
        /// </summary>
157
        NoQuotasForAccount = 0x0000010d,
158

159
        /// <summary>
160
        /// Success - {Connect Failure on Primary Transport} An attempt was made
161
        /// to connect to the remote server on the primary transport, but
162
        /// the connection failed. The computer WAS able to connect on a
163
        /// secondary transport.
164
        /// </summary>
165
        PrimaryTransportConnectFailed = 0x0000010e,
166

167
        /// <summary>
168
        /// Success - The page fault was a transition fault.
169
        /// </summary>
170
        PageFaultTransition = 0x00000110,
171

172
        /// <summary>
173
        /// Success - The page fault was a demand zero fault.
174
        /// </summary>
175
        PageFaultDemandZero = 0x00000111,
176

177
        /// <summary>
178
        /// Success - The page fault was a demand zero fault.
179
        /// </summary>
180
        PageFaultCopyOnWrite = 0x00000112,
181

182
        /// <summary>
183
        /// Success - The page fault was a demand zero fault.
184
        /// </summary>
185
        PageFaultGuardPage = 0x00000113,
186

187
        /// <summary>
188
        /// Success - The page fault was satisfied by reading from a secondary
189
        /// storage device.
190
        /// </summary>
191
        PageFaultPagingFile = 0x00000114,
192

193
        /// <summary>
194
        /// Success - The crash dump exists in a paging file.
195
        /// </summary>
196
        CrashDump = 0x00000116,
197

198
        /// <summary>
199
        /// Success - A reparse should be performed by the Object Manager
200
        /// because the name of the file resulted in a symbolic link.
201
        /// </summary>
202
        ReparseObject = 0x00000118,
203

204
        /// <summary>
205
        /// Success - A process being terminated has no threads to terminate.
206
        /// </summary>
207
        NothingToTerminate = 0x00000122,
208

209
        /// <summary>
210
        /// Success - The specified process is not part of a job.
211
        /// </summary>
212
        ProcessNotInJob = 0x00000123,
213

214
        /// <summary>
215
        /// Success - The specified process is part of a job.
216
        /// </summary>
217
        ProcessInJob = 0x00000124,
218

219
        /// <summary>
220
        /// Success - The current process is a cloned process.
221
        /// </summary>
222
        ProcessCloned = 0x00000129,
223

224
        /// <summary>
225
        /// Success - The file was locked and all users of the file can only read.
226
        /// </summary>
227
        FileLockedWithOnlyReaders = 0x0000012a,
228

229
        /// <summary>
230
        /// Success - The file was locked and at least one user of the file can write.
231
        /// </summary>
232
        FileLockedWithWriters = 0x0000012b,
233
       
234
        // *****************
235
        // * Informational *
236
        // *****************
237

238
        /// <summary>
239
        /// Informational - General information
240
        /// </summary>
241
        Informational = 0x40000000,
242

243
        /// <summary>
244
        /// Informational - {Object Exists} An attempt was made to create an object but 
245
        /// the object name already exists.
246
        /// </summary>
247
        ObjectNameExists = 0x40000000,
248

249
        /// <summary>
250
        /// Informational - {Thread Suspended} A thread termination occurred while 
251
        /// the thread was suspended. The thread resumed, and termination proceeded.
252
        /// </summary>
253
        ThreadWasSuspended = 0x40000001,
254

255
        /// <summary>
256
        /// Informational - {Working Set Range Error} An attempt was made to set the working set 
257
        /// minimum or maximum to values that are outside the allowable range.
258
        /// </summary>
259
        WorkingSetLimitRange = 0x40000002,
260

261
        /// <summary>
262
        /// Informational - {Image Relocated} An image file could not be mapped at the address 
263
        /// that is specified in the image file. Local fixes must be performed on this image.
264
        /// </summary>
265
        ImageNotAtBase = 0x40000003,
266

267
        /// <summary>
268
        /// Informational - {Registry Recovery} One of the files that contains the system 
269
        /// registry data had to be recovered by using a log or alternate copy. 
270
        /// The recovery was successful.
271
        /// </summary>
272
        RegistryRecovered = 0x40000009,
273

274
        /// <summary>
275
        /// Informational - Transaction - The transactional resource manager is already consistent.
276
        /// Recovery is not needed.
277
        /// </summary>
278
        RecoveryNotNeeded = 0x40190034,
279

280
        /// <summary>
281
        /// Informational - Transaction - The transactional resource manager has
282
        /// already been started.
283
        /// </summary>
284
        RmAlreadyStarted = 0x40190035,
285

286
        // ***********
287
        // * Warning *
288
        // ***********
289

290
        /// <summary>
291
        /// Warning - General warning
292
        /// </summary>
293
        Warning = 0x80000000,
294

295
        /// <summary>
296
        /// Warning - {EXCEPTION} Guard Page Exception A page of memory that marks 
297
        /// the end of a data structure, such as a stack or an array, 
298
        /// has been accessed.
299
        /// </summary>
300
        GuardPageViolation = 0x80000001,
301

302
        /// <summary>
303
        /// Warning - {EXCEPTION} Alignment Fault A data type misalignment was detected 
304
        /// in a load or store instruction.
305
        /// </summary>
306
        DatatypeMisalignment = 0x80000002,
307

308
        /// <summary>
309
        /// Warning - {EXCEPTION} Breakpoint A breakpoint has been reached.
310
        /// </summary>
311
        Breakpoint = 0x80000003,
312

313
        /// <summary>
314
        /// Warning - {EXCEPTION} Single Step A single step or trace operation has just been completed.
315
        /// </summary>
316
        SingleStep = 0x80000004,
317

318
        /// <summary>
319
        /// Warning - {Buffer Overflow} The data was too large to fit into the specified buffer.
320
        /// </summary>
321
        BufferOverflow = 0x80000005,
322

323
        /// <summary>
324
        /// Warning - {No More Files} No more files were found which match the file specification.
325
        /// </summary>
326
        NoMoreFiles = 0x80000006,
327

328
        /// <summary>
329
        /// Warning - {Handles Closed} Handles to objects have been automatically closed 
330
        /// because of the requested operation.
331
        /// </summary>
332
        HandlesClosed = 0x8000000a,
333

334
        /// <summary>
335
        /// Warning - Because of protection conflicts, not all the requested bytes could be copied.
336
        /// </summary>
337
        PartialCopy = 0x8000000d,
338

339
        /// <summary>
340
        /// Warning - {Device Busy} The device is currently busy.
341
        /// </summary>
342
        DeviceBusy = 0x80000011,
343

344
        /// <summary>
345
        /// Warning - {Illegal EA} The specified extended attribute (EA) name
346
        /// contains at least one illegal character.
347
        /// </summary>
348
        InvalidEaName = 0x80000013,
349

350
        /// <summary>
351
        /// Warning - {Inconsistent EA List} The extended attribute (EA) list is
352
        /// inconsistent.
353
        /// </summary>
354
        EaListInconsistent = 0x80000014,
355

356
        /// <summary>
357
        /// Warning - {No More Entries} No more entries are available from an
358
        /// enumeration operation.
359
        /// </summary>
360
        NoMoreEntries = 0x8000001a,
361

362
        /// <summary>
363
        /// Warning - A long jump has been executed.
364
        /// </summary>
365
        LongJump = 0x80000026,
366

367
        /// <summary>
368
        /// Warning - The application is attempting to run executable code. 
369
        /// This may be insecure. 
370
        /// </summary>
371
        DllMightBeInsecure = 0x8000002b,
372

373
        /// <summary>
374
        /// Warning - Transaction - There is no transaction metadata on the file.
375
        /// </summary>
376
        LogCorruptionDetected = 0x80190029,
377

378
        /// <summary>
379
        /// Warning - Transaction - The file cannot be recovered because there
380
        /// is a handle still open on it.
381
        /// </summary>
382
        CantRecoverWithHandleOpen = 0x80190031,
383

384
        /// <summary>
385
        /// Warning - Transaction - Transaction metadata is already present on
386
        /// this file and cannot be superseded.
387
        /// </summary>
388
        TxfMetadataAlreadyPresent = 0x80190041,
389

390
        /// <summary>
391
        /// Warning - Transaction - A transaction scope could not be entered
392
        /// because the scope handler has not been initialized.
393
        /// </summary>
394
        TransactionScopeCallbacksNotSet = 0x80190042,
395

396
        // *********
397
        // * Error *
398
        // *********
399

400
        /// <summary>
401
        /// Error - General error
402
        /// </summary>
403
        Error = 0xc0000000,
404

405
        /// <summary>
406
        /// Error - {Operation Failed} The requested operation was unsuccessful.
407
        /// </summary>
408
        Unsuccessful = 0xc0000001,
409

410
        /// <summary>
411
        /// Error - {Not Implemented} The requested operation is not implemented.
412
        /// </summary>
413
        NotImplemented = 0xc0000002,
414

415
        /// <summary>
416
        /// Error - {Invalid Parameter} The specified information class is not a 
417
        /// valid information class for the specified object.
418
        /// </summary>
419
        InvalidInfoClass = 0xc0000003,
420

421
        /// <summary>
422
        /// Error - The specified information record length does not match the
423
        /// length that is required for the specified information class.
424
        /// </summary>
425
        InfoLengthMismatch = 0xc0000004,
426

427
        /// <summary>
428
        /// Error - The instruction referenced memory it do not have access to.
429
        /// </summary>
430
        AccessViolation = 0xc0000005,
431

432
        /// <summary>
433
        /// Error - The required data was not placed into memory because of an
434
        /// I/O error status.
435
        /// </summary>
436
        InPageError = 0xc0000006,
437

438
        /// <summary>
439
        /// Error - The page file quota for the process has been exhausted.
440
        /// </summary>
441
        PagefileQuota = 0xc0000007,
442

443
        /// <summary>
444
        /// Error - An invalid HANDLE was specified.
445
        /// </summary>
446
        InvalidHandle = 0xc0000008,
447

448
        /// <summary>
449
        /// Error - An invalid initial stack was specified in a call to
450
        /// <c>NtCreateThread</c>.
451
        /// </summary>
452
        BadInitialStack = 0xc0000009,
453

454
        /// <summary>
455
        /// Error - An invalid initial start address was specified in a call to
456
        /// <c>NtCreateThread</c>.
457
        /// </summary>
458
        BadInitialPc = 0xc000000a,
459

460
        /// <summary>
461
        /// Error - An invalid client ID was specified.
462
        /// </summary>
463
        InvalidCid = 0xc000000b,
464

465
        /// <summary>
466
        /// Error - An attempt was made to cancel or set a timer that has an
467
        /// associated APC and the specified thread is not the thread that
468
        /// originally set the timer with an associated APC routine.
469
        /// </summary>
470
        TimerNotCanceled = 0xc000000c,
471

472
        /// <summary>
473
        /// Error - An invalid parameter was passed to a service or function.
474
        /// </summary>
475
        InvalidParameter = 0xc000000d,
476

477
        /// <summary>
478
        /// Error - A device that does not exist was specified.
479
        /// </summary>
480
        NoSuchDevice = 0xc000000e,
481

482
        /// <summary>
483
        /// Error - {File Not Found} The file does not exist.
484
        /// </summary>
485
        NoSuchFile = 0xc000000f,
486

487
        /// <summary>
488
        /// Error - The specified request is not a valid operation for the
489
        /// target device.
490
        /// </summary>
491
        InvalidDeviceRequest = 0xc0000010,
492

493
        /// <summary>
494
        /// Error - The end-of-file marker has been reached. There is no valid
495
        /// data in the file beyond this marker.
496
        /// </summary>
497
        EndOfFile = 0xc0000011,
498

499
        /// <summary>
500
        /// Error - {Wrong Volume} The wrong volume is in the drive. Insert
501
        /// volume into drive.
502
        /// </summary>
503
        WrongVolume = 0xc0000012,
504

505
        /// <summary>
506
        /// Error - {No Disk} There is no disk in the drive. Insert a disk into
507
        /// drive.
508
        /// </summary>
509
        NoMediaInDevice = 0xc0000013,
510

511
        /// <summary>
512
        /// Error - {Not Enough Quota} Not enough virtual memory or paging file
513
        /// quota is available to complete the specified operation.
514
        /// </summary>
515
        NoMemory = 0xc0000017,
516

517
        /// <summary>
518
        /// Error - The address range to un-map is not a mapped view.
519
        /// </summary>
520
        NotMappedView = 0xc0000019,
521

522
        /// <summary>
523
        /// Error - The virtual memory cannot be freed.
524
        /// </summary>
525
        UnableToFreeVm = 0xc000001a,
526

527
        /// <summary>
528
        /// Error - The specified section cannot be deleted.
529
        /// </summary>
530
        UnableToDeleteSection = 0xc000001b,
531

532
        /// <summary>
533
        /// Error - {EXCEPTION} Illegal Instruction. An attempt was made to
534
        /// execute an illegal instruction.
535
        /// </summary>
536
        IllegalInstruction = 0xc000001d,
537

538
        /// <summary>
539
        /// Error - {Already Committed} The specified address range is already
540
        /// committed.
541
        /// </summary>
542
        AlreadyCommitted = 0xc0000021,
543

544
        /// <summary>
545
        /// Error - {Access Denied} A process has requested access to an object
546
        /// but has not been granted those access rights.
547
        /// </summary>
548
        AccessDenied = 0xc0000022,
549

550
        /// <summary>
551
        /// Error - {Buffer Too Small} The buffer is too small to contain the
552
        /// entry. No information has been written to the buffer.
553
        /// </summary>
554
        BufferTooSmall = 0xc0000023,
555

556
        /// <summary>
557
        /// Error - {Wrong Type} There is a mismatch between the type of object
558
        /// that is required by the requested operation and the type of object
559
        /// that is specified in the request.
560
        /// </summary>
561
        ObjectTypeMismatch = 0xc0000024,
562

563
        /// <summary>
564
        /// Error - {EXCEPTION} Cannot Continue. Windows cannot continue from
565
        /// this exception.
566
        /// </summary>
567
        NonContinuableException = 0xc0000025,
568

569
        /// <summary>
570
        /// Error - An invalid or unaligned stack was encountered during an
571
        /// unwind operation.
572
        /// </summary>
573
        BadStack = 0xc0000028,
574

575
        /// <summary>
576
        /// Error - An attempt was made to unlock a page of memory that was not
577
        /// locked.
578
        /// </summary>
579
        NotLocked = 0xc000002a,
580

581
        /// <summary>
582
        /// Error - An attempt was made to change the attributes on memory that
583
        /// has not been committed.
584
        /// </summary>
585
        NotCommitted = 0xc000002d,
586

587
        /// <summary>
588
        /// Error - An invalid combination of parameters was specified.
589
        /// </summary>
590
        InvalidParameterMix = 0xc0000030,
591

592
        /// <summary>
593
        /// Error - The object name is invalid.
594
        /// </summary>
595
        ObjectNameInvalid = 0xc0000033,
596

597
        /// <summary>
598
        /// Error - The object name is not found.
599
        /// </summary>
600
        ObjectNameNotFound = 0xc0000034,
601

602
        /// <summary>
603
        /// Error - The object name already exists.
604
        /// </summary>
605
        ObjectNameCollision = 0xc0000035,
606

607
        /// <summary>
608
        /// Error - The object path component was not a directory object.
609
        /// </summary>
610
        ObjectPathInvalid = 0xc0000039,
611

612
        /// <summary>
613
        /// Error - {Path Not Found} The path does not exist.
614
        /// </summary>
615
        ObjectPathNotFound = 0xc000003a,
616

617
        /// <summary>
618
        /// Error - The object path component was not a directory object.
619
        /// </summary>
620
        ObjectPathSyntaxBad = 0xc000003b,
621

622
        /// <summary>
623
        /// Error - {Data Overrun} A data overrun error occurred.
624
        /// </summary>
625
        DataOverrun = 0xc000003c,
626

627
        /// <summary>
628
        /// Error - {Data Late} A data late error occurred.
629
        /// </summary>
630
        DataLate = 0xc000003d,
631

632
        /// <summary>
633
        /// Error - {Data Error} An error occurred in reading or writing data.
634
        /// </summary>
635
        DataError = 0xc000003e,
636

637
        /// <summary>
638
        /// Error - {Bad CRC} A cyclic redundancy check (CRC) checksum error
639
        /// occurred.
640
        /// </summary>
641
        CrcError = 0xc000003f,
642

643
        /// <summary>
644
        /// Error - {Section Too Large} The specified section is too big to map
645
        /// the file.
646
        /// </summary>
647
        SectionTooBig = 0xc0000040,
648

649
        /// <summary>
650
        /// Error - The <c>NtConnectPort</c> request is refused.
651
        /// </summary>
652
        PortConnectionRefused = 0xc0000041,
653

654
        /// <summary>
655
        /// Error - The type of port handle is invalid for the operation that is
656
        /// requested.
657
        /// </summary>
658
        InvalidPortHandle = 0xc0000042,
659

660
        /// <summary>
661
        /// Error - A file cannot be opened because the share access flags are
662
        /// incompatible.
663
        /// </summary>
664
        SharingViolation = 0xc0000043,
665

666
        /// <summary>
667
        /// Error - Insufficient quota exists to complete the operation.
668
        /// </summary>
669
        QuotaExceeded = 0xc0000044,
670

671
        /// <summary>
672
        /// Error - The specified page protection was not valid.
673
        /// </summary>
674
        InvalidPageProtection = 0xc0000045,
675

676
        /// <summary>
677
        /// Error - An attempt to release a mutant object was made by a thread
678
        /// that was not the owner of the mutant object.
679
        /// </summary>
680
        MutantNotOwned = 0xc0000046,
681

682
        /// <summary>
683
        /// Error - An attempt was made to release a semaphore such that its
684
        /// maximum count would have been exceeded.
685
        /// </summary>
686
        SemaphoreLimitExceeded = 0xc0000047,
687

688
        /// <summary>
689
        /// Error - An attempt was made to set the DebugPort or ExceptionPort of
690
        /// a process, but a port already exists in the process, or an attempt
691
        /// was made to set the CompletionPort of a file but a port was already
692
        /// set in the file, or an attempt was made to set the associated
693
        /// completion port of an ALPC port but it is already set.
694
        /// </summary>
695
        PortAlreadySet = 0xc0000048,
696

697
        /// <summary>
698
        /// Error - An attempt was made to query image information on a section
699
        /// that does not map an image.
700
        /// </summary>
701
        SectionNotImage = 0xc0000049,
702

703
        /// <summary>
704
        /// Error - An attempt was made to suspend a thread whose suspend count
705
        /// was at its maximum.
706
        /// </summary>
707
        SuspendCountExceeded = 0xc000004a,
708

709
        /// <summary>
710
        /// Error - An attempt was made to suspend a thread that has begun
711
        /// termination.
712
        /// </summary>
713
        ThreadIsTerminating = 0xc000004b,
714

715
        /// <summary>
716
        /// Error - An attempt was made to set the working set limit to an
717
        /// invalid value (for example, the minimum greater than maximum).
718
        /// </summary>
719
        BadWorkingSetLimit = 0xc000004c,
720

721
        /// <summary>
722
        /// Error - A section was created to map a file that is not compatible
723
        /// with an already existing section that maps the same file.
724
        /// </summary>
725
        IncompatibleFileMap = 0xc000004d,
726

727
        /// <summary>
728
        /// Error - A view to a section specifies a protection that is
729
        /// incompatible with the protection of the initial view.
730
        /// </summary>
731
        SectionProtection = 0xc000004e,
732

733
        /// <summary>
734
        /// Error - An operation involving EAs failed because the file system
735
        /// does not support EAs.
736
        /// </summary>
737
        EasNotSupported = 0xc000004f,
738

739
        /// <summary>
740
        /// Error - An EA operation failed because the EA set is too large.
741
        /// </summary>
742
        EaTooLarge = 0xc0000050,
743

744
        /// <summary>
745
        /// Error - An EA operation failed because the name or EA index is
746
        /// invalid.
747
        /// </summary>
748
        NonExistentEaEntry = 0xc0000051,
749

750
        /// <summary>
751
        /// Error - The file for which EAs were requested has no EAs.
752
        /// </summary>
753
        NoEasOnFile = 0xc0000052,
754

755
        /// <summary>
756
        /// Error - The EA is corrupt and cannot be read.
757
        /// </summary>
758
        EaCorruptError = 0xc0000053,
759

760
        /// <summary>
761
        /// Error - A requested read/write cannot be granted due to a
762
        /// conflicting file lock.
763
        /// </summary>
764
        FileLockConflict = 0xc0000054,
765

766
        /// <summary>
767
        /// Error - A requested file lock cannot be granted due to other
768
        /// existing locks.
769
        /// </summary>
770
        LockNotGranted = 0xc0000055,
771

772
        /// <summary>
773
        /// Error - A non-close operation has been requested of a file object
774
        /// that has a delete pending.
775
        /// </summary>
776
        DeletePending = 0xc0000056,
777

778
        /// <summary>
779
        /// Error - An attempt was made to set the control attribute on a file.
780
        /// This attribute is not supported in the destination file system.
781
        /// </summary>
782
        CtlFileNotSupported = 0xc0000057,
783

784
        /// <summary>
785
        /// Error - Indicates a revision number that was encountered or
786
        /// specified is not one that is known by the service. It might be a
787
        /// more recent revision than the service is aware of.
788
        /// </summary>
789
        UnknownRevision = 0xc0000058,
790

791
        /// <summary>
792
        /// Error - Indicates that two revision levels are incompatible.
793
        /// </summary>
794
        RevisionMismatch = 0xc0000059,
795

796
        /// <summary>
797
        /// Error - Indicates a particular security ID cannot be assigned as
798
        /// the owner of an object.
799
        /// </summary>
800
        InvalidOwner = 0xc000005a,
801

802
        /// <summary>
803
        /// Error - Indicates a particular security ID cannot be assigned as the
804
        /// primary group of an object.
805
        /// </summary>
806
        InvalidPrimaryGroup = 0xc000005b,
807

808
        /// <summary>
809
        /// Error - An attempt has been made to operate on an impersonation
810
        /// token by a thread that is not currently impersonating a client.
811
        /// </summary>
812
        NoImpersonationToken = 0xc000005c,
813

814
        /// <summary>
815
        /// Error - A mandatory group cannot be disabled.
816
        /// </summary>
817
        CantDisableMandatory = 0xc000005d,
818

819
        /// <summary>
820
        /// Error - No logon servers are currently available to service the
821
        /// logon request.
822
        /// </summary>
823
        NoLogonServers = 0xc000005e,
824

825
        /// <summary>
826
        /// Error - A specified logon session does not exist. It might already
827
        /// have been terminated.
828
        /// </summary>
829
        NoSuchLogonSession = 0xc000005f,
830

831
        /// <summary>
832
        /// Error - A specified privilege does not exist.
833
        /// </summary>
834
        NoSuchPrivilege = 0xc0000060,
835

836
        /// <summary>
837
        /// Error - A required privilege is not held by the client.
838
        /// </summary>
839
        PrivilegeNotHeld = 0xc0000061,
840

841
        /// <summary>
842
        /// Error - The name provided is not a properly formed account name.
843
        /// </summary>
844
        InvalidAccountName = 0xc0000062,
845

846
        /// <summary>
847
        /// Error - The specified account already exists.
848
        /// </summary>
849
        UserExists = 0xc0000063,
850

851
        /// <summary>
852
        /// Error - The specified account does not exist.
853
        /// </summary>
854
        NoSuchUser = 0xc0000064,
855

856
        /// <summary>
857
        /// Error - The specified group already exists.
858
        /// </summary>
859
        GroupExists = 0xc0000065,
860

861
        /// <summary>
862
        /// Error - The specified group does not exist.
863
        /// </summary>
864
        NoSuchGroup = 0xc0000066,
865

866
        /// <summary>
867
        /// Error - The specified user account is already in the specified group
868
        /// account. Also used to indicate a group cannot be deleted because it
869
        /// contains a member.
870
        /// </summary>
871
        MemberInGroup = 0xc0000067,
872

873
        /// <summary>
874
        /// Error - The specified user account is not a member of the specified
875
        /// group account.
876
        /// </summary>
877
        MemberNotInGroup = 0xc0000068,
878

879
        /// <summary>
880
        /// Error - Indicates the requested operation would disable or delete
881
        /// the last remaining administration account. This is not allowed to
882
        /// prevent creating a situation in which the system cannot be
883
        /// administrated.
884
        /// </summary>
885
        LastAdmin = 0xc0000069,
886

887
        /// <summary>
888
        /// Error - When trying to update a password, this return status
889
        /// indicates that the value provided as the current password is not
890
        /// correct.
891
        /// </summary>
892
        WrongPassword = 0xc000006a,
893

894
        /// <summary>
895
        /// Error - When trying to update a password, this return status
896
        /// indicates that the value provided for the new password contains
897
        /// values that are not allowed in passwords.
898
        /// </summary>
899
        IllFormedPassword = 0xc000006b,
900

901
        /// <summary>
902
        /// Error - When trying to update a password, this status indicates that
903
        /// some password update rule has been violated. For example, the
904
        /// password might not meet length criteria.
905
        /// </summary>
906
        PasswordRestriction = 0xc000006c,
907

908
        /// <summary>
909
        /// Error - The attempted logon is invalid. This is either due to a bad
910
        /// username or authentication information.
911
        /// </summary>
912
        LogonFailure = 0xc000006d,
913

914
        /// <summary>
915
        /// Error - Indicates a referenced user name and authentication
916
        /// information are valid, but some user account restriction has
917
        /// prevented successful authentication (such as time-of-day
918
        /// restrictions).
919
        /// </summary>
920
        AccountRestriction = 0xc000006e,
921

922
        /// <summary>
923
        /// Error - The user account has time restrictions and cannot be logged
924
        /// onto at this time.
925
        /// </summary>
926
        InvalidLogonHours = 0xc000006f,
927

928
        /// <summary>
929
        /// Error - The user account is restricted so that it cannot be used to
930
        /// log on from the source workstation.
931
        /// </summary>
932
        InvalidWorkstation = 0xc0000070,
933

934
        /// <summary>
935
        /// Error - The user account password has expired.
936
        /// </summary>
937
        PasswordExpired = 0xc0000071,
938

939
        /// <summary>
940
        /// Error - The referenced account is currently disabled and cannot be
941
        /// logged on to.
942
        /// </summary>
943
        AccountDisabled = 0xc0000072,
944

945
        /// <summary>
946
        /// Error - None of the information to be translated has been
947
        /// translated.
948
        /// </summary>
949
        NoneMapped = 0xc0000073,
950

951
        /// <summary>
952
        /// Error - The number of LUIDs requested cannot be allocated with a
953
        /// single allocation.
954
        /// </summary>
955
        TooManyLuidsRequested = 0xc0000074,
956

957
        /// <summary>
958
        /// Error - Indicates there are no more LUIDs to allocate.
959
        /// </summary>
960
        LuidsExhausted = 0xc0000075,
961

962
        /// <summary>
963
        /// Error - Indicates the sub-authority value is invalid for the
964
        /// particular use.
965
        /// </summary>
966
        InvalidSubAuthority = 0xc0000076,
967

968
        /// <summary>
969
        /// Error - Indicates the ACL structure is not valid.
970
        /// </summary>
971
        InvalidAcl = 0xc0000077,
972

973
        /// <summary>
974
        /// Error - Indicates the SID structure is not valid.
975
        /// </summary>
976
        InvalidSid = 0xc0000078,
977

978
        /// <summary>
979
        /// Error - Indicates the <c>SECURITY_DESCRIPTOR</c> structure is not valid.
980
        /// </summary>
981
        InvalidSecurityDescr = 0xc0000079,
982

983
        /// <summary>
984
        /// Error - Indicates the specified procedure address cannot be found in
985
        /// the DLL.
986
        /// </summary>
987
        ProcedureNotFound = 0xc000007a,
988

989
        /// <summary>
990
        /// Error - {Bad Image} Image is either not designed to run on Windows or
991
        /// it contains an error. Try installing the program again using the
992
        /// original installation media or contact your system administrator or
993
        /// the software vendor for support.
994
        /// </summary>
995
        InvalidImageFormat = 0xc000007b,
996

997
        /// <summary>
998
        /// Error - An attempt was made to reference a token that does not
999
        /// exist. This is typically done by referencing the token that is
1000
        /// associated with a thread when the thread is not impersonating a
1001
        /// client.
1002
        /// </summary>
1003
        NoToken = 0xc000007c,
1004

1005
        /// <summary>
1006
        /// Error - Indicates that an attempt to build either an inherited ACL
1007
        /// or ACE was not successful. This can be caused by a number of things.
1008
        /// One of the more probable causes is the replacement of a CreatorId
1009
        /// with a SID that did not fit into the ACE or ACL.
1010
        /// </summary>
1011
        BadInheritanceAcl = 0xc000007d,
1012

1013
        /// <summary>
1014
        /// Error - The range specified in <c>NtUnlockFile</c> was not locked.
1015
        /// </summary>
1016
        RangeNotLocked = 0xc000007e,
1017

1018
        /// <summary>
1019
        /// Error - An operation failed because the disk was full.
1020
        /// </summary>
1021
        DiskFull = 0xc000007f,
1022

1023
        /// <summary>
1024
        /// Error - The GUID allocation server is disabled at the moment.
1025
        /// </summary>
1026
        ServerDisabled = 0xc0000080,
1027

1028
        /// <summary>
1029
        /// Error - The GUID allocation server is enabled at the moment.
1030
        /// </summary>
1031
        ServerNotDisabled = 0xc0000081,
1032

1033
        /// <summary>
1034
        /// Error - Too many GUIDs were requested from the allocation server at
1035
        /// once.
1036
        /// </summary>
1037
        TooManyGuidsRequested = 0xc0000082,
1038

1039
        /// <summary>
1040
        /// Error - The GUIDs could not be allocated because the Authority Agent
1041
        /// was exhausted.
1042
        /// </summary>
1043
        GuidsExhausted = 0xc0000083,
1044

1045
        /// <summary>
1046
        /// Error - The value provided was an invalid value for an identifier
1047
        /// authority.
1048
        /// </summary>
1049
        InvalidIdAuthority = 0xc0000084,
1050

1051
        /// <summary>
1052
        /// Error - No more authority agent values are available for the
1053
        /// particular identifier authority value.
1054
        /// </summary>
1055
        AgentsExhausted = 0xc0000085,
1056

1057
        /// <summary>
1058
        /// Error - An invalid volume label has been specified.
1059
        /// </summary>
1060
        InvalidVolumeLabel = 0xc0000086,
1061

1062
        /// <summary>
1063
        /// Error - A mapped section could not be extended.
1064
        /// </summary>
1065
        SectionNotExtended = 0xc0000087,
1066

1067
        /// <summary>
1068
        /// Error - Specified section to flush does not map a data file.
1069
        /// </summary>
1070
        NotMappedData = 0xc0000088,
1071

1072
        /// <summary>
1073
        /// Error - Indicates the specified image file did not contain a
1074
        /// resource section.
1075
        /// </summary>
1076
        ResourceDataNotFound = 0xc0000089,
1077

1078
        /// <summary>
1079
        /// Error - Indicates the specified resource type cannot be found in the
1080
        /// image file.
1081
        /// </summary>
1082
        ResourceTypeNotFound = 0xc000008a,
1083

1084
        /// <summary>
1085
        /// Error - Indicates the specified resource name cannot be found in the
1086
        /// image file.
1087
        /// </summary>
1088
        ResourceNameNotFound = 0xc000008b,
1089

1090
        /// <summary>
1091
        /// Error - {EXCEPTION} Array bounds exceeded.
1092
        /// </summary>
1093
        ArrayBoundsExceeded = 0xc000008c,
1094

1095
        /// <summary>
1096
        /// Error - {EXCEPTION} Floating-point denormal operand.
1097
        /// </summary>
1098
        FloatDenormalOperand = 0xc000008d,
1099

1100
        /// <summary>
1101
        /// Error - {EXCEPTION} Floating-point division by zero.
1102
        /// </summary>
1103
        FloatDivideByZero = 0xc000008e,
1104

1105
        /// <summary>
1106
        /// Error - {EXCEPTION} Floating-point inexact result.
1107
        /// </summary>
1108
        FloatInexactResult = 0xc000008f,
1109

1110
        /// <summary>
1111
        /// Error - {EXCEPTION} Floating-point invalid operation.
1112
        /// </summary>
1113
        FloatInvalidOperation = 0xc0000090,
1114

1115
        /// <summary>
1116
        /// Error - {EXCEPTION} Floating-point overflow.
1117
        /// </summary>
1118
        FloatOverflow = 0xc0000091,
1119

1120
        /// <summary>
1121
        /// Error - {EXCEPTION} Floating-point stack check.
1122
        /// </summary>
1123
        FloatStackCheck = 0xc0000092,
1124

1125
        /// <summary>
1126
        /// Error - {EXCEPTION} Floating-point underflow.
1127
        /// </summary>
1128
        FloatUnderflow = 0xc0000093,
1129

1130
        /// <summary>
1131
        /// Error - {EXCEPTION} Integer division by zero.
1132
        /// </summary>
1133
        IntegerDivideByZero = 0xc0000094,
1134

1135
        /// <summary>
1136
        /// Error - {EXCEPTION} Integer overflow.
1137
        /// </summary>
1138
        IntegerOverflow = 0xc0000095,
1139

1140
        /// <summary>
1141
        /// Error - {EXCEPTION} Privileged instruction.
1142
        /// </summary>
1143
        PrivilegedInstruction = 0xc0000096,
1144

1145
        /// <summary>
1146
        /// Error - An attempt was made to install more paging files than the
1147
        /// system supports.
1148
        /// </summary>
1149
        TooManyPagingFiles = 0xc0000097,
1150

1151
        /// <summary>
1152
        /// Error - The volume for a file has been externally altered such that
1153
        /// the opened file is no longer valid.
1154
        /// </summary>
1155
        FileInvalid = 0xc0000098,
1156

1157
        /// <summary>
1158
        /// Error - The maximum named pipe instance count has been reached.
1159
        /// </summary>
1160
        InstanceNotAvailable = 0xc00000ab,
1161

1162
        /// <summary>
1163
        /// Error - An instance of a named pipe cannot be found in the listening
1164
        /// state.
1165
        /// </summary>
1166
        PipeNotAvailable = 0xc00000ac,
1167

1168
        /// <summary>
1169
        /// Error - The named pipe is not in the connected or closing state.
1170
        /// </summary>
1171
        InvalidPipeState = 0xc00000ad,
1172

1173
        /// <summary>
1174
        /// Error - The specified pipe is set to complete operations and there
1175
        /// are current I/O operations queued so that it cannot be changed to
1176
        /// queue operations.
1177
        /// </summary>
1178
        PipeBusy = 0xc00000ae,
1179

1180
        /// <summary>
1181
        /// Error - The specified handle is not open to the server end of the
1182
        /// named pipe.
1183
        /// </summary>
1184
        IllegalFunction = 0xc00000af,
1185

1186
        /// <summary>
1187
        /// Error - The specified named pipe is in the disconnected state.
1188
        /// </summary>
1189
        PipeDisconnected = 0xc00000b0,
1190

1191
        /// <summary>
1192
        /// Error - The specified named pipe is in the closing state.
1193
        /// </summary>
1194
        PipeClosing = 0xc00000b1,
1195

1196
        /// <summary>
1197
        /// Error - The specified named pipe is in the connected state.
1198
        /// </summary>
1199
        PipeConnected = 0xc00000b2,
1200

1201
        /// <summary>
1202
        /// Error - The specified named pipe is in the listening state.
1203
        /// </summary>
1204
        PipeListening = 0xc00000b3,
1205

1206
        /// <summary>
1207
        /// Error - The specified named pipe is not in message mode.
1208
        /// </summary>
1209
        InvalidReadMode = 0xc00000b4,
1210

1211
        /// <summary>
1212
        /// Error - {Device Timeout} The specified I/O operation was not
1213
        /// completed before the time-out period expired.
1214
        /// </summary>
1215
        IoTimeout = 0xc00000b5,
1216

1217
        /// <summary>
1218
        /// Error - The specified file has been closed by another process.
1219
        /// </summary>
1220
        FileForcedClosed = 0xc00000b6,
1221

1222
        /// <summary>
1223
        /// Error - Profiling is not started.
1224
        /// </summary>
1225
        ProfilingNotStarted = 0xc00000b7,
1226

1227
        /// <summary>
1228
        /// Error - Profiling is not stopped.
1229
        /// </summary>
1230
        ProfilingNotStopped = 0xc00000b8,
1231

1232
        /// <summary>
1233
        /// Error - {Incorrect Volume} The destination file of a rename request
1234
        /// is located on a different device than the source of the rename
1235
        /// request.
1236
        /// </summary>
1237
        NotSameDevice = 0xc00000d4,
1238

1239
        /// <summary>
1240
        /// Error - The specified file has been renamed and thus cannot be
1241
        /// modified.
1242
        /// </summary>
1243
        FileRenamed = 0xc00000d5,
1244

1245
        /// <summary>
1246
        /// Error - Used to indicate that an operation cannot continue without
1247
        /// blocking for I/O.
1248
        /// </summary>
1249
        CantWait = 0xc00000d8,
1250

1251
        /// <summary>
1252
        /// Error - Used to indicate that a read operation was done on an empty
1253
        /// pipe.
1254
        /// </summary>
1255
        PipeEmpty = 0xc00000d9,
1256

1257
        /// <summary>
1258
        /// Error - Indicates that a thread attempted to terminate itself by
1259
        /// default (called <c>NtTerminateThread</c> with <c>NULL</c>) and it was the last
1260
        /// thread in the current process.
1261
        /// </summary>
1262
        CantTerminateSelf = 0xc00000db,
1263

1264
        /// <summary>
1265
        /// Error - An internal error occurred.
1266
        /// </summary>
1267
        InternalError = 0xc00000e5,
1268

1269
        /// <summary>
1270
        /// Error - An invalid parameter was passed to a service or function as
1271
        /// the first argument.
1272
        /// </summary>
1273
        InvalidParameter1 = 0xc00000ef,
1274

1275
        /// <summary>
1276
        /// Error - An invalid parameter was passed to a service or function as
1277
        /// the second argument.
1278
        /// </summary>
1279
        InvalidParameter2 = 0xc00000f0,
1280

1281
        /// <summary>
1282
        /// Error - An invalid parameter was passed to a service or function as
1283
        /// the third argument.
1284
        /// </summary>
1285
        InvalidParameter3 = 0xc00000f1,
1286

1287
        /// <summary>
1288
        /// Error - An invalid parameter was passed to a service or function as
1289
        /// the fourth argument.
1290
        /// </summary>
1291
        InvalidParameter4 = 0xc00000f2,
1292

1293
        /// <summary>
1294
        /// Error - An invalid parameter was passed to a service or function as
1295
        /// the fifth argument.
1296
        /// </summary>
1297
        InvalidParameter5 = 0xc00000f3,
1298

1299
        /// <summary>
1300
        /// Error - An invalid parameter was passed to a service or function as
1301
        /// the sixth argument.
1302
        /// </summary>
1303
        InvalidParameter6 = 0xc00000f4,
1304

1305
        /// <summary>
1306
        /// Error - An invalid parameter was passed to a service or function as
1307
        /// the seventh argument.
1308
        /// </summary>
1309
        InvalidParameter7 = 0xc00000f5,
1310

1311
        /// <summary>
1312
        /// Error - An invalid parameter was passed to a service or function as
1313
        /// the eighth argument.
1314
        /// </summary>
1315
        InvalidParameter8 = 0xc00000f6,
1316

1317
        /// <summary>
1318
        /// Error - An invalid parameter was passed to a service or function as
1319
        /// the ninth argument.
1320
        /// </summary>
1321
        InvalidParameter9 = 0xc00000f7,
1322

1323
        /// <summary>
1324
        /// Error - An invalid parameter was passed to a service or function as
1325
        /// the tenth argument.
1326
        /// </summary>
1327
        InvalidParameter10 = 0xc00000f8,
1328

1329
        /// <summary>
1330
        /// Error - An invalid parameter was passed to a service or function as
1331
        /// the eleventh argument.
1332
        /// </summary>
1333
        InvalidParameter11 = 0xc00000f9,
1334

1335
        /// <summary>
1336
        /// Error - An invalid parameter was passed to a service or function as
1337
        /// the twelfth argument.
1338
        /// </summary>
1339
        InvalidParameter12 = 0xc00000fa,
1340

1341
        /// <summary>
1342
        /// Error - Indicates that the directory trying to be deleted is not empty.
1343
        /// </summary>
1344
        DirectoryNotEmpty = 0xc0000101,
1345

1346
        /// <summary>
1347
        /// Error - A requested opened file is not a directory.
1348
        /// </summary>
1349
        NotADirectory = 0xc0000103,
1350

1351
        /// <summary>
1352
        /// Error - An attempt was made to map a file of size zero with the
1353
        /// maximum size specified as zero.
1354
        /// </summary>
1355
        MappedFileSizeZero = 0xc000011e,
1356

1357
        /// <summary>
1358
        /// Error - Too many files are opened on a remote server. This error
1359
        /// should only be returned by the Windows redirector on a remote drive.
1360
        /// </summary>
1361
        TooManyOpenedFiles = 0xc000011f,
1362

1363
        /// <summary>
1364
        /// Error - The I/O request was canceled.
1365
        /// </summary>
1366
        Cancelled = 0xc0000120,
1367

1368
        /// <summary>
1369
        /// Error - An attempt has been made to remove a file or directory that
1370
        /// cannot be deleted.
1371
        /// </summary>
1372
        CannotDelete = 0xc0000121,
1373

1374
        /// <summary>
1375
        /// Error - Indicates a name that was specified as a remote computer
1376
        /// name is syntactically invalid.
1377
        /// </summary>
1378
        InvalidComputerName = 0xc0000122,
1379

1380
        /// <summary>
1381
        /// Error - An I/O request other than <c>close</c> was performed on a file
1382
        /// after it was deleted, which can only happen to a request that did
1383
        /// not complete before the last handle was closed via <c>NtClose</c>.
1384
        /// </summary>
1385
        FileDeleted = 0xc0000123,
1386

1387
        /// <summary>
1388
        /// Error - Indicates an operation that is incompatible with built-in
1389
        /// accounts has been attempted on a built-in (special) SAM account. For
1390
        /// example, built-in accounts cannot be deleted.
1391
        /// </summary>
1392
        SpecialAccount = 0xc0000124,
1393

1394
        /// <summary>
1395
        /// Error - The operation requested cannot be performed on the specified
1396
        /// group because it is a built-in special group.
1397
        /// </summary>
1398
        SpecialGroup = 0xc0000125,
1399

1400
        /// <summary>
1401
        /// Error - The operation requested cannot be performed on the specified
1402
        /// user because it is a built-in special user.
1403
        /// </summary>
1404
        SpecialUser = 0xc0000126,
1405

1406
        /// <summary>
1407
        /// Error - Indicates a member cannot be removed from a group because
1408
        /// the group is currently the member's primary group.
1409
        /// </summary>
1410
        MembersPrimaryGroup = 0xc0000127,
1411

1412
        /// <summary>
1413
        /// Error - An I/O request other than <c>close</c> and several other special
1414
        /// case operations was attempted using a file object that had already
1415
        /// been closed.
1416
        /// </summary>
1417
        FileClosed = 0xc0000128,
1418

1419
        /// <summary>
1420
        /// Error - Indicates a process has too many threads to perform the
1421
        /// requested action. For example, assignment of a primary token can be
1422
        /// performed only when a process has zero or one threads.
1423
        /// </summary>
1424
        TooManyThreads = 0xc0000129,
1425

1426
        /// <summary>
1427
        /// Error - An attempt was made to operate on a thread within a specific
1428
        /// process, but the specified thread is not in the specified process.
1429
        /// </summary>
1430
        ThreadNotInProcess = 0xc000012a,
1431

1432
        /// <summary>
1433
        /// Error - An attempt was made to establish a token for use as a
1434
        /// primary token but the token is already in use. A token can only be
1435
        /// the primary token of one process at a time.
1436
        /// </summary>
1437
        TokenAlreadyInUse = 0xc000012b,
1438

1439
        /// <summary>
1440
        /// Error - The page file quota was exceeded.
1441
        /// </summary>
1442
        PagefileQuotaExceeded = 0xc000012c,
1443

1444
        /// <summary>
1445
        /// Error - {Out of Virtual Memory} Your system is low on virtual
1446
        /// memory. To ensure that Windows runs correctly, increase the size of
1447
        /// your virtual memory paging file.
1448
        /// </summary>
1449
        CommitmentLimit = 0xc000012d,
1450

1451
        /// <summary>
1452
        /// Error - The specified image file did not have the correct format: it
1453
        /// appears to be LE format.
1454
        /// </summary>
1455
        InvalidImageLeFormat = 0xc000012e,
1456

1457
        /// <summary>
1458
        /// Error - The specified image file did not have the correct format: it
1459
        /// did not have an initial MZ.
1460
        /// </summary>
1461
        InvalidImageNotMz = 0xc000012f,
1462

1463
        /// <summary>
1464
        /// Error - The specified image file did not have the correct format: it
1465
        /// did not have a proper <c>e_lfarlc</c> in the MZ header.
1466
        /// </summary>
1467
        InvalidImageProtect = 0xc0000130,
1468

1469
        /// <summary>
1470
        /// Error - The specified image file did not have the correct format: it
1471
        /// appears to be a 16-bit Windows image.
1472
        /// </summary>
1473
        InvalidImageWin16 = 0xc0000131,
1474

1475
        /// <summary>
1476
        /// Error - The <c>Netlogon</c> service cannot start because another <c>Netlogon</c>
1477
        /// service running in the domain conflicts with the specified role.
1478
        /// </summary>
1479
        LogonServer = 0xc0000132,
1480

1481
        /// <summary>
1482
        /// Error - The time at the primary domain controller is different from
1483
        /// the time at the backup domain controller or member server by too
1484
        /// large an amount.
1485
        /// </summary>
1486
        DifferenceAtDc = 0xc0000133,
1487

1488
        /// <summary>
1489
        /// Error - The SAM database on a Windows Server operating system is
1490
        /// significantly out of synchronization with the copy on the domain
1491
        /// controller. A complete synchronization is required.
1492
        /// </summary>
1493
        SynchronizationRequired = 0xc0000134,
1494

1495
        /// <summary>
1496
        /// Error - {Unable To Locate Component} This application has failed to
1497
        /// start because DLL was not found. Reinstalling the application might
1498
        /// fix this problem.
1499
        /// </summary>
1500
        DllNotFound = 0xc0000135,
1501

1502
        /// <summary>
1503
        /// Error - {Privilege Failed} The I/O permissions for the process could
1504
        /// not be changed.
1505
        /// </summary>
1506
        IoPrivilegeFailed = 0xc0000137,
1507

1508
        /// <summary>
1509
        /// Error - {Ordinal Not Found} The ordinal could not be located in the
1510
        /// dynamic link library.
1511
        /// </summary>
1512
        OrdinalNotFound = 0xc0000138,
1513

1514
        /// <summary>
1515
        /// Error - {Entry Point Not Found} The procedure entry point could
1516
        /// not be located in the dynamic link library.
1517
        /// </summary>
1518
        EntryPointNotFound = 0xc0000139,
1519

1520
        /// <summary>
1521
        /// Error - {Application Exit by CTRL+C} The application terminated as a
1522
        /// result of a CTRL+C.
1523
        /// </summary>
1524
        ControlCExit = 0xc000013a,
1525

1526
        /// <summary>
1527
        /// Error - An attempt to remove a processes DebugPort was made, but a
1528
        /// port was not already associated with the process.
1529
        /// </summary>
1530
        PortNotSet = 0xc0000353,
1531

1532
        /// <summary>
1533
        /// Error - An attempt to do an operation on a debug port failed because
1534
        /// the port is in the process of being deleted.
1535
        /// </summary>
1536
        DebuggerInactive = 0xc0000354,
1537

1538
        /// <summary>
1539
        /// Error - A callback has requested to bypass native code.
1540
        /// </summary>
1541
        CallbackBypass = 0xc0000503,
1542

1543
        /// <summary>
1544
        /// Error - The ALPC port is closed.
1545
        /// </summary>
1546
        PortClosed = 0xc0000700,
1547

1548
        /// <summary>
1549
        /// Error - The ALPC message requested is no longer available.
1550
        /// </summary>
1551
        MessageLost = 0xc0000701,
1552

1553
        /// <summary>
1554
        /// Error - The ALPC message supplied is invalid.
1555
        /// </summary>
1556
        InvalidMessage = 0xc0000702,
1557

1558
        /// <summary>
1559
        /// Error - The ALPC message has been canceled.
1560
        /// </summary>
1561
        RequestCanceled = 0xc0000703,
1562

1563
        /// <summary>
1564
        /// Error - Invalid recursive dispatch attempt.
1565
        /// </summary>
1566
        RecursiveDispatch = 0xc0000704,
1567

1568
        /// <summary>
1569
        /// Error - No receive buffer has been supplied in a synchronous
1570
        /// request.
1571
        /// </summary>
1572
        LpcReceiveBufferExpected = 0xc0000705,
1573

1574
        /// <summary>
1575
        /// Error - The connection port is used in an invalid context.
1576
        /// </summary>
1577
        LpcInvalidConnectionUsage = 0xc0000706,
1578

1579
        /// <summary>
1580
        /// Error - The ALPC port does not accept new request messages.
1581
        /// </summary>
1582
        LpcRequestsNotAllowed = 0xc0000707,
1583

1584
        /// <summary>
1585
        /// Error - The resource requested is already in use.
1586
        /// </summary>
1587
        ResourceInUse = 0xc0000708,
1588

1589
        /// <summary>
1590
        /// Error - Either the target process, or the target thread's containing
1591
        /// process, is a protected process.
1592
        /// </summary>
1593
        ProcessIsProtected = 0xc0000712,
1594

1595
        /// <summary>
1596
        /// Error - The operation could not be completed because the volume is
1597
        /// dirty. Please run the Chkdsk utility and try again.
1598
        /// </summary>
1599
        VolumeDirty = 0xc0000806,
1600

1601
        /// <summary>
1602
        /// Error - This file is checked out or locked for editing by another
1603
        /// user.
1604
        /// </summary>
1605
        FileCheckedOut = 0xc0000901,
1606

1607
        /// <summary>
1608
        /// Error - The file must be checked out before saving changes.
1609
        /// </summary>
1610
        CheckOutRequired = 0xc0000902,
1611

1612
        /// <summary>
1613
        /// Error - The file type being saved or retrieved has been blocked.
1614
        /// </summary>
1615
        BadFileType = 0xc0000903,
1616

1617
        /// <summary>
1618
        /// Error - The file size exceeds the limit allowed and cannot be saved.
1619
        /// </summary>
1620
        FileTooLarge = 0xc0000904,
1621

1622
        /// <summary>
1623
        /// Error - Access Denied. Before opening files in this location, you
1624
        /// must first browse to the e.g. site and select the option to log on
1625
        /// automatically.
1626
        /// </summary>
1627
        FormsAuthRequired = 0xc0000905,
1628

1629
        /// <summary>
1630
        /// Error - The operation did not complete successfully because the file
1631
        /// contains a virus.
1632
        /// </summary>
1633
        VirusInfected = 0xc0000906,
1634

1635
        /// <summary>
1636
        /// Error - This file contains a virus and cannot be opened. Due to the
1637
        /// nature of this virus, the file has been removed from this location.
1638
        /// </summary>
1639
        VirusDeleted = 0xc0000907,
1640

1641
        /// <summary>
1642
        /// Error - Transaction - The function attempted to use a name that is
1643
        /// reserved for use by another transaction.
1644
        /// </summary>
1645
        TransactionalConflict = 0xc0190001,
1646

1647
        /// <summary>
1648
        /// Error - Transaction - The transaction handle associated with this
1649
        /// operation is invalid.
1650
        /// </summary>
1651
        InvalidTransaction = 0xc0190002,
1652

1653
        /// <summary>
1654
        /// Error - Transaction - The requested operation was made in the
1655
        /// context of a transaction that is no longer active.
1656
        /// </summary>
1657
        TransactionNotActive = 0xc0190003,
1658

1659
        /// <summary>
1660
        /// Error - Transaction - The transaction manager was unable to be
1661
        /// successfully initialized. Transacted operations are not supported.
1662
        /// </summary>
1663
        TmInitializationFailed = 0xc0190004,
1664

1665
        /// <summary>
1666
        /// Error - Transaction - Transaction support within the specified file
1667
        /// system resource manager was not started or was shut down due to an
1668
        /// error.
1669
        /// </summary>
1670
        RmNotActive = 0xc0190005,
1671

1672
        /// <summary>
1673
        /// Error - Transaction - The metadata of the resource manager has been
1674
        /// corrupted. The resource manager will not function.
1675
        /// </summary>
1676
        RmMetadataCorrupt = 0xc0190006,
1677

1678
        /// <summary>
1679
        /// Error - Transaction - The resource manager attempted to prepare a
1680
        /// transaction that it has not successfully joined.
1681
        /// </summary>
1682
        TransactionNotJoined = 0xc0190007,
1683

1684
        /// <summary>
1685
        /// Error - Transaction - The specified directory does not contain a
1686
        /// file system resource manager.
1687
        /// </summary>
1688
        DirectoryNotRm = 0xc0190008,
1689

1690
        /// <summary>
1691
        /// Error - Transaction - The log could not be set to the requested
1692
        /// size.
1693
        /// </summary>
1694
        CouldNotResizeLog = 0xc0190009,
1695

1696
        /// <summary>
1697
        /// Error - Transaction - The remote server or share does not support
1698
        /// transacted file operations.
1699
        /// </summary>
1700
        TransactionsUnsupportedRemote = 0xc019000a,
1701

1702
        /// <summary>
1703
        /// Error - Transaction - The requested log size for the file system
1704
        /// resource manager is invalid.
1705
        /// </summary>
1706
        LogResizeInvalidSize = 0xc019000b,
1707

1708
        /// <summary>
1709
        /// Error - Transaction - The remote server sent mismatching version
1710
        /// number or Fid for a file opened with transactions.
1711
        /// </summary>
1712
        RemoteFileVersionMismatch = 0xc019000c,
1713

1714
        /// <summary>
1715
        /// Error - Transaction - The resource manager tried to register a
1716
        /// protocol that already exists.
1717
        /// </summary>
1718
        CrmProtocolAlreadyExists = 0xc019000f,
1719

1720
        /// <summary>
1721
        /// Error - Transaction - The attempt to propagate the transaction
1722
        /// failed.
1723
        /// </summary>
1724
        TransactionPropagationFailed = 0xc0190010,
1725

1726
        /// <summary>
1727
        /// Error - Transaction - The requested propagation protocol was not
1728
        /// registered as a CRM.
1729
        /// </summary>
1730
        CrmProtocolNotFound = 0xc0190011,
1731

1732
        /// <summary>
1733
        /// Error - Transaction - The transaction object already has a superior
1734
        /// enlistment, and the caller attempted an operation that would have
1735
        /// created a new superior. Only a single superior enlistment is
1736
        /// allowed.
1737
        /// </summary>
1738
        TransactionSuperiorExists = 0xc0190012,
1739

1740
        /// <summary>
1741
        /// Error - Transaction - The requested operation is not valid on the
1742
        /// transaction object in its current state.
1743
        /// </summary>
1744
        TransactionRequestNotValid = 0xc0190013,
1745

1746
        /// <summary>
1747
        /// Error - Transaction - The caller has called a response API, but the
1748
        /// response is not expected because the transaction manager did not
1749
        /// issue the corresponding request to the caller.
1750
        /// </summary>
1751
        TransactionNotRequested = 0xc0190014,
1752

1753
        /// <summary>
1754
        /// Error - Transaction - It is too late to perform the requested
1755
        /// operation, because the transaction has already been aborted.
1756
        /// </summary>
1757
        TransactionAlreadyAborted = 0xc0190015,
1758

1759
        /// <summary>
1760
        /// Error - Transaction - It is too late to perform the requested
1761
        /// operation, because the transaction has already been committed.
1762
        /// </summary>
1763
        TransactionAlreadyCommitted = 0xc0190016,
1764

1765
        /// <summary>
1766
        /// Error - Transaction - The buffer passed in to 
1767
        /// <c>NtPushTransaction</c> or
1768
        /// <c>NtPullTransaction</c> is not in a valid format.
1769
        /// </summary>
1770
        TransactionInvalidMarshallBuffer = 0xc0190017,
1771

1772
        /// <summary>
1773
        /// Error - Transaction - The current transaction context associated
1774
        /// with the thread is not a valid handle to a transaction object.
1775
        /// </summary>
1776
        CurrentTransactionNotValid = 0xc0190018,
1777

1778
        /// <summary>
1779
        /// Error - Transaction - An attempt to create space in the
1780
        /// transactional resource manager's log failed. The failure status has
1781
        /// been recorded in the event log.
1782
        /// </summary>
1783
        LogGrowthFailed = 0xc0190019,
1784

1785
        /// <summary>
1786
        /// Error - Transaction - The object (file, stream, or link) that
1787
        /// corresponds to the handle has been deleted by a transaction
1788
        /// save-point rollback.
1789
        /// </summary>
1790
        ObjectNoLongerExists = 0xc0190021,
1791

1792
        /// <summary>
1793
        /// Error - Transaction - The specified file mini-version was not found
1794
        /// for this transacted file open.
1795
        /// </summary>
1796
        StreamMiniversionNotFound = 0xc0190022,
1797

1798
        /// <summary>
1799
        /// Error - Transaction - The specified file mini-version was found but
1800
        /// has been invalidated. The most likely cause is a transaction
1801
        /// save-point rollback.
1802
        /// </summary>
1803
        StreamMiniversionNotValid = 0xc0190023,
1804

1805
        /// <summary>
1806
        /// Error - Transaction - A mini-version can be opened only in the
1807
        /// context of the transaction that created it.
1808
        /// </summary>
1809
        MiniversionInaccessibleFromSpecifiedTransaction = 0xc0190024,
1810

1811
        /// <summary>
1812
        /// Error - Transaction - It is not possible to open a mini-version with
1813
        /// modify access.
1814
        /// </summary>
1815
        CantOpenMiniversionWithModifyIntent = 0xc0190025,
1816

1817
        /// <summary>
1818
        /// Error - Transaction - It is not possible to create any more
1819
        /// mini-versions for this stream.
1820
        /// </summary>
1821
        CantCreateMoreStreamMiniversions = 0xc0190026,
1822

1823
        /// <summary>
1824
        /// Error - Transaction - The handle has been invalidated by a
1825
        /// transaction. The most likely cause is the presence of memory mapping
1826
        /// on a file or an open handle when the transaction ended or rolled
1827
        /// back to save-point.
1828
        /// </summary>
1829
        HandleNoLongerValid = 0xc0190028,
1830

1831
        /// <summary>
1832
        /// Error - Transaction - There is no transaction metadata on the file.
1833
        /// </summary>
1834
        NoTxfMetadata = 0xc0190029,
1835

1836
        /// <summary>
1837
        /// Error - Transaction - The transaction outcome is unavailable because
1838
        /// the resource manager responsible for it is disconnected.
1839
        /// </summary>
1840

1841
        /// <summary>
1842
        /// Error - The transaction outcome is unavailable because the resource
1843
        /// manager responsible for it is disconnected.
1844
        /// </summary>
1845
        RmDisconnected = 0xc0190032,
1846

1847
        /// <summary>
1848
        /// Error - Transaction - The request was rejected because the
1849
        /// enlistment in question is not a superior enlistment.
1850
        /// </summary>
1851
        EnlistmentNotSuperior = 0xc0190033,
1852

1853
        /// <summary>
1854
        /// Error - Transaction - The file cannot be opened in a transaction
1855
        /// because its identity depends on the outcome of an unresolved
1856
        /// transaction.
1857
        /// </summary>
1858

1859
        /// <summary>
1860
        /// Error - The file cannot be opened in a transaction because its
1861
        /// identity depends on the outcome of an unresolved transaction.
1862
        /// </summary>
1863
        FileIdentityNotPersistent = 0xc0190036,
1864

1865
        /// <summary>
1866
        /// Error - Transaction - The operation cannot be performed because
1867
        /// another transaction is depending on this property not changing.
1868
        /// </summary>
1869
        CantBreakTransactionalDependency = 0xc0190037,
1870

1871
        /// <summary>
1872
        /// Error - Transaction - The operation would involve a single file with
1873
        /// two transactional resource managers and is, therefore, not allowed.
1874
        /// </summary>
1875
        CantCrossRmBoundary = 0xc0190038,
1876

1877
        /// <summary>
1878
        /// Error - Transaction - The <c>$Txf</c> directory must be empty for
1879
        /// this operation to succeed.
1880
        /// </summary>
1881
        TxfDirNotEmpty = 0xc0190039,
1882

1883
        /// <summary>
1884
        /// Error - Transaction - The operation would leave a transactional
1885
        /// resource manager in an inconsistent state and is therefore not
1886
        /// allowed.
1887
        /// </summary>
1888
        IndoubtTransactionsExist = 0xc019003a,
1889

1890
        /// <summary>
1891
        /// Error - Transaction - The operation could not be completed because
1892
        /// the transaction manager does not have a log.
1893
        /// </summary>
1894
        TmVolatile = 0xc019003b,
1895

1896
        /// <summary>
1897
        /// Error - Transaction - A rollback could not be scheduled because a
1898
        /// previously scheduled rollback has already executed or been queued
1899
        /// for execution.
1900
        /// </summary>
1901
        RollbackTimerExpired = 0xc019003c,
1902

1903
        /// <summary>
1904
        /// Error - Transaction - The transactional metadata attribute on the
1905
        /// file or directory is corrupt and unreadable.
1906
        /// </summary>
1907
        TxfAttributeCorrupt = 0xc019003d,
1908

1909
        /// <summary>
1910
        /// Error - Transaction - The encryption operation could not be
1911
        /// completed because a transaction is active.
1912
        /// </summary>
1913
        EfsNotAllowedInTransaction = 0xc019003e,
1914

1915
        /// <summary>
1916
        /// Error - Transaction - This object is not allowed to be opened in a
1917
        /// transaction.
1918
        /// </summary>
1919
        TransactionalOpenNotAllowed = 0xc019003f,
1920

1921
        /// <summary>
1922
        /// Error - Transaction - Memory mapping (creating a mapped section) a
1923
        /// remote file under a transaction is not supported.
1924
        /// </summary>
1925
        TransactedMappingUnsupportedRemote = 0xc0190040,
1926

1927
        /// <summary>
1928
        /// Error - Transaction - Promotion was required to allow the resource
1929
        /// manager to enlist, but the transaction was set to disallow it.
1930
        /// </summary>
1931

1932
        /// <summary>
1933
        /// Error - Promotion was required to allow the resource manager to
1934
        /// enlist, but the transaction was set to disallow it.
1935
        /// </summary>
1936
        TransactionRequiredPromotion = 0xc0190043,
1937

1938
        /// <summary>
1939
        /// Error - Transaction - This file is open for modification in an
1940
        /// unresolved transaction and can be opened for execute only by a
1941
        /// transacted reader.
1942
        /// </summary>
1943
        CannotExecuteFileInTransaction = 0xc0190044,
1944

1945
        /// <summary>
1946
        /// Error - Transaction - The request to thaw frozen transactions was
1947
        /// ignored because transactions were not previously frozen.
1948
        /// </summary>
1949
        TransactionsNotFrozen = 0xc0190045,
1950

1951
        /// <summary>
1952
        /// Maximal value
1953
        /// </summary>
1954
        MaximumNtStatus = 0xffffffff
1955
    }
1956
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.