1 /*
2  * PROJECT:         ReactOS kernel-mode tests
3  * LICENSE:         GPLv2+ - See COPYING in the top level directory
4  * PURPOSE:         Kernel-Mode Test Suite MmMapLockedPagesSpecifyCache test declarations
5  * PROGRAMMER:      Pierre Schweitzer <pierre@reactos.org>
6  */
7 
8 
9 #ifndef _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_
10 #define _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_
11 
12 typedef struct _QUERY_BUFFER
13 {
14     USHORT Length;
15     PVOID Buffer;
16     BOOLEAN Cached;
17     NTSTATUS Status;
18 } QUERY_BUFFER, *PQUERY_BUFFER;
19 
20 typedef struct _READ_BUFFER
21 {
22     USHORT Length;
23     PVOID Buffer;
24     ULONG Pattern;
25 } READ_BUFFER, *PREAD_BUFFER;
26 
27 #define IOCTL_QUERY_BUFFER 1
28 #define IOCTL_READ_BUFFER  2
29 #define IOCTL_CLEAN        3
30 
31 #define WRITE_PATTERN 0xA4A5A6A7
32 
33 #endif /* !defined _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_ */
34