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.Query
Query for an already opened WObject.
Syntax
int
Query<T : WObject>(
out
T
p_ppObject,
DataFoundation.
ObjectId
p_poiId
);
Parameter
p_ppObject
Type:
out T
Variable that receives the interface of the requested object.
The variable contains the interface on successful return. The variable is not modified on failure.
Call
WObject.Release
on the object when you no longer need it.
Use the
WObject.GetNextSame
function to get all the open objects with the same ObjectId.
p_poiId
Type:
DataFoundation.ObjectId
ID of the requested object.
Return value
S_OK or an error from the
Error Codes
.
Remarks
T can be WObject or a DADL-generated class, derived from WObject
© 2022 Mobiland AG