IDXGISwapChainMedia::GetFrameStatisticsMedia method

Queries the system for a DXGI_FRAME_STATISTICS_MEDIA structure that indicates whether a custom refresh rate is currently approved by the system.

Syntax


HRESULT GetFrameStatisticsMedia(
  [out] DXGI_FRAME_STATISTICS_MEDIA *pStats
);

Parameters

pStats [out]

A DXGI_FRAME_STATISTICS_MEDIA structure indicating whether the system currently approves the custom refresh rate request.

Return value

This method returns S_OK on success, or a DXGI error code on failure.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dxgi1_3.h

Library

Dxgi.lib

See also

IDXGISwapChainMedia

 

 

Show: