MSDN 2001 SCSI_PASS_THROUGH_DIRECT结构解释中一个错误
From: xuyibo.net Date: 2009-06-16 10:25 AM
DataIn
Indicates whether the SCSI command will read or write data. This field must have one of three values:
Data Transfer Type Meaning
SCSI_IOCTL_DATA_IN Write data to the device.
SCSI_IOCTL_DATA_OUT Read data from the device.
SCSI_IOCTL_DATA_UNSPECIFIED Direction of data transfer unspecified.
应该为:
SCSI_IOCTL_DATA_IN Read data from the device.
SCSI_IOCTL_DATA_OUT Write data to the device.
SCSI_IOCTL_DATA_UNSPECIFIED No data transferred.