GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
Connection
Create
Destroy
Connect
Disconnect
DisconnectAll
GetConnection
GetSchema
Initialize
IsConnected
QueryStorage
Reconnect
ReleaseAllStorages
ReleaseStorage
Uninitialize
WDomain
WObject
WBase
WinRT API
DTDL
DADL
Setup
Connection.QueryStorage
Connects a storage instance to the Connection object.
Syntax
int
QueryStorage(
in
UInt32
p_ulStorageId,
in
bool
p_bRegisterCallbacks,
in
DataFS::ISystemCallback
p_pCallback
);
Parameter
p_ulStorageId
Type:
in UInt32
ID of the storage to open.
p_bRegisterCallbacks
Type:
in bool
If true, the domain registers a listener object on the storage to listen for object modifications. In case of a callback, the domain sets the corresponding WObject to 'dirty'.
p_pCallback
Type:
in DataFS::ISystemCallback
A callback interface that receives notifications about the storage.
Return value
S_OK or an error from the
Error Codes
.
Remarks
Call
Connection.ReleaseStorage
to close the connection.
© 2025 Mobiland AG