DAGetInformationA
Document properties, 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 DAGetInformation and string arguments are interpreted using the current SetAnsiMode code page
Retrieves information from the document information section. This could be standard information such as Author and Subject, or custom information.
Syntax
Delphi
Function DLDAGetInformationA(InstanceID, FileHandle: Integer; Key: PAnsiChar): PAnsiChar;
DLL
const char * DLDAGetInformationA(int InstanceID, int FileHandle, const char * Key);
Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions For standard information use "Author", "Title", "Subject", "Keywords", "Creator", or "Producer". For custom information any other string can be used. |
|---|---|
| Key |