Supported Browsers Home   
DDC_writeEDID Previous   
GA_addMode Next   
External Functions Up   

EDID_parse

Parse the binary EDID block from the monitor into useful information.

Declaration

int NAPI EDID_parse(
    uchar *edid,
    EDID_record *rec,
    N_int32 requireDescriptor)

Parameters

edid

EDID information block to parse

rec

Place to store monitor config record

requireDescriptor

True if the the descriptor block is required

 

Return Value

1 if valid EDID, 2 if old EDID, 0 if not found.

Description

This function parses the information in the EDID information block and attempts to fill in a structure containing detailed, useful information. Specifically this function finds information such as the maximum horizontal and vertical frequencies, maximum resolution and a list of all known standard and detailed timings. It also extracts the monitor manufacturer name, model name, serial numbers, manufacture date and other useful information.

If you pass a value of true for requireDescriptor and the EDID block does not contain valid operational limits information, this function will return a value of 2. This indicates that the EDID was parsed successfully, however the operational limits are missing from the data. If you call this function again with requireDescriptor set to false, the returned operational limits are derived from the list of standard and detailed timings in the EDID block, so may not be completely accurate for the attached monitor.

See Also

DDC_initExt, DDC_readEDID

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