PHW_INTERRUPT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// srb.h

PHW_INTERRUPT PhwInterrupt;

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

View the official Windows Driver Kit DDI reference
// strmini.h

PHW_INTERRUPT PhwInterrupt;

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

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-srb-phw_interrupt)

PHW_INTERRUPT callback (srb.h)

Description

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

Parameters

DeviceExtension [in]

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.

See also

HwScsiInterrupt

HwStorInterrupt


Windows Driver Kit DDI reference (nc-strmini-phw_interrupt)

PHW_INTERRUPT callback function (strmini.h)

Description

StrMiniInterrupt is the minidriver's interrupt service routine.

Parameters

DeviceExtension [in]

Pointer to the minidriver's device extension.

Return value

StrMiniInterrupt returns TRUE if the device generated the interrupt, and FALSE otherwise.

Remarks

The class driver calls StrMiniInterrupt each time it receives an interrupt on behalf of the minidriver.

An interrupt may be shared among several different devices. The minidriver's StrMiniInterrupt routine must determine if its underlying hardware actually generated the interrupt. If the device did not generate the interrupt, StrMiniInterrupt should return FALSE as soon as possible -- for shared interrupts, the operating system calls the interrupt service routines registered for that interrupt until one of the routines returns TRUE, so the ISR may keep the actual device that generated the interrupt waiting if it takes too long to complete.