AllAPI Network - The KPD-Team

Allapi Network

 API List

API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
This Site
 Search Engine
 Contact Form

Donate to


The GetProcessHeap function obtains a handle to the heap of the calling process. This handle can then be used in calls to the HeapAlloc, HeapReAlloc, HeapFree, and HeapSize functions.

Declare Function GetProcessHeap Lib "kernel32" Alias "GetProcessHeap" () As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later


Return Values
If the function succeeds, the return value is a handle to the calling processís heap.

If the function fails, the return value is NULL.


Related Functions



Copyright © 1998-2007, The Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at