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

# GetWorkQueue

Gets the work queue created by the video object.

```
OSSharedPtr<IODispatchQueue> GetWorkQueue();
```

## Return Value

an OSSharedPtr to an IODispatchQueue on success

## Discussion

The work queue is used to synchronize access to the object’s state. Setters and Getters
for the object will be done on the work queue.

---

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)