reactos/rostests/kmtests/ntos_mm/MmMapLockedPagesSpecifyCache.h
Pierre Schweitzer 63eb4b623a [KMTESTS:MM]
Test various sizes with MmMapLockedPagesSpecifyCache() to show that behavior is strictly identical.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74759
2017-06-03 10:29:39 +00:00

31 lines
763 B
C

/*
* PROJECT: ReactOS kernel-mode tests
* LICENSE: GPLv2+ - See COPYING in the top level directory
* PURPOSE: Kernel-Mode Test Suite MmMapLockedPagesSpecifyCache test declarations
* PROGRAMMER: Pierre Schweitzer <pierre@reactos.org>
*/
#ifndef _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_
#define _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_
typedef struct _QUERY_BUFFER
{
USHORT Length;
PVOID Buffer;
BOOLEAN Cached;
} QUERY_BUFFER, *PQUERY_BUFFER;
typedef struct _READ_BUFFER
{
USHORT Length;
PVOID Buffer;
ULONG Pattern;
} READ_BUFFER, *PREAD_BUFFER;
#define IOCTL_QUERY_BUFFER 1
#define IOCTL_READ_BUFFER 2
#define WRITE_PATTERN 0xA4A5A6A7
#endif /* !defined _KMTEST_MMMAPLOCKEDPAGESSPECIFYCACHE_H_ */