DACloseFile

直接访问功能

说明

本页介绍 PDFlibPas 中属于“直接访问功能”主题的 DACloseFile。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。

调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。

语法

Delphi

Function TPDFlib.DACloseFile(FileHandle: Integer): Integer;

ActiveX

Function PDFlib::DACloseFile(FileHandle As Long) As Long

DLL

int DLDACloseFile(int InstanceID, int FileHandle);

参数

FileHandleFileHandle 表示文件路径或文件名。请为当前流程使用有效路径,并保留 API 期望的编码。

返回值

0此值说明 DACloseFile 的调用结果。通常非零值表示成功,0 表示操作未完成。
1此值说明 DACloseFile 的调用结果。通常非零值表示成功,0 表示操作未完成。