# Function Reference

# _WinAPI_IsMemory

Determines whether the specified pointer points to the memory block in the internal library heap

#include <WinAPIMem.au3>
_WinAPI_IsMemory ( $pMemory )

## Parameters

$pMemory | A pointer to the memory block that to be tested.

## Return Value

True: | the specified pointer is a valid memory pointer.
False: | the specified pointer is not a valid memory pointer.

## Remarks

The _WinAPI_IsMemory() function accepts only the pointers returned by some _WinAPI_* functions (see description),
otherwise always returns False.