DCompositionWaitForCompositorClock function (dcomp.h)

Halts a thread until the next signal from the compositor clock occurs.

Syntax

DWORD DCompositionWaitForCompositorClock(
  UINT         count,
  const HANDLE *handles,
  DWORD        timeoutInMs
);

Parameters

count

Type: UINT

The number of handles.

handles

Type: HANDLE*

Handles to events for which the compositor clock should send signals.

timeoutInMs

Type: DWORD

Amount of time in milliseconds to wait before the operation times out.

Return value

Type: DWORD

Requirements

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

See also

DCompositionGetTargetStatistics, DCompositionGetStatistics, DCompositionGetFrameId, DCompositionBoostCompositorClock