Solid File System

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

SolFSStorage.OpenFile method

Filter:

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

SolFSStorage     See also    

Overview

Opens file store in the SolFSStorage.

Declaration

[Pascal]
    not applicable;

[Plain C]
    long _stdcall StorageOpenFile(unsigned long Storage, const wchar_t* FileName, char ReadEnabled, char WriteEnabled, char ShareDenyRead, char ShareDenyWrite, wchar_t* Password, unsigned long PasswordLen, unsigned long* File);

[C++ (DLL/Lib)]
    not applicable;

[C++ (VCL)]
    not applicable;

[C++ (.NET)]
    not applicable;

[C#]
    not applicable;

[VB.NET]
    not applicable;

[Java]
    not applicable;

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] FileName - the full file name in the SolFSStorage.
  • [Plain C] ReadEnabled - use this parameter to show if reading from the opened file is enabled.
  • [Plain C] WriteEnabled - use this parameter to show if writing to the opened file is enabled.
  • [Plain C] ShareDenyRead - indicates if reading from the file opened by another user is enabled.
  • [Plain C] ShareDenyWrite - indicates if writing to the file opened by another user is enabled.
  • [Plain C] Password - is used if file is encrypted and needs password to be read from or writen to.
  • [Plain C] PasswordLen - length of file password.
  • [Plain C] File - returns handle to the opened file.

[Plain C]  Return values

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

Description

Use this function when you need to open file in the SolFSStorage.

See also

DeleteFile    

Back to top