DirectX SDK |
The DirectDraw7.GetMonitorFrequency method retrieves the frequency of the monitor being driven by the DirectDraw object.
object.GetMonitorFrequency() As Long
If the method succeeds, it returns the monitor frequency, in Hz.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
DDERR_UNSUPPORTED |