Supported Browsers Home   
MCS_getSelfTestReport Previous   
MCS_isControlSupported Next   
External Functions Up   

MCS_getTimingReport

Reads the current horizontal and vertical frequency from the monitor

Declaration

ibool NAPI MCS_getTimingReport(
    uchar *flags,
    ushort *hFreq,
    ushort *vFreq)

Prototype In

snap/ddc.h

Parameters

flags

Place to store the mode flags

hFreq

Place to store the horizontal frequency (kHz * 100)

vFreq

Place to store the vertical freqency (Hz * 100)

 

Return Value

True if the function succeeded, false if it failed.

Description

This function reads the horizontal and vertical frequencies for the current display mode from the monitor. The horizontal frequency is reported in units of kHz * 100 (ie: a value of 3150 is 31.5 Khz). The vertical frequency is reported in units of Hz * 100 (ie: a a value of 7500 is 75 Hz).

This function also reads the sync polarities and returns them in the flags parameter. The values returned in the flags parameter are defined by the MCS_polarityFlagsType enumeration.

Note:    It is highly recommended that all monitor vendors implement this DDC/CI function, since this function contains useful feedback information to the user and graphics device drivers.

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