| Home
| Previous
| Next
| Up

DDC_initExt

Checks to see if DDC communication is available.

Declaration

int NAPI DDC_initExt(
GA_devCtx *dc,
N_int32 iChannel)

Prototype In

snap/ddc.h

Parameters

dc | SNAP device driver to use for communications
iChannel | DDC channel to use for communications (0 for primary monitor)

Return Value

One of the DDC_errCode error return values.

Description

This function initializes the DDC communications module. After checking that the I2C interface is working, this function will then attempt to initialize the DDC communication channel and verify that DDC2B communication is possible. If DDC2B is not available, this function will return a value of ddcNoCommunication (ie: cannot communicate with slave). The most likely cause of this failure condition is that there is no DDC capable monitor attached to the graphics device.

Note: If this function returns a value of ddcNotAvailable, it means the installed graphics device does not support DDC comunications.

See Also

DDC_readEDID, DDC_initExt

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