GitHub
Download
Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
Domain_Create
Domain_Destroy
AbortTransaction
Connect
Create
CreateTransaction
CreateWaitObject
DestroyTransaction
DestroyWaitObject
Disconnect
DisconnectAll
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetConnection
GetDomain
GetLastError
GetSchema
GetStorage
Initialize
InsertNamedObject
IsConnected
LoadData
Open
OpenNamedObject
Query
QueryNamedObject
QueryNamedObjectId
QueryNamedObjectLink
QueryNamedObjectMultiple
QueryStorage
ReleaseAllStorages
ReleaseStorage
RemoveNamedObject
ResetTransaction
StoreData
Uninitialize
WaitableHandle
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup
WDomain::QueryStorage
Connects a storage instance to the WDomain object.
Syntax
HRESULT
QueryStorage(
[in]
U
INT32
p_ulStorageId,
[in]
bool
p_bRegisterCallbacks,
[in]
DataFoundation::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:
DataFoundation::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
WDomain::ReleaseStorage
to close the connection.
© 2022 Mobiland AG