Jungo WinDriver
Official Documentation
|
void __cdecl KP_PCI_Call | ( | PVOID | pDrvContext, |
WD_KERNEL_PLUGIN_CALL * | kpCall | ||
) |
Called when the user-mode application calls WDC_CallKerPlug() (or the low-level WD_KernelPlugInCall() function — see the WinDriver PCI Low-Level API Reference).
This function is a message handler for your utility functions.
[in,out] | pDrvContext | Driver context data that was set by KP_Open() and will also be passed to KP_Close(), KP_IntEnable() and KP_Event() |
[in,out] | kpCall | Structure with user-mode information received from the WDC_CallKerPlug() (or from the low-level WD_KernelPlugInCall() function — see the WinDriver PCI Low-Level API Reference) and/or with information to return back to the user mode. |
[in] | kpCall->dwMessage | Message number for the handler. |
[in,out] | kpCall->pData | Message context. |
[out] | kpCall->dwResult | Message result to send back to the user application. |