Verifies that the calling process has read access to the specified range of memory
#include <WinAPIMem.au3>
_WinAPI_IsBadStringPtr ( $pAddress, $iLength )
$pAddress | A pointer to a null-terminated string, either Unicode or ASCII. |
$iLength | The maximum size of the string, in TCHARs. |
True: | the calling process does not have read access to all characters up to the string's terminating null character or up to the number of specified characters. |
False: | the calling process have read access. |
This function checks for read access in all characters up to the string's terminating null character or up to the
number of characters specified by this parameter, whichever is smaller.
Search IsBadStringPtr in MSDN Library.