Using Win32 functions in Visual FoxPro Image Gallery
Memory Management
..msdn
CopyMemory
FillMemory
GetProcessHeap
GetProcessHeaps
GlobalAlloc
GlobalFree
GlobalLock
GlobalMemoryStatus
GlobalReAlloc
GlobalSize
GlobalUnlock
HeapAlloc
HeapCompact
HeapFree
HeapLock
HeapReAlloc
HeapSize
HeapUnlock
HeapValidate
HeapWalk
LocalAlloc
LocalFree
LocalSize
VirtualAllocEx
VirtualFreeEx
ZeroMemory
Code examples:
Using the heap of the calling process to allocate memory blocks
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:
Using the heap of the calling process to allocate memory blocks
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-01 08:26:48
Modified: 2001-12-01 08:28:38
Visited in last 7 days: 112
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.237.213.31)
21 sec.Function: 'GetProcessHeap'
1.32 min.Function: 'TaskDialog'
Google
Advertise here!