ReactOS 0.4.15-dev-8636-g945e856
|
#include <ntddk.h>
#include <ntifs.h>
#include <ndk/ketypes.h>
#include <ntstrsafe.h>
#include <limits.h>
#include <pseh/pseh2.h>
#include <debug.h>
#include <kmt_public.h>
#include <kmt_test.h>
Go to the source code of this file.
Classes | |
struct | _KMT_USER_WORK_ENTRY |
struct | _KMT_USER_WORK_LIST |
Macros | |
#define | NDEBUG |
#define | KMT_DEFINE_TEST_FUNCTIONS |
Typedefs | |
typedef struct _KMT_USER_WORK_ENTRY | KMT_USER_WORK_ENTRY |
typedef struct _KMT_USER_WORK_ENTRY * | PKMT_USER_WORK_ENTRY |
typedef struct _KMT_USER_WORK_LIST | KMT_USER_WORK_LIST |
typedef struct _KMT_USER_WORK_LIST * | PKMT_USER_WORK_LIST |
Functions | |||||
DriverUnload | |||||
Driver cleanup funtion.
| |||||
static VOID NTAPI | DriverUnload (IN PDRIVER_OBJECT DriverObject) | ||||
DriverCreate | |||||
Driver Dispatch function for IRP_MJ_CREATE
| |||||
static NTSTATUS NTAPI | DriverCreate (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) | ||||
DriverCleanup | |||||
Driver Dispatch function for IRP_MJ_CLEANUP
| |||||
static NTSTATUS NTAPI | DriverCleanup (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) | ||||
DriverClose | |||||
Driver Dispatch function for IRP_MJ_CLOSE
| |||||
static NTSTATUS NTAPI | DriverClose (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) | ||||
DriverIoControl | |||||
Driver Dispatch function for IRP_MJ_DEVICE_CONTROL
| |||||
static NTSTATUS NTAPI | DriverIoControl (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) | ||||
KmtUserModeCallback | |||||
Enqueue a request to the usermode callback queue and blocks until the work is finished.
| |||||
PKMT_RESPONSE | KmtUserModeCallback (IN KMT_CALLBACK_INFORMATION_CLASS Operation, IN PVOID Parameters) | ||||
KmtFreeCallbackResponse | |||||
TODO
| |||||
VOID | KmtFreeCallbackResponse (PKMT_RESPONSE Response) | ||||
KmtCleanUsermodeCallbacks | |||||
TODO | |||||
static VOID | KmtCleanUsermodeCallbacks (VOID) | ||||
Variables | |
DRIVER_INITIALIZE | DriverEntry |
static DRIVER_UNLOAD | DriverUnload |
#define KMT_DEFINE_TEST_FUNCTIONS |
Definition at line 20 of file kmtest_drv.c.
#define NDEBUG |
Definition at line 16 of file kmtest_drv.c.
typedef struct _KMT_USER_WORK_ENTRY * PKMT_USER_WORK_ENTRY |
typedef struct _KMT_USER_WORK_LIST * PKMT_USER_WORK_LIST |
Definition at line 217 of file kmtest_drv.c.
Definition at line 270 of file kmtest_drv.c.
Definition at line 179 of file kmtest_drv.c.
Definition at line 304 of file kmtest_drv.c.
|
static |
Definition at line 141 of file kmtest_drv.c.
Definition at line 621 of file kmtest_drv.c.
Referenced by DriverUnload().
VOID KmtFreeCallbackResponse | ( | PKMT_RESPONSE | Response | ) |
Definition at line 606 of file kmtest_drv.c.
Referenced by KmtCleanUsermodeCallbacks().
PKMT_RESPONSE KmtUserModeCallback | ( | IN KMT_CALLBACK_INFORMATION_CLASS | Operation, |
IN PVOID | Parameters | ||
) |
Definition at line 551 of file kmtest_drv.c.
DRIVER_INITIALIZE DriverEntry |
Definition at line 40 of file kmtest_drv.c.
|
static |
Definition at line 41 of file kmtest_drv.c.