Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching Airport of in code using SCF




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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.