设置文本内容 - DrawGuiSetText
函数简介
设置文本对象的内容。
接口名称
DrawGuiSetText
DLL调用
int32_t DrawGuiSetText(int64_t instance, int64_t handle, char* text);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| handle | 长整数型 | 文本对象句柄。 |
| text | 字符串 | 文本内容。 |
示例
DrawGuiSetText(ola, text, "New Text");
返回值
0 失败,1 成功。
