Skip to content

ADLXInitializeWithCallerAdl_Fn

Navigation: ADLX SDK ReferencesADLX Functions

Syntax

typedef ADLX_RESULT (ADLX_CDECL_CALL ADLXInitializeWithCallerAdl_Fn)(adlx_uint64 version, IADLXSystem* ppSystem, IADLMapping** ppAdlMapping, adlx_handle adlContext, ADLX_ADL_Main_Memory_Free adlMainMemoryFree)

Parameters

#DirectionNameTypeDescription
1.[in]versionadlx_uint64The version of ADLX.
#DirectionNameTypeDescription
---------------
2.[out]ppSystemIADLXSystemThe address of a pointer to the ADLX system interface. If ADLX initialization failed, the method sets the dereferenced address *ppSystem to nullptr.
#DirectionNameTypeDescription
---------------
3.[out]ppAdlMappingIADLMappingThe address of a pointer to the ADLX mapping interface. If ADLX initialization failed, the method sets the dereferenced address *ppAdlMapping to nullptr.
#DirectionNameTypeDescription
---------------
4.[in]adlContextadlx_handleThe ADL context.
#DirectionNameTypeDescription
---------------
5.[in]adlMainMemoryFreeADLX_ADL_Main_Memory_FreeThe callback handle of the memory deallocation function.

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_WITH_CALLER_ADL_FUNCTION_NAME as the function name.

Requirements

Headerinclude “ADLX.h”
Minimum version1.0

See Also: IADLMapping, IADLXSystem, adlx_get_proc_address