IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH Limitations

Last reviewed: September 27, 1995
Article ID: Q137247
The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) version 3.5

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).


Additional reference words: 3.50 IOCTL
KBCategory: kbprg
KBSubcategory: ntddkstorage


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.