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

# GetCurrentSelectedValues

Gets the current selected values of the control.

```
size_t GetCurrentSelectedValues(IOUserVideoSelectorValue *out_values, size_t in_num_values);
```

## Parameters

`out_values`

Pointer to an array of IOUserVideoSelectorValues that will be updated with the currently selected
control values

`in_num_values`

The number of IOUserVideoSelectorValues in the out_values array

## Return Value

size_t indicating the number of values returning in out_values

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