SetFeatureStringValue
|
![]() ![]() ![]() |
[in] const char* feature
|
Name of the feature to assign the value to. Must be an existing feature of the string or enumerated type.
|
|
[in] const char* value
|
New value of the string feature or selected string value of the enumerated feature.
|
S_OK
|
Success
|
E_FAIL
|
Failure
|
E_NOINTERFACE
|
Feature does not exist
|
E_INVALIDARG
|
Wrong feature type
|
|
static CGevCamera* m_pCamera;
|
m_pCamera = createCamera();
|
|
m_pCamera->CreateFeature(FEATURE_TYPE_STRING, "CameraModel", "DeviceInformation", FEATURE_ACCESS_RW);
|
m_pCamera->SetFeatureStringValue("CameraMode", "Simulator 1.2");
|
|
Feature Type
|
Value
|
String
|
String value to be set
|
Enumerated
|
String value of an item to be selected in the enumerated list
|