Share via


USB Function Mass Storage Client Driver SCSI-2 Command Support (Windows Embedded CE 6.0)

1/6/2010

Command block, data block 2 tuples provide abstraction for SCSI-2 and for arbitrary mass storage, direct-access device commands. For more information about the command block and data block structures, see TRANSPORT_COMMAND and TRANSPORT_DATA.

For portability, the USB Function Mass Storage Client Driver Transport supplies the SCSI-2 direct-access device emulator with a SCSI-2 command using the TRANSPORT_COMMAND and TRANSPORT_DATA structures. The command format used in these structures is not specific to SCSI-2. In general, a mass storage, direct-access device command is a command and data or a command and a container for data. The USB mass storage class driver permits an emulation framework for a SCSI-2 direct-access device to emulate a block device. For example, if you are emulating a SCSI-2 direct-access device with a block device, and the lpvCommandBlock member of a TRANSPORT_COMMAND block command stores an IOCTL_DISK_XXX, the block emulator translates it to a SCSI-2 command block. For more information about block driver IOCTLs, see Block Driver IOCTLs.

The USB mass storage class driver supports the INQUIRY, MODE SENSE(10), REQUEST SENSE, SEND DIAGNOSTIC, TEST UNIT READY, READ(10), READ CAPACITY, START STOP UNIT, and WRITE(10) SCSI-2 direct-access device commands. For more information about a specific SCSI-2 command, see the Small Computer System Interface - 2 (SCSI-2) Specification.

See Also

Concepts

USB Function Mass Storage Client Driver Development Concepts
USB Function Mass Storage Client Driver