写入指定地址的字符串 - WriteStringAddr
函数简介
写入指定地址的字符串。
接口名称
WriteStringAddr
DLL调用
int WriteStringAddr(long instance, long hwnd, long addr, int type, string value)
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| hwnd | 长整数型 | 窗口句柄 |
| addr | 长整数型 | 地址 |
| type | 整数型 | 字符串类型(0:Ascii,1:Unicode,2:UTF8) |
| value | 字符串 | 要写入的字符串 |
示例
// 示例代码待补充
返回值
成功返回1,失败返回0
