SetTempPath
杂项函数
描述
设置用于存储由以下函数生成的临时文件的文件夹
MergeFileList.
语法
Delphi
Function TPDFlib.SetTempPath(Const NewPath: WideString): Integer;
ActiveX
Function PDFlib::SetTempPath(NewPath As String) As Long
DLL
int DLSetTempPath(int InstanceID, const wchar_t * NewPath);
参数
| NewPath | 要使用的新文件夹。此文件夹必须已存在,不会创建它 |
|---|
返回值
| 0 | 指定文件夹不存在或没有读写访问权限 |
|---|---|
| 1 | 已成功设置临时路径 |