Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStream.Close method


Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 



Closes the file.


    Not implemented;

[Plain C]
    long _stdcall StorageCloseFile(unsigned long File);

[C++ (DLL/Lib)]
    Not implemented;

[C++ (VCL)]
    Not implemented;

[C++ (.NET)]
    void Close()

    void Close()

    Sub Close

    void close()


  • [Plain C] File - handle to the file returned by Create function.

[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.

Back to top