Next Topic

Previous Topic

Book Contents

CopyFile

int CopyFile(string sSource,string sDest)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

Remarks

Function copies a file. Directories cannot be copied with this function.