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:
Creating a folder
Encapsulating access to the Windows Services in a class
Pocket PC: base class
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)
LocalAlloc
..msdn    Add comment     W32 Constants      Translate this page
The LocalAlloc function allocates the specified number of bytes from the heap.
Code examples:
Retrieving local computer and user names
Pocket PC: base class
Encapsulating access to the Windows Services in a class
Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)
Reading security permissions for NTFS files and folders
Creating a folder
Declaration:
HLOCAL LocalAlloc(
  UINT uFlags,
  SIZE_T uBytes
);
FoxPro declaration:
DECLARE INTEGER LocalAlloc IN kernel32;
    INTEGER uFlags,;
    INTEGER uBytes

Parameters:
uFlags
[in] Memory allocation attributes.

uBytes
[in] Number of bytes to allocate.
Return value:
If the function succeeds, the return value is a handle to the newly allocated memory object.
My comment:
Windows memory management does not provide a separate local heap and global heap.
Word Index links for the LocalAlloc :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-10-16 14:55:53
Modified: 2003-10-16 14:58:07
Visited in last 7 days: 19
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 (23.20.86.177)
5 sec.Function: 'SCardListCards'
10 sec.Function: 'GetStdHandle'
15 sec.Function: 'midiOutGetDevCaps'
20 sec.Function: 'GetTickCount'
25 sec.Function: 'CreateEvent'
30 sec.Function: 'GetUserNameEx'
36 sec.Function: 'SetUserGeoID'
41 sec.Function: 'GetClassInfoEx'
46 sec.Function: 'GetUrlCacheEntryInfo'
51 sec.Function: 'GdipCreateFromHDC2'
Google
Advertise here!