Acquire

Increments the reference count for an ADLX interface.

Syntax

Copied!

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

Header

include “ADLXDefines.h”

Minimum version

1.0