GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
AbortActionGroup
AddClass
ClassAddRef
ClassAddRefById
ClassRelease
ClassReleaseById
Close
Create
CreateActionGroup
CreateWaitObject
DestroyActionGroup
DestroyWaitObject
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetLastError
GetSchema
InsertExternLink
InsertNamedLink
InsertNamedObject
Load
Open
RegisterEventClient
RemoveExternLink
RemoveNamedLink
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
C# API
WinRT API
DTDL
DADL
Setup

UStorage::RemoveExternLink

Removes an extern link from the domain.

Syntax

HRESULT RemoveExternLink(
[in] const stcObjectLink* p_polObjectLink,
[in] HANDLE p_hActionGroup
);
 
HRESULT RemoveExternLink(
[in] const ObjectId* p_poiObjectId,
[in] const UINT32* p_aulClassId,
[in] UINT32 p_ulClassCount,
[in] HANDLE p_hActionGroup
);

Parameter

p_polObjectLink [in]
Type: const stcObjectLink*
ObjectLink to the object to remove as an extern link.
p_poiObjectId [in]
Type: const ObjectId*
ObjectId of the ObjectLink to remove as an extern link.
p_aulClassId [in]
Type: const UINT32*
Class list of the ObjectLink to remove as an extern link.
p_ulClassCount [in]
Type: UINT32
Number of elements in the p_aulClassId array.
p_hActionGroup [in]
Type: HANDLE
ActionGroup to use.

Return value

S_OK or an error from the Error Codes.

Remarks

This function removes an extern link that has been created with UStorage::InsertExternLink.
If the object is not referenced via other objects, then it will be deleted as well.
© 2025 Mobiland AG