Group: Memory Management - Library: kernel32
The GetProcessHeaps function obtains handles to all of the heaps that are valid for the calling process.
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
DWORD GetProcessHeaps(
DWORD NumberOfHeaps, //max.number of heap handles
PHANDLE ProcessHeaps //buffer for heap handles
); DECLARE INTEGER GetProcessHeaps IN kernel32;
INTEGER NumberOfHeaps,;
STRING @ ProcessHeaps NumberOfHeaps [in] Specifies the maximum number of heap handles that can be stored into the buffer pointed to by ProcessHeaps.
ProcessHeaps [out] Pointer to a buffer to receive an array of heap handles.
The return value is the number of heap handles that are valid for the calling process.
Windows NT/2000/XP: Included in Windows NT 3.5 and later.
Windows 95/98/Me: Unsupported.
Home