Partager via


LINEFEATURE

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 lineForward function, 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 higher.
LINEFEATURE_FORWARDFWD = 0x00000080 The lineForward function 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 higher.
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). LINEDEVSTATUS reports, 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 dwLineFeatures member in LINEDEVSTATUS but the LINEFEATURE_FORWARD bit is set, then any of the forward modes can work; the service provider has simply not specified which ones.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Tapi.h.

See Also

lineForward | lineGetLineDevStatus | LINEDEVSTATUS

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.