#include <kmt_test.h>
#include "Example.h"
Go to the source code of this file.
◆ START_TEST()
Definition at line 12 of file Example_user.c.
13{
14
16 MY_STRUCT MyStruct[2] = { { 123,
":D" }, { 0 } };
19
20 trace(
"Message from user-mode\n");
21
24
25
26
28
29
33 return;
34 trace(
"After Create\n");
35
41
43 trace(
"After Close\n");
45 trace(
"After Unload\n");
46}
#define IOCTL_SEND_MYSTRUCT
#define IOCTL_SEND_STRING
#define ok_eq_str(value, expected)
#define ok_eq_int(value, expected)
VOID WINAPI GetSystemInfo(IN LPSYSTEM_INFO lpSystemInfo)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
_In_ ULONG _In_ ULONG _In_ ULONG Length
DWORD_PTR dwActiveProcessorMask
DWORD KmtRunKernelTest(IN PCSTR TestName)
DWORD KmtLoadAndOpenDriver(IN PCWSTR ServiceName, IN BOOLEAN RestartIfRunning)
VOID KmtCloseDriver(VOID)
DWORD KmtSendBufferToDriver(IN DWORD ControlCode, IN OUT PVOID Buffer OPTIONAL, IN DWORD InLength, IN OUT PDWORD OutLength)
DWORD KmtSendStringToDriver(IN DWORD ControlCode, IN PCSTR String)
DWORD KmtSendToDriver(IN DWORD ControlCode)
VOID KmtUnloadDriver(VOID)