TELGetVolume
Gets the volume and state of a terminal device.
pascal TELErr TELGetVolume ( TELHandle hTEL, short volType, short *level, short *volState);
hTEL- A handle to a telephone record associated with a telephone terminal.
volType- The type of terminal device. See "Volume Controls" on page 2-12 for a description of the device types that have a volume and state.
level- On exit, a value that indicates the current volume level of the specified terminal device.
volState- On exit, a value that indicates the current volume state of the specified terminal device. See "Volume Controls" on page 2-12 for a description of the available volume states.
- function result
- A result code.
DESCRIPTION
TheTELGetVolumefunction returns, in thelevelandvolStateparameters, the current volume level and state of the terminal device specified by thevolTypeandhTELparameters. The value returned in thelevelparameter is always betweentelVolMinandtelVolMax. The value returned in thevolStateparameter is eithertelVolStateOnortelVolStateOff.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help