cniSetElementValueValue
Use this function to set the value object of the specified syntax element.
Syntax
void cniSetElementValueValue(
int* returnCode,
CciElement* targetElement,
CciElementValue* value);
Parameters
returnCode
- The return code from the function (output). Possible return codes are:
- CCI_SUCCESS
- CCI_EXCEPTION
- CCI_INV_ELEMENT_OBJECT
- CCI_INV_DATA_POINTER
targetElement
- The address of the target syntax element object (input).
value
- The address of a value object that is used to set the value of the syntax element specified by the targetElement parameter (input). You can get the address of the value object by calling cniElementValueValue.
Return values
None. If an error occurs, the returnCode parameter indicates the reason for the error.