Skip to content

Acquire

Navigation: ADLX SDK ReferencesADLX InterfacesMiscellaneousIADLXInterface

Syntax

adlx_long Acquire ()

Parameters

N/A

Return Value

Returns the new reference count.

Remarks

Acquire must be used when a copy of the interface pointer is needed.

Additional Info

In C++, when using ADLX interfaces as smart pointers, there is no need to call the Acquire because smart pointers call it in their internal implementation.

Requirements

Headerinclude “ADLXDefines.h”
Minimum version1.0