卸载鼠标点击快捷键 - UnregisterMouseButton
函数简介
- 卸载鼠标点击快捷键
接口名称
UnregisterMouseButton
DLL调用
int UnregisterMouseButton(long ola, int button, int type)
参数定义:
ola
(长整型数): OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。button
(整型数): 按键类型,取值如下:- 鼠标左键(值1)
- 鼠标右键(值2)
- 鼠标中间(值3)
- 拓展键1(值4)
- 拓展键2(值5)
type
(整型数): 按键状态,使用Modifier枚举值的位或组合,取值如下:- 鼠标点击(值0)
- 鼠标按下(值1)
- 鼠标释放(值2)
返回值
卸载监听状态
整型数:
1 : 成功
0 : 失败