pub unsafe extern "C-unwind" fn IORegistryEntryGetParentEntry(
entry: io_registry_entry_t,
plane: *mut [c_char; 128],
parent: *mut io_registry_entry_t,
) -> kern_return_tAvailable on crate feature
libc only.Expand description
Returns the first parent of a registry entry in a plane.
This function will return the parent to which the registry entry was first attached in a plane.
Parameter entry: The registry entry whose parent to look up.
Parameter plane: The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane.
Parameter parent: The first parent of the registry entry, on success. The parent must be released by the caller.
Returns: A kern_return_t error code.