GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
Connection
Connection_Create
Connection_Destroy
Connect
Disconnect
DisconnectAll
GetConnection
GetSchema
Initialize
IsConnected
QueryStorage
Reconnect
ReleaseAllStorages
ReleaseStorage
Uninitialize
WDomain
WObject
WBase
C# API
WinRT API
DTDL
DADL
Setup

Connection::QueryStorage

Connects a storage instance to the Connection object.

Syntax

HRESULT QueryStorage(
[in] UINT32 p_ulStorageId,
[in] bool p_bRegisterCallbacks,
[in] DataFS::ISystemCallback* p_pCallback
);

Parameter

p_ulStorageId [in]
Type: UINT32
ID of the storage to open.
p_bRegisterCallbacks [in]
Type: 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 [in]
Type: DataFS::ISystemCallback*
Pointer to 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