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:
Displaying OS Memory Status
GlobalMemoryStatus
    Add comment     W32 Constants      Translate this page
The GlobalMemoryStatus function obtains information about the system"s current usage of both physical and virtual memory.
Code examples:
Displaying OS Memory Status
Declaration:
VOID GlobalMemoryStatus(
  LPMEMORYSTATUS lpBuffer   // memory status structure
);
FoxPro declaration:
DECLARE GlobalMemoryStatus IN kernel32 STRING @ lpBuffer

Parameters:
lpBuffer
[out] Pointer to a MEMORYSTATUS structure. The GlobalMemoryStatus function stores information about current memory availability into this structure
Return value:
This function does not return a value
My comment:
On computers with more than 4 GB of memory, the MEMORYSTATUS structure can return incorrect information.
Word Index links for the GlobalMemoryStatus :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2005-12-22 12:43:59
Visited in last 7 days: 13
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.227.51.103)
18 sec.Function: 'GetModuleFileName'
37 sec.Function: 'JetBeginSession'
56 sec.Function: 'ActivateKeyboardLayout'
1.22 min.Function: 'DragQueryFile'
1.5 min.Function: 'SQLGetDiagRec'
1.77 min.
Function group: 'Console'
2.05 min.Function: 'WinHttpReceiveResponse'
2.32 min.Function: 'DestroyMenu'
2.6 min.Function: 'FindWindowEx'
2.88 min.Function: 'ImpersonateLoggedOnUser'
Function group: 'Security'
Google
Advertise here!