Skip to content

SetEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayFreeSyncColorAccuracy

Syntax

ADLX_RESULT    SetEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new FreeSync color accuracy state. Set true to activate the AMD FreeSync Premium Pro HDR media profile. Set false to activate the HDR10 media profile.

Return Value

If the state of FreeSync color accuracy is successfully set, ADLX_OK is returned.

If the state of FreeSync color accuracy is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

When enabled, FreeSync color accuracy activates the AMD FreeSync Premium Pro HDR media profile for optimal color accuracy when viewing HDR content.

When disabled, it switches to the HDR10 media profile for the display.

Requirements

Headerinclude “IDisplaySettings.h”
Minimum version1.4

See Also: ADLX Enums