---
title: SetControlValue
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoslidercontrol/setcontrolvalue
---

# SetControlValue

Sets the current control value.

## Declaration

```occ
kern_return_t SetControlValue(uint32_t in_control_value);
```

## Parameters

- `in_control_value`: uint32_t slider control value

## Discussion

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.

## See Also

### Accessing the value

- [GetControlValue](videodriverkit/iouservideoslidercontrol/getcontrolvalue.md)
- [SetRange](videodriverkit/iouservideoslidercontrol/setrange.md)
- [GetRange](videodriverkit/iouservideoslidercontrol/getrange.md)
- [IOUserVideoSliderRange](videodriverkit/iouservideosliderrange.md)
