ADL (AMD Display Library) Public APIs  Version 17.0
Functions
Timing Override APIs

This group describes the Timing Overide related APIs. More...

Functions

int ADL2_Adapter_ModeTimingOverride_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to retrieve Timing Override support. More...
 
int ADL2_Display_ModeTimingOverride_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpMode, int iForceUpdate)
 Function to delete display mode timing override information. More...
 
int ADL2_Display_ModeTimingOverride_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL2_Display_ModeTimingOverride_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information. More...
 
int ADL2_Display_ModeTimingOverrideInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADL_DL_DISPLAY_MODE *lpModeIn, ADL_DL_DISPLAYMODEINFO *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL2_Display_ModeTimingOverrideList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list. More...
 
int ADL2_Display_ModeTimingOverrideListX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfo **lpModeInfoList)
 Function to get the display mode timing override list. More...
 
int ADL2_Display_ModeTimingOverrideListX3_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfoX2 **lpModeInfoList)
 
int ADL2_Display_ModeTimingOverrideX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL2_Display_ModeTimingOverrideX2_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfoX2 *lpMode, int iForceUpdate)
 
int ADL2_Display_ModeTimingOverrideX3_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfoX2 *lpModeInfoOut)
 
int ADL_Adapter_ModeTimingOverride_Caps (int iAdapterIndex, int *lpSupported)
 Function to retrieve Timing Override support. More...
 
int ADL_Display_ModeTimingOverride_Delete (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpMode, int iForceUpdate)
 Function to delete display mode timing override information. More...
 
int ADL_Display_ModeTimingOverride_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL_Display_ModeTimingOverride_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information. More...
 
int ADL_Display_ModeTimingOverrideInfo_Get (int iAdapterIndex, int iDisplayIndex, ADL_DL_DISPLAY_MODE *lpModeIn, ADL_DL_DISPLAYMODEINFO *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL_Display_ModeTimingOverrideList_Get (int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list. More...
 
int ADL_Display_ModeTimingOverrideListX2_Get (int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfo **lpModeInfoList)
 Function to get the display mode timing override list. More...
 
int ADL_Display_ModeTimingOverrideX2_Get (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 

Detailed Description

This group describes the Timing Overide related APIs.

Function Documentation

◆ ADL2_Adapter_ModeTimingOverride_Caps()

int ADL2_Adapter_ModeTimingOverride_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpSupported 
)

Function to retrieve Timing Override support.

This function retrieves Timing Override support for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpSupportedIf the specified adapter supports Custom Resolutions then returns ADL_TRUE else ADL_FALSE
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverride_Delete()

int ADL2_Display_ModeTimingOverride_Delete ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpMode,
int  iForceUpdate 
)

Function to delete display mode timing override information.

This function delete display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[in]iForceUpdateThe value which forces the update of the timing override information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverride_Get()

int ADL2_Display_ModeTimingOverride_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayMode lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated. It has been replaced with API ADL2_Display_ModeTimingOverrideX2_Get

◆ ADL2_Display_ModeTimingOverride_Set()

int ADL2_Display_ModeTimingOverride_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayModeInfo lpMode,
int  iForceUpdate 
)

Function to set display mode timing override information.

This function sets display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeThe pointer to the ADLDisplayModeInfo structure which sets the display mode timing override information.
[in]iForceUpdateThe value which forces the update of the timing override information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverrideInfo_Get()

int ADL2_Display_ModeTimingOverrideInfo_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADL_DL_DISPLAY_MODE lpModeIn,
ADL_DL_DISPLAYMODEINFO *  lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated.

◆ ADL2_Display_ModeTimingOverrideList_Get()

int ADL2_Display_ModeTimingOverrideList_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iMaxNumOfOverrides,
ADLDisplayModeInfo lpModeInfoList,
int *  lpNumOfOverrides 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iMaxNumOfOverridesThe maximum number of elements in the array pointed by lpModeInfoList. The number specified must be > 0.
[out]lpModeInfoListThe pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
[out]lpNumOfOverridesThe pointer to the actual number of the retrieved overridden modes.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated. It has been replaced with API ADL2_Display_ModeTimingOverrideListX2_Get

