Partager via


LINEDEVSTATUSFLAGS (Windows Embedded CE 6.0)

1/6/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 dwDevStatusFlags member of the LINEDEVSTATUS structure.

Requirements

Header tapi.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

TAPI Constants
LINEDEVSTATUS