Solid File System

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

SolFSStream.Close method

Filter:

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

SolFSStream    

Overview

Closes the file.

Declaration

[Pascal]
    Not implemented;

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

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

[C++ (VCL)]
    Not implemented;

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

[C#]
    void Close()

[VB.NET]
    Sub Close

[Java]
    void close()

Parameters

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

Description

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