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: "Kicking" the screensaver/display timers



The 10.4u SDK version of IOPMAssertionCreate is not publicly supported.

Moreover, 10.4.x does not respond to the NoDisplaySleep and NoIdleSleep assertions that 10.5 does. So these invocations of IOPMAssertionCreate() are only valid in 10.5 and later.

-Ethan

On Jul 23, 2008, at 3:23 PM, Terry Lambert wrote:

On Jul 23, 2008, at 9:01 AM, Kevin Elliott wrote:
On Jul 22, 2008, at 10:06 PM, Eli Bach wrote:
Are you sure about that?

I just executed:

find /Developer/SDKs -name '*.h' -print0|xargs -0 grep IOPMAssertionCreate

and it only returned results in the 10.5 SDK [with no results for IOPMAssertionCreateWithName].

It's 10.5 only. You can read about it in the 10.5 IOKit release notes here:


<http://developer.apple.com/releasenotes/Darwin/RN-IOKitPowerManagment/index.html >


I was looking in the linkages, not the headers:

nm -arch i386 /Developer/SDKs//MacOSX10.4u.sdk/System/Library/ Frameworks/IOKit.framework/Versions/A/IOKit | grep IOPMAssert
90c19ffc T _IOPMAssertionCreate
90c1a14e T _IOPMAssertionRelease


But I'm guessing that without a published prototype, Ethan is not going to want you linking aqainst it, as it might do something nasty...

-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >"Kicking" the screensaver/display timers (From: "Shayne Wissler" <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Steve Checkoway <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Ethan Bold <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Steve Checkoway <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Terry Lambert <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Eli Bach <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Kevin Elliott <email@hidden>)
 >Re: "Kicking" the screensaver/display timers (From: Terry Lambert <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.