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

# RemoveObject

Removes a video object from the driver.

```
kern_return_t RemoveObject(IOUserVideoObject *in_object);
```

## Parameters

`in_object`

IOUserVideoObject to be removed from the driver.

## Return Value

`kIOReturnSuccess` if object was successfully removed.

## Discussion

The objects’s reference count will be decremented if it was successfully removed.
Caller should also call PropertiesChanged() as necessary to notify host of any changes.

---

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)