TELAlert
Rings a terminal.
pascal TELErr TELAlert ( TELHandle hTEL, short *level, short alertPattern);
hTEL- A handle to a telephone record associated with a telephone terminal.
level- On entry, a value that indicates the desired volume level of the specified alert pattern. On exit, a value that indicates the actual volume level of that pattern.
alertPattern- An alerting pattern. See "Alerting Patterns" on page 2-15 for the values you can pass in this parameter.
- function result
- A result code.
DESCRIPTION
TheTELAlertfunction causes the terminal specified by thehTELparameter to alert by emitting the ringing pattern specified by thealertPatternparameter at the volume level specified by thelevelparameter. The value specified in thelevelparameter should be betweentelVolMinandtelVolMax. You can also pass the valuetelVolSameto have the volume remain at its current level.Alerting patterns are terminal-dependent. To determine which alerting patterns and volume levels a terminal supports, inspect the
ringerTypesandringerVolfields of the telephone terminal record associated with thehTELparameter.SPECIAL CONSIDERATIONS
TheTELAlertfunction controls only the ringer of a telephone terminal, not those provided by applications.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help