Jungo WinDriver
Official Documentation
|
Go to the source code of this file.
Macros | |
#define | __KERNEL__ |
#define | COPY_FROM_USER_OR_KERNEL(dst, src, n, fKernelMode) |
Macro for copying data from the user mode to the Kernel PlugIn. | |
#define | COPY_TO_USER_OR_KERNEL(dst, src, n, fKernelMode) |
Macro copying data from the Kernel PlugIn to user mode. | |
#define | FALSE 0 |
#define | TRUE 1 |
#define | NULL 0UL |
Typedefs | |
typedef struct _KP_SPINLOCK | KP_SPINLOCK |
Kernel PlugIn spinlock object structure. | |
typedef volatile int | KP_INTERLOCKED |
a Kernel PlugIn interlocked operations counter | |
Functions | |
KP_SPINLOCK * | kp_spinlock_init (void) |
Initializes a new Kernel PlugIn spinlock object. | |
void | kp_spinlock_wait (KP_SPINLOCK *spinlock) |
Waits on a Kernel PlugIn spinlock object. | |
void | kp_spinlock_release (KP_SPINLOCK *spinlock) |
Releases a Kernel PlugIn spinlock object. | |
void | kp_spinlock_uninit (KP_SPINLOCK *spinlock) |
Uninitializes a Kernel PlugIn spinlock object. | |
void | kp_interlocked_init (KP_INTERLOCKED *target) |
Initializes a Kernel PlugIn interlocked counter. | |
void | kp_interlocked_uninit (KP_INTERLOCKED *target) |
Uninitializes a Kernel PlugIn interlocked counter. | |
int | kp_interlocked_increment (KP_INTERLOCKED *target) |
Increments the value of a Kernel PlugIn interlocked counter by one. | |
int | kp_interlocked_decrement (KP_INTERLOCKED *target) |
Decrements the value of a Kernel PlugIn interlocked counter by one. | |
int | kp_interlocked_add (KP_INTERLOCKED *target, int val) |
Adds a specified value to the current value of a Kernel PlugIn interlocked counter. | |
int | kp_interlocked_read (KP_INTERLOCKED *target) |
Reads to the value of a Kernel PlugIn interlocked counter. | |
void | kp_interlocked_set (KP_INTERLOCKED *target, int val) |
Sets the value of a Kernel PlugIn interlocked counter to the specified value. | |
int | kp_interlocked_exchange (KP_INTERLOCKED *target, int val) |
Sets the value of a Kernel PlugIn interlocked counter to the specified value and returns the previous value of the counter. | |
int __cdecl | KDBG (DWORD dwLevel, DWORD dwSection, const char *format,...) |
char *__cdecl | strcpy (char *s1, const char *s2) |
void *__cdecl | malloc (unsigned long size) |
void __cdecl | free (void *buf) |