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:
Moving shortcut to a specified position on the Windows Desktop
Obtaining names and positions for shortcuts located on the Windows Desktop
VirtualFreeEx
..msdn    Add comment     W32 Constants      Translate this page
Releases, decommits, or releases and decommits a region of memory within the virtual address space of a specified process.
Code examples:
Obtaining names and positions for shortcuts located on the Windows Desktop
Moving shortcut to a specified position on the Windows Desktop
Declaration:
BOOL WINAPI VirtualFreeEx(
  __in  HANDLE hProcess,
  __in  LPVOID lpAddress,
  __in  SIZE_T dwSize,
  __in  DWORD dwFreeType
);
FoxPro declaration:
DECLARE INTEGER VirtualFreeEx IN kernel32;
    INTEGER hProcess,;
    INTEGER lpAddress,;
    LONG dwSize,;
    INTEGER dwFreeType
Parameters:
hProcess [in]
A handle to a process. The function frees memory within the virtual address space of the process.

lpAddress [in]
A pointer to the starting address of the region of memory to be freed.

dwSize [in]
The size of the region of memory to free, in bytes.

dwFreeType [in]
The type of free operation -- a predefined value.
Return value:
If the function succeeds, the return value is a nonzero value.
My comment:
The entire range of pages originally reserved by VirtualAllocEx must be released at the same time.
Word Index links for the VirtualFreeEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2012-02-07 20:13:32
Modified: 2012-02-07 20:16:59
Visited in last 7 days: 26
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.156.67.122)
15 sec.Function: 'EndPage'
29 sec.Function: 'DrawDibClose'
42 sec.
Function group: 'Metafile'
56 sec.Function: 'ControlService'
1.15 min.Function: 'GetThreadPriority'
1.37 min.Function: 'CeReadFile'
1.62 min.Function: 'FindNextUrlCacheEntry'
1.88 min.Function: 'QueryPerformanceFrequency'
2.12 min.Function: 'LoadLibrary'
2.35 min.Function: 'Shell_NotifyIcon'
Google
Advertise here!