设置穿透点击 - DrawGuiSetGuiClickThrough
函数简介
设置绘制窗口是否可穿透点击。
接口名称
DrawGuiSetGuiClickThrough
DLL调用
int32_t DrawGuiSetGuiClickThrough(int64_t instance, int32_t enabled);
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
enabled | 整数型 | 1 可穿透,0 不可穿透。 |
示例
int64_t ola = CreateCOLAPlugInterFace();
DrawGuiSetGuiClickThrough(ola, 1);
DestroyCOLAPlugInterFace(ola);
返回值
0 失败,1 成功。