DAEmbedFileStreamsA
Document manipulation, Direct access functionality
Mô tả
Hậu tố A là entry point DLL ANSI (char); mặt ActiveX/COM chỉ phơi dạng Unicode. Hành vi giống hệt DAEmbedFileStreams và các tham số chuỗi được diễn giải theo code page hiện tại của SetAnsiMode
Chuyển mọi stream object lưu dữ liệu trong file ngoài thành stream object nhúng thông thường
Cú pháp
Delphi
Function DLDAEmbedFileStreamsA(InstanceID, FileHandle: Integer; RootPath: PAnsiChar): Integer;
DLL
int DLDAEmbedFileStreamsA(int InstanceID, int FileHandle, const char * RootPath);
Tham số
| FileHandle | Handle được trả về bởi các hàm DAOpenFile, DAOpenFileReadOnly hoặc DAOpenFromStream |
|---|---|
| RootPath | Thư mục dùng làm gốc cho các relative path |