Gets the current scaling mode of a display.


ADLX_RESULT     GetMode(ADLX_SCALE_MODE * currentMode)


  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.

Note: On some AMD GPUs, center scaling and Radeon Super Resolution cannot be enabled simultaneously. If Radeon Super Resolution is enabled when the scaling mode is CENTERED, the scaling mode is automatically set to FULL_PANEL.



include “IDisplaySettings.h”

Minimum version