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 constants list the operations that can be invoked on a line using this API.

The following table shows the LINEFEATURE constants.

Value Description

LINEFEATURE_DEVSPECIFIC = 0x00000001

Device-specific operations can be used on the line.

LINEFEATURE_DEVSPECIFICFEAT = 0x00000002

Device-specific features can be used on the line.

LINEFEATURE_FORWARD = 0x00000004

Forwarding of all addresses can be used on the line.

LINEFEATURE_FORWARDDND = 0x00000100

The lineForwardfunction, with an empty destination address, can be used to turn on the Do Not Disturb feature on all addresses on the line. LINEFEATURE_FORWARD will also be set. This flag is exposed only to applications that negotiate a TAPI version of 2.0 or later.

LINEFEATURE_FORWARDFWD = 0x00000080

The lineForwardfunction can be used to forward calls on all address on the line to other numbers. LINEFEATURE_FORWARD will also be set. This flag is exposed only to applications that negotiate a TAPI version of 2.0 or later.

LINEFEATURE_MAKECALL = 0x00000008

An outgoing call can be placed on this line using an unspecified address.

LINEFEATURE_SETMEDIACONTROL = 0x00000010

Media control can be set on this line.

LINEFEATURE_SETTERMINAL = 0x00000020

Terminal modes for this line can be set.

Remarks

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

The LINEFEATURE constants are used in LINEDEVSTATUS(returned by lineGetLineDevStatus). LINEDEVSTATUSreports, for a given line, which line features can actually be invoked while the line is in the current state. An application would make this determination dynamically after line state changes, typically caused by address or call-related activities on the line.

Note:
If neither of the new modified "FORWARD" bits is set in the dwLineFeaturesmember in LINEDEVSTATUSbut the LINEFEATURE_FORWARD bit is set, then any of the forward modes can work; the service provider has simply not specified which ones.

Requirements

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

See Also