GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
Create
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
DTDL
DADL
Setup
WDomain.QueryStorage
Connects a storage instance to the WDomain object.
Syntax
int
QueryStorage(
U
Int32
p_ulStorageId,
bool
p_bRegisterCallbacks,
DataFoundation.ISystemCallback
p_pCallback
);
Parameter
p_ulStorageId
Type:
UInt32
ID of the storage to open.
p_bRegisterCallbacks
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
Type:
DataFoundation.ISystemCallback
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