Platform SDK: DirectX |
IDirectDraw7::GetMonitorFrequency メソッドは、DirectDraw オブジェクトが動作するモニタの周波数を取得する。
HRESULT GetMonitorFrequency( LPDWORD lpdwFrequency );
成功すれば、DD_OK を返す。
失敗すれば、以下のエラー値のいずれかを返す。
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
DDERR_UNSUPPORTED |
Windows NT/2000 :Windows 2000 が必要。
Windows 95/98 : Windows 98 が必要。
ヘッダー : ddraw.h で宣言。