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

# GetAvailableStreamFormats

Gets the available basic descriptions for the stream.

```
size_t GetAvailableStreamFormats(IOUserVideoStreamBasicDescription *out_formats, size_t in_num_formats);
```

## Parameters

`out_formats`

Pointer to a buffer of format objects.

`in_num_formats`

The number of formats in `out_formats `buffer.

## Return Value

The number of formats were set in the `out_formats` buffer.

## Discussion

The object’s work queue synchronizes access to the value.

---

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)