Returns an ID for the registry entry that is global to all tasks.
- macOS 10.6+
- Mac Catalyst 13.0+
The registry entry handle whose ID to look up.
The resulting ID.
A kern_return_t error code.
The entry ID returned by IORegistryEntryGetRegistryEntryID can be used to identify a registry entry across all tasks. A registry entry may be looked up by its entryID by creating a matching dictionary with IORegistryEntryIDMatching() to be used with the IOKit matching functions. The ID is valid only until the machine reboots.