ADLX Macro

This section provides ADLX macro definitions for various ADLX functionalities.

Requirements

Header

include “ADLX.h”

Minimum version

1.0

Macros

ADLX_DLL_NAME

ADLX dll name in ANSI applications

Definition

Copied!

#define ADLX_DLL_NAME                       ADLX_DLL_NAMEA

ADLX_DLL_NAMEA

ANSI name for 32-bit ADLX dll

Definition

Copied!

#define ADLX_DLL_NAMEA                      "amdadlx32.dll"

ADLX_DLL_NAMEW

Unicode name for 32-bit ADLX dll

Definition

Copied!

#define ADLX_DLL_NAMEW                      L"amdadlx32.dll"

ADLX_FAILED

Checks if the result code passed as parameter indicates an unsuccessful operation.

Definition

Copied!

#define ADLX_FAILED(x) (**ADLX_OK** != (x)  && **ADLX_ALREADY_ENABLED** != (x) && **ADLX_ALREADY_INITIALIZED** != (x))

ADLX_INIT_FUNCTION_NAME

The function name of ADLXInitialize

Definition

Copied!

#define ADLX_INIT_FUNCTION_NAME                             "ADLXInitialize"

ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME

The function name of ADLXInitializeWithCallerAdl

Definition

Copied!

#define ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME             "ADLXInitializeWithCallerAdl"

ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME

The function name of ADLXInitializeWithIncompatibleDriver

Definition

Copied!

#define ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME          "ADLXInitializeWithIncompatibleDriver"

ADLX_QUERY_FULL_VERSION_FUNCTION_NAME

The function name of QueryFullVersion

Definition

Copied!

#define ADLX_QUERY_FULL_VERSION_FUNCTION_NAME                    "ADLXQueryFullVersion"

ADLX_QUERY_VERSION_FUNCTION_NAME

The function name of QueryVersion

Definition

Copied!

#define ADLX_QUERY_VERSION_FUNCTION_NAME            "ADLXQueryVersion"

ADLX_SUCCEEDED

Checks if the result code passed as parameter indicates a successful operation.

Definition

Copied!

#define ADLX_SUCCEEDED(x) (**ADLX_OK**  == (x) || **ADLX_ALREADY_ENABLED** == (x) || **ADLX_ALREADY_INITIALIZED** == (x))

ADLX_TERMINATE_FUNCTION_NAME

The function name of ADLXTerminate

Definition

Copied!

#define ADLX_TERMINATE_FUNCTION_NAME                        "ADLXTerminate"

MAX_USER_3DLUT_NUM_POINTS

Constant value used to set size of user 3D LUT data

Definition

Copied!

#define MAX_USER_3DLUT_NUM_POINTS     17