Terminate 

Terminates ADLX and releases ADLX library.

Syntax 

ADLX_RESULT  Terminate ()

Parameters 

N/A

Return Value 

If Terminate is successfully executed, ADLX_OK is returned.

If Terminate is not successfully executed, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks 

Any interface obtained from ADLX that is not released becomes invalid.

Any attempt of calling ADLX interface after termination could result in errors such as exceptions or crashes.

Requirements 

Header

include “ADLXHelper/Windows/Cpp/ADLXHelper.h”

Minimum version

1.0