pub unsafe extern "C-unwind" fn IOServiceMatchPropertyTable(
service: io_service_t,
matching: Option<&CFDictionary>,
matches: *mut boolean_t,
) -> kern_return_tAvailable on crate feature
libc only.Expand description
Match an IOService objects with matching dictionary.
This function calls the matching method of an IOService object and returns the boolean result.
Parameter service: The IOService object to match.
Parameter matching: A CF dictionary containing matching information. IOKitLib can construct matching dictionaries for common criteria with helper functions such as IOServiceMatching, IOServiceNameMatching, IOBSDNameMatching.
Parameter matches: The boolean result is returned.
Returns: A kern_return_t error code.