SaveToFileA

Управление документами

Описание

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

Сохраняет выбранный документ в файл на диске

Синтаксис

Delphi

Function DLSaveToFileA(InstanceID: Integer; FileName: PAnsiChar): Integer;

DLL

int DLSaveToFileA(int InstanceID, const char * FileName);

Параметры

FileNameИмя создаваемого файла

Возвращаемые значения

0Файл создать не удалось Файл создан успешно
1