IOCTL_SCSI_MINIPORT IOCTL

Sends a special control function to an HBA-specific miniport driver. Results vary, depending on the particular miniport driver to which this request is forwarded. If the caller specifies a nonzero Length, either the input or output buffer must be at least (sizeof(SRB_IO_CONTROL) + DataBufferLength)).

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
 

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

The buffer at Irp->AssociatedIrp.SystemBuffer must contain an SRB_IO_CONTROL structure.

Input Buffer Length

Parameters.DeviceIoControl.InputBufferLength indicates the size, in bytes, of the buffer, which must be at least sizeof(SRB_IO_CONTROL), with additional storage for data if the Length field is nonzero.

Output Buffer

An updated SRB_IO_CONTROL structure is returned to the buffer at Irp->AssociatedIrp.SystemBuffer.

Output Buffer Length

The length of the SRB_IO_CONTROL structure.

Status Block

The Information field contains the number of bytes returned in the output buffer. The Status field indicates the results of the operation.

Requirements

   
Header ntddscsi.h (include Ntddscsi.h)

See Also

SRB_IO_CONTROL