[ms-erref]: Windows Error Codes Intellectual Property Rights Notice for Open Specifications Documentation



Download 8.39 Mb.
Page37/52
Date conversion02.12.2016
Size8.39 Mb.
1   ...   33   34   35   36   37   38   39   40   ...   52

NTSTATUS


Values are 32 bit and are laid out as follows. The following diagram is independent of endianness; that is, the diagram is shown in host byte order and merely shows the layout of the numbering space.

Any protocol that uses NTSTATUS values on the wire is responsible for stating the order that the bytes are placed on the wire.



0

1

2

3

4

5

6

7

8

9

1

0


1

2

3

4

5

6

7

8

9

2

0


1

2

3

4

5

6

7

8

9

3

0


1




Sev

C

N

Facility

Code

Sev (2 bits): Severity. Severity codes are as follows.

Value

Meaning




STATUS_SEVERITY_SUCCESS

0x0


Success

STATUS_SEVERITY_INFORMATIONAL

0x1


Informational

STATUS_SEVERITY_WARNING

0x2


Warning

STATUS_SEVERITY_ERROR

0x3


Error

C (1 bit): Customer. This specifies if the value is customer- or Microsoft-defined. This bit is set for customer-defined values and clear for Microsoft-defined values.<4>

N (1 bit): Reserved. MUST be set to 0 so that it is possible to map an NTSTATUS value to an equivalent HRESULT value, as specified in section 2.1, by setting this bit.

Facility (12 bits): A value that, together with the C bit, indicates the numbering space to use for the Code field.<5>

Code (2 bytes): The remainder of the error code. Vendors SHOULD reuse the values in the following table with their indicated meaning or define their own values with the C bit set. Choosing any other value with the C bit clear runs the risk of a collision in the future.
      1. NTSTATUS values


By combining the NTSTATUS into a single 32-bit numbering space, the following NTSTATUS values are defined. Most values also have a defined default message that can be used to map the value to a human-readable text message. When this is done, the NTSTATUS value is also known as a message identifier.

This document provides the common usage details of the NTSTATUS values; individual protocol specifications may provide expanded or modified definitions.

In the following descriptions, a percentage sign that is followed by one or more alphanumeric characters (for example, "%1" or "%hs") indicates a variable that is replaced by text at the time the value is returned.

Return value/code

Description




0x00000000

STATUS_SUCCESS



The operation completed successfully.

0x00000000

STATUS_WAIT_0



The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.

0x00000001

STATUS_WAIT_1



The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.

0x00000002

STATUS_WAIT_2



The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.

0x00000003

STATUS_WAIT_3



The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.

0x0000003F

STATUS_WAIT_63



The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.

0x00000080

STATUS_ABANDONED



The caller attempted to wait for a mutex that has been abandoned.

0x00000080

STATUS_ABANDONED_WAIT_0



The caller attempted to wait for a mutex that has been abandoned.

0x000000BF

STATUS_ABANDONED_WAIT_63



The caller attempted to wait for a mutex that has been abandoned.

0x000000C0

STATUS_USER_APC



A user-mode APC was delivered before the given Interval expired.

0x00000101

STATUS_ALERTED



The delay completed because the thread was alerted.

0x00000102

STATUS_TIMEOUT



The given Timeout interval expired.

0x00000103

STATUS_PENDING



The operation that was requested is pending completion.

0x00000104

STATUS_REPARSE



A reparse should be performed by the Object Manager because the name of the file resulted in a symbolic link.

0x00000105

STATUS_MORE_ENTRIES



Returned by enumeration APIs to indicate more information is available to successive calls.

0x00000106

STATUS_NOT_ALL_ASSIGNED



Indicates not all privileges or groups that are referenced are assigned to the caller. This allows, for example, all privileges to be disabled without having to know exactly which privileges are assigned.

0x00000107

STATUS_SOME_NOT_MAPPED



Some of the information to be translated has not been translated.

0x00000108

STATUS_OPLOCK_BREAK_IN_PROGRESS



An open/create operation completed while an opportunistic lock (oplock) break is underway.

0x00000109

STATUS_VOLUME_MOUNTED



A new volume has been mounted by a file system.

