Returns a C-string location assigned to a registry entry, in a specified plane.
- macOS 10.1+
- Mac Catalyst 13.0+
The registry entry handle whose name to look up.
The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane.
The caller's buffer to receive the location string.
A kern_return_t error code.
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.