HEAPLIST32 structure (tlhelp32.h)

Describes an entry from a list that enumerates the heaps used by a specified process.

Syntax

typedef struct tagHEAPLIST32 {
  SIZE_T    dwSize;
  DWORD     th32ProcessID;
  ULONG_PTR th32HeapID;
  DWORD     dwFlags;
} HEAPLIST32;

Members

dwSize

The size of the structure, in bytes. Before calling the Heap32ListFirst function, set this member to sizeof(HEAPLIST32). If you do not initialize dwSize, Heap32ListFirst will fail.

th32ProcessID

The identifier of the process to be examined.

th32HeapID

The heap identifier. This is not a handle, and has meaning only to the tool help functions.

dwFlags

This member can be one of the following values.

Value Meaning
HF32_DEFAULT
Process's default heap

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header tlhelp32.h

See also

Heap32ListFirst

Heap32ListNext