ADLXInitialize_Fn

A pointer to the function to initialize ADLX with default parameters or a pointer to the function to initialize ADLX with a legacy driver.

Syntax

Copied!

typedef ADLX_RESULT  (ADLX_CDECL_CALL *ADLXInitialize_Fn)(adlx_uint64 version, IADLXSystem ** ppSystem)

Parameters

  1. [in] version adlx_uint64 The version of ADLX.

  1. [out] ppSystem IADLXSystem ** The address of a pointer to the ADLX system interface. If ADLX initialization failed, the method sets the dereferenced address *ppSystem to nullptr.

Return Value

If ADLX was successfully initialized, ADLX_OK is returned.

If ADLX was not successfully initialized, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The pointer of the function is returned by the adlx_get_proc_address using the ADLX_INIT_FUNCTION_NAME or ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME as the function name.

Requirements

Header

include “ADLX.h”

Minimum version

1.0