Function Reference


_MemVirtualFreeEx

Releases a region of pages within the virtual address space of a process

#include <Memory.au3>
_MemVirtualFreeEx ( $hProcess, $pAddress, $iSize, $iFreeType )

Parameters

$hProcess Handle to a process
$pAddress A pointer to the starting address of the region of memory to be freed
$iSize The size of the region of memory to free, in bytes
$iFreeType Specifies the type of free operation:
    $MEM_DECOMMIT - Decommits the specified region of committed pages
    $MEM_RELEASE - Releases the specified region of reserved pages

Return Value

Success: True.
Failure: False.

Related

_MemVirtualAllocEx

See Also

Search VirtualFreeEx in MSDN Library.