Writes memory in a specified process
#include <WinAPIMem.au3>
_WinAPI_WriteProcessMemory ( $hProcess, $pBaseAddress, $pBuffer, $iSize, ByRef $iWritten [, $sBufferType = "ptr"] )
$hProcess | Identifies an open handle to a process whose memory is to be written to |
$pBaseAddress | Points to the base address in the specified process to be written to |
$pBuffer | Points to the buffer that supplies data to be written into the address space |
$iSize | Specifies the number of bytes to write into the specified process |
$iWritten | The actual number of bytes transferred into the specified process |
$sBufferType | [optional] Contains the data type that $pBuffer represents |
Success: | True |
Failure: | False, call _WinAPI_GetLastError() to get extended error information |
Search WriteProcessMemory in MSDN Library.