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 different types of events on a phone line that can be routed to a terminal device.

The following table shows the LINETERMMODE constants.

Value Description

LINETERMMODE_BUTTONS = 0x00000001

These are button-press events sent from the terminal to the line.

LINETERMMODE_DISPLAY = 0x00000004

This is display information sent from the line to the terminal.

LINETERMMODE_HOOKSWITCH = 0x00000010

These are hookswitch events sent from the terminal to the line.

LINETERMMODE_LAMPS = 0x00000002

These are lamp events sent from the line to the terminal.

LINETERMMODE_MEDIABIDIRECT = 0x00000080

This is the bidirectional media stream associated with a call on the line and the terminal. Use this value when the routing of both unidirectional channels of a call's media stream cannot be controlled independently.

LINETERMMODE_MEDIAFROMLINE = 0x00000040

This is the unidirectional media stream from the line to the terminal associated with a call on the line. Use this value when the routing of both unidirectional channels of a call's media stream can be controlled independently.

LINETERMMODE_MEDIATOLINE = 0x00000020

This is the unidirectional media stream from the terminal to the line associated with a call on the line. Use this value when the routing of both unidirectional channels of a call's media stream can be controlled independently.

LINETERMMODE_RINGER = 0x00000008

This is ringer-control information sent from the switch to the terminal.

Remarks

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

These constants describe the classes of control and information streams that can be routed directly between a line device and a terminal device such as a phone set.

Requirements

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