#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
This structure is documented in Windows Driver Kit.