Contents

IOObjectRetain(_:)

Retains an object handle previously returned by IOKitLib.

Declaration

func IOObjectRetain(_ object: io_object_t) -> kern_return_t

Parameters

  • object:

    The IOKit object to retain.

Return Value

A kern_return_t error code.

Discussion

Gives the caller an additional reference to an existing object handle previously returned by IOKitLib.

See Also

Miscellaneous