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

# GetVideoObjectForObjectID

Gets the video object that corresponds to a video object identifier.

```
OSSharedPtr<IOUserVideoObject> GetVideoObjectForObjectID(IOUserVideoObjectID in_object_id);
```

## Parameters

`in_object_id`

IOUserVideoObjectID of an object that was previously added to the driver.

## Return Value

OSSharedPtr to an IOUserVideoObject if in_object_id was found.

---

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)