The sSCSI_CMD
structure contains information about the SCSI Command.
typedef
struct _SCSI_PASSTHROUGH_COMMAND { BYTE cdb[16]; BYTE cdblen; BYTE command_mode; BYTE reserved[2]; DWORD datalen; BYTE data[512]; } sSCSI_CMD,
*pSCSI_CMD; |
cdb:
cdblen:
Please refer to SCSI
specification
command_mode:
Value |
Meaning |
SCSI_NON_DATA |
Protocol is non-data |
SCSI_DATA_IN |
Protocol is data-in |
SCSI_DATA_OUT |
Protocol is data-out |
datalen:
Length
of data
data:
Buffer
for data
Requirements
Header |
arclib.h |
Include |
arclib.h |
See Also