Skip to content

GetMode

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayScalingMode

Syntax

ADLX_RESULT    GetMode(ADLX_SCALE_MODE* currentMode)

Parameters

#DirectionNameTypeDescription
1.[out]currentModeADLX_SCALE_MODEThe pointer to a variable where the current scaling mode of a display is returned.

Return Value

If the current scaling mode is successfully returned, ADLX_OK is returned.

If the current scaling mode is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

GPU scaling determines the method used to stretch and position images to fit the display.

Dependent Interfaces

On some AMD GPUs, CENTERED scaling mode cannot be simultaneously enabled with Radeon Super Resolution.

If Radeon Super Resolution is enabled when the scaling mode is CENTERED, the scaling mode is automatically set to FULL_PANEL.

Requirements

Headerinclude “IDisplaySettings.h”
Minimum version1.0

See Also: IADLX3DRadeonSuperResolution, ADLX Enums