Platform SDK: DirectX

ID3DXContext::GetRefreshRate

The ID3DXContext::GetRefreshRate method returns the refresh rate.

DWORD GetRefreshRate();

Parameters

None.

Return Values

The method returns a DWORD value indicating the refresh rate of the current display mode.

Remarks

A value of 0 for the refresh rate indicates an adapter fault.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxcore.h.
  Library: Use d3dx.lib.