Important: The information in this document is obsolete and should not be used for new development.
Gestalt Selector and Response Bits
You can determine if the Process Manager is available and find out which features of the launch routine are available by calling theGestaltfunction with the selectorgestaltOSAttr.
CONST gestaltOSAttr = 'os ';{O/S attributes}TheGestaltfunction returns information by setting or clearing bits in theresponseparameter. The following constants define the bits currently used:
CONST gestaltLaunchCanReturn = 1; {can return from launch} gestaltLaunchFullFileSpec = 2; {LaunchApplication available} gestaltLaunchControl = 3; {Process Manager is available}Constant descriptions
gestaltLaunchCanReturn- Set if the
_Launchtrap macro can return to the caller. The_Launchtrap macro in system software version 7.0 (and in earlier versions running MultiFinder) gives your application the option to continue running after it launches another application. In earlier versions of system software not running MultiFinder, the_Launchtrap macro forces the launching application to quit.
gestaltLaunchFullFileSpec- Set if the
launchControlFlagsfield supports control flags in addition to thelaunchContinueflag, and if the_Launchtrap can process thelaunchAppSpec,launchProcessSN,launchPreferredSize,launchMinimumSize,launchAvailableSize, andlaunchAppParametersfields in the launch parameter block.
gestaltLaunchControl- Set if the Process Manager is available.