ADL (AMD Display Library) Public APIs  Version 17.0
Miscellaneous Constant Definitions

General Definitions

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

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. More...
 
#define ADL_DDC_OPTION_RESTORECOMMAND   0x00000002
 Save command in the registry under a unique key, corresponding to parameter iCommandIndex. More...
 
#define ADL_DDC_OPTION_COMBOWRITEREAD   0x00000010
 Combine write-read DDC block access command. More...
 
#define ADL_DDC_OPTION_SENDTOIMMEDIATEDEVICE   0x00000020
 

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 ADL_DL_I2C_ACTIONIS_PRESENT   0x00000004
 

Detailed Description

Macro Definition Documentation

◆ ADL_ADAPTER_INDEX_ALL

#define ADL_ADAPTER_INDEX_ALL   -1

Defines for all adapters.

◆ ADL_DDC_OPTION_COMBOWRITEREAD

#define ADL_DDC_OPTION_COMBOWRITEREAD   0x00000010

Combine write-read DDC block access command.

◆ ADL_DDC_OPTION_RESTORECOMMAND

#define ADL_DDC_OPTION_RESTORECOMMAND   0x00000002

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

◆ ADL_DDC_OPTION_SENDTOIMMEDIATEDEVICE

#define ADL_DDC_OPTION_SENDTOIMMEDIATEDEVICE   0x00000020

Direct DDC access to the immediate device connected to graphics card. MST with this option set: DDC command is sent to first branch. MST with this option not set: DDC command is sent to the end node sink device.

◆ ADL_DDC_OPTION_SWITCHDDC2

#define ADL_DDC_OPTION_SWITCHDDC2   0x00000001

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

◆ ADL_DL_I2C_ACTIONIS_PRESENT

#define ADL_DL_I2C_ACTIONIS_PRESENT   0x00000004

◆ ADL_DL_I2C_ACTIONREAD

#define ADL_DL_I2C_ACTIONREAD   0x00000001

◆ ADL_DL_I2C_ACTIONREAD_REPEATEDSTART

#define ADL_DL_I2C_ACTIONREAD_REPEATEDSTART   0x00000003

◆ ADL_DL_I2C_ACTIONWRITE

#define ADL_DL_I2C_ACTIONWRITE   0x00000002

◆ ADL_FALSE

#define ADL_FALSE   0

Defines ADL_FALSE.

◆ ADL_MAIN_API_OPTION_NONE

#define ADL_MAIN_API_OPTION_NONE   0

Defines APIs with iOption none.

◆ ADL_MAX_ADAPTERS

#define ADL_MAX_ADAPTERS   250

Defines the maximum number of supported adapters.

◆ ADL_MAX_CHAR

#define ADL_MAX_CHAR   4096

Defines the maximum string length.

◆ ADL_MAX_DEVICENAME

#define ADL_MAX_DEVICENAME   32

Defines the maxumum string length for device name.

◆ ADL_MAX_DISPLAYS

#define ADL_MAX_DISPLAYS   150

Defines the maxumum number of supported displays.

◆ ADL_MAX_PATH

#define ADL_MAX_PATH   256

Defines the maximum string length.

◆ ADL_TRUE

#define ADL_TRUE   1

Defines ADL_TRUE.


Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.