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)
GetProcessHeaps
..msdn    Add comment     W32 Constants      Translate this page
The GetProcessHeaps function obtains handles to all of the heaps that are valid for the calling process.
Code examples:
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Declaration:
DWORD GetProcessHeaps(
  DWORD NumberOfHeaps,  //max.number of heap handles 
  PHANDLE ProcessHeaps  //buffer for heap handles
);
FoxPro declaration:
DECLARE INTEGER GetProcessHeaps IN kernel32;
    INTEGER   NumberOfHeaps,;
    STRING  @ ProcessHeaps
Parameters:
NumberOfHeaps
[in] Specifies the maximum number of heap handles that can be stored into the buffer pointed to by ProcessHeaps.

ProcessHeaps
[out] Pointer to a buffer to receive an array of heap handles.
Return value:
The return value is the number of heap handles that are valid for the calling process.
My comment:
Windows NT/2000/XP: Included in Windows NT 3.5 and later.
Windows 95/98/Me: Unsupported.
Word Index links for the GetProcessHeaps :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-26 19:05:43
Modified: 2001-11-26 16:03:49
Visited in last 7 days: 12
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.79.128)
8 sec.Function: 'ReleaseCapture'
15 sec.Function: 'GetSecurityDescriptorDacl'
23 sec.
Function group: 'File System'
31 sec.
Function group: 'Dialog Box'
41 sec.Function: 'AVIStreamTimeToSample'
50 sec.Function: 'FindCloseUrlCache'
1 min.Function: 'GetSystemDirectory'
1.15 min.Function: 'gethostbyname'
1.32 min.Solutions
1.43 min.Function: 'GetWindowLong'
Google
Advertise here!