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

# init

Initializes a selector control.

## Declaration

```occ
virtual bool init(IOUserVideoDriver *in_driver, bool in_is_settable, IOUserVideoObjectPropertyElement in_control_element, IOUserVideoObjectPropertyScope in_control_scope, IOUserVideoClassID in_control_class_id);
```

## Parameters

- `in_driver`: The IOUserVideoDriver that owns this object.
- `in_is_settable`: A Boolean value indicating if the control value can be set
- `in_control_element`: The IOUserVideoObjectPropertyElement for the control
- `in_control_scope`: The IOUserVideoObjectPropertyScope for the control
- `in_control_class_id`: The IOUserVideoClassID of the control

## Return Value

Return Value True on success.

## See Also

### Creating a selector control

- [Create](videodriverkit/iouservideoselectorcontrol/create.md)
- [IOUserVideoDriver](videodriverkit/iouservideodriver.md)
- [IOUserVideoObjectPropertyElement](videodriverkit/videodriverkit/iouservideoobjectpropertyelement.md)
- [IOUserVideoObjectPropertyScope](videodriverkit/videodriverkit/iouservideoobjectpropertyscope.md)