0x0000010A

STATUS_RXACT_COMMITTED



This success level status indicates that the transaction state already exists for the registry subtree but that a transaction commit was previously aborted. The commit has now been completed.

0x0000010B

STATUS_NOTIFY_CLEANUP



Indicates that a notify change request has been completed due to closing the handle that made the notify change request.

0x0000010C

STATUS_NOTIFY_ENUM_DIR



Indicates that a notify change request is being completed and that the information is not being returned in the caller's buffer. The caller now needs to enumerate the files to find the changes.

0x0000010D

STATUS_NO_QUOTAS_FOR_ACCOUNT



{No Quotas} No system quota limits are specifically set for this account.

0x0000010E

STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED



{Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed. The computer WAS able to connect on a secondary transport.

0x00000110

STATUS_PAGE_FAULT_TRANSITION



The page fault was a transition fault.

0x00000111

STATUS_PAGE_FAULT_DEMAND_ZERO



The page fault was a demand zero fault.

0x00000112

STATUS_PAGE_FAULT_COPY_ON_WRITE



The page fault was a demand zero fault.

0x00000113

STATUS_PAGE_FAULT_GUARD_PAGE



The page fault was a demand zero fault.

0x00000114

STATUS_PAGE_FAULT_PAGING_FILE



The page fault was satisfied by reading from a secondary storage device.

0x00000115

STATUS_CACHE_PAGE_LOCKED



The cached page was locked during operation.

0x00000116

STATUS_CRASH_DUMP



The crash dump exists in a paging file.

0x00000117

STATUS_BUFFER_ALL_ZEROS



The specified buffer contains all zeros.

0x00000118

STATUS_REPARSE_OBJECT



A reparse should be performed by the Object Manager because the name of the file resulted in a symbolic link.

0x00000119

STATUS_RESOURCE_REQUIREMENTS_CHANGED



The device has succeeded a query-stop and its resource requirements have changed.

0x00000120

STATUS_TRANSLATION_COMPLETE



The translator has translated these resources into the global space and no additional translations should be performed.

0x00000121

STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY



The directory service evaluated group memberships locally, because it was unable to contact a global catalog server.

0x00000122

STATUS_NOTHING_TO_TERMINATE



A process being terminated has no threads to terminate.

0x00000123

STATUS_PROCESS_NOT_IN_JOB



The specified process is not part of a job.

0x00000124

STATUS_PROCESS_IN_JOB



The specified process is part of a job.

0x00000125

STATUS_VOLSNAP_HIBERNATE_READY



{Volume Shadow Copy Service} The system is now ready for hibernation.

0x00000126

STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY



A file system or file system filter driver has successfully completed an FsFilter operation.

0x00000127

STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED



The specified interrupt vector was already connected.

0x00000128

STATUS_INTERRUPT_STILL_CONNECTED



The specified interrupt vector is still connected.

0x00000129

STATUS_PROCESS_CLONED



The current process is a cloned process.

0x0000012A

STATUS_FILE_LOCKED_WITH_ONLY_READERS



The file was locked and all users of the file can only read.

0x0000012B

STATUS_FILE_LOCKED_WITH_WRITERS



The file was locked and at least one user of the file can write.

0x00000202

STATUS_RESOURCEMANAGER_READ_ONLY



The specified ResourceManager made no changes or updates to the resource under this transaction.

0x00000367

STATUS_WAIT_FOR_OPLOCK



An operation is blocked and waiting for an oplock.

0x00010001

DBG_EXCEPTION_HANDLED



Debugger handled the exception.

0x00010002

DBG_CONTINUE



The debugger continued.

0x001C0001

STATUS_FLT_IO_COMPLETE



The IO was completed by a filter.

0xC0000467

STATUS_FILE_NOT_AVAILABLE



The file is temporarily unavailable.

0xC0000721

STATUS_CALLBACK_RETURNED_THREAD_AFFINITY



A threadpool worker thread entered a callback at thread affinity %p and exited at affinity %p.

This is unexpected, indicating that the callback missed restoring the priority.



0x40000000

STATUS_OBJECT_NAME_EXISTS



{Object Exists} An attempt was made to create an object but the object name already exists.

0x40000001

STATUS_THREAD_WAS_SUSPENDED



{Thread Suspended} A thread termination occurred while the thread was suspended. The thread resumed, and termination proceeded.

0x40000002

STATUS_WORKING_SET_LIMIT_RANGE



{Working Set Range Error} An attempt was made to set the working set minimum or maximum to values that are outside the allowable range.

0x40000003

STATUS_IMAGE_NOT_AT_BASE



{Image Relocated} An image file could not be mapped at the address that is specified in the image file. Local fixes must be performed on this image.

0x40000004

STATUS_RXACT_STATE_CREATED



This informational level status indicates that a specified registry subtree transaction state did not yet exist and had to be created.

0x40000005

STATUS_SEGMENT_NOTIFICATION



{Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image. An exception is raised so that a debugger can load, unload, or track symbols and breakpoints within these 16-bit segments.

0x40000006

STATUS_LOCAL_USER_SESSION_KEY



{Local Session Key} A user session key was requested for a local remote procedure call (RPC) connection. The session key that is returned is a constant value and not unique to this connection.

0x40000007

STATUS_BAD_CURRENT_DIRECTORY



{Invalid Current Directory} The process cannot switch to the startup current directory %hs. Select OK to set the current directory to %hs, or select CANCEL to exit.

0x40000008

STATUS_SERIAL_MORE_WRITES



{Serial IOCTL Complete} A serial I/O operation was completed by another write to a serial port. (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)

0x40000009

STATUS_REGISTRY_RECOVERED



{Registry Recovery} One of the files that contains the system registry data had to be recovered by using a log or alternate copy. The recovery was successful.

0x4000000A

STATUS_FT_READ_RECOVERY_FROM_BACKUP



{Redundant Read} To satisfy a read request, the Windows NT fault-tolerant file system successfully read the requested data from a redundant copy. This was done because the file system encountered a failure on a member of the fault-tolerant volume but was unable to reassign the failing area of the device.

0x4000000B

STATUS_FT_WRITE_RECOVERY



{Redundant Write} To satisfy a write request, the Windows NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume but was unable to reassign the failing area of the device.

0x4000000C

STATUS_SERIAL_COUNTER_TIMEOUT



{Serial IOCTL Timeout} A serial I/O operation completed because the time-out period expired. (The IOCTL_SERIAL_XOFF_COUNTER had not reached zero.)

0x4000000D

STATUS_NULL_LM_PASSWORD



{Password Too Complex} The Windows password is too complex to be converted to a LAN Manager password. The LAN Manager password that returned is a NULL string.

0x4000000E

STATUS_IMAGE_MACHINE_TYPE_MISMATCH



{Machine Type Mismatch} The image file %hs is valid but is for a machine type other than the current machine. Select OK to continue, or CANCEL to fail the DLL load.

0x4000000F

STATUS_RECEIVE_PARTIAL



{Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.

0x40000010

STATUS_RECEIVE_EXPEDITED



{Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.

0x40000011

STATUS_RECEIVE_PARTIAL_EXPEDITED



{Partial Expedited Data Received} The network transport returned partial data to its client and this data was marked as expedited by the remote system. The remaining data will be sent later.

0x40000012

STATUS_EVENT_DONE



{TDI Event Done} The TDI indication has completed successfully.

0x40000013

STATUS_EVENT_PENDING



{TDI Event Pending} The TDI indication has entered the pending state.

0x40000014

STATUS_CHECKING_FILE_SYSTEM



Checking file system on %wZ.

0x40000015

STATUS_FATAL_APP_EXIT



{Fatal Application Exit} %hs

0x40000016

STATUS_PREDEFINED_HANDLE



The specified registry key is referenced by a predefined handle.

0x40000017

STATUS_WAS_UNLOCKED



{Page Unlocked} The page protection of a locked page was changed to 'No Access' and the page was unlocked from memory and from the process.

0x40000018

STATUS_SERVICE_NOTIFICATION



%hs

0x40000019

STATUS_WAS_LOCKED

1   ...   33   34   35   36   37   38   39   40   ...   52


The database is protected by copyright ©dentisty.org 2016
send message

    Main page