Contents

findDrivers(OSDictionary *, SInt32 *)

A more general purpose interface which allows one to retreive driver personalities based the intersection of the 'matching' dictionary and the personality's own property list.

Declaration

OSOrderedSet * findDrivers(
 OSDictionary *matching,
 SInt32 *generationCount );

Parameters

  • matching:

    A dictionary containing only keys and values which are to be used for matching. For example, a matching dictionary containing 'IOProviderClass'='IOPCIDevice' will return all personalities with an IOProviderClass key and a value of IOPCIDevice.

  • generationCount:

    Returns a reference to the current generation of the database. The generation count increases only when personalities are added to the database *and* IOService matching has been initiated.

Return Value

Returns an ordered set of driver personalities ranked on probe-scores. The ordered set must be released by the receiver.

See Also

Miscellaneous