Solid File System

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

SolFSStorage.Close method

Filter:

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

SolFSStorage     See also    

Overview

Closes storage object.

Declaration

[Pascal]
    procedure Close(Force : boolean);

[Plain C]
    long _stdcall StorageClose(unsigned long Storage, bool Force);

[C++ (DLL/Lib)]
    void Close(bool Force);

[C++ (VCL)]
    void Close(bool Force);

[C++ (.NET)]
    void Close(bool Force);

[C#]
    void Close(bool Force);

[VB.NET]
    Sub Close(ByVal Force As Boolean)

[Java]
    void close();

Parameters

  • Force - [Operating Systerm Edition] Specifies whether the opened file and folder handles must be forcefully closed.
    [Application edition] Parameter is ignored
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Description

Use Close to close SolFSStorage.
[.NET] The storage is flushed and closed. SolFSStorage object becomes invalid after Close is called and any attempt to call one of the methods leads to ObjectDisposedException error. It is necessary to close the storage once it is not used anymore. When callback mode is used, the application can't be shutdown unless the storage is closed.

See also

Create     FlushBuffers     [DLL] Open

Back to top