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
InsertNamedObject
Load
Open
RegisterEventClient
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup
UStorage::ClassReleaseById
Decrements the reference count on one or more classes.
This function can be used on an object without the need to open it first.
Syntax
HRESULT
ClassReleaseById(
[in]
const
ObjectId
*
p_poiObjectId,
[in]
const
stcClassRefCount*
p_aClass,
[in]
U
INT32
p_ulCount,
[in]
HANDLE
p_hActionGroup
);
Parameter
p_poiObjectId
[in]
Type:
const ObjectId*
ID of the object to execute the action on.
p_aClass
[in]
Type:
const stcClassRefCount*
Array of stcClassRefCount structs specifying the classes and counts to increase the references on the object.
p_ulCount
[in]
Type:
UINT32
Number of elements in the p_aClass array.
p_hActionGroup
[in]
Type:
HANDLE
ActionGroup to use.
Return value
S_OK or an error from the
Error Codes
.
Remarks
This function deletes an 'external' reference that has been created with
UStorage::ClassAddRef
or
UStorage::ClassAddRefById
.
© 2022 Mobiland AG