A.4.10 SCSI Miniport Driver’s HwScsiAdapterState Routine

Windows NT miniport drivers should set this entry point to NULL in the HW_INITIALIZATION_DATA (see Section A.4.1) only if either of the following conditions hold:

Otherwise, a miniport driver must have a HwScsiAdapterState routine in order to be portable across Windows NT and x86-only Microsoft Windows systems.

A HwScsiAdapterState routine is responsible for saving and restoring the state of its HBA, as requested by the x86-only system during transitions between x86 real and protected processor mode.

For more information about HwScsiAdapterState routines, see also the Kernel-Mode Driver Reference.