Jungo WinDriver  
Official Documentation

◆ KP_PCI_Event()

BOOL __cdecl KP_PCI_Event ( PVOID  pDrvContext,
WD_EVENT wd_event 
)

Called when a Plug-and-Play or power management event for the device is received, provided the user-mode application first called WDC_EventRegister() with fUseKP = TRUE (or the low-level EventRegister() function with a Kernel PlugIn handle — see WinDriver PCI Low-Level API Reference)

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]wd_eventPointer to the PnP/power management event information received from the user mode
Returns
TRUE in order to notify the user about the event. FALSE otherwise.
Remarks
KP_Event will be called if the user mode process called WDC_EventRegister() with fUseKP= TRUE (or of the low-level EventRegister() function was called with a Kernel PlugIn handle — see the WinDriver PCI Low-Level API Reference).

Definition at line 712 of file kp_pci.c.