EldoS
 Table of Contents >  SolFSStorage.OpenReadOnly method
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.OpenReadOnly method

Filter:

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

SolFSStorage     See also    

Overview

Opens storage object in ReadOnly mode.

Declaration

[Pascal]
    not applicable;

[DLL]
    long _stdcall StorageOpenReadOnly(const wchar_t* FileName, unsigned long* Storage, wchar_t PathSeparator, char UseTransactions, char UseAccessTime);

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

[C++ (VCL)]
    not applicable;

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

[C#]
    not applicable;

[VB.NET]
    not applicable;

Parameters

  • [DLL] Storage - returns handle to the opened SolFSStorage.
  • [DLL] FileName - specifies the name of the storage file on physical media.
  • [DLL] PathSeparator - specifies the separator which will be used in further storage operations.
  • [DLL] UseTranactions - set this parameter to True to enable transactions and journalling. Note, that transactions slow down file write operations significantly.
  • [DLL] UseAccessTime - defines whether last access time is written to storage when the file/folder is accessed. Writing access time slows down the operations.

[DLL]  Return values

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

Description

Use this method to open SolFSStorage in read-only mode. Read-only mode is faster especially with large files.

See also

Create     Close

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation