读取指定地址的数据 - ReadDataAddrToBin
函数简介
读取指定地址的数据。
接口名称
ReadDataAddrToBin
DLL调用
long ReadDataAddrToBin(long instance, long hwnd, long addr, int len)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
hwnd | 长整数型 | 窗口句柄 |
addr | 长整数型 | 地址 |
len | 整数型 | 长度 |
示例
// 示例代码待补充
返回值
长整数型 读取到的数据指针. 返回0表示读取失败.
注意事项
- 返回的内存地址需要调用FreeMemoryPtr释放内存