34 BOOL *pfIsMyInterrupt);
40 ULONG dwLastMessage, DWORD dwReserved);
44 DWORD dwCount, ULONG dwLastMessage, DWORD dwReserved);
64 PVOID pOpenData, PVOID *ppDrvContext);
DWORD dwVerWD
version of the WinDriver Kernel PlugIn library
KP_FUNC_OPEN funcOpen
returns the KP_Open function
KP_FUNC_OPEN funcOpen_32_64
returns the KP_Open function for 32 bit app with 64 bit KP.
KP_FUNC_INT_AT_IRQL funcIntAtIrql
KP_FUNC_INT_AT_DPC_MSI funcIntAtDpcMSI
KP_FUNC_INT_ENABLE funcIntEnable
KP_FUNC_INT_AT_IRQL_MSI funcIntAtIrqlMSI
KP_FUNC_INT_AT_DPC funcIntAtDpc
KP_FUNC_INT_DISABLE funcIntDisable
void(__cdecl * KP_FUNC_CALL)(PVOID pDrvContext, WD_KERNEL_PLUGIN_CALL *kpCall)
Called when WD_KernelPlugInCall() is called.
BOOL(__cdecl * KP_FUNC_EVENT)(PVOID pDrvContext, WD_EVENT *wd_event)
returns TRUE if user need notification
void(__cdecl * KP_FUNC_INT_DISABLE)(PVOID pIntContext)
Called when WD_IntDisable() is called.
BOOL(__cdecl * KP_FUNC_INT_AT_IRQL_MSI)(PVOID pIntContext, ULONG dwLastMessage, DWORD dwReserved)
Returns TRUE if needs DPC.
BOOL(__cdecl * KP_FUNC_INT_ENABLE)(PVOID pDrvContext, WD_KERNEL_PLUGIN_CALL *kpCall, PVOID *ppIntContext)
Called when WD_IntEnable() is called, with a kernel plugin handler specified the pIntContext will be ...
void(__cdecl * KP_FUNC_CLOSE)(PVOID pDrvContext)
Called when WD_KernelPlugInClose() is called.
DWORD(__cdecl * KP_FUNC_INT_AT_DPC)(PVOID pIntContext, DWORD dwCount)
Returns the number of times to notify user-mode (i.e.
BOOL __cdecl KP_Init(KP_INIT *kpInit)
You must define a KP_Init() function to link to the device driver.
BOOL(__cdecl * KP_FUNC_OPEN)(KP_OPEN_CALL *kpOpenCall, HANDLE hWD, PVOID pOpenData, PVOID *ppDrvContext)
Called when WD_KernelPlugInOpen() is called.
DWORD(__cdecl * KP_FUNC_INT_AT_DPC_MSI)(PVOID pIntContext, DWORD dwCount, ULONG dwLastMessage, DWORD dwReserved)
Returns the number of times to notify user-mode (i.e.
BOOL(__cdecl * KP_FUNC_INT_AT_IRQL)(PVOID pIntContext, BOOL *pfIsMyInterrupt)
Returns TRUE if needs DPC.
#define WD_MAX_KP_NAME_LENGTH