DAGetInformationA
Właściwości dokumentu, Funkcje dostępu bezpośredniego
Opis
Końcowa litera A oznacza punkt wejścia DLL ANSI (char); powierzchnia ActiveX/COM udostępnia wyłącznie postać Unicode. Zachowanie jest identyczne jak w DAGetInformation, a argumenty ciągów są interpretowane przy użyciu bieżącej strony kodowej SetAnsiMode
Pobiera informacje z sekcji informacji dokumentu. Mogą to być standardowe informacje, takie jak Author i Subject, albo informacje niestandardowe.
Składnia
Delphi
Function DLDAGetInformationA(InstanceID, FileHandle: Integer; Key: PAnsiChar): PAnsiChar;
DLL
const char * DLDAGetInformationA(int InstanceID, int FileHandle, const char * Key);
Parametry
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream W przypadku informacji standardowych użyj "Author", "Title", "Subject", "Keywords", "Creator" lub "Producer". W przypadku informacji niestandardowych można użyć dowolnego innego ciągu. |
|---|---|
| Key |