HEAP_SUMMARY structure (heapapi.h)

Represents a heap summary retrieved with a call to HeapSummary

Syntax

typedef struct _HEAP_SUMMARY {
  DWORD  cb;
  SIZE_T cbAllocated;
  SIZE_T cbCommitted;
  SIZE_T cbReserved;
  SIZE_T cbMaxReserve;
} HEAP_SUMMARY, *PHEAP_SUMMARY;

Members

cb

The size of this data structure, in bytes. Set this member to sizeof(HEAP_SUMMARY).

cbAllocated

The size of the allocated memory.

cbCommitted

The size of the committed memory.

cbReserved

The size of the reserved memory.

cbMaxReserve

The size of the maximum reserved memory.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header heapapi.h