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

# SetCurrentSelectedValues

Sets the current control value.

```
kern_return_t SetCurrentSelectedValues(const IOUserVideoSelectorValue *in_values, size_t in_num_values);
```

## Parameters

`in_values`

Pointer to an array of IOUserVideoSelectorValues

`in_num_values`

Number of IOUserVideoSelectorValues in in_values

## Discussion

Changing the control value will send a notification to the host to update the object state if successful.
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)