Share via


CEL_HEAP_ALLOC

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure identifies a heap allocation made by a thread with HeapAlloc.

Syntax

typedef struct __CEL_HEAP_ALLOC {
  HANDLE hHeap;
  DWORD dwFlags;
  DWORD dwBytes;
  DWORD lpMem;
  DWORD dwTID;
  DWORD dwPID;
  DWORD dwCallerPID;
  DWORD adwStackTrace[0];
} CEL_HEAP_ALLOC, *PCEL_HEAP_ALLOC; 

Members

  • hHeap
    Handle of the heap used in the allocation. This corresponds to the hHeap parameter of HeapAlloc.
  • dwFlags
    Flags used to allocate the memory. This corresponds to the dwFlags parameter of HeapAlloc.
  • dwBytes
    Number of bytes allocated. This corresponds to the dwBytes parameter of HeapAlloc.
  • lpMem
    Corresponds to the pointer returned from HeapAlloc.
  • dwTID
    Identifier of the thread that allocated the memory.
  • dwPID
    Process that owns the thread that allocated the memory.
  • dwCallerPID
    Process inside which the thread that allocated the memory is currently running.
  • adwStackTrace
    Optional array of addresses of functions on the stack at the point when the memory was allocated. The length of the stack trace can be inferred from the length given in the CEL_HEADER event header.

Requirements

Header celog.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

HeapAlloc
CEL_HEADER