Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function retrieves information about the next block of a heap allocated by a process.
BOOL WINAPI Heap32Next( HANDLE hSnapshot,LPHEAPENTRY32 lphe );
Parameters
hSnapshot
[in] Handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.This parameter is specific to Windows CE.
lphe
[out] Long pointer to a HEAPENTRY32 structure.
Return Values
TRUE indicates that information about the next block in the heap has been copied to the buffer.
FALSE indicates failure.
The GetLastError function returns ERROR_NO_MORE_FILES when no more objects in the heap exist; it returns ERROR_INVALID_DATA if the heap appears to be corrupt or is modified during the walk in such a way that Heap32Next cannot continue.
Remarks
To retrieve information for the first block of a heap, use the Heap32First function.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Tlhelp32.h.
Link Library: Toolhelp.lib.
See Also
CreateToolhelp32Snapshot | HEAPENTRY32 | Heap32First
Send Feedback on this topic to the authors