Jungo WinDriver  
Official Documentation

◆ KP_PCI_IntEnable()

BOOL __cdecl KP_PCI_IntEnable ( PVOID  pDrvContext,
WD_KERNEL_PLUGIN_CALL kpCall,
PVOID *  ppIntContext 
)

Called when WDC_IntEnable() / WD_IntEnable() is called from the user mode with a Kernel PlugIn handle.

WD_IntEnable() is called automatically from WDC_IntEnable() and InterruptEnable() (see WinDriver PCI Low-Level API Reference).

The interrupt context that is set by this function (*ppIntContext) will be passed to the rest of the Kernel PlugIn interrupt functions.

Parameters
[in,out]pDrvContextDriver context data that was set by KP_Open() and will also be passed to KP_Close(), KP_IntEnable() and KP_Event()
[in,out]kpCallStructure with information from WD_IntEnable()
[in,out]ppIntContextPointer to interrupt context data that will be passed to KP_IntDisable() and to the Kernel PlugIn interrupt handler functions. Use this context to keep interrupt specific information.
Returns
Returns TRUE if enable is successful; otherwise returns FALSE.
Remarks
This function should contain any initialization needed for your Kernel PlugIn interrupt handling.

Definition at line 428 of file kp_pci.c.