GetDocumentFileNameA
Document management
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetDocumentFileName and string arguments are interpreted using the current SetAnsiMode code page
Returns the file name of the selected document if it was opened using LoadFromFile.
Syntax
Delphi
Function DLGetDocumentFileNameA(InstanceID: Integer): PAnsiChar;
DLL
const char * DLGetDocumentFileNameA(int InstanceID);