ReactOS
0.4.16-dev-257-g6aa11ac
kmt_public.h
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS kernel-mode tests
3
* LICENSE: LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
4
* PURPOSE: Kernel-Mode Test Suite public declarations
5
* COPYRIGHT: Copyright 2011-2018 Thomas Faber <thomas.faber@reactos.org>
6
* Copyright 2013 Nikolay Borisov <nib9@aber.ac.uk>
7
* Copyright 2017 Ged Murphy <gedmurphy@reactos.org>
8
*/
9
10
#ifndef _KMTEST_PUBLIC_H_
11
#define _KMTEST_PUBLIC_H_
12
13
#define IOCTL_KMTEST_GET_TESTS \
14
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_BUFFERED, FILE_READ_DATA)
15
16
#define IOCTL_KMTEST_RUN_TEST \
17
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA)
18
19
#define IOCTL_KMTEST_SET_RESULTBUFFER \
20
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)
21
22
#define IOCTL_KMTEST_USERMODE_SEND_RESPONSE \
23
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x803, METHOD_IN_DIRECT, FILE_WRITE_DATA)
24
25
#define IOCTL_KMTEST_USERMODE_AWAIT_REQ \
26
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x804, METHOD_BUFFERED, FILE_READ_DATA)
27
28
29
#define KMTFLT_GET_TESTS 0x800
30
#define KMTFLT_RUN_TEST 0x801
31
32
33
#define KMTEST_DEVICE_NAME L"Kmtest"
34
#define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\"
KMTEST_DEVICE_NAME
35
#define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT"
KMTEST_DEVICE_DRIVER_PATH
36
37
#endif
/* !defined _KMTEST_PUBLIC_H_ */
modules
rostests
kmtests
include
kmt_public.h
Generated on Mon Nov 11 2024 06:08:21 for ReactOS by
1.9.6