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