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 <thomas.faber@reactos.org> 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 27 #define KMTFLT_GET_TESTS 0x800 28 #define KMTFLT_RUN_TEST 0x801 29 30 31 #define KMTEST_DEVICE_NAME L"Kmtest" 32 #define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\" KMTEST_DEVICE_NAME 33 #define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT" KMTEST_DEVICE_DRIVER_PATH 34 35 #endif /* !defined _KMTEST_PUBLIC_H_ */ 36