Function Reference


_WinAPI_IsBadReadPtr

Verifies that the calling process has read access to the specified range of memory

#include <WinAPIMem.au3>
_WinAPI_IsBadReadPtr ( $pAddress, $iLength )

Parameters

$pAddress A pointer to the first byte of the memory block.
$iLength The size of the memory block, in bytes.

Return Value

True: the calling process does not have read access to all bytes in the specified memory range.
False: the calling process have read access.

See Also

Search IsBadReadPtr in MSDN Library.