---
title: GetCurrentSelectedValues
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoselectorcontrol/getcurrentselectedvalues
---

# GetCurrentSelectedValues

Gets the current selected values of the control.

## Declaration

```occ
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

Return Value Size_t indicating the number of values returning in out_values

## Discussion

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

## See Also

### Accessing the value

- [SetCurrentSelectedValues](videodriverkit/iouservideoselectorcontrol/setcurrentselectedvalues.md)
- [IOUserVideoSelectorValue](videodriverkit/iouservideoselectorvalue.md)
- [GetControlValuesCount](videodriverkit/iouservideoselectorcontrol/getcontrolvaluescount.md)
- [AddControlValueDescriptions](videodriverkit/iouservideoselectorcontrol/addcontrolvaluedescriptions.md)
- [RemoveControlValueDescriptions](videodriverkit/iouservideoselectorcontrol/removecontrolvaluedescriptions.md)
- [GetControlValueDescriptions](videodriverkit/iouservideoselectorcontrol/getcontrolvaluedescriptions.md)
- [IOUserVideoSelectorValueDescription](videodriverkit/iouservideoselectorvaluedescription.md)
