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

# RemoveDevice

Removes a video device from the video box.

```
kern_return_t RemoveDevice(IOUserVideoDevice *in_device);
```

## Parameters

`in_device`

IOUserVideoDevice associated with the box.

## Return Value

`kIOReturnSuccess` if device was successfully removed.

## Discussion

The 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)