abb260dc1d53a7889bd47dd7771c1f7704ea2baa
[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 KMTEST_DEVICE_NAME L"Kmtest"
21 #define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\" KMTEST_DEVICE_NAME
22 #define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT" KMTEST_DEVICE_DRIVER_PATH
23
24 #endif /* !defined _KMTEST_PUBLIC_H_ */