[KMTESTS]
[reactos.git] / rostests / kmtests / include / kmt_public.h
1 /*
2 * PROJECT: ReactOS kernel-mode tests
3 * LICENSE: GPLv2+ - See COPYING in the top level directory
4 * PURPOSE: Kernel-Mode Test Suite public declarations
5 * PROGRAMMER: Thomas Faber <thfabba@gmx.de>
6 */
7
8 #ifndef _KMTEST_PUBLIC_H_
9 #define _KMTEST_PUBLIC_H_
10
11 #define IOCTL_KMTEST_GET_TESTS \
12 CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_BUFFERED, FILE_READ_DATA)
13
14 #define IOCTL_KMTEST_RUN_TEST \
15 CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA)
16
17 #define IOCTL_KMTEST_SET_RESULTBUFFER \
18 CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)
19
20 #define IOCTL_KMTEST_USERMODE_SEND_RESPONSE \
21 CTL_CODE(FILE_DEVICE_UNKNOWN, 0x803, METHOD_IN_DIRECT, FILE_WRITE_DATA)
22
23 #define IOCTL_KMTEST_USERMODE_AWAIT_REQ \
24 CTL_CODE(FILE_DEVICE_UNKNOWN, 0x804, METHOD_BUFFERED, FILE_READ_DATA)
25
26 #define KMTEST_DEVICE_NAME L"Kmtest"
27 #define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\" KMTEST_DEVICE_NAME
28 #define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT" KMTEST_DEVICE_DRIVER_PATH
29
30 #endif /* !defined _KMTEST_PUBLIC_H_ */