pub unsafe extern "C-unwind" fn IORegistryEntryGetLocationInPlane(
entry: io_registry_entry_t,
plane: *mut [c_char; 128],
location: *mut [c_char; 128],
) -> kern_return_tAvailable on crate feature
libc only.Expand description
Returns a C-string location assigned to a registry entry, in a specified plane.
Registry entries can given a location string in a particular plane, or globally. If the entry has had a location set in the specified plane that location string will be returned, otherwise the global location string is returned. If no global location string has been set, an error is returned.
Parameter entry: The registry entry handle whose name to look up.
Parameter plane: The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane.
Parameter location: The caller’s buffer to receive the location string.
Returns: A kern_return_t error code.