This is work in progress.

Windows / Headers / ntdddisk.h

ntdddisk.h

This is the include file that defines all constants and types for accessing the Disk device.

Associated Error Codes

Below is a list of error codes found for this header.

SymbolicValueDescription
SMART_NO_ERROR0x00000000No error
SMART_IDE_ERROR0x00000001Error from IDE controller
SMART_INVALID_FLAG0x00000002Invalid command flag
SMART_INVALID_COMMAND0x00000003Invalid command byte
SMART_INVALID_BUFFER0x00000004Bad buffer (null, invalid addr..)
SMART_INVALID_DRIVE0x00000005Drive number not valid
SMART_INVALID_IOCTL0x00000006Invalid IOCTL
SMART_ERROR_NO_MEM0x00000007Could not lock user's buffer
SMART_INVALID_REGISTER0x00000008Some IDE Register not valid
SMART_NOT_SUPPORTED0x00000009Invalid cmd flag set
SMART_NO_IDE_DEVICE0x0000000ACmd issued to device not present
11 entries