Skip to content

IsEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayFreeSyncColorAccuracy

Syntax

ADLX_RESULT    IsEnabled (adlx_bool* enabled)

Parameters

#DirectionNameTypeDescription
1.[out]enabledadlx_bool*The pointer to a variable where the state of FreeSync color accuracy is returned. The variable is true if AMD FreeSync Premium Pro HDR media profile is activated. The variable is false if the HDR10 media profile is activated.

Return Value

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

If the state of FreeSync color accuracy is not successfully returned, 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