ADLXInitializeWithCallerAdl_Fn
A pointer to the function to initialize ADLX with an ADL context.
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
-
[in]
version adlx_uint64 The version of ADLX. -
[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. -
[out]
ppAdlMapping IADLMapping ** The address of a pointer to the ADLX mapping interface. If ADLX initialization failed, the method sets the dereferenced address *ppAdlMapping to nullptr. -
[in]
adlContext adlx_handle The ADL context. -
[in]
adlMainMemoryFree ADLX_ADL_Main_Memory_Free The 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
Header |
include “ADLX.h” |
Minimum version |
1.0 |