On Thursday, May 1, 2003, at 11:51 AM, Steven Bytnar wrote: On Wed, Apr 30, 2003 at 10:32:38PM -0400, Dave Koziol wrote: The other example I know of which is similar is KUNCUserNotificationDisplayAlert, although they are not actually trying to interact with the user, just do some things with aren't easy to do in the kernel. Which versions of OS X support the KUNC functions? Is this a 10.2 thing, or are they available all the way back to 10.0.0? They are available all the way back to 10.0.0 (although some bugs existed in the earlier versions). But their use (especially these GUI-centric routines) is HIGHLY discouraged. You should either user a helper application that contacts the driver directly, or use the IOKit registry to indicate conditions that are not part of the standard protocol for your family. Check the archive for references on how to do those things. Why? There are times during boot when KUNC will not work because the catcher for them isn't available yet. And worse, that timing is different for each release, so what works in 10.0 and 10.2 may not work in 10.1 just because of timing. Paths have to be hard-coded into the kext. Unattended systems, or systems where nobody has logged in yet, will just drop the notifications. Besides, we don't want people to have to write "screen-scrapers" just to handle these events programmatically. Notifications requiring responses may not always route the response back to your KEXT correctly (and you cannot safely unload the kext until the response DOES come back). --Jim _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.