Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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 hHeapparameter of the HeapFreefunction.

dwFlags

Corresponds to the dwFlagsparameter of the HeapFreefunction.

lpMem

Pointer to the memory that is being freed. This corresponds to the lpMemparameter 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_HEADERevent 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