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 a collection of Boolean line device status items.

The following table shows the LINEDEVSTATUSFLAGS constants.

Value Description

LINEDEVSTATUSFLAGS_CONNECTED = x00000001

Specifies whether the line is connected to TAPI. If TRUE, the line is connected and TAPI is able to operate on the line device. If FALSE, the line is disconnected and the application is unable to control the line device through TAPI.

LINEDEVSTATUSFLAGS_INSERVICE = 0x00000004

Indicates whether the line is in service. If TRUE, the line is in service. If FALSE, the line is out of service.

LINEDEVSTATUSFLAGS_LOCKED = 0x00000008

Indicates whether the line is locked or unlocked. This bit is most often used with line devices associated with cellular phones. Many cellular phones have a security mechanism that requires the entry of a password to enable the phone to place calls. This bit can be used to indicate to applications that the phone is locked and cannot place calls until the password is entered on the user interface of the phone so that the application can present an appropriate alert to the user.

LINEDEVSTATUSFLAGS_MSGWAIT = 0x00000002

Indicates whether the line has a message waiting. If TRUE, a message is waiting. If FALSE, no message is waiting.

Remarks

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

LINEDEVSTATUSFLAGS constants are used within the dwDevStatusFlagsmember of the LINEDEVSTATUSstructure.

Requirements

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

See Also

Reference

LINEDEVSTATUS