// 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
No description available.
The PHW_INTERRUPT routine prototype declares the miniport driver's interrupt handler routine.
DeviceExtension
[in]Pointer to the miniport driver's per-HBA storage area.
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.
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.
StrMiniInterrupt is the minidriver's interrupt service routine.
DeviceExtension
[in]Pointer to the minidriver's device extension.
StrMiniInterrupt returns TRUE if the device generated the interrupt, and FALSE otherwise.
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.