IDCompositionDevice::GetFrameStatistics method

Retrieves information from the composition engine about composition times and the frame rate.

Syntax


HRESULT GetFrameStatistics(
  [out]  DCOMPOSITION_FRAME_STATISTICS *statistics
);

Parameters

statistics [out]

Type: DCOMPOSITION_FRAME_STATISTICS*

A structure that receives composition times and frame rate information.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.

Remarks

This method retrieves timing information about the composition engine that an application can use to synchronize the rasterization of bitmaps with independent animations.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionDevice
Composition Target Window

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.