Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

These bit-flag constants describe various audio I/O devices each with its own hookswitch controllable from the computer.

The following table shows the PHONEHOOKSWITCHDEV constants.

Value Description

PHONEHOOKSWITCHDEV_HANDSET = 0x00000001

This is a standard ear- and mouthpiece phone.

PHONEHOOKSWITCHDEV_HEADSET = 0x00000004

This is a headset connected to the phone set.

PHONEHOOKSWITCHDEV_SPEAKER = 0x00000002

This is a built-in loudspeaker and microphone. This could also be an externally connected adjunct speaker to the telephone set.

Remarks

These constants cannot be extended. All 32 bits are reserved.

These constants are used in the PHONECAPSdata structure to indicate the hookswitch device capabilities of a phone device. The PHONESTATUSstructure reports the state of the phone's hookswitch devices. The function phoneSetHookSwitchand phoneGetHookSwitchuse it as a parameter to select the phone's I/O device.

Requirements

Header tapi.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also