# Function Reference

# _WinAPI_IsBadCodePtr

Determines whether the calling process has read access to the memory at the specified address

#include <WinAPIMem.au3>
_WinAPI_IsBadCodePtr ( $pAddress )

## Parameters

$pAddress | A pointer to a memory address.

## Return Value

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.

## See Also

Search IsBadCodePtr in MSDN Library.