创建文件夹 - CreateFolder
函数简介
- 在指定路径创建一个新的文件夹。
接口名称
CreateFolder
DLL调用
int CreateFolder(long instance, string path)
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| path | 字符串 | 要创建的文件夹完整路径。 |
示例
// 示例代码待补充
返回值
操作结果,0 失败,1 成功。
注意事项
- 若目标文件夹已存在,具体行为取决于底层实现(可能返回失败)。
