adlx_get_proc_address

Retrieves the address of a function from a module.

Syntax

Copied!

void*    adlx_get_proc_address (adlx_handle module, const char* procName)

Parameters

  1. [in] module adlx_handle The handle to the module.

  2. [in] procName const char* The zero-terminated string that specifies the name of the function.

Return Value

If the function was found, the address of the function is returned.

If the function was not found, nullptr is returned.

Remarks

Use this function to load ADLX functions from the ADLX module. The name of the ADLX function can be one of values: ADLX_QUERY_FULL_VERSION_FUNCTION_NAME , ADLX_QUERY_VERSION_FUNCTION_NAME , ADLX_INIT_FUNCTION_NAME , ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME , ADLX_TERMINATE_FUNCTION_NAME .

Parameter: procName

Description

Return Value

ADLX_QUERY_FULL_VERSION_FUNCTION_NAME

The function to query the full version of ADLX.

ADLXQueryFullVersion_Fn

ADLX_QUERY_VERSION_FUNCTION_NAME

The function to query the version of ADLX.

ADLXQueryVersion_Fn

ADLX_INIT_FUNCTION_NAME

The function to initialize ADLX with default parameters.

ADLXInitialize_Fn

ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME

The function to initialize ADLX with a legacy driver.

ADLXInitialize_Fn

ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME

The function to initialize ADLX with an ADL context.

ADLXInitializeWithCallerAdl_Fn

ADLX_TERMINATE_FUNCTION_NAME

The function to terminate ADLX.

ADLXTerminate_Fn

Requirements

Header

include “ADLXDefines.h”

Minimum version

1.0