Returns the next object in an iteration.
- macOS 10.0+
- Mac Catalyst 13.0+Beta
An IOKit iterator handle.
If the iterator handle is valid, the next element in the iteration is returned, otherwise zero is returned. The element should be released by the caller when it is finished.
This function returns the next object in an iteration, or zero if no more remain or the iterator is invalid.