Returns an iterator over a registry entry’s child entries in a plane.
SDKs
- macOS 10.0+
- Mac Catalyst 13.0+
Framework
- IOKit
Declaration
func IORegistryEntryGetChildIterator(_ entry: io _registry _entry _t, _ plane: Unsafe Pointer<Int8>!, _ iterator: Unsafe Mutable Pointer<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,
k
.IOService Plane 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.