Contents

SetElementName

Sets the name for the given element and scope of the video object.

Declaration

kern_return_t SetElementName(IOUserVideoObjectPropertyElement in_element, IOUserVideoObjectPropertyScope in_scope, OSString *in_name);

Parameters

  • in_element:

    The IOUserVideoObjectPropertyElement.

  • in_scope:

    The IOUserVideoObjectPropertyScope.

  • in_name:

    An OSString name to set.

Return Value

A kern_return_t value indicating success or failure.

Discussion

If the object can change the name dynamically, the object sends a notification to the host to update the object state on success. The object’s work queue synchronizes access to this value.

See Also

Working with elements