pywinauto.remote_memory_block

Module containing wrapper around VirtualAllocEx/VirtualFreeEx Win32 API functions to perform custom marshalling

exception pywinauto.remote_memory_block.AccessDenied

Raised when we cannot allocate memory in the control’s process

class pywinauto.remote_memory_block.RemoteMemoryBlock(ctrl, size=4096)

Class that enables reading and writing memory in a different process

Address()

Return the address of the memory block

CheckGuardSignature()

read guard signature at the end of memory block

CleanUp()

Free Memory and the process handle

Read(data, address=None, size=None)

Read data from the memory block

Write(data, address=None, size=None)

Write data into the memory block