EaseFilter Demo Project
NtStatus.cs
Go to the documentation of this file.
1 
3 //
4 // (C) Copyright 2011 EaseFilter Technologies Inc.
5 // All Rights Reserved
6 //
7 // This software is part of a licensed software product and may
8 // only be used or copied in accordance with the terms of that license.
9 //
11 
12 using System;
13 using System.Collections.Generic;
14 using System.Text;
15 
16 namespace EaseFilter.CommonObjects
17 {
18  public class NtStatus
19  {
23  public enum Status : uint
24  {
25  // Success
26  Success = 0x00000000,
27  Wait1 = 0x00000001,
28  Wait2 = 0x00000002,
29  Wait3 = 0x00000003,
30  Wait63 = 0x0000003f,
31  Abandoned = 0x00000080,
32  AbandonedWait0 = 0x00000080,
33  AbandonedWait1 = 0x00000081,
34  AbandonedWait2 = 0x00000082,
35  AbandonedWait3 = 0x00000083,
36  AbandonedWait63 = 0x000000bf,
37  UserApc = 0x000000c0,
38  KernelApc = 0x00000100,
39  Alerted = 0x00000101,
40  Timeout = 0x00000102,
41  Pending = 0x00000103,
42  Reparse = 0x00000104,
43  MoreEntries = 0x00000105,
44  NotAllAssigned = 0x00000106,
45  SomeNotMapped = 0x00000107,
46  OpLockBreakInProgress = 0x00000108,
47  VolumeMounted = 0x00000109,
48  RxActCommitted = 0x0000010a,
49  NotifyCleanup = 0x0000010b,
50  NotifyEnumDir = 0x0000010c,
51  NoQuotasForAccount = 0x0000010d,
52  PrimaryTransportConnectFailed = 0x0000010e,
53  PageFaultTransition = 0x00000110,
54  PageFaultDemandZero = 0x00000111,
55  PageFaultCopyOnWrite = 0x00000112,
56  PageFaultGuardPage = 0x00000113,
57  PageFaultPagingFile = 0x00000114,
58  CrashDump = 0x00000116,
59  ReparseObject = 0x00000118,
60  NothingToTerminate = 0x00000122,
61  ProcessNotInJob = 0x00000123,
62  ProcessInJob = 0x00000124,
63  ProcessCloned = 0x00000129,
64  FileLockedWithOnlyReaders = 0x0000012a,
65  FileLockedWithWriters = 0x0000012b,
66 
67  // Informational
68  Informational = 0x40000000,
69  ObjectNameExists = 0x40000000,
70  ThreadWasSuspended = 0x40000001,
71  WorkingSetLimitRange = 0x40000002,
72  ImageNotAtBase = 0x40000003,
73  RegistryRecovered = 0x40000009,
74 
75  // Warning
76  Warning = 0x80000000,
77  GuardPageViolation = 0x80000001,
78  DatatypeMisalignment = 0x80000002,
79  Breakpoint = 0x80000003,
80  SingleStep = 0x80000004,
81  BufferOverflow = 0x80000005,
82  NoMoreFiles = 0x80000006,
83  HandlesClosed = 0x8000000a,
84  PartialCopy = 0x8000000d,
85  DeviceBusy = 0x80000011,
86  InvalidEaName = 0x80000013,
87  EaListInconsistent = 0x80000014,
88  NoMoreEntries = 0x8000001a,
89  LongJump = 0x80000026,
90  DllMightBeInsecure = 0x8000002b,
91 
92  // Error
93  Error = 0xc0000000,
94  Unsuccessful = 0xc0000001,
95  NotImplemented = 0xc0000002,
96  InvalidInfoClass = 0xc0000003,
97  InfoLengthMismatch = 0xc0000004,
98  AccessViolation = 0xc0000005,
99  InPageError = 0xc0000006,
100  PagefileQuota = 0xc0000007,
101  InvalidHandle = 0xc0000008,
102  BadInitialStack = 0xc0000009,
103  BadInitialPc = 0xc000000a,
104  InvalidCid = 0xc000000b,
105  TimerNotCanceled = 0xc000000c,
106  InvalidParameter = 0xc000000d,
107  NoSuchDevice = 0xc000000e,
108  NoSuchFile = 0xc000000f,
109  InvalidDeviceRequest = 0xc0000010,
110  EndOfFile = 0xc0000011,
111  WrongVolume = 0xc0000012,
112  NoMediaInDevice = 0xc0000013,
113  NoMemory = 0xc0000017,
114  NotMappedView = 0xc0000019,
115  UnableToFreeVm = 0xc000001a,
116  UnableToDeleteSection = 0xc000001b,
117  IllegalInstruction = 0xc000001d,
118  AlreadyCommitted = 0xc0000021,
119  AccessDenied = 0xc0000022,
120  BufferTooSmall = 0xc0000023,
121  ObjectTypeMismatch = 0xc0000024,
122  NonContinuableException = 0xc0000025,
123  BadStack = 0xc0000028,
124  NotLocked = 0xc000002a,
125  NotCommitted = 0xc000002d,
126  InvalidParameterMix = 0xc0000030,
127  ObjectNameInvalid = 0xc0000033,
128  ObjectNameNotFound = 0xc0000034,
129  ObjectNameCollision = 0xc0000035,
130  ObjectPathInvalid = 0xc0000039,
131  ObjectPathNotFound = 0xc000003a,
132  ObjectPathSyntaxBad = 0xc000003b,
133  DataOverrun = 0xc000003c,
134  DataLate = 0xc000003d,
135  DataError = 0xc000003e,
136  CrcError = 0xc000003f,
137  SectionTooBig = 0xc0000040,
138  PortConnectionRefused = 0xc0000041,
139  InvalidPortHandle = 0xc0000042,
140  SharingViolation = 0xc0000043,
141  QuotaExceeded = 0xc0000044,
142  InvalidPageProtection = 0xc0000045,
143  MutantNotOwned = 0xc0000046,
144  SemaphoreLimitExceeded = 0xc0000047,
145  PortAlreadySet = 0xc0000048,
146  SectionNotImage = 0xc0000049,
147  SuspendCountExceeded = 0xc000004a,
148  ThreadIsTerminating = 0xc000004b,
149  BadWorkingSetLimit = 0xc000004c,
150  IncompatibleFileMap = 0xc000004d,
151  SectionProtection = 0xc000004e,
152  EasNotSupported = 0xc000004f,
153  EaTooLarge = 0xc0000050,
154  NonExistentEaEntry = 0xc0000051,
155  NoEasOnFile = 0xc0000052,
156  EaCorruptError = 0xc0000053,
157  FileLockConflict = 0xc0000054,
158  LockNotGranted = 0xc0000055,
159  DeletePending = 0xc0000056,
160  CtlFileNotSupported = 0xc0000057,
161  UnknownRevision = 0xc0000058,
162  RevisionMismatch = 0xc0000059,
163  InvalidOwner = 0xc000005a,
164  InvalidPrimaryGroup = 0xc000005b,
165  NoImpersonationToken = 0xc000005c,
166  CantDisableMandatory = 0xc000005d,
167  NoLogonServers = 0xc000005e,
168  NoSuchLogonSession = 0xc000005f,
169  NoSuchPrivilege = 0xc0000060,
170  PrivilegeNotHeld = 0xc0000061,
171  InvalidAccountName = 0xc0000062,
172  UserExists = 0xc0000063,
173  NoSuchUser = 0xc0000064,
174  GroupExists = 0xc0000065,
175  NoSuchGroup = 0xc0000066,
176  MemberInGroup = 0xc0000067,
177  MemberNotInGroup = 0xc0000068,
178  LastAdmin = 0xc0000069,
179  WrongPassword = 0xc000006a,
180  IllFormedPassword = 0xc000006b,
181  PasswordRestriction = 0xc000006c,
182  LogonFailure = 0xc000006d,
183  AccountRestriction = 0xc000006e,
184  InvalidLogonHours = 0xc000006f,
185  InvalidWorkstation = 0xc0000070,
186  PasswordExpired = 0xc0000071,
187  AccountDisabled = 0xc0000072,
188  NoneMapped = 0xc0000073,
189  TooManyLuidsRequested = 0xc0000074,
190  LuidsExhausted = 0xc0000075,
191  InvalidSubAuthority = 0xc0000076,
192  InvalidAcl = 0xc0000077,
193  InvalidSid = 0xc0000078,
194  InvalidSecurityDescr = 0xc0000079,
195  ProcedureNotFound = 0xc000007a,
196  InvalidImageFormat = 0xc000007b,
197  NoToken = 0xc000007c,
198  BadInheritanceAcl = 0xc000007d,
199  RangeNotLocked = 0xc000007e,
200  DiskFull = 0xc000007f,
201  ServerDisabled = 0xc0000080,
202  ServerNotDisabled = 0xc0000081,
203  TooManyGuidsRequested = 0xc0000082,
204  GuidsExhausted = 0xc0000083,
205  InvalidIdAuthority = 0xc0000084,
206  AgentsExhausted = 0xc0000085,
207  InvalidVolumeLabel = 0xc0000086,
208  SectionNotExtended = 0xc0000087,
209  NotMappedData = 0xc0000088,
210  ResourceDataNotFound = 0xc0000089,
211  ResourceTypeNotFound = 0xc000008a,
212  ResourceNameNotFound = 0xc000008b,
213  ArrayBoundsExceeded = 0xc000008c,
214  FloatDenormalOperand = 0xc000008d,
215  FloatDivideByZero = 0xc000008e,
216  FloatInexactResult = 0xc000008f,
217  FloatInvalidOperation = 0xc0000090,
218  FloatOverflow = 0xc0000091,
219  FloatStackCheck = 0xc0000092,
220  FloatUnderflow = 0xc0000093,
221  IntegerDivideByZero = 0xc0000094,
222  IntegerOverflow = 0xc0000095,
223  PrivilegedInstruction = 0xc0000096,
224  TooManyPagingFiles = 0xc0000097,
225  FileInvalid = 0xc0000098,
226  InstanceNotAvailable = 0xc00000ab,
227  PipeNotAvailable = 0xc00000ac,
228  InvalidPipeState = 0xc00000ad,
229  PipeBusy = 0xc00000ae,
230  IllegalFunction = 0xc00000af,
231  PipeDisconnected = 0xc00000b0,
232  PipeClosing = 0xc00000b1,
233  PipeConnected = 0xc00000b2,
234  PipeListening = 0xc00000b3,
235  InvalidReadMode = 0xc00000b4,
236  IoTimeout = 0xc00000b5,
237  FileForcedClosed = 0xc00000b6,
238  ProfilingNotStarted = 0xc00000b7,
239  ProfilingNotStopped = 0xc00000b8,
240  NotSameDevice = 0xc00000d4,
241  FileRenamed = 0xc00000d5,
242  CantWait = 0xc00000d8,
243  PipeEmpty = 0xc00000d9,
244  CantTerminateSelf = 0xc00000db,
245  InternalError = 0xc00000e5,
246  InvalidParameter1 = 0xc00000ef,
247  InvalidParameter2 = 0xc00000f0,
248  InvalidParameter3 = 0xc00000f1,
249  InvalidParameter4 = 0xc00000f2,
250  InvalidParameter5 = 0xc00000f3,
251  InvalidParameter6 = 0xc00000f4,
252  InvalidParameter7 = 0xc00000f5,
253  InvalidParameter8 = 0xc00000f6,
254  InvalidParameter9 = 0xc00000f7,
255  InvalidParameter10 = 0xc00000f8,
256  InvalidParameter11 = 0xc00000f9,
257  InvalidParameter12 = 0xc00000fa,
258  MappedFileSizeZero = 0xc000011e,
259  TooManyOpenedFiles = 0xc000011f,
260  Cancelled = 0xc0000120,
261  CannotDelete = 0xc0000121,
262  InvalidComputerName = 0xc0000122,
263  FileDeleted = 0xc0000123,
264  SpecialAccount = 0xc0000124,
265  SpecialGroup = 0xc0000125,
266  SpecialUser = 0xc0000126,
267  MembersPrimaryGroup = 0xc0000127,
268  FileClosed = 0xc0000128,
269  TooManyThreads = 0xc0000129,
270  ThreadNotInProcess = 0xc000012a,
271  TokenAlreadyInUse = 0xc000012b,
272  PagefileQuotaExceeded = 0xc000012c,
273  CommitmentLimit = 0xc000012d,
274  InvalidImageLeFormat = 0xc000012e,
275  InvalidImageNotMz = 0xc000012f,
276  InvalidImageProtect = 0xc0000130,
277  InvalidImageWin16 = 0xc0000131,
278  LogonServer = 0xc0000132,
279  DifferenceAtDc = 0xc0000133,
280  SynchronizationRequired = 0xc0000134,
281  DllNotFound = 0xc0000135,
282  IoPrivilegeFailed = 0xc0000137,
283  OrdinalNotFound = 0xc0000138,
284  EntryPointNotFound = 0xc0000139,
285  ControlCExit = 0xc000013a,
286  PortNotSet = 0xc0000353,
287  DebuggerInactive = 0xc0000354,
288  CallbackBypass = 0xc0000503,
289  PortClosed = 0xc0000700,
290  MessageLost = 0xc0000701,
291  InvalidMessage = 0xc0000702,
292  RequestCanceled = 0xc0000703,
293  RecursiveDispatch = 0xc0000704,
294  LpcReceiveBufferExpected = 0xc0000705,
295  LpcInvalidConnectionUsage = 0xc0000706,
296  LpcRequestsNotAllowed = 0xc0000707,
297  ResourceInUse = 0xc0000708,
298  ProcessIsProtected = 0xc0000712,
299  VolumeDirty = 0xc0000806,
300  FileCheckedOut = 0xc0000901,
301  CheckOutRequired = 0xc0000902,
302  BadFileType = 0xc0000903,
303  FileTooLarge = 0xc0000904,
304  FormsAuthRequired = 0xc0000905,
305  VirusInfected = 0xc0000906,
306  VirusDeleted = 0xc0000907,
307  TransactionalConflict = 0xc0190001,
308  InvalidTransaction = 0xc0190002,
309  TransactionNotActive = 0xc0190003,
310  TmInitializationFailed = 0xc0190004,
311  RmNotActive = 0xc0190005,
312  RmMetadataCorrupt = 0xc0190006,
313  TransactionNotJoined = 0xc0190007,
314  DirectoryNotRm = 0xc0190008,
315  CouldNotResizeLog = 0xc0190009,
316  TransactionsUnsupportedRemote = 0xc019000a,
317  LogResizeInvalidSize = 0xc019000b,
318  RemoteFileVersionMismatch = 0xc019000c,
319  CrmProtocolAlreadyExists = 0xc019000f,
320  TransactionPropagationFailed = 0xc0190010,
321  CrmProtocolNotFound = 0xc0190011,
322  TransactionSuperiorExists = 0xc0190012,
323  TransactionRequestNotValid = 0xc0190013,
324  TransactionNotRequested = 0xc0190014,
325  TransactionAlreadyAborted = 0xc0190015,
326  TransactionAlreadyCommitted = 0xc0190016,
327  TransactionInvalidMarshallBuffer = 0xc0190017,
328  CurrentTransactionNotValid = 0xc0190018,
329  LogGrowthFailed = 0xc0190019,
330  ObjectNoLongerExists = 0xc0190021,
331  StreamMiniversionNotFound = 0xc0190022,
332  StreamMiniversionNotValid = 0xc0190023,
333  MiniversionInaccessibleFromSpecifiedTransaction = 0xc0190024,
334  CantOpenMiniversionWithModifyIntent = 0xc0190025,
335  CantCreateMoreStreamMiniversions = 0xc0190026,
336  HandleNoLongerValid = 0xc0190028,
337  NoTxfMetadata = 0xc0190029,
338  LogCorruptionDetected = 0xc0190030,
339  CantRecoverWithHandleOpen = 0xc0190031,
340  RmDisconnected = 0xc0190032,
341  EnlistmentNotSuperior = 0xc0190033,
342  RecoveryNotNeeded = 0xc0190034,
343  RmAlreadyStarted = 0xc0190035,
344  FileIdentityNotPersistent = 0xc0190036,
345  CantBreakTransactionalDependency = 0xc0190037,
346  CantCrossRmBoundary = 0xc0190038,
347  TxfDirNotEmpty = 0xc0190039,
348  IndoubtTransactionsExist = 0xc019003a,
349  TmVolatile = 0xc019003b,
350  RollbackTimerExpired = 0xc019003c,
351  TxfAttributeCorrupt = 0xc019003d,
352  EfsNotAllowedInTransaction = 0xc019003e,
353  TransactionalOpenNotAllowed = 0xc019003f,
354  TransactedMappingUnsupportedRemote = 0xc0190040,
355  TxfMetadataAlreadyPresent = 0xc0190041,
356  TransactionScopeCallbacksNotSet = 0xc0190042,
357  TransactionRequiredPromotion = 0xc0190043,
358  CannotExecuteFileInTransaction = 0xc0190044,
359  TransactionsNotFrozen = 0xc0190045,
360 
361  MaximumNtStatus = 0xffffffff
362  }
363  }
364 }
Status
A NT status value.
Definition: NtStatus.cs:23

Social Network


Services Overview

Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.

Contact Us

You are welcome to contact us for salse or partnership.

Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com