DAEmbedFileStreamsA

Document manipulation, Direct access functionality

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to DAEmbedFileStreams and string arguments are interpreted using the current SetAnsiMode code page

Converts any stream object where the data is stored in an external file into a regular embedded stream object.

Syntax

Delphi

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

DLL

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

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
RootPathThe directory to use as the root for relative paths.