Contents

IORegistryEntryIDMatching(_:)

Create a matching dictionary that specifies an IOService match based on a registry entry ID.

Declaration

func IORegistryEntryIDMatching(_ entryID: UInt64) -> CFMutableDictionary!

Parameters

  • entryID:

    The registry entry ID to be found.

Return Value

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.

Discussion

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().

See Also

Miscellaneous