Contents

RemoveDevice

Removes a video device from the video box.

Declaration

kern_return_t RemoveDevice(IOUserVideoDevice *in_device);

Parameters

  • in_device:

    IOUserVideoDevice associated with the box.

Return Value

kIOReturnSuccess if device was successfully removed.

Discussion

The device’s reference count will be decremented if it was successfully removed.

See Also

Managing box contents