This is work in progress.

Windows / NTSTATUS

NTSTATUS

NTSTATUS error codes are typically used for low-level operations such as machine check exceptions, debugger API, and the SysWOW64 32-bit application layer, communicated from the WindowsNT kernel.

These codes are defined in Ntdef.h and have the following structure.

13
0
9876543212
0
9876543211
0
9876543210
SevCNFacilityCode

Legend

Severities

ValueNameDescription
0x0STATUS_SEVERITY_SUCCESSSuccess.
0x1STATUS_SEVERITY_INFORMATIONALInformational.
0x2STATUS_SEVERITY_WARNINGWarning.
0x3STATUS_SEVERITY_ERRORError.

Facilities

The table below lists facilities defined in the MS-ERREF specification.

NameValueDescription
FACILITY_DEBUGGER1Windows Debugger
FACILITY_RPC_RUNTIME2Windows Remote Procedure Call Runtime
FACILITY_RPC_STUBS3Windows Remote Procedure Call Stub
FACILITY_IO_ERROR_CODE4Input/Output
FACILITY_NTWIN327WindowsNT Win32
FACILITY_NTSSPI9Security Support Provider Interface (SSPI)
FACILITY_TERMINAL_SERVER10Windows Terminal Server
FACILTIY_MUI_ERROR_CODE11Multilingual User Interface
FACILITY_USB_ERROR_CODE16Universal Serial Bus
FACILITY_HID_ERROR_CODE17Humand Interface Device
FACILITY_FIREWIRE_ERROR_CODE18IEEE 1394 FireWire
FACILITY_CLUSTER_ERROR_CODE19
FACILITY_ACPI_ERROR_CODE20Advanced Configuration and Power Interface
FACILITY_SXS_ERROR_CODE21Windows Side-by-Side
FACILITY_TRANSACTION25Windows Kernel Transaction Manager (KTM)
FACILITY_COMMONLOG26Windows Common Log File System (CLFS)
FACILITY_VIDEO27Windows Media Foundation
FACILITY_FILTER_MANAGER28Windows Filter Manager (FltMgr.sys)
FACILITY_MONITOR29Windows Monitor File
FACILITY_GRAPHICS_KERNEL30Windows DirectX Graphics Kernel
FACILITY_DRIVER_FRAMEWORK32Windows Driver Framework (WDF)
FACILITY_FVE_ERROR_CODE33Windows Full Volume Encryption
FACILITY_FWP_ERROR_CODE34Windows Filtering Platform (WFP)
FACILITY_NDIS_ERROR_CODE35Windows Network Driver Interface Specification
FACILITY_HYPERVISOR53Windows Hyper-V
FACILITY_IPSEC54Windows IPSec