API function definitions for accessing the plug-in details. More...
Functions | |
| MVLibExport MVCode_t | MV_PluginDetails_SetProperty (MVPluginDetails_t details, MVPluginProperty_t property, MVValue_t value) |
| Specifies descriptive properties of the plug-in. More... | |
API function definitions for accessing the plug-in details.
| MVLibExport MVCode_t MV_PluginDetails_SetProperty | ( | MVPluginDetails_t | details, |
| MVPluginProperty_t | property, | ||
| MVValue_t | value | ||
| ) |
Specifies descriptive properties of the plug-in.
Depending on the enum value of the property parameter, one of the following properties can be manipulated:
value is an uint32_t array with length 3, where the first element is the major version, the second element is the minor version, and the third element is the patch version.value is a scalar UTF-8 encoded String.value is a scalar Bool.| [in] | details | is the MVPluginDetails_t where the information is stored. |
| [in] | property | is the property that is changed. |
| [in] | value | is an Value containing the value for the specified property. The exact format depends on the property. See the documentation of MVPluginProperty_t for the required format. |
details. details argument is not valid. value is NULL. Make sure to properly initialize it using MV_Value_Scalar_Init() or MV_Value_Array_Init(). property is unknown. value is passed as an array whereas a scalar is expected, or vice versa. In the case of arrays, the length may be wrong. value does not match the requirement for the selected property.