Filter:Pascal Plain C C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NET Java
Closes the file.
long _stdcall StorageCloseFile(unsigned long File);
[Plain C] Return values
0 if the function succeeded or one of Error codes if the function failed.
Use this method to close the file. In VCL and C++ (DLL/Lib) just dispose of the object in order to close the stream.
[.NET] The file is flushed and closed. Stream object becomes invalid after Close is called and any attempt to call one of the methods leads to ObjectDisposedException error.
[Plain C] The file is closed and the handle becomes invalid.