企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# pywinauto.remote\_memory\_block 包含VirtualAllocEx / VirtualFreeEx Win32 API函数的包装器的模块,用于执行自定义编组 ## *exception* `pywinauto.remote_memory_block.``AccessDenied` 当我们无法在控件的进程中分配内存时引发 ## *class* `pywinauto.remote_memory_block.RemoteMemoryBlock`(*ctrl*, *size=4096*) 能够在不同进程中读写内存的类 > `Address`() 返回内存块的地址 > `CheckGuardSignature`() 读取内存块末尾的保护签名 > `CleanUp`() 可用内存和进程句柄 > `Read`(*data*, *address=None*, *size=None*) 从内存块中读取数据 > `Write`(*data*, *address=None*, *size=None*) 将数据写入内存块