 |
GetProcessHeap ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetProcessHeap function obtains a handle to the heap of the calling process. This handle can then be used in subsequent calls to the HeapAlloc, HeapReAlloc, HeapFree, and HeapSize functions. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE GetProcessHeap(VOID);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetProcessHeap IN kernel32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters. |
 |
 |
| Return value: |
 |
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.
|
 |
 |
| My comment: |
 |
| MSDN: The GetProcessHeap function allows you to allocate memory from the process heap without having to first create a heap with the HeapCreate function. The handle obtained by calling this function should not be used in calls to the HeapDestroy function. |
 |
 |
| Word Index links for the GetProcessHeap : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-01 08:15:07 | | Modified: | 2001-12-01 08:17:05 | Visited in last 7 days: 225 |