<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoClockDevice/AddControl",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoClockDevice@F@AddControl#*$@S@IOUserVideoControl#"
  },
  "title" : "AddControl"
}
-->

# AddControl

Adds a video control to the video clock device.

```
kern_return_t AddControl(IOUserVideoControl *in_control);
```

## Parameters

`in_control`

IOUserVideoControl to add to the clock device.

## Return Value

`kIOReturnSuccess` if control was successfully added.

## Discussion

The control’s reference count will be incremented if it was successfully added to the clock device.

---

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)