Opens the storage.
[Pascal] [DLL] [C++ (VCL)] [C++ (.NET)] [C#] [VB.NET] [ActiveX] [VB]
New storage is created. If storage file already exists, operation fails
Create new storage if it doesn't exist, otherwise truncate existing storage
Open storage if it exists, otherwise fail.
Open storage if it exists, create storage file is it doesn't exist yet
0 if the function succeeded or one of Error codes if the function failed.
Use this method to open or create a storage. All parameters are taken from the properties which must have set before.
If the storage (container file) has ReadOnly attribute on the disk, you should open it in read-only mode. Attempts to open such storage in Read-Write mode will fail.
OPERATING SYSTEM EDITION for Windows
The opened storage file must NOT have NTFS encrypted or compressed attributes. If the storage file is compressed or encrypted, error will be returned by this method.
OPERATING SYSTEM EDITION for Windows:
Before using this method you need to call Initialize method to initialize CBFS Storage.