Verifies that the calling process has read access to the specified range of memory
#include <WinAPIMem.au3>
_WinAPI_IsBadReadPtr ( $pAddress, $iLength )
$pAddress | A pointer to the first byte of the memory block. |
$iLength | The size of the memory block, in bytes. |
True: | the calling process does not have read access to all bytes in the specified memory range. |
False: | the calling process have read access. |
Search IsBadReadPtr in MSDN Library.