Function Reference


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

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


$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.


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