#ifndef _NTRTL_H
typedef struct _RTL_SEGMENT_HEAP_MEMORY_SOURCE
{
ULONG Flags;
ULONG MemoryTypeMask; // Mask of RTL_MEMORY_TYPE members.
ULONG NumaNode;
union
{
HANDLE PartitionHandle;
RTL_SEGMENT_HEAP_VA_CALLBACKS *Callbacks;
};
SIZE_T Reserved[2];
} RTL_SEGMENT_HEAP_MEMORY_SOURCE, *PRTL_SEGMENT_HEAP_MEMORY_SOURCE;
View code on GitHub// ntifs.h
typedef struct _RTL_SEGMENT_HEAP_MEMORY_SOURCE {
ULONG Flags;
ULONG MemoryTypeMask;
ULONG NumaNode;
union {
HANDLE PartitionHandle;
RTL_SEGMENT_HEAP_VA_CALLBACKS *Callbacks;
};
SIZE_T Reserved[2];
} RTL_SEGMENT_HEAP_MEMORY_SOURCE, *PRTL_SEGMENT_HEAP_MEMORY_SOURCE;
View the official Windows Driver Kit DDI referenceThis structure is documented in Windows Driver Kit.
The RTL_SEGMENT_HEAP_MEMORY_SOURCE structure specifies the segment heap memory source.
FlagsThe flags associated with the segment heap.
MemoryTypeMaskContains a mask of the RTL_MEMORY_TYPE members.
NumaNodeSpecifies the number of the NUMA node the memory resides on.
PartitionHandleHandle to the specified partition.
CallbacksPointer to a RTL_SEGMENT_HEAP_VA_CALLBACKS structure.
ReservedReserved for future use.