ReactOS  0.4.12-dev-36-g472787f
helper.h
Go to the documentation of this file.
1 typedef struct _DRIVERSTATUS {
7 
8 typedef struct _IDEREGS {
18 
19 #define ATAPI_ID_CMD 0xA1
20 #define ID_CMD 0xEC
21 #define SMART_CMD 0xB0
22 
23 #include <pshpack1.h>
24 typedef struct _SENDCMDOUTPARAMS {
27  UCHAR bBuffer[1];
29 
30 typedef struct _SENDCMDINPARAMS {
36  UCHAR bBuffer[1];
38 #include <poppack.h>
ULONG cBufferSize
Definition: helper.h:31
UCHAR bReserved
Definition: helper.h:16
struct _SENDCMDINPARAMS * LPSENDCMDINPARAMS
struct _SENDCMDOUTPARAMS * PSENDCMDOUTPARAMS
UCHAR bSectorNumberReg
Definition: helper.h:11
DRIVERSTATUS DriverStatus
Definition: helper.h:26
struct _DRIVERSTATUS * PDRIVERSTATUS
struct _SENDCMDOUTPARAMS SENDCMDOUTPARAMS
UCHAR bSectorCountReg
Definition: helper.h:10
struct _SENDCMDINPARAMS SENDCMDINPARAMS
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:90
UCHAR bDriverError
Definition: helper.h:2
UCHAR bDriveHeadReg
Definition: helper.h:14
struct _IDEREGS * LPIDEREGS
IDEREGS irDriveRegs
Definition: helper.h:32
UCHAR bReserved[2]
Definition: helper.h:4
UCHAR bCommandReg
Definition: helper.h:15
struct _DRIVERSTATUS DRIVERSTATUS
unsigned char UCHAR
Definition: xmlstorage.h:181
UCHAR bCylLowReg
Definition: helper.h:12
UCHAR bIDEError
Definition: helper.h:3
UCHAR bFeaturesReg
Definition: helper.h:9
struct _DRIVERSTATUS * LPDRIVERSTATUS
UCHAR bCylHighReg
Definition: helper.h:13
struct _IDEREGS * PIDEREGS
unsigned int ULONG
Definition: retypes.h:1
struct _IDEREGS IDEREGS
UCHAR bDriveNumber
Definition: helper.h:33
struct _SENDCMDOUTPARAMS * LPSENDCMDOUTPARAMS
Definition: helper.h:8
ULONG cBufferSize
Definition: helper.h:25
struct _SENDCMDINPARAMS * PSENDCMDINPARAMS