| Webcam Library Reference Documentation | ![]() |
#include <Common/include/webcam.h>
Data Fields | |
| CControlId | id |
| The identifier of the control. | |
| char * | name |
| The human-readable name of the control. | |
| CControlType | type |
| The type of the control. | |
| CControlFlags | flags |
| Flags describing properties and capabilities of the control. | |
| CControlValue | value |
| The current value of the control. | |
| CControlValue | def |
| The default value of the control. | |
| union { | |
| struct { | |
| CControlValue min | |
| The minimum value of the control. | |
| CControlValue max | |
| The maximum value of the control. | |
| CControlValue step | |
| The resolution of the control values. | |
| } | |
| Additional control attributes for non-choice controls. | |
| struct { | |
| unsigned int count | |
| The number of choices in the list. | |
| CControlChoice * list | |
| The list of choice values. | |
| char * names | |
| A buffer that contains the names of the CControlChoice items. | |
| } choices | |
| List of the possible choices that this control allows. | |
| }; | |
| char* _CControl::names |
A buffer that contains the names of the CControlChoice items.
The name fields of the items point to strings within this buffer, so there is no need to work with this member directly except freeing the buffer if the control is disposed of.
| struct { ... } _CControl::choices |
List of the possible choices that this control allows.
The members of this struct are only valid if the type is CC_TYPE_CHOICE.
Referenced by c_enum_controls(), create_control_choices(), delete_control(), and get_control_dynamics_length().