IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH Limitations (137247)



The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT 3.5
  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT 4.0
  • Microsoft Win32 Device Driver Kit (DDK) for Windows 2000
  • Microsoft Win32 Device Development Kit (DDK), when used with:
    • the operating system: Microsoft Windows XP

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


Modification Type:MinorLast Reviewed:3/21/2005
Keywords:KB137247