47 lines
1.6 KiB
C
47 lines
1.6 KiB
C
/*++
|
|
|
|
Copyright (c) 2024, Quinn Stephens.
|
|
Provided under the BSD 3-Clause license.
|
|
|
|
Module Name:
|
|
|
|
ntstatus.h
|
|
|
|
Abstract:
|
|
|
|
Provides NT status code values.
|
|
|
|
--*/
|
|
|
|
#ifndef _NTSTATUS_H
|
|
#define _NTSTATUS_H
|
|
|
|
#define STATUS_SUCCESS ((NTSTATUS) 0x00000000L)
|
|
|
|
//
|
|
// TODO: There are an insane amount of status values.
|
|
//
|
|
#define STATUS_MEDIA_CHANGED ((NTSTATUS) 0x8000001CL)
|
|
#define STATUS_UNSUCCESSFUL ((NTSTATUS) 0xC0000001L)
|
|
#define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xC000000DL)
|
|
#define STATUS_ACCESS_DENIED ((NTSTATUS) 0xC0000022L)
|
|
#define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xC0000023L)
|
|
#define STATUS_DISK_CORRUPT_ERROR ((NTSTATUS) 0xC0000032L)
|
|
#define STATUS_DEVICE_ALREADY_ATTACHED ((NTSTATUS) 0xC0000038L)
|
|
#define STATUS_DISK_FULL ((NTSTATUS) 0xC000007FL)
|
|
#define STATUS_INTEGER_OVERFLOW ((NTSTATUS) 0xC0000095L)
|
|
#define STATUS_INSUFFICIENT_RESOURCES ((NTSTATUS) 0xC000009AL)
|
|
#define STATUS_MEDIA_WRITE_PROTECTED ((NTSTATUS) 0xC00000A2L)
|
|
#define STATUS_DEVICE_NOT_READY ((NTSTATUS) 0xC00000A3L)
|
|
#define STATUS_NOT_SUPPORTED ((NTSTATUS) 0xC00000BBL)
|
|
#define STATUS_TIMEOUT ((NTSTATUS) 0x00000102L)
|
|
#define STATUS_NO_MEDIA ((NTSTATUS) 0xC0000178L)
|
|
#define STATUS_IO_DEVICE_ERROR ((NTSTATUS) 0xC0000185L)
|
|
#define STATUS_INVALID_BUFFER_SIZE ((NTSTATUS) 0xC0000206L)
|
|
#define STATUS_NOT_FOUND ((NTSTATUS) 0xC0000225L)
|
|
#define STATUS_REQUEST_ABORTED ((NTSTATUS) 0xC0000240L)
|
|
#define STATUS_DRIVER_UNABLE_TO_LOAD ((NTSTATUS) 0xC000026CL)
|
|
#define STATUS_NO_MATCH ((NTSTATUS) 0xC0000272L)
|
|
|
|
#endif /* !_NTSTATUS_H */
|