Verifies that the calling process has write access to the specified range of memory
#include <WinAPIMem.au3>
_WinAPI_IsBadWritePtr ( $pAddress, $iLength )
| $pAddress | A pointer to the first byte of the memory block. |
| $iLength | The size of the memory block, in bytes. |
| True: | the calling process does not have write access to all bytes in the specified memory range. |
| False: | the calling process have write access. |
Search IsBadWritePtr in MSDN Library.