次の方法で共有


HEAPLIST32 (Compact 2013)

3/28/2014

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

See Also

Reference

ToolHelp Structures
Heap32First
Heap32ListFirst