# Function Reference

# _WinAPI_IsBadWritePtr

Verifies that the calling process has write access to the specified range of memory

#include <WinAPIMem.au3>
_WinAPI_IsBadWritePtr ( $pAddress, $iLength )

## Parameters

$pAddress | A pointer to the first byte of the memory block.
$iLength | The size of the memory block, in bytes.

## Return Value

True: | the calling process does not have write access to all bytes in the specified memory range.
False: | the calling process have write access.

## See Also

Search IsBadWritePtr in MSDN Library.