---
title: RemoveControl
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoclockdevice/removecontrol
---

# RemoveControl

Removes a user video control from the video clock device.

## Declaration

```occ
kern_return_t RemoveControl(IOUserVideoControl *in_control);
```

## Parameters

- `in_control`: IOUserVideoControl to remove from the clock device.

## Return Value

Return Value kIOReturnSuccess if control was successfully removed.

## Discussion

Discussion The control’s reference count will be decremented if it was successfully removed from the clock device.

## See Also

### Managing video controls

- [AddControl](videodriverkit/iouservideoclockdevice/addcontrol.md)
- [IOUserVideoControl](videodriverkit/iouservideocontrol.md)
