Jungo WinDriver  
Official Documentation
wd_kp.h File Reference
#include "windrvr.h"

Go to the source code of this file.

Data Structures

struct  KP_OPEN_CALL
 
struct  KP_INIT
 

Macros

#define __KERNEL__
 
#define __KERPLUG__
 

Typedefs

typedef void(__cdecl * KP_FUNC_CLOSE) (PVOID pDrvContext)
 Called when WD_KernelPlugInClose() is called.
 
typedef void(__cdecl * KP_FUNC_CALL) (PVOID pDrvContext, WD_KERNEL_PLUGIN_CALL *kpCall)
 Called when WD_KernelPlugInCall() is called.
 
typedef 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 passed to the rest of the functions handling interrupts.
 
typedef void(__cdecl * KP_FUNC_INT_DISABLE) (PVOID pIntContext)
 Called when WD_IntDisable() is called.
 
typedef BOOL(__cdecl * KP_FUNC_INT_AT_IRQL) (PVOID pIntContext, BOOL *pfIsMyInterrupt)
 Returns TRUE if needs DPC.
 
typedef DWORD(__cdecl * KP_FUNC_INT_AT_DPC) (PVOID pIntContext, DWORD dwCount)
 Returns the number of times to notify user-mode (i.e.
 
typedef BOOL(__cdecl * KP_FUNC_INT_AT_IRQL_MSI) (PVOID pIntContext, ULONG dwLastMessage, DWORD dwReserved)
 Returns TRUE if needs DPC.
 
typedef 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.
 
typedef BOOL(__cdecl * KP_FUNC_EVENT) (PVOID pDrvContext, WD_EVENT *wd_event)
 returns TRUE if user need notification
 
typedef BOOL(__cdecl * KP_FUNC_OPEN) (KP_OPEN_CALL *kpOpenCall, HANDLE hWD, PVOID pOpenData, PVOID *ppDrvContext)
 Called when WD_KernelPlugInOpen() is called.
 

Functions

BOOL __cdecl KP_Init (KP_INIT *kpInit)
 You must define a KP_Init() function to link to the device driver.