Partager via


CEL_HEAP_FREE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure identifies heap memory that has been freed.

Syntax

typedef struct __CEL_HEAP_FREE {
  HANDLE hHeap;
  DWORD dwFlags;
  DWORD lpMem;
  DWORD dwTID;
  DWORD dwPID;
  DWORD dwCallerPID;
  DWORD adwStackTrace[0];
} CEL_HEAP_FREE, *PCEL_HEAP_FREE; 

Members

  • hHeap
    Handle of the heap to perform the operation. This corresponds to the hHeap parameter of the HeapFree function.
  • dwFlags
    Corresponds to the dwFlags parameter of the HeapFree function.
  • lpMem
    Pointer to the memory that is being freed. This corresponds to the lpMem parameter of HeapFree.
  • dwTID
    Identifier of the thread that destroyed the heap.
  • dwPID
    Process that owns the thread that destroyed the heap.
  • dwCallerPID
    Process inside which the thread that freed the memory is currently running.
  • adwStackTrace
    Optional array of addresses of functions on the stack at the point when the memory was freed. 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

HeapFree
CEL_HEADER