Determines whether the calling process has read access to the memory at the specified address
#include <WinAPIMem.au3>
_WinAPI_IsBadCodePtr ( $pAddress )
| $pAddress | A pointer to a memory address. | 
| True: | the calling process does not have read access to the specified memory. | 
| False: | the calling process have read access, call _WinAPI_GetLastError() to get extended error information. | 
Search IsBadCodePtr in MSDN Library.