◆ ADL2_Display_ModeTimingOverrideListX2_Get()

int ADL2_Display_ModeTimingOverrideListX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfModes,
ADLDisplayModeInfo **  lpModeInfoList 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpNumOfModesThe pointer to the actual number of the retrieved overridden modes.
[out]lpModeInfoListThe pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverrideListX3_Get()

int ADL2_Display_ModeTimingOverrideListX3_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfModes,
ADLDisplayModeInfoX2 **  lpModeInfoList 
)
Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpNumOfModesThe pointer to the actual number of the retrieved overridden modes.
[out]lpModeInfoListThe pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverrideX2_Get()

int ADL2_Display_ModeTimingOverrideX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverrideX2_Set()

int ADL2_Display_ModeTimingOverrideX2_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayModeInfoX2 lpMode,
int  iForceUpdate 
)
Function to set display mode timing override information.

This function sets display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeThe pointer to the ADLDisplayModeInfo structure which sets the display mode timing override information.
[in]iForceUpdateThe value which forces the update of the timing override information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_Display_ModeTimingOverrideX3_Get()

int ADL2_Display_ModeTimingOverrideX3_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpModeIn,
ADLDisplayModeInfoX2 lpModeInfoOut 
)
Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL_Adapter_ModeTimingOverride_Caps()

int ADL_Adapter_ModeTimingOverride_Caps ( int  iAdapterIndex,
int *  lpSupported 
)

Function to retrieve Timing Override support.

This function retrieves Timing Override support for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpSupportedIf the specified adapter supports Custom Resolutions then returns ADL_TRUE else ADL_FALSE
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_ModeTimingOverride_Delete()

int ADL_Display_ModeTimingOverride_Delete ( int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpMode,
int  iForceUpdate 
)

Function to delete display mode timing override information.

This function delete display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[in]iForceUpdateThe value which forces the update of the timing override information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_ModeTimingOverride_Get()

int ADL_Display_ModeTimingOverride_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayMode lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Deprecated:
This API has been deprecated. It has been replaced with API ADL_Display_ModeTimingOverrideX2_Get

◆ ADL_Display_ModeTimingOverride_Set()

int ADL_Display_ModeTimingOverride_Set ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayModeInfo lpMode,
int  iForceUpdate 
)

Function to set display mode timing override information.

This function sets display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeThe pointer to the ADLDisplayModeInfo structure which sets the display mode timing override information.
[in]iForceUpdateThe value which forces the update of the timing override information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_Display_ModeTimingOverrideInfo_Get()

int ADL_Display_ModeTimingOverrideInfo_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADL_DL_DISPLAY_MODE lpModeIn,
ADL_DL_DISPLAYMODEINFO *  lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Deprecated:
This API has been deprecated.

◆ ADL_Display_ModeTimingOverrideList_Get()

int ADL_Display_ModeTimingOverrideList_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int  iMaxNumOfOverrides,
ADLDisplayModeInfo lpModeInfoList,
int *  lpNumOfOverrides 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iMaxNumOfOverridesThe maximum number of elements in the array pointed by lpModeInfoList. The number specified must be > 0.
[out]lpModeInfoListThe pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
[out]lpNumOfOverridesThe pointer to the actual number of the retrieved overridden modes.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Deprecated:
This API has been deprecated. It has been replaced with API ADL_Display_ModeTimingOverrideListX2_Get

◆ ADL_Display_ModeTimingOverrideListX2_Get()

int ADL_Display_ModeTimingOverrideListX2_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfModes,
ADLDisplayModeInfo **  lpModeInfoList 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpNumOfModesThe pointer to the actual number of the retrieved overridden modes.
[out]lpModeInfoListThe pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_ModeTimingOverrideX2_Get()

int ADL_Display_ModeTimingOverrideX2_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpModeInThe pointer to the ADLDisplayMode structure storing the desired display mode.
[out]lpModeInfoOutThe pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

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