Verifies that the calling process has read access to the specified range of memory.
#Include <WinAPIEx.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. |
Success | 1 - 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. | |
0 | Otherwise. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索