读取指定地址的长整型数 - ReadInt
函数简介
读取指定地址的长整型数,支持多种整数类型和CE数据格式。
接口名称
ReadInt
DLL调用
long ReadInt(long instance, long hwnd, string addr, int type)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
hwnd | 长整数型 | 窗口句柄 |
addr | 字符串 | 地址,支持CE数据格式 |
type | 整数型 | 整数类型(0:32位有符号,1:16位有符号,2:8位有符号,3:64位,4:32位无符号,5:16位无符号,6:8位无符号) |
示例
// 示例代码待补充
返回值
读取到的整数值(64位)