|
|
|
|
MCS_getControlValues
Returns the current value for a list of MCCS controls
Declaration
ibool NAPI MCS_getControlValues(
N_int32 numControls,
uchar *controlCodes,
ushort *values)
Prototype In
snap/ddc.h
Parameters
numControls |
Number of control values to read (40 max) |
controlCodes |
Array of MCCS control codes (MCS_controlsType) |
values |
Array to store the current value for each control |
Return Value
True if the function succeeded, false if it failed.
Description
This function gets the current value for multiple MCCS controls at a time. This function is similar to MCS_getControlValue, but is much faster for reading the value of multiple controls due to the reduced traffic over the I2C bus.
Note: This function can only read up to 40 controls at a time. If you need to read more than 40 controls, you will need to call this function mutiple times.
See Also
MCS_isControlSupported, MCS_enableControl, MCS_getControlValue, MCS_setControlValue, MCS_setControlValues, MCS_resetControl, MCS_saveCurrentSettings
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com