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

# RemoveClockDevice

Removes aa clock device from the video box.

```
kern_return_t RemoveClockDevice(IOUserVideoClockDevice *in_clock_device);
```

## Parameters

`in_clock_device`

IOUserVideoClockDevice associated with the box.

## Return Value

`kIOReturnSuccess` if clock device was successfully removed.

## Discussion

The clock device’s reference count will be decremented if it was successfully removed.

---

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)