LINEDEVSTATE_ Constants
 

These constants are used in context with ThbTapiLine's OnDeviceState event.

Constant

Meainig

See Also

LINEDEVSTATE_BATTERY

The battery level has changed significantly (cellular).

 

LINEDEVSTATE_CAPSCHANGE

Indicates that, due to configuration changes made by the user or other circumstances, one or more of the members in the LINEDEVCAPS structure for the address have changed.

ThbTapiLine.Caps

LINEDEVSTATE_CLOSE

The line has been closed by another application.

ThbTapiLine.OnDeviceClose

LINEDEVSTATE_CONFIGCHANGE

Indicates that configuration changes have been made to one or more of the media devices associated with the line device.

 

LINEDEVSTATE_COMPLCANCEL

Indicates that the call completion identified by the completion identifier contained in the dwParam2 parameter of the LINE_LINEDEVSTATE message has been externally canceled and is no longer considered valid (if that value were to be passed in a subsequent call to lineUncompleteCall, the function would fail with LINEERR_INVALCOMPLETIONID).

ThbTapiLine.CompleteCall
ThbTapiLine.UncompleteCall

LINEDEVSTATE_CONNECTED

The line was previously disconnected and is now connected to TAPI.

 

LINEDEVSTATE_DEVSPECIFIC

The line's device-specific information has changed.

 

LINEDEVSTATE_DISCONNECTED

This line was previously connected and is now disconnected from TAPI.

 

LINEDEVSTATE_INSERVICE

The line is connected to TAPI. This happens when TAPI is first activated or when the line wire is physically plugged in and in-service at the switch while TAPI is active.

 

LINEDEVSTATE_LOCK

The locked status of the line device has changed.

 

LINEDEVSTATE_MAINTENANCE

Maintenance is being performed on the line at the switch. TAPI cannot be used to operate on the line device.

 

LINEDEVSTATE_MSGWAITOFF

The message waiting indicator is turned off.

 

LINEDEVSTATE_MSGWAITON

The message waiting indicator is turned on.

 

LINEDEVSTATE_NUMCALLS

The number of calls on the line device has changed.

 

LINEDEVSTATE_NUMCOMPLETIONS

The number of outstanding call completions on the line device has changed.

 

LINEDEVSTATE_OPEN

The line has been opened by another application.

 

LINEDEVSTATE_OTHER

Device-status items other than those listed below have changed. The application should check the current device status to determine which items have changed.

 

LINEDEVSTATE_OUTOFSERVICE


The line is out of service at the switch or physically disconnected. TAPI cannot be used to operate on the line device.

 

LINEDEVSTATE_REINIT

Items have changed in the configuration of line devices. To become aware of these changes (as for the appearance of new line devices) the application should reinitialize its use of TAPI.

 

LINEDEVSTATE_REMOVED

Indicates that the device is being removed from the system by the service provider (most likely through user action, through a control panel or similar utility).

ThbTapiLine.OnDeviceRemove

LINEDEVSTATE_RINGING

The switch tells the line to alert the user.

ThbTapiLine.OnRing

LINEDEVSTATE_ROAMMODE

The roam mode of the line device has changed.

 

LINEDEVSTATE_SIGNAL

The signal level has changed significantly (cellular).

 

LINEDEVSTATE_TERMINALS

The terminal settings have changed. This can happen, for example, if multiple line devices share terminals among them (for example, two lines sharing a phone terminal).

 

LINEDEVSTATE_TRANSLATECHANGE

Indicates that, due to configuration changes made by the user or other circumstances, one or more of the members in the LINETRANSLATECAPS structure have changed.

ThbTapiLine.TranslateAddress
ThbTapiLine.TranslateDialog
ThbTapiLine.Location