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

# SetRange

Sets the current range of the slider control.

## Declaration

```occ
kern_return_t SetRange(IOUserVideoSliderRange in_range);
```

## Parameters

- `in_range`: IOUserVideoSliderRange slider control range

## Discussion

Discussion Changing the range 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

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