• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Matching Multiple Services?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matching Multiple Services?


  • Subject: Re: Matching Multiple Services?
  • From: Michael Smith <email@hidden>
  • Date: Wed, 1 Aug 2007 08:42:41 -0700


On Jul 31, 2007, at 12:03 PM, email@hidden wrote:

Is it possible to use IOServiceGetMatchingServices() to match with a
logical-OR configuration?

I need to find several (3) different types of services. Is there some
way to build a dictionary that could find all three of them at once?

Yes.

Note that the constructors for the matching dictionaries all take an OSDictionary as an argument, and note that they are all documented with some variation on:

"Create a matching dictionary, or add matching properties to an existing dictionary, that specify [some kind of] match."

 = Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Matching Multiple Services?
      • From: "Duane Murphy" <email@hidden>
  • Next by Date: Re: Matching Multiple Services?
  • Next by thread: Re: Matching Multiple Services?
  • Index(es):
    • Date
    • Thread