Knowledge Base

IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH Limitations

Article ID: 137247

Article Last Modified on 2/12/2007


APPLIES TO


This article was previously published under Q137247

SUMMARY

The device control codes IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH require that a valid SCSI device be previously recognized before the IOCTL can be passed on to the SCSI miniport. In other words, SCSIPORT must have previously located a SCSI peripheral on the specific bus that the SCSI miniport supports or these IOCTLs will not be passed on.

MORE INFORMATION

A SCSI peripheral will be recognized by SCSIPORT when the system boots. Additionally, an IOCTL_SCSI_RESCAN_BUS sent to SCSIPORT will force SCSIPORT to re-scan the SCSI bus for new peripherals. Once a peripheral is recognized on a particular SCSI bus, IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH can be sent to the miniport supporting that SCSI bus.

Note that IOCTL_SCSI_RESCAN_BUS can be sent to SCSIPORT and the SCSI miniport regardless of whether there are any SCSI devices currently present.

REFERENCES

For more information on these device control codes, please see the Device Driver Kit (DDK) documentation. For information on sending an IOCTL to a device driver, please see the Software Development Kit (SDK) documentation (DeviceIoControl).

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

251369 INFO: SCSI Pass Through Functionality and Limitations


Additional query words: 3.50 IOCTL

Keywords: KB137247