写入指定地址的单精度浮点数 - WriteFloatAddr
函数简介
写入指定地址的单精度浮点数。
接口名称
WriteFloatAddr
DLL调用
int WriteFloatAddr(long instance, long hwnd, long addr, float float_value)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
hwnd | 长整数型 | 窗口句柄 |
addr | 长整数型 | 地址 |
float_value | 单精度浮点数 | 单精度浮点数 |
示例
// 示例代码待补充
返回值
成功返回1,失败返回0