IDirectManipulationFrameInfoProvider::GetNextFrameInfo method (directmanipulation.h)

Retrieves the composition timing information from the compositor.

Syntax

HRESULT GetNextFrameInfo(
  [out] ULONGLONG *time,
  [out] ULONGLONG *processTime,
  [out] ULONGLONG *compositionTime
);

Parameters

[out] time

The current time, in milliseconds.

[out] processTime

The time, in milliseconds, when the compositor begins constructing the next frame.

[out] compositionTime

The time, in milliseconds, when the compositor finishes composing and drawing the next frame on the screen.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The system implementation of IDirectManipulationFrameInfoProvider uses DirectComposition. GetFrameStatistics is used to calculate the parameter values for GetNextFrameInfo.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header directmanipulation.h

See also

IDirectManipulationCompositor

IDirectManipulationFrameInfoProvider