Re: "Kicking" the screensaver/display timers
Re: "Kicking" the screensaver/display timers
- Subject: Re: "Kicking" the screensaver/display timers
- From: Ethan Bold <email@hidden>
- Date: Wed, 23 Jul 2008 16:49:51 -0700
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:
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:
This email sent to email@hidden