title: How to find out real screen refresh rate (not the rounded number)
body: <p>According to <a href="http://support.microsoft.com/kb/2006076/en-us" rel="noreferrer">this article by Microsoft</a> the screen refresh rate set by the user can be (and is mostly) a fractional number. The user sets 59Hz but the screen runs according to the on screen display at 60Hz, but in reality it's 59.94Hz. What I need for a extremely smooth animation is the 59.94Hz. </p>
  
  <p>Using <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb174387%28v=vs.85%29.aspx" rel="noreferrer">IDirect3DDevice9::GetDisplayMode</a> I only get an <strong>int</strong> value which cannot by definition represent the real timing (same goes for <a href="http://msdn.microsoft.com/en-us/library/dd162611%28v=VS.85%29.aspx" rel="noreferrer">EnumDisplaySettings</a>). I encounter a visible stutter about every second because it reports the rounded/truncated 59. If I manually correct the reported timing in my application to 59.94 it runs smooth.</p>
  
  <p>Anybody knows how I can retrieve the real screen refresh rate?</p>
  
  <p>My current workaround is mapping 60Hz and 59Hz both to constant 59.94Hz but that's not satisfying.</p>