IDXGISwapChainMedia::GetFrameStatisticsMedia method (dxgi1_3.h)
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
[out] pStats
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_3.h |
Library | Dxgi.lib |