Jungo WinDriver  
Official Documentation

◆ KP_PCI_IntAtDpc()

DWORD __cdecl KP_PCI_IntAtDpc ( PVOID  pIntContext,
DWORD  dwCount 
)

Deferred processing legacy interrupt handler routine.

This function is called once the high-priority legacy interrupt handling is completed, provided that KP_IntAtIrql() returned TRUE.

Parameters
[in,out]pIntContextInterrupt context data that was set by KP_IntEnable(), passed to KP_IntAtIrql(), and will be passed to KP_IntDisable().
[in]dwCountThe number of times KP_IntAtIrql() returned TRUE since the last DPC call. If dwCount is 1, KP_IntAtIrql requested a DPC only once since the last DPC call. If the value is greater than 1, KP_IntAtIrql has already requested a DPC a few times, but the interval was too short, therefore KP_IntAtDpc was not called for each DPC request.
Returns
Returns the number of times to notify user mode (i.e., return from WD_IntWait() — see the WinDriver PCI Low-Level API Reference).
Remarks
Most of the interrupt handling should be implemented within this function, as opposed to the high-priority KP_IntAtIrql() interrupt handler. If KP_IntAtDpc() returns with a value greater than zero, WD_IntWait() returns and the user-mode interrupt handler will be called in the amount of times set in the return value of KP_IntAtDpc(). If you do not want the user-mode interrupt handler to execute, KP_IntAtDpc() should return zero.

Definition at line 602 of file kp_pci.c.