ReactOS 0.4.15-dev-7953-g1f49173
IoDeviceObject_user.c File Reference
#include <kmt_test.h>
Include dependency graph for IoDeviceObject_user.c:

Go to the source code of this file.

Functions

 START_TEST (IoDeviceObject)
 

Function Documentation

◆ START_TEST()

START_TEST ( IoDeviceObject  )

Definition at line 11 of file IoDeviceObject_user.c.

12{
14
15 /* make sure IoHelper has an existing service key, but is not started */
16 Error = KmtLoadDriver(L"IoHelper", FALSE);
18 if (Error)
19 return;
20 /* Can't use the normal unload function here because we need the
21 * service to stick around. */
23
24 Error = KmtLoadAndOpenDriver(L"IoDeviceObject", TRUE);
26 if (Error)
27 return;
28
31}
#define ok_eq_int(value, expected)
Definition: apitest.h:60
BOOL Error
Definition: chkdsk.c:66
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
unsigned long DWORD
Definition: ntddk_ex.h:95
#define L(x)
Definition: ntvdm.h:50
DWORD KmtLoadAndOpenDriver(IN PCWSTR ServiceName, IN BOOLEAN RestartIfRunning)
Definition: support.c:213
VOID KmtCloseDriver(VOID)
Definition: support.c:236
DWORD KmtLoadDriver(IN PCWSTR ServiceName, IN BOOLEAN RestartIfRunning)
Definition: support.c:128
VOID KmtUnloadDriverKeepService(VOID)
Definition: support.c:149
VOID KmtUnloadDriver(VOID)
Definition: support.c:167