Contents

AddDevice

Adds a video device to the video box.

Declaration

kern_return_t AddDevice(IOUserVideoDevice *in_device);

Parameters

  • in_device:

    IOUserVideoDevice associated with the box.

Return Value

kIOReturnSuccess if device was successfully added.

Discussion

The box doesn’t own the device. The device’s reference count will be incremented if it was successfully added.

See Also

Managing box contents