GitHub
Download
Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
AddClass
ClassAddRef
ClassRelease
Close
GetArray
GetAvailableAttributes
GetBsob
GetId
GetLastError
GetLastWriteTime
GetList
GetObjectLink
GetObjectLinkArray
GetValue
HasAttribute
IsAvailableLoaded
IsDirty
Load
LoadFiltered
Remove
SetArray
SetBsob
SetDirty
SetLastError
SetList
SetObjectLink
SetObjectLinkArray
SetValue
Store
Unload
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup
UObject::GetObjectLink
Gets an ObjectLink attribute.
Syntax
HRESULT
GetObjectLink(
[in]
U
INT64
p_ullFullAttributeId,
[out]
const
stcObjectLink**
p_ppolObjectLink
)
const
;
HRESULT
GetObjectLink(
[in]
U
INT64
p_ullFullAttributeId,
[out]
ObjectId
*
p_poiObjectId,
[out]
const
U
INT32
**
p_paulClassId,
[out]
U
INT32
*
p_pulLength
)
const
;
Parameter
p_ullFullAttributeId
[in]
Type:
UINT64
Identifier of the attribute.
p_ppolObjectLink
[out]
Type:
const stcObjectLink**
Receives the pointer to the ObjectLink.
p_poiObjectId
[out]
Type:
ObjectId*
Receives the ObjectId of the link.
p_paulClassId
[out]
Type:
const UINT32**
Receives the pointer to a class list.
p_pulLength
[out]
Type:
UINT32*
Receives the number of elements in the array returned in p_paulClassId.
Return value
S_OK if the function succeeds.
S_FALSE if the requested attribute is empty.
E_OBJECT_NOTLOADED if the object has not been opened.
E_OBJECT_ATTRIBUTENOTLOADED if the attribute exists, but has not been loaded.
E_OBJECT_CLASSNOTFOUND if the object does not contain the class of the requested attribute.
Remarks
The pointers are only valid until you modify or reload the attribute.
© 2022 Mobiland AG