Contents

init

Initializes a video box.

Declaration

virtual bool init(IOUserVideoDriver *in_driver, bool in_is_acquirable, OSString *in_box_uid);

Parameters

  • in_driver:

    The IOUserVideoDriver that owns this object.

  • in_is_acquirable:

    A Boolean value that indicates whether the video box is aquirable.

  • in_box_uid:

    An OSString pointer for the box unique identifier

Return Value

True on success.

Discussion

Always pass in the IOUserVideoDriver and arguments; calling init() always returns false.

See Also

Creating a video box