设置剪贴板 - SetClipboard
函数简介
设置剪贴板的内容。
接口名称
SetClipboard
DLL调用
int SetClipboard(long ola, string value);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| ola | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| value | 字符串 | 要设置到剪贴板的内容。 |
示例
int ret = SetClipboard(instance, "Hello World!");
printf("SetClipboard ret=%d\n", ret);
返回值
1 成功,0 失败。
