CEL_HEAP_REALLOC

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

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

OS Versions: Windows CE 3.0 and later.
Header: Celog.h.

See Also

HeapReAlloc

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.