|
|
|
|
MCS_setControlValue
Sets the value of an MCCS control to the specified value
Declaration
ibool NAPI MCS_setControlValue(
uchar controlCode,
ushort value)
Prototype In
snap/ddc.h
Parameters
controlCode |
MCCS control code (MCS_controlsType) |
value |
New value for the control |
Return Value
True if the function succeeded, false if it failed.
Description
This function sets the current value for a specified MCCS control to the specified value. Continuous controls may accept any value between zero and the maximum value, specific to each control. Non-continuous controls can only accept specific values. The maximum value returned for non-continuous controls represents the maximum index for the acceptable values for the control. A value of 0 for non-continous controls represents that no value has been selected.
Note: If you need to set the values of multiple controls at a time, you should use the more efficient MCS_setControlValues function which can set up to 40 control values at the same time.
See Also
MCS_isControlSupported, MCS_enableControl, MCS_getControlValue, MCS_resetControl, MCS_saveCurrentSettings
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com