 |
HeapFree ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The HeapFree function frees a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL HeapFree(
HANDLE hHeap, // handle to heap
DWORD dwFlags, // heap free options
LPVOID lpMem // pointer to memory
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER HeapFree IN kernel32;
INTEGER hHeap,;
INTEGER dwFlags,;
INTEGER lpMem
|
 |
 |
 |
| Parameters: |
 |
hHeap
[in] Specifies the heap whose memory block the function frees. This parameter is a handle returned by the HeapCreate or GetProcessHeap function.
dwFlags
[in] Specifies several controllable aspects of freeing a memory block.
lpMem
[in] Pointer to the memory block to free. This pointer is returned by the HeapAlloc or HeapReAlloc function.
|
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. |
 |
 |
| Word Index links for the HeapFree : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-01 08:26:48 | | Modified: | 2001-12-01 08:28:38 | Visited in last 7 days: 23 |