Miscellaneous Constant Definitions
[Constants and Definitions]


General Definitions

#define ADL_TRUE   1
 Defines ADL_TRUE.
#define ADL_FALSE   0
 Defines ADL_FALSE.
#define ADL_MAX_CHAR   4096
 Defines the maximum string length.
#define ADL_MAX_PATH   256
 Defines the maximum string length.
#define ADL_MAX_ADAPTERS   250
 Defines the maximum number of supported adapters.
#define ADL_MAX_DISPLAYS   150
 Defines the maxumum number of supported displays.
#define ADL_MAX_DEVICENAME   32
 Defines the maxumum string length for device name.
#define ADL_ADAPTER_INDEX_ALL   -1
 Defines for all adapters.
#define ADL_MAIN_API_OPTION_NONE   0
 Defines APIs with iOption none.

Definitions for iOption parameter used by

ADL_Display_DDCBlockAccess_Get()

#define ADL_DDC_OPTION_SWITCHDDC2   0x00000001
 Switch to DDC line 2 before sending the command to the display.
#define ADL_DDC_OPTION_RESTORECOMMAND   0x00000002
 Save command in the registry under a unique key, corresponding to parameter iCommandIndex.
#define ADL_DDC_OPTION_COMBOWRITEREAD   0x00000010
 Combine write-read DDC block access command.

Values for

ADLI2C.iAction used with ADL_Display_WriteAndReadI2C()

#define ADL_DL_I2C_ACTIONREAD   0x00000001
#define ADL_DL_I2C_ACTIONWRITE   0x00000002
#define ADL_DL_I2C_ACTIONREAD_REPEATEDSTART   0x00000003

Define Documentation

#define ADL_TRUE   1

Defines ADL_TRUE.

#define ADL_FALSE   0

Defines ADL_FALSE.

#define ADL_MAX_CHAR   4096

Defines the maximum string length.

#define ADL_MAX_PATH   256

Defines the maximum string length.

#define ADL_MAX_ADAPTERS   250

Defines the maximum number of supported adapters.

#define ADL_MAX_DISPLAYS   150

Defines the maxumum number of supported displays.

#define ADL_MAX_DEVICENAME   32

Defines the maxumum string length for device name.

#define ADL_ADAPTER_INDEX_ALL   -1

Defines for all adapters.

#define ADL_MAIN_API_OPTION_NONE   0

Defines APIs with iOption none.

#define ADL_DDC_OPTION_SWITCHDDC2   0x00000001

Switch to DDC line 2 before sending the command to the display.

#define ADL_DDC_OPTION_RESTORECOMMAND   0x00000002

Save command in the registry under a unique key, corresponding to parameter iCommandIndex.

#define ADL_DDC_OPTION_COMBOWRITEREAD   0x00000010

Combine write-read DDC block access command.

#define ADL_DL_I2C_ACTIONREAD   0x00000001

#define ADL_DL_I2C_ACTIONWRITE   0x00000002

#define ADL_DL_I2C_ACTIONREAD_REPEATEDSTART   0x00000003


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer