Next Topic

Previous Topic

Book Contents

Close

int Close()

Return values

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

Remarks

Closes the file and makes the file unavailable for reading or writing. If you have not closed the file before the object is destroyed the destructor will do it for you.