是否启用绘制 - DrawGuiIsGuiActive
函数简介
查询绘制系统是否已启用。
接口名称
DrawGuiIsGuiActive
DLL调用
int32_t DrawGuiIsGuiActive(int64_t instance);
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
示例
int64_t ola = CreateCOLAPlugInterFace();
int32_t active = DrawGuiIsGuiActive(ola);
printf("active=%d\n", active);
DestroyCOLAPlugInterFace(ola);
返回值
0 未启用,1 已启用。