 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2012-02-07 20:13:32 | | Modified: | 2012-02-07 20:16:59 | Visited in last 7 days: 11 |