Compartilhar via


HEAPLIST32

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure describes an entry from a list that enumerates the heaps used by a specified process.

Syntax

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

Members

  • dwSize
    Length, in bytes, of the structure.

    Before calling the Heap32ListFirst function, set this member to sizeof(HEAPLIST32).

    If you do not initialize dwSize, Heap32First fails.

  • 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 content of this member is meaningful only to the tool help functions.

    This member is not a handle, nor is it usable by Win32 API elements.

  • dwFlags
    Bitmask of flags.

    The HF32_DEFAULT flag is the only flag that is currently defined.

    The HF32_DEFAULT flag specifies the default heap of the process.

Requirements

Header tlhelp32.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ToolHelp Structures
Heap32First
Heap32ListFirst