DCompositionGetFrameStatistics function

Retrieves composition statistics information.

Syntax


HRESULT STDAPI DCompositionGetFrameStatistics(
  _Out_     DCOMPOSITION_FRAME_STATISTICS *statistics,
  _Out_opt_ D3D_FEATURE_LEVEL             *minSafeFeaturelLevel,
  _Out_opt_ D3D_FEATURE_LEVEL             *maxHardwareFeaturelLevel
);

Parameters

statistics [out]

Type: DCOMPOSITION_FRAME_STATISTICS*

On return, contains the collected composition statistics.

minSafeFeaturelLevel [out, optional]

Type: D3D_FEATURE_LEVEL*

On return, contains the minimum safe feature level.

maxHardwareFeaturelLevel [out, optional]

Type: D3D_FEATURE_LEVEL*

On return, contains the maximum hardware feature level.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

 

 

Show: