PHONEHOOKSWITCHDEV_ Constants

The PHONEHOOKSWITCHDEV_ bit-flag constants describe various audio I/O devices, each with its own hookswitch that is controllable from the computer.

PHONEHOOKSWITCHDEV_HANDSET
The ubiquitous, hand-held ear- and mouthpiece.
PHONEHOOKSWITCHDEV_SPEAKER
A built-in loudspeaker and microphone. This could also be an externally connected adjunct speaker to the telephone set.
PHONEHOOKSWITCHDEV_HEADSET
A headset connected to the phone set.

Not extensible. All 32 bits are reserved.

These constants are used in the PHONECAPS data structure to indicate the hookswitch device capabilities of a phone device. The PHONESTATUS structure reports the state of the phone's hookswitch devices. The functions TSPI_phoneSetHookSwitch and TSPI_phoneGetHookSwitch use it as a parameter to select the phone's I/O device.

See Also

PHONECAPS, PHONESTATUS, TSPI_phoneGetDevCaps, TSPI_phoneGetHookSwitch, TSPI_phoneGetStatus, TSPI_phoneSetHookSwitch