RTL_SEGMENT_HEAP_MEMORY_SOURCE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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;

#endif

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 reference

NtDoc

This structure is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ns-ntifs-_rtl_segment_heap_memory_source)

RTL_SEGMENT_HEAP_MEMORY_SOURCE structure

The RTL_SEGMENT_HEAP_MEMORY_SOURCE structure specifies the segment heap memory source.

Description

Members

Flags

The flags associated with the segment heap.

MemoryTypeMask

Contains a mask of the RTL_MEMORY_TYPE members.

NumaNode

Specifies the number of the NUMA node the memory resides on.

PartitionHandle

Handle to the specified partition.

Callbacks

Pointer to a RTL_SEGMENT_HEAP_VA_CALLBACKS structure.

Reserved

Reserved for future use.