GetDocumentFileNameA
文档管理
说明
末尾的 A 表示 ANSI(char)DLL 入口点,ActiveX/COM 接口仅公开 Unicode 形式。其行为与 GetDocumentFileName 相同,字符串参数会按照当前的 SetAnsiMode 代码页进行解释
本页介绍 PDFlibPas 中属于“文档管理”主题的 GetDocumentFileName。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。
调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。
语法
Delphi
Function DLGetDocumentFileNameA(InstanceID: Integer): PAnsiChar;
DLL
const char * DLGetDocumentFileNameA(int InstanceID);