GetMode
Gets the current scaling mode of a display.
Syntax
ADLX_RESULT GetMode(ADLX_SCALE_MODE * currentMode)
Parameters
-
[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, 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
Header |
include “IDisplaySettings.h” |
Minimum version |
1.0 |