• 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: Switching Airport of in code using SCF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching Airport of in code using SCF


  • Subject: Re: Switching Airport of in code using SCF
  • From: Nathan Duran <email@hidden>
  • Date: Tue, 19 Feb 2008 12:16:14 -0800


On Feb 19, 2008, at 11:42 AM, Mike wrote:

SCF was designed to allow dynamic changes to the system without having drivers get involved.

I have no reason to believe that SCF is capable of controlling Airport (or any other) hardware directly, so my assumption is that the driver would, at the very least, need to link against that framework and listen to those notifications. This constitutes a certain degree of involvement not always possible in every driver project.


Whether or not such a dependency would be considered undesirable in the case of the Airport driver, I have no idea--never touched it or talked to anyone who has--but it's not something I would have expected to work, personally, and that's all I said.

If it IS supposed to work, then obviously it isn't, as his code clearly showed that he was calling both SCPreferencesCommitChanges and SCPreferencesApplyChanges correctly, as well as obtaining all of the requisite locks, which should by all rights have precluded the recitation of advice pertaining to such matters. I have faith that Allan would have been the first to pick up on any deficiencies in that department.







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


References: 
 >Switching Airport of in code using SCF (From: Jonathan Guy <email@hidden>)
 >Re: Switching Airport of in code using SCF (From: Nathan Duran <email@hidden>)
 >Re: Switching Airport of in code using SCF (From: Mike <email@hidden>)

  • Prev by Date: Re: Switching Airport of in code using SCF
  • Next by Date: Re: Switching Airport of in code using SCF
  • Previous by thread: Re: Switching Airport of in code using SCF
  • Next by thread: Re: Switching Airport of in code using SCF
  • Index(es):
    • Date
    • Thread