DCompositionBoostCompositorClock function (dcomp.h)

Requests that the system dynamically switch to a higher refresh rate to enhance latency-sensitive content.

Syntax

HRESULT DCompositionBoostCompositorClock(
  BOOL enable
);

Parameters

enable

Type: BOOL

TRUE to request that the system dynamically switch to a higher refresh rate; otherwise, FALSE.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK; otherwise, it returns an HRESULT value that indicates the error.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header dcomp.h

See also

DCompositionGetTargetStatistics, DCompositionGetStatistics, DCompositionGetFrameId, DCompositionWaitForCompositorClock