---
title: Create
framework: VideoDriverKit
role: symbol
role_heading: Static Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideobox/create
---

# Create

Static factory method to allocate and initialize a user video box.

## Declaration

```occ
static OSSharedPtr<IOUserVideoBox> Create(IOUserVideoDriver *in_driver, bool in_is_acquirable, OSString *in_box_uid);
```

## Parameters

- `in_driver`: The video driver that owns this object.
- `in_is_acquirable`: A Boolean value that indicates whether the video box is aquirable.
- `in_box_uid`: The box unique identifier.

## Return Value

Return Value A user video box if it was successfully allocated and initialized.

## Discussion

Discussion If IOUserVideoBox is subclassed to override behavior, don’t use this method to allocate or initialize the custom subclass.

## See Also

### Creating a video box

- [init](videodriverkit/iouservideobox/init.md)
- [IOUserVideoDriver](videodriverkit/iouservideodriver.md)
