Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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 |
| Library | dcomp.lib |
See also
DCompositionGetTargetStatistics, DCompositionGetStatistics, DCompositionGetFrameId, DCompositionWaitForCompositorClock