IDirectDraw2::GetMonitorFrequency
HRESULT GetMonitorFrequency(LPDWORD lpdwFrequency);
Retrieves the frequency of the monitor being driven by the DirectDraw object. The frequency value is returned in Hz multiplied by 100. For example, 60Hz is returned as 6000.
·Returns DD_OK if successful, or one of the following error values otherwise:
lpdwFrequency
Address of the variable that will be filled with the monitor frequency.