DAEmbedFileStreamsA

文档操作、直接访问功能

描述

末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 DAEmbedFileStreams 相同,字符串参数使用当前 SetAnsiMode 代码页解释

将数据存储在外部文件中的任何流对象转换为常规嵌入流对象

语法

Delphi

Function DLDAEmbedFileStreamsA(InstanceID, FileHandle: Integer; RootPath: PAnsiChar): Integer;

DLL

int DLDAEmbedFileStreamsA(int InstanceID, int FileHandle, const char * RootPath);

参数

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄
RootPath作为相对路径根目录使用的目录