Contents

IORegistryEntryGetChildIterator(_:_:_:)

Returns an iterator over a registry entry’s child entries in a plane.

Declaration

func IORegistryEntryGetChildIterator(_ entry: io_registry_entry_t, _ plane: UnsafePointer<CChar>!, _ iterator: UnsafeMutablePointer<io_iterator_t>!) -> kern_return_t

Parameters

  • entry:

    The registry entry whose children to iterate over.

  • plane:

    The name of an existing registry plane. Plane names are defined in IOKitKeys.h, for example, Kioserviceplane.

  • iterator:

    The created iterator over the children of the entry, on success. The iterator must be released when the iteration is finished.

Return Value

A kern_return_t error code.

Discussion

This method creates an iterator which will return each of a registry entry's child entries in a specified plane.

See Also

Miscellaneous