A.1.1 Supporting I/O Requests

A new SCSI class driver is required to support the same set of IRP_MJ_XXX requests as a nonSCSI driver for the same type of device. For specific information about which requests drivers of the most common types of devices must handle, see the Kernel-Mode Driver Reference.

The designer of a class driver for an entirely new type of SCSI device must determine an appropriate set of requests for the driver to support, depending on the nature of the device. The set of requests to be supported generally includes at least the following:

·IRP_MJ_CREATE and, for some device types or for symmetry, IRP_MJ_CLOSE

·IRP_MJ_DEVICE_CONTROL

·IRP_MJ_READ, IRP_MJ_WRITE, or both