Contents

IORegistryEntryGetChildEntry(_:_:_:)

Returns the first child of a registry entry in a plane.

Declaration

func IORegistryEntryGetChildEntry(_ entry: io_registry_entry_t, _ plane: UnsafePointer<CChar>!, _ child: UnsafeMutablePointer<io_registry_entry_t>!) -> kern_return_t

Parameters

  • entry:

    The registry entry whose child to look up.

  • plane:

    The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane.

  • child:

    The first child of the registry entry, on success. The child must be released by the caller.

Return Value

A kern_return_t error code.

Discussion

This function will return the child which first attached to a registry entry in a plane.

See Also

Miscellaneous