Gestalt Selector and Response Values
You can pass thegestaltTeleMgrAttrselector to theGestaltfunction to get information about the Telephone Manager.Gestaltreturns information to you by setting or clearing bits in theresponseparameter. The bits currently used are defined by constants:
enum { gestaltTeleMgrAttr = 'tele', gestaltTeleMgrPresent = 0, gestaltTeleMgrPowerPCSupport = 1, gestaltTeleMgrSoundStreams = 2, gestaltTeleMgrAutoAnswer = 3, gestaltTeleMgrIndHandset = 4, gestaltTeleMgrSilenceDetect = 5, gestaltTeleMgrNewTELNewSupport = 6 };Constant descriptions
gestaltTeleMgrPresent- This bit is set if the Telephone Manager is present in the current operating environment.
gestaltTeleMgrPowerPCSupport- This bit is set if the current machine contains a PowerPC microprocessor.
gestaltTeleMgrSoundStreams- This bit is set if the Telephone Manager supports sound streams (for example, the
TELGetDNSoundInputandTELGetDNSoundOutputfunctions).gestaltTeleMgrAutoAnswer- This bit is set if the Telephone Manager supports the Auto-answer feature (that is, incoming calls are routed to a client application that has requested such routing).
gestaltTeleMgrIndHandset- This bit is set if the Telephone Manager supports an independent handset.
gestaltTeleMgrSilenceDetect- This bit is set if the Telephone Manager can detect silence on a telephone line.
gestaltTeleMgrNewTELNewSupport- This bit is set if the Telephone Manager supports the
TELNewWithResultfunction.- Note
- For complete information about the
Gestaltfunction, see the chapter "Gestalt Manager" in Inside Macintosh: Operating System Utilities.![]()