RTL_MEMORY_TYPE 枚举 (ntifs.h)

定义堆应使用的内存类型。

语法

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

常量

 
MemoryTypePaged
内存类型已分页。
MemoryTypeNonPaged
内存类型是非分页的。
MemoryType64KPage
内存类型为 64K 页。
MemoryTypeLargePage
内存类型是一个大页。
MemoryTypeHugePage
内存类型是一个巨大的页。 32 位系统不支持。
MemoryTypeCustom
内存类型是自定义内存类型。
MemoryTypeMax
此枚举的最大值。

要求

要求
Header ntifs.h

另请参阅

RTL_SEGMENT_HEAP_MEMORY_SOURCE