Create a matching dictionary that specifies an IOService match based on a registry entry ID.
- macOS 10.6+
- Mac Catalyst 13.0+
The registry entry ID to be found.
The matching dictionary created, is returned on success, or zero on failure. The dictionary is commonly passed to IOServiceGetMatchingServices or IOServiceAddNotification which will consume a reference, otherwise it should be released with CFRelease by the caller.
This function creates a matching dictionary that will match a registered, active IOService found with the given registry entry ID. The entry ID for a registry entry is returned by IORegistryEntryGetRegistryEntryID().
Create a matching dictionary that specifies an IOService match based on BSD device name.
Creates and returns a mach port suitable for receiving IOKit messages of the specified type.
Returns the mach port used to initiate communication with IOKit.
Creates and returns a notification object for receiving IOKit notifications of new devices or state changes.
Returns kernel retain count of an IOKit object. Identical to IOObjectGetKernelRetainCount() but available prior to Mac OS 10.6.
Checks two object handles to see if they represent the same kernel object.
Retains an object handle previously returned by IOKitLib.
Look up registered IOService objects that match a matching dictionary, and install a notification request of new IOServices that match.
Close a connection to an IOService and destroy the connect handle.
Create a matching dictionary that specifies an IOService class match.