<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoObject/SetElementCategoryName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoObject@F@SetElementCategoryName#i#$@N@VideoDriverKit@E@IOUserVideoObjectPropertyScope#*$@S@OSString#"
  },
  "title" : "SetElementCategoryName"
}
-->

# SetElementCategoryName

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

```
kern_return_t SetElementCategoryName(IOUserVideoObjectPropertyElement in_element, IOUserVideoObjectPropertyScope in_scope, OSString *in_category_name);
```

## Parameters

`in_element`

The IOUserVideoObjectPropertyElement

`in_scope`

The IOUserVideoObjectPropertyScope

`in_category_name`

OSString category name to set.

## 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 the value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)