ReactOS 0.4.16-dev-334-g4d9f67c
|
#include <kmt_test.h>
#include "kmtest.h"
#include <kmt_public.h>
#include <assert.h>
#include <debug.h>
Go to the source code of this file.
Functions | |||||||||
KmtUserCallbackThread | |||||||||
Thread routine which awaits callback requests from kernel-mode
| |||||||||
DWORD WINAPI | KmtUserCallbackThread (PVOID Parameter) | ||||||||
KmtLoadDriver | |||||||||
Load the specified special-purpose driver (create/start the service)
| |||||||||
DWORD | KmtLoadDriver (IN PCWSTR ServiceName, IN BOOLEAN RestartIfRunning) | ||||||||
KmtUnloadDriverKeepService | |||||||||
Unload special-purpose driver (stop the service only) | |||||||||
VOID | KmtUnloadDriverKeepService (VOID) | ||||||||
KmtUnloadDriver | |||||||||
Unload special-purpose driver (stop and delete the service) | |||||||||
VOID | KmtUnloadDriver (VOID) | ||||||||
KmtOpenDriver | |||||||||
Load and open special-purpose driver (acquire a device handle) | |||||||||
DWORD | KmtOpenDriver (VOID) | ||||||||
DWORD | KmtLoadAndOpenDriver (IN PCWSTR ServiceName, IN BOOLEAN RestartIfRunning) | ||||||||
KmtCloseDriver | |||||||||
Close special-purpose driver (close device handle) | |||||||||
VOID | KmtCloseDriver (VOID) | ||||||||
KmtSendToDriver | |||||||||
Send an I/O control message with no arguments to the driver opened with KmtOpenDriver
| |||||||||
DWORD | KmtSendToDriver (IN DWORD ControlCode) | ||||||||
KmtSendStringToDriver | |||||||||
Send an I/O control message with a string argument to the driver opened with KmtOpenDriver
| |||||||||
DWORD | KmtSendStringToDriver (IN DWORD ControlCode, IN PCSTR String) | ||||||||
KmtSendWStringToDriver | |||||||||
Send an I/O control message with a wide string argument to the driver opened with KmtOpenDriver
| |||||||||
DWORD | KmtSendWStringToDriver (IN DWORD ControlCode, IN PCWSTR String) | ||||||||
KmtSendUlongToDriver | |||||||||
Send an I/O control message with an integer argument to the driver opened with KmtOpenDriver
| |||||||||
DWORD | KmtSendUlongToDriver (IN DWORD ControlCode, IN DWORD Value) | ||||||||
KmtSendBufferToDriver | |||||||||
Send an I/O control message with the specified arguments to the driver opened with KmtOpenDriver
| |||||||||
DWORD | KmtSendBufferToDriver (IN DWORD ControlCode, IN OUT PVOID Buffer OPTIONAL, IN DWORD InLength, IN OUT PDWORD OutLength) | ||||||||
Variables | |
HANDLE | KmtestHandle |
KmtRunKernelTest | |||
Run the specified kernel-mode test part
| |||
static WCHAR | TestServiceName [MAX_PATH] | ||
static SC_HANDLE | TestServiceHandle | ||
static HANDLE | TestDeviceHandle | ||
DWORD | KmtRunKernelTest (IN PCSTR TestName) | ||
Definition at line 236 of file support.c.
Referenced by START_TEST(), and UnloadTcpIpTestDriver().
Definition at line 213 of file support.c.
Referenced by LoadTcpIpTestDriver(), and START_TEST().
Definition at line 128 of file support.c.
Referenced by KmtLoadAndOpenDriver(), and START_TEST().
Definition at line 192 of file support.c.
Referenced by KmtLoadAndOpenDriver().
Definition at line 95 of file support.c.
Referenced by RunTest(), and START_TEST().
DWORD KmtSendBufferToDriver | ( | IN DWORD | ControlCode, |
IN OUT PVOID Buffer | OPTIONAL, | ||
IN DWORD | InLength, | ||
IN OUT PDWORD | OutLength | ||
) |
Definition at line 360 of file support.c.
Referenced by START_TEST().
Definition at line 283 of file support.c.
Referenced by START_TEST().
Definition at line 259 of file support.c.
Referenced by START_TEST().
Definition at line 333 of file support.c.
Referenced by START_TEST().
Definition at line 308 of file support.c.
Referenced by START_TEST().
Definition at line 167 of file support.c.
Referenced by START_TEST(), and UnloadTcpIpTestDriver().
Definition at line 29 of file support.c.
Referenced by KmtRunKernelTest().
|
extern |
Definition at line 32 of file kmtest.c.
Referenced by KmtRunKernelTest(), ListTests(), main(), and RunTest().
|
static |
Definition at line 115 of file support.c.
Referenced by KmtCloseDriver(), KmtOpenDriver(), KmtSendBufferToDriver(), KmtSendStringToDriver(), KmtSendToDriver(), KmtSendUlongToDriver(), and KmtSendWStringToDriver().
|
static |
Definition at line 114 of file support.c.
Referenced by KmtLoadDriver(), KmtUnloadDriver(), and KmtUnloadDriverKeepService().
Definition at line 113 of file support.c.
Referenced by KmtLoadDriver(), KmtOpenDriver(), KmtUnloadDriver(), and KmtUnloadDriverKeepService().