// ntdddisk.h
typedef struct _DRIVERSTATUS {
UCHAR bDriverError;
UCHAR bIDEError;
UCHAR bReserved[2];
ULONG dwReserved[2];
} DRIVERSTATUS, *PDRIVERSTATUS, *LPDRIVERSTATUS;
View the official Windows Driver Kit DDI referenceNo description available.
The DRIVERSTATUS structure is used in conjunction with the SENDCMDOUTPARAMS structure and the SMART_SEND_DRIVE_COMMAND request to retrieve data returned by a Self-Monitoring Analysis and Reporting Technology (SMART) command.
bDriverErrorError code from driver, or 0 if no error.
bIDEErrorContents of IDE Error register.
bReservedReserved.
dwReservedReserved.