Function Reference


_WinAPI_ReadProcessMemory

Reads memory in a specified process

#include <WinAPIMem.au3>
_WinAPI_ReadProcessMemory ( $hProcess, $pBaseAddress, $pBuffer, $iSize, ByRef $iRead )

Parameters

$hProcess Identifies an open handle of a process whose memory is read
$pBaseAddress Points to the base address in the specified process to be read
$pBuffer Points to a buffer that receives the contents from the address space
$iSize Specifies the requested number of bytes to read from the specified process
$iRead The actual number of bytes transferred into the specified buffer

Return Value

Success: True
Failure: False, call _WinAPI_GetLastError() to get extended error information

Related

_WinAPI_WriteProcessMemory

See Also

Search ReadProcessMemory in MSDN Library.