Partager via


PHONEHOOKSWITCHMODE

A version of this page is also available for

Windows Embedded CE 6.0 R3

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