PHW_INTERRUPT callback function (srb.h)

The PHW_INTERRUPT routine prototype declares the miniport driver's interrupt handler routine.

Syntax

PHW_INTERRUPT PhwInterrupt;

BOOLEAN PhwInterrupt(
  [in] PVOID DeviceExtension
)
{...}

Parameters

[in] DeviceExtension

Pointer to the miniport driver's per-HBA storage area.

Return value

If the interrupt handler routine determines that its HBA generated the interrupt, it returns TRUE. If the interrupt handler determines that its HBA did not generate the interrupt, it should return FALSE as soon as possible.

Remarks

The interrupt handler routine for both SCSI and StorPort miniport drivers are declared using this prototype.

For more information about the SCSI miniport driver's interrupt handler routine see HwScsiInterrupt.

For more information about the miniport driver's interrupt handler routine that is used with the StorPort driver see HwStorInterrupt.

Requirements

Requirement Value
Target Platform Desktop
Header srb.h (include Storport.h, Srb.h, Storport.h)

See also

HwScsiInterrupt

HwStorInterrupt