Solid File System

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

SolFSStorage.EnableSystemCache method

Filter:

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

SolFSStorage    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Enables or disables system cache

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    procedure EnableSystemCache( Enable : boolean );

[Plain C]
    long _stdcall StorageSetUseSystemCache( unsigned long Storage, bool UseSystemCache);

[C++ (DLL/Lib)]
    void EnableSystemCache( bool Enable );

[C++ (VCL)]
    void __fastcall EnableSystemCache( bool Enable );

[C++ (.NET)]
    void EnableSystemCache( bool Enable );

[C#]
    void EnableSystemCache( bool Enable );

[VB.NET]
    Sub EnableSystemCache( ByVal Enable As Boolean )

[Java]
    not applicable;

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • Enable - specifies if the cache is enabled

Return value

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

Use this method to enable or disable operating system cache on the SolFS drive. Change of this parameter changes speed of operations, but the change can be different for different types of operations and even data sizes.

Back to top