A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetProcessHeap

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.

VB4-32,5,6
Declare Function GetProcessHeap Lib "kernel32" Alias "GetProcessHeap" () As Long

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

Library
Kernel32

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.

Last update: 07 April 2006