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. |
This structure identifies a heap allocation made by a thread with HeapAlloc.
Syntax
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 hHeapparameter of HeapAlloc.
- dwFlags
-
Flags used to allocate the memory. This corresponds to the dwFlagsparameter of HeapAlloc.
- dwBytes
-
Number of bytes allocated. This corresponds to the dwBytesparameter 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_HEADERevent header.
Requirements
Header | celog.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |