#ifndef _NTRTL_H
//
// Segment heap parameters.
//
typedef enum _RTL_MEMORY_TYPE
{
MemoryTypePaged,
MemoryTypeNonPaged,
MemoryType64KPage,
MemoryTypeLargePage,
MemoryTypeHugePage,
MemoryTypeCustom,
MemoryTypeMax
} RTL_MEMORY_TYPE, *PRTL_MEMORY_TYPE;
View code on GitHub// ntifs.h
typedef enum _RTL_MEMORY_TYPE {
MemoryTypePaged,
MemoryTypeNonPaged,
MemoryType64KPage,
MemoryTypeLargePage,
MemoryTypeHugePage,
MemoryTypeCustom,
MemoryTypeMax
} RTL_MEMORY_TYPE, *PRTL_MEMORY_TYPE;
View the official Windows Driver Kit DDI referenceThis enumeration is documented in Windows Driver Kit.
Defines the memory type the heap is supposed to use.
MemoryTypePagedThe memory type is paged.
MemoryTypeNonPagedThe memory type is non-paged.
MemoryType64KPageThe memory type is a 64K page.
MemoryTypeLargePageThe memory type is a large page.
MemoryTypeHugePageThe memory type is a huge page. Not supported on 32-bit systems.
MemoryTypeCustomThe memory type is a custom memory type.
MemoryTypeMaxMaximum value for this enumeration.
RTL_SEGMENT_HEAP_MEMORY_SOURCE