Contents

registryEntryIDMatching

Creates a matching dictionary, or adds matching properties to an existing dictionary, that specify a IORegistryEntryID match.

Declaration

static OSDictionary * registryEntryIDMatching(
 uint64_t entryID, 
 OSDictionary *table = 0 );

Parameters

  • name:

    The service's ID. Matching is successful on the IOService object that return that ID from the IORegistryEntry::getRegistryEntryID() method.

  • table:

    If zero, registryEntryIDMatching creates a matching dictionary and returns a reference to it, otherwise the matching properties are added to the specified dictionary.

Return Value

The matching dictionary created, or passed in, is returned on success, or zero on failure.

Overview

registryEntryIDMatching creates a matching dictionary that specifies the IOService object with the assigned registry entry ID (returned by IORegistryEntry::getRegistryEntryID()). An existing dictionary may be passed in, in which case the matching properties will be added to that dictionary rather than creating a new one.

See Also

Miscellaneous