Platform SDK: Debugging and Error Handling

HEAPLIST32

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

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

Members

dwSize
Specifies the length, in bytes, of the structure. Before calling the Heap32ListFirst function, set this member to sizeof(HEAPLIST32). If you do not initialize dwSize, Heap32First will fail.
th32ProcessID
Identifier of the process to examine. The contents of this member can be used by Win32 API elements.
th32HeapID
Heap identifier in the owning process context. The contents of this member has meaning only to the tool help functions. It is not a handle, nor is it usable by Win32 API elements.
dwFlags
Flags. These values are defined:
Value Meaning
HF32_DEFAULT Process's default heap

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Tlhelp32.h.

See Also

Tool Help Library Overview, Tool Help Structures