SolFSStorage.OpenRootData method


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

SolFSStorage     See also    


Opens an unnamed root stream.


    function OpenRootData : TSolFSStream;

[Plain C]
    long _stdcall StorageOpenRootData(unsigned long Storage, unsigned long* Stream);

[C++ (DLL/Lib)]
    SolFSStream *OpenRootData();

[C++ (VCL)]
    TSolFSStream *OpenRootData();

[C++ (.NET)]
    SolFSStream *OpenRootData()

    SolFSStream OpenRootData();

    Function OpenRootData As SolFSStream

    SolFSStream openRootData()


  • [Plain C] Storage - specifies the storage in which the root data stream is opened.
  • [Plain C] Stream - returns handle to the created stream.

Return value

    Returns a Stream object which represents unnamed root area.

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


Use this method to open unnamed RootData stream for reading and writing. This stream is not encrypted (even with whole-storage encryption) and is not limited in size. You can put encryption-related information or storage metadata to this stream.

This method creates a new instance of SolFSStream which must be closed and disposed of (where applicable).

See also

SolFSStream class