IORegistryEntryInPlane

Function IORegistryEntryInPlane 

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

Determines if the registry entry is attached in a plane.

This method determines if the entry is attached in a plane to any other entry.

Parameter entry: The registry entry.

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

Returns: If the entry has a parent in the plane, true is returned, otherwise false is returned.