SaveToFileA
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 SaveToFile and string arguments are interpreted using the current SetAnsiMode code page
Saves the selected document to a file on disk
Syntax
Delphi
Function DLSaveToFileA(InstanceID: Integer; FileName: PAnsiChar): Integer;
DLL
int DLSaveToFileA(int InstanceID, const char * FileName);
Parameters
| FileName | The name of the file to create |
|---|
Return values
| 0 | The file could not be created The file was created successfully |
|---|---|
| 1 |