写入指定地址的数据 - WriteDataAddr
函数简介
写入指定地址的数据。
接口名称
WriteDataAddr
DLL调用
int WriteDataAddr(long instance, long hwnd, long addr, string data)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
hwnd | 长整数型 | 窗口句柄 |
addr | 长整数型 | 地址 |
data | 字符串 | 数据,二进制数据字符串,如"12 34 56 78" |
示例
// 示例代码待补充
返回值
成功返回1,失败返回0