Re: ClassicEnvironment
Re: ClassicEnvironment
- Subject: Re: ClassicEnvironment
- From: Quinn <email@hidden>
- Date: Wed, 7 Jan 2004 08:25:20 +0000
At 20:25 -0700 6/1/04, Matt Jaffa wrote:
Is it possible to find out all the running apps in classic environment.
You can do this via the Carbon Process Manager (or, indeed, the
Process Manager within Classic itself). The can iterate the process
list, which includes processes running within Classic, using the call
GetNextProcess.
For this to work you have to be running within the bootstrap port
context of the GUI user. That is, GetNextProcess will not return
meaningful results if you call it from a daemon. You have to call it
from a process that's launched within the user's bootstrap port
context. See the "Bootstrap Contexts" chapter of "Inside Mac OS X:
Kernel Programming" for more details.
<
http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/index.html>
Working out which Carbon process is responsible for which DLIL-level
I/O is going to be tricky.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.