Поделиться через


HwScsiDisableInterruptsCallback routine

HwScsiDisableInterruptsCallback is called after a miniport driver's HwScsiEnableInterruptsCallback routine calls ScsiPortNotification with the NotificationTypeCallDisableInterrupts. Miniport drivers of HBAs that require interrupt processing that takes more than 50 microseconds in the ISR should have a pair of HwScsi..InterruptsCallback routines.

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.

 

Syntax

BOOLEAN HwScsiDisableInterruptsCallback(
  _In_ PVOID DeviceExtension
);

Parameters

  • DeviceExtension [in]
    Points to the miniport driver's per-HBA storage area.

Return value

HwScsiDisableInterruptsCallback returns TRUE if the operation succeeded and FALSE if the operation failed.

Remarks

All system interrupts with a higher hardware priority than the HBA's are enabled when the HwScsiDisableInterruptsCallback routine is called. Consequently, a HwScsiDisableInterruptsCallback routine should be optimized to run as quickly as possible.

HwScsiDisableInterruptsCallback is responsible for reenabling interrupts on the HBA and then returning control.

For more information about the HwScsiDisableInterruptsCallback routine, see SCSI Miniport Driver's HwScsiDisableInterruptsCallback Routine.

Requirements

Target platform

Desktop

Header

Miniport.h (include Scsi.h)

See also

HwScsiEnableInterruptsCallback

HwScsiInterrupt

ScsiPortNotification

 

 

Send comments about this topic to Microsoft