site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com The 10.4u SDK version of IOPMAssertionCreate is not publicly supported. -Ethan On Jul 23, 2008, at 3:23 PM, Terry Lambert wrote: Are you sure about that? I just executed: I was looking in the linkages, not the headers: -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ebold%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. On Jul 23, 2008, at 9:01 AM, Kevin Elliott wrote: On Jul 22, 2008, at 10:06 PM, Eli Bach wrote: 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....
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... This email sent to ebold@apple.com This email sent to site_archiver@lists.apple.com