Retrieves information about the next block of a heap that has been allocated by a process.
BOOL WINAPI Heap32Next(
LPHEAPENTRY32 lphe
);
Returns TRUE if information about the next block in the heap has been copied to the buffer or FALSE otherwise. The GetLastError function returns ERROR_NO_MORE_FILES when no more objects in the heap exist and ERROR_INVALID_DATA if the heap appears to be corrupt or is modified during the walk in such a way that Heap32Next cannot continue.
To retrieve information for the first block of a heap, use the Heap32First function.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in tlhelp32.h.
Import Library: Use kernel32.lib.
Tool Help Library Overview, Tool Help Functions