Checks an iterator is still valid.
- macOS 10.0+
- Mac Catalyst 13.0+
An IOKit iterator handle.
True if the iterator handle is valid, otherwise false is returned.
Some iterators will be made invalid if changes are made to the structure they are iterating over. This function checks the iterator is still valid and should be called when IOIteratorNext returns zero. An invalid iterator can be reset and the iteration restarted.