GA_getCRTCTimings

Get the CRTC timings for a specific display mode and refresh rate

Declaration

ibool NAPI GA_getCRTCTimings(
    GA_devCtx *dc,
    GA_modeInfo *modeInfo,
    N_int32 refreshRate,
    GA_CRTCInfo *crtc)

Prototype In

snap/graphics.h

Parameters

dc

Device context to save CRTC timings information for

modeInfo

Display mode information block

refreshRate

Refresh rate to retrieve the CRTC timings for

crtc

Place to store the retrieved CRTC timings

 

Return Value

True on success, false on error.

Description

This function obtains the CRTC timings for a particular display mode and refresh rate from the internal CRTC timings database. If the resolution and/or refresh rate is not supported by the display mode, this function returns false.

See Also

GA_saveCRTCTimings, GA_restoreCRTCTimings, SetCRTCTimings

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