|
|
|
|
MCS_getCapabilitiesString
Reads the DDC/CI capabilities string from the attached monitor.
Declaration
int NAPI MCS_getCapabilitiesString(
char *data,
N_int32 maxlen)
Prototype In
snap/ddc.h
Parameters
data |
Buffer to read capabilities string into |
maxlen |
Maximum length of the buffer to recieve data |
Return Value
Length of the capabilities string read from monitor, or -1 on error.
Description
This function reads the DDC/CI capabilities string from the attached monitor and returns it in the buffer passed in the data parameter. This function will only read up to maxlen characters from the monitor, and it will return the actual number of characters read from the monitor. For a description of what the capabilities string contains, please refer to the VESA DDC/CI specification or the ACCESS.bus specification.
Note: This function removes the binary EDID data that may be present in the capabilities string before returning it, so that the string may be viewed entirely as an ASCII string. The EDID data can be easily read with the DDC_readEDID function so it is superfluous to include the EDID in the capabilities string.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com