Function Reference


Frees the specified local memory object and invalidates its handle

#include <WinAPIMem.au3>
_WinAPI_LocalFree ( $hMemory )


$hMemory A handle to the local memory object.
This handle is returned by either the LocalAlloc or LocalReAlloc function.
It is not safe to free memory allocated with GlobalAlloc.

Return Value

Success: Null
Failure: $hMemory, call _WinAPI_GetLastError() to get extended error information

See Also

Search LocalFree in MSDN Library.