x64x86arm64 / ntdllntoskrnl

_HEAP_SEG_CONTEXT

← 10.0.28000.3231 12 builds latest →
struct _HEAP_SEG_CONTEXT {
unsigned __int64 SegmentMask;/* 0x0 8 */
unsigned char UnitShift;/* 0x8 1 */
unsigned char PagesPerUnitShift;/* 0x9 1 */
unsigned char FirstDescriptorIndex;/* 0xa 1 */
unsigned char CachedCommitSoftShift;/* 0xb 1 */
unsigned char CachedCommitHighShift;/* 0xc 1 */
unsigned char SegmentPointerTag;/* 0xe 1 */
unsigned char Padding1;/* 0xf 1 */
unsigned long MaxAllocationSize;/* 0x10 4 */
short OlpStatsOffset;/* 0x14 2 */
short MemStatsOffset;/* 0x16 2 */
void* LfhContext;/* 0x18 8 */
void* VsContext;/* 0x20 8 */
void* Heap;/* 0x38 8 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned __int64 SegmentLock;/* 0x40 8 */
unsigned __int64 SegmentCount;/* 0x58 8 */
unsigned __int64 FreeSegmentListLock;/* 0x70 8 */
/* ── cacheline 2 boundary (128 bytes) ── */
void* PgContext;/* 0x88 8 */
unsigned char Padding3[48];/* 0x90 48 */
};
size 192 (0xc0)24 members0 holespadding 03 cachelines
Used in (1)