GetMode

Gets the current scaling mode of a display.

Syntax

Copied!

ADLX_RESULT     GetMode(ADLX_SCALE_MODE * currentMode)

Parameters

  1. [out] currentMode ADLX_SCALE_MODE * The 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, Display Scaling Mode is mutually exclusive with Radeon Super Resolution .

When Display Scaling Mode is enabled, the mutually exclusive features are automatically disabled. If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.

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

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0