MCS_enableControl

Enables or disables a specific MCCS control

Declaration

ibool NAPI MCS_enableControl(
uchar controlCode,
N_int32 enable)

Prototype In

snap/ddc.h

Parameters

controlCode | MCCS control code (MCS_controlsType)
enable | 1 to enable, 0 to disable the control

Return Value

True if the function succeeded, false if it failed.

Description

This function enables or disables a specified MCCS control for the attached monitor. This intention of this function is for controls that have an enabled or disabled state, such as a microphone input, S-Video camera input or other such controls. Disabling the control effectively turns off the input, and enabling it turns it on again. Note that most controls like audio volume controls can be fully controlled via the regular MCS_setControlValue function.

See Also

MCS_isControlSupported, MCS_getControlValue, MCS_setControlValue, MCS_resetControl, MCS_saveCurrentSettings

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