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::Open
Opens a WObject.
Syntax
HRESULT
Open(
[out]
WObject**
p_ppObject,
[in]
const
DataFoundation::
ObjectId
*
p_poiObjectId,
[in]
HANDLE
p_hTransaction
);
Parameter
p_ppObject
[out]
Type:
WObject**
Pointer to a variable that receives the interface pointer of the object.
A pointer is always returned. Call
WDomain::Execute
or
WDomain::ExecuteAsync
and, in case of a failure or partial failure, call
WObject::GetLastError
on the object to find out if the open operation succeeded.
p_poiObjectId
[in]
Type:
const DataFoundation::ObjectId*
ID of the requested object.
p_hTransaction
[in]
Type:
HANDLE
Handle to a transaction.
Can be the standard transaction Transaction::Load.
Return value
S_OK or an error from the
Error Codes
.
© 2022 Mobiland AG