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 the microphone and speaker components of a hookswitch device.

The following table shows the PHONEHOOKSWITCHMODE constants.

Value Description

PHONEHOOKSWITCHMODE_MIC = 0x00000002

The device's microphone is active and the speaker is mute.

PHONEHOOKSWITCHMODE_MICSPEAKER = 0x00000008

The device's microphone and speaker are both active.

PHONEHOOKSWITCHMODE_ONHOOK = 0x00000001

The device's microphone and speaker are both onhook.

PHONEHOOKSWITCHMODE_SPEAKER = 0x00000004

The device's speaker is active and the microphone is mute.

PHONEHOOKSWITCHMODE_UNKNOWN = 0x00000010

The device's hookswitch mode is currently unknown.

Remarks

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

These constants are used to provide an individual level of control over the microphone and speaker components of a phone device.

Requirements

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