mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
a9ba7a3f9e
Permission for this change was given by all authors (who are now mentioned in the copyright lines).
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* PROJECT: ReactOS kernel-mode tests
|
|
* LICENSE: LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
|
|
* PURPOSE: Kernel-Mode Test Suite public declarations
|
|
* COPYRIGHT: Copyright 2011-2018 Thomas Faber <thomas.faber@reactos.org>
|
|
* Copyright 2013 Nikolay Borisov <nib9@aber.ac.uk>
|
|
* Copyright 2017 Ged Murphy <gedmurphy@reactos.org>
|
|
*/
|
|
|
|
#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)
|
|
|
|
#define IOCTL_KMTEST_SET_RESULTBUFFER \
|
|
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA)
|
|
|
|
#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)
|
|
|
|
|
|
#define KMTFLT_GET_TESTS 0x800
|
|
#define KMTFLT_RUN_TEST 0x801
|
|
|
|
|
|
#define KMTEST_DEVICE_NAME L"Kmtest"
|
|
#define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\" KMTEST_DEVICE_NAME
|
|
#define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT" KMTEST_DEVICE_DRIVER_PATH
|
|
|
|
#endif /* !defined _KMTEST_PUBLIC_H_ */
|