Processes.h
Type Definitions
AppParameters Format for first AppleEvent to pass to new process. The size
of the overall buffer variable: the message body immediately
follows the messageLength.
LaunchParamBlockRec Parameter block used by Launch and LaunchApplication
ProcessInfoRec Record returned by GetProcessInformation
ProcessSerialNumber Type for unique process identifier
typedef unsigned short LaunchFlags; flags for launchControlFlags field of
kNoProcess 0 process doesn't exist
kSystemProcess 1 process belongs to OS
kCurrentProcess 2 the current process
LaunchFlags for launchFileFlags field
launchContinue 0x04000 continue after launch
launchNoFileFlags 0x00800 ignore launchFileFlags
launchUseMinimum 0x00400 use minimum or greater size
launchDontSwitch 0x00200 launch application in background
launchAllow24Bit 0x00100 reserved
launchInhibitDaemon 0x00080 don't launch background application
Launch parameter block length for launchEPBLength field
extendedBlockLen sizeof(LaunchParamBlockRec) - 12
extendedBlock 0x04C43 extended block
Flags in processMode field
modeDeskAccessory 0x000020000 process is desk acc
modeMultiLaunch 0x000010000 from app file's flags
modeNeedSuspendResume 0x000004000 from 'SIZE' resource
modeCanBackground 0x000001000 from 'SIZE' resource
modeDoesActivateOnFGSwitch 0x000000800 from 'SIZE' resource
modeOnlyBackground 0x000000400 from 'SIZE' resource
modeGetFrontClicks 0x000000200 from 'SIZE' resource
modeGetAppDiedMsg 0x000000100 from 'SIZE' resource
mode32BitCompatible 0x000000080 from 'SIZE' resource
modeHighLevelEventAware 0x000000040 from 'SIZE' resource
modeLocalAndRemoteHLEvents 0x000000020 from 'SIZE' resource
modeStationeryAware 0x000000010 from 'SIZE' resource
modeUseTextEditServices 0x000000008 from 'SIZE' resource
Gestalt selector
gestaltOSAttr 'os ' OS gestalt selector
Process Mgr. attributes
gestaltLaunchCanReturn 1 can return from launch
gestaltLaunchFullFileSpec 2 LaunchApplication is available
gestaltLaunchControl 3 Process Manager is available