A.4 Designing a SCSI Miniport Driver

Windows NT SCSI miniport drivers are HBA-specific but OS-independent. That is, each miniport driver links itself with the system-supplied SCSI port driver, which is a dynamic-link library (DLL), and calls only the port driver’s ScsiPortXxx routines to communicate with the system and its HBA. In the future, such SCSI miniport drivers will run on other Microsoft operating systems that support Win32 applications and also export the ScsiPortXxx routines.

Note that any SCSI miniport driver that calls routines other than the ScsiPortXxx cannot run in both Microsoft OS environments. To remain portable across Microsoft Windows systems, including Windows NT, SCSI miniport drivers must call only the system-supplied ScsiPortXxx.