| Home
| Previous
| Next
| Up

GA_getMaxRefreshRate

Determine the maximum refresh rate for a particular display mode

Declaration

void NAPI GA_getMaxRefreshRate(
GA_devCtx *dc,
GA_modeInfo *modeInfo,
N_int32 interlaced,
float *maxRefresh)

Prototype In

snap/graphics.h

Parameters

dc | SNAP device context to use
modeInfo | SuperVGA mode information block for the mode
interlaced | True if the mode should be interlaced or not
maxRefresh | Place to store maximum refresh rate in Hz.

Description

This function computes the maximum refresh rate for the graphics modes specified by the passed in mode information block. The maximum refresh rate is computed from the information returned by the SNAP driver, using CRTC values computed using the VESA GTF formulas.

See Also

GA_computeCRTCTimings

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com