<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoBooleanControl/Create",
  "metadataVersion" : "0.1.0",
  "role" : "Static Method",
  "symbol" : {
    "kind" : "Static Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoBooleanControl@F@Create#*$@S@IOUserVideoDriver#b#b#i#$@N@VideoDriverKit@E@IOUserVideoObjectPropertyScope#$@N@VideoDriverKit@E@IOUserVideoClassID#S"
  },
  "title" : "Create"
}
-->

# Create

A static factory method that allocates and initializes a video Boolean control.

```
static OSSharedPtr<IOUserVideoBooleanControl> Create(IOUserVideoDriver *in_driver, bool in_is_settable, bool in_control_value, IOUserVideoObjectPropertyElement in_control_element, IOUserVideoObjectPropertyScope in_control_scope, IOUserVideoClassID in_control_class_id);
```

## Parameters

`in_driver`

The video driver that owns this object.

`in_is_settable`

A Boolean value that indicates whether the control value can be set.

`in_control_value`

A Boolean value for the control’s current value.

`in_control_element`

The property for the control.

`in_control_scope`

The scope for the control.

`in_control_class_id`

The class identifier of the control.

## Return Value

The control, if it was successfully allocated and initialized.

## Discussion

If you subclass [`IOUserVideoBooleanControl`](/documentation/VideoDriverKit/IOUserVideoBooleanControl) to override behavior, don’t use this method to allocate or initialize the custom subclass.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)