CEL_HEAP_ALLOC

Windows CE .NET

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

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

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

See Also

HeapAlloc


Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.

Show: