# Function Reference

# _MemVirtualFree

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

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

## Parameters

$pAddress | Points to the base address of the region of pages to be freed
$iSize | Specifies the size, in bytes, of the region to be freed
$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

_MemVirtualAlloc

## See Also

Search VirtualFree in MSDN Library.