DirectX SDK |
The ID3DXContext::GetRefreshRate method returns the refresh rate.
DWORD GetRefreshRate();
The method returns a DWORD value indicating the refresh rate of the current display mode.
A value of 0 for the refresh rate indicates an adapter fault.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3dxcore.h.
Library: Use d3dx.lib.