| /**************************************************************************** |
| **************************************************************************** |
| *** |
| *** This header was created from a ProcessHacker header to make |
| *** information necessary for userspace to call into the Windows |
| *** kernel available to Dr. Memory. It contains only constants, |
| *** structures, and macros generated from the original header, and |
| *** thus, contains no copyrightable information. |
| *** |
| **************************************************************************** |
| ****************************************************************************/ |
| /* from phlib/include/ntmisc.h */ |
| |
| #ifndef __PHLIB_NTMMAPI_H |
| #define __PHLIB_NTMMAPI_H |
| |
| typedef enum _VIRTUAL_MEMORY_INFORMATION_CLASS { |
| VmPrefetchInformation, |
| VmPagePriorityInformation, |
| VmCfgCallTargetInformation |
| } VIRTUAL_MEMORY_INFORMATION_CLASS; |
| |
| typedef struct _MEMORY_RANGE_ENTRY { |
| PVOID VirtualAddress; |
| SIZE_T NumberOfBytes; |
| } MEMORY_RANGE_ENTRY, *PMEMORY_RANGE_ENTRY; |
| |
| NTSTATUS |
| NTAPI |
| NtSetInformationVirtualMemory( |
| _In_ HANDLE ProcessHandle, |
| _In_ VIRTUAL_MEMORY_INFORMATION_CLASS VmInformationClass, |
| _In_ ULONG_PTR NumberOfEntries, |
| _In_reads_(NumberOfEntries) PMEMORY_RANGE_ENTRY VirtualAddresses, |
| _In_reads_bytes_(VmInformationLength) PVOID VmInformation, |
| _In_ ULONG VmInformationLength); |
| |
| #endif /* __PHLIB_NTMMAPI_H */ |
| |
| /* EOF */ |