Contents

IOServiceMatchPropertyTable(_:_:_:)

Match an IOService objects with matching dictionary.

Declaration

func IOServiceMatchPropertyTable(_ service: io_service_t, _ matching: CFDictionary!, _ matches: UnsafeMutablePointer<boolean_t>!) -> kern_return_t

Parameters

  • service:

    The IOService object to match.

  • matching:

    A CF dictionary containing matching information. IOKitLib can construct matching dictionaries for common criteria with helper functions such as IOServiceMatching, IOServiceNameMatching, IOBSDNameMatching.

  • matches:

    The boolean result is returned.

Return Value

A kern_return_t error code.

Discussion

This function calls the matching method of an IOService object and returns the boolean result.

See Also

Miscellaneous