Export (0) Print
Expand All

HEAPLIST32 structure

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, *PHEAPLIST32;

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.

ValueMeaning
HF32_DEFAULT

Process's default heap

 

Examples

For an example, see Traversing the Heap List.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft