Contents

AddObject

Adds a video object to the driver.

Declaration

kern_return_t AddObject(IOUserVideoObject *in_object);

Parameters

  • in_object:

    The video object being added to the driver.

Return Value

kIOReturnSuccess if object was successfully added.

Discussion

All objects that need to be managed by the host needs to be added to the driver. The objects’s reference count will be incremented if it was successfully added. Caller should also call PropertiesChanged() as necessary to notify host of any changes.

See Also

Working with video objects