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:
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
HeapUnlock
..msdn    Add comment     W32 Constants      Translate this page
Releases ownership of the critical section object, or lock, that is associated with a specified heap. The HeapUnlock function reverses the action of the HeapLock function.
Code examples:
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Declaration:
BOOL HeapUnlock(
  HANDLE hHeap   // handle to heap
);
FoxPro declaration:
DECLARE INTEGER HeapUnlock IN kernel32;
    INTEGER hHeap
Parameters:
hHeap
[in] Handle to the heap to unlock.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
Windows NT/2000/XP: Included in Windows NT 3.5 and later.
Windows 95/98/Me: Unsupported.

The HeapLock function is primarily useful for preventing the allocation and release of heap memory by other threads while the calling thread uses the HeapWalk function. The HeapUnlock function is the inverse of HeapLock.
Word Index links for the HeapUnlock :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-26 19:12:18
Modified: 2001-11-26 16:03:50
Visited in last 7 days: 11
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.80.10.56)
9 sec.Function: 'JetPrepareUpdate'
18 sec.Function: 'IsZoomed'
29 sec.Function: 'EnumPrintProcessors'
Google
Advertise here!