IORegistryEntryGetParentIterator

Function IORegistryEntryGetParentIterator 

Source
pub unsafe extern "C-unwind" fn IORegistryEntryGetParentIterator(
    entry: io_registry_entry_t,
    plane: *mut [c_char; 128],
    iterator: *mut io_iterator_t,
) -> kern_return_t
Available on crate feature libc only.
Expand description

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

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

Parameter entry: The registry entry whose parents to iterate over.

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

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

Returns: A kern_return_t error.