SetEnabled 

Sets the GPU scaling to enabled or disabled state on a display.

Syntax 

ADLX_RESULT     SetEnabled (adlx_bool enable)

Parameters 

  1. [in] enable adlx_bool The new GPU scaling state. Set true to enable GPU scaling. Set false to disable GPU scaling.

Return Value 

If the state of GPU scaling is successfully set, ADLX_OK is returned.

If the state of GPU scaling is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info 

GPU scaling uses the GPU to scale up lower resolutions to fit the display.

GPU scaling requires a digital connection (DVI, HDMI or DisplayPort™) from the display to the GPU.

Note: Integer Display Scaling is not supported when GPU scaling is disabled.

GPU scaling is required for Radeon™ Super Resolution . By disabling GPU scaling when Radeon Super Resolution is enabled, Radeon Super Resolution is automatically disabled.

Requirements 

Header

include “IDisplaySettings.h”

Minimum version

1.0