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