2011-06-09 15:14:02 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS kernel-mode tests
|
|
|
|
* LICENSE: GPLv2+ - See COPYING in the top level directory
|
|
|
|
* PURPOSE: Kernel-Mode Test Suite public declarations
|
2013-10-12 16:05:54 +00:00
|
|
|
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
|
2011-06-09 15:14:02 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _KMTEST_PUBLIC_H_
|
|
|
|
#define _KMTEST_PUBLIC_H_
|
|
|
|
|
|
|
|
#define IOCTL_KMTEST_GET_TESTS \
|
|
|
|
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_BUFFERED, FILE_READ_DATA)
|
|
|
|
|
|
|
|
#define IOCTL_KMTEST_RUN_TEST \
|
|
|
|
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA)
|
|
|
|
|
2011-06-13 17:50:07 +00:00
|
|
|
#define IOCTL_KMTEST_SET_RESULTBUFFER \
|
|
|
|
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)
|
|
|
|
|
2013-04-27 18:18:17 +00:00
|
|
|
#define IOCTL_KMTEST_USERMODE_SEND_RESPONSE \
|
|
|
|
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x803, METHOD_IN_DIRECT, FILE_WRITE_DATA)
|
|
|
|
|
|
|
|
#define IOCTL_KMTEST_USERMODE_AWAIT_REQ \
|
|
|
|
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x804, METHOD_BUFFERED, FILE_READ_DATA)
|
|
|
|
|
2011-06-09 15:14:02 +00:00
|
|
|
#define KMTEST_DEVICE_NAME L"Kmtest"
|
2011-06-29 08:51:00 +00:00
|
|
|
#define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\" KMTEST_DEVICE_NAME
|
|
|
|
#define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT" KMTEST_DEVICE_DRIVER_PATH
|
2011-06-09 15:14:02 +00:00
|
|
|
|
|
|
|
#endif /* !defined _KMTEST_PUBLIC_H_ */
|