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


Return the address of the memory block


read guard signature at the end of memory block


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