Share via


CEL_HEAP_REALLOC (Windows Embedded CE 6.0)

1/6/2010

This structure identifies a memory pointer that has been reallocated in a heap.

Syntax

typedef struct __CEL_HEAP_REALLOC {
  HANDLE hHeap;
  DWORD dwFlags;
  DWORD dwBytes;
  DWORD lpMemOld;
  DWORD lpMem;
  DWORD dwTID;
  DWORD dwPID;
  DWORD dwCallerPID;
  DWORD adwStackTrace[0];
} CEL_HEAP_REALLOC, *PCEL_HEAP_REALLOC;

Members

  • hHeap
    Handle of the heap where memory is being reallocated. This corresponds to the hHeap parameter of HeapReAlloc.
  • dwFlags
    Flags specified to reallocate the memory. This corresponds to the dwFlags parameter of HeapReAlloc.
  • dwBytes
    Size of the memory allocation is bytes. This corresponds to the dwBytes parameter of HeapReAlloc.
  • lpMemOld
    Pointer that was passed to HeapReAlloc. This corresponds to the lpMem parameter of HeapReAlloc.
  • lpMem
    Pointer to the memory allocation. This corresponds to the value returned by HeapReAlloc.
  • dwTID
    Identifier of the thread that reallocated the memory.
  • dwPID
    Process that owns the thread that reallocated the memory.
  • dwCallerPID
    Process inside which the thread that reallocated the memory is currently running.
  • adwStackTrace
    Optional array of addresses of functions on the stack at the point when the memory was reallocated. 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

See Also

Reference

CeLog Event Tracking Structures
HeapReAlloc
CEL_HEADER