RTL_MEMORY_TYPE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

//
// Segment heap parameters.
//

typedef enum _RTL_MEMORY_TYPE
{
    MemoryTypePaged,
    MemoryTypeNonPaged,
    MemoryType64KPage,
    MemoryTypeLargePage,
    MemoryTypeHugePage,
    MemoryTypeCustom,
    MemoryTypeMax
} RTL_MEMORY_TYPE, *PRTL_MEMORY_TYPE;

#endif

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 reference

NtDoc

This enumeration is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ne-ntifs-_rtl_memory_type)

RTL_MEMORY_TYPE enumeration

Description

Defines the memory type the heap is supposed to use.

Constants

MemoryTypePaged

The memory type is paged.

MemoryTypeNonPaged

The memory type is non-paged.

MemoryType64KPage

The memory type is a 64K page.

MemoryTypeLargePage

The memory type is a large page.

MemoryTypeHugePage

The memory type is a huge page. Not supported on 32-bit systems.

MemoryTypeCustom

The memory type is a custom memory type.

MemoryTypeMax

Maximum value for this enumeration.

See also

RTL_SEGMENT_HEAP_MEMORY_SOURCE