Jungo WinDriver
Official Documentation
|
DWORD DLLCALLCONV WDC_CallKerPlug | ( | _In_ WDC_DEVICE_HANDLE | hDev, |
_In_ DWORD | dwMsg, | ||
_Inout_ PVOID | pData, | ||
_Outptr_ PDWORD | pdwResult | ||
) |
Sends a message from a user-mode application to a Kernel PlugIn driver.
The function passes a message ID from the application to the Kernel PlugIn's KP_Call function, which should be implemented to handle the specified message ID, and returns the result from the Kernel PlugIn to the user-mode application.
[in] | hDev | Handle to a WDC device, returned by WDC_xxxDeviceOpen() |
[in] | dwMsg | A message ID to pass to the Kernel PlugIn driver (specifically to KP_Call) |
[in,out] | pData | Pointer to data to pass between the Kernel PlugIn driver and the user-mode application |
[out] | pdwResult | Result returned by the Kernel PlugIn driver (KP_Call) for the operation performed in the kernel as a result of the message that was sent |