Contents

Create

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

Declaration

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

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

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