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

# SetControlValue

Sets the current control value.

## Declaration

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

## Parameters

- `in_control_value`: Bool 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/iouservideodirectioncontrol/getcontrolvalue.md)
