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:
GetFileOwner - Get the owner of an NTFS file
Reading security permissions for NTFS files and folders
Retrieving local computer and user names
Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)
LocalSize
..msdn    Add comment     W32 Constants      Translate this page
The LocalSize function returns the current size of the specified local memory object, in bytes.
Code examples:
Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)
Retrieving local computer and user names
Reading security permissions for NTFS files and folders
GetFileOwner - Get the owner of an NTFS file
Declaration:
UINT LocalSize(
  HLOCAL hMem
);
FoxPro declaration:
DECLARE LONG LocalSize IN kernel32 INTEGER hMem
Parameters:
hMem
[in] Handle to the local memory object. This handle is returned by the LocalAlloc, LocalReAlloc, or LocalHandle function.
Return value:
If the function succeeds, the return value is the size of the specified local memory object, in bytes.
My comment:
The local functions are slower than other memory management functions and do not provide as many features. Therefore, new applications should use the heap functions.
Word Index links for the LocalSize :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-11-28 13:20:27
Modified: 2004-11-28 13:21:46
Visited in last 7 days: 22
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.166.150.10)
14 sec.Function: 'GdipGetImageEncoders'
28 sec.Function: 'RegisterClipboardFormat'
42 sec.Function: 'SCardListReaders'
57 sec.Function: 'GlobalLock'
1.17 min.Function: 'getservbyname'
1.38 min.Function: 'GradientFill'
1.62 min.Function: 'WTSEnumerateSessions'
1.87 min.Function: 'JetCreateInstance'
2.07 min.Function: 'RegDeleteKey'
2.28 min.Function: 'waveInUnprepareHeader'
Google
Advertise here!