ThbTapiPhone.Status
Unit: hbTapi
 

This property describes the current status of the phone device. This property encapsulates the PHONESTATUS structure. The property consist of several sub-properties.

Availability

Design-Time: None / Run-Time: Read

Declaration

property Status: ThbTapiPhoneStatus;

Description

PHONESTATUS


Available (DWORD)

Indicates if the Status property is available or not (see also ThbTapiPhone.Active).

StatusFlags (DWORD)

Provides a set of status flags for this phone device. This member uses one of the PHONESTATUSFLAGS_ Constants.

NumOwners (DWORD)

The number of application modules with owner privilege for the phone device.

NumMonitors (DWORD)

The number of application modules with monitor privilege for the phone.

RingMode (DWORD)

The current ring mode of a phone device (see also ThbTapiPhone.Ringer.Mode).

RingVolume (DWORD)

The current ring volume of a phone device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum volume). (see also ThbTapiPhone.Ringer.Volume).

HandsetHookSwitchMode (DWORD)

The current hookswitch mode of the phone's handset. This member uses one of the PHONEHOOKSWITCHMODE_ Constants (see also ThbTapiPhone.Handset).

HandsetVolume (DWORD)

The current speaker volume of the phone's handset device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum volume).

HandsetGain (DWORD)

The current microphone gain of the phone's handset device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum gain).

SpeakerHookSwitchMode (DWORD)

The current hookswitch mode of the phone's speakerphone. This member uses one of the PHONEHOOKSWITCHMODE_ Constants. (see also ThbTapiPhone.Speakerphone).

SpeakerVolume (DWORD)

The current speaker volume of the phone's speaker device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum volume).

SpeakerGain (DWORD)

The current microphone gain of the phone's speaker device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum gain).

HeadsetHookSwitchMode (DWORD)

The current hookswitch mode of the phone's headset. This member uses one of the PHONEHOOKSWITCHMODE_ Constants (see also ThbTapiPhone.Headset).

HeadsetVolume (DWORD)

The current speaker volume of the phone's headset device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum volume).

HeadsetGain (DWORD)

The current microphone gain of the phone's headset device. This is a value between 0x00000000 (silence) and 0x0000FFFF (maximum gain).

Display (String)

The phone's current display information (see also ThbTapiPhone.Display).

LampModes (Array of DWORD)

The phone's current lamp modes (ThbTapiPhone.Controls).

OwnerName (String)

Tthe name of the application that is the current owner of the phone device.

DevSpecific (String)

Device-specific Data.

PhoneFeatures (DWORD)

These flags indicate which Telephony API functions can be invoked on the phone, considering the availability of the feature in the device capabilities, the current device state, and device ownership of the invoking application. A zero indicates the corresponding feature cannot be invoked by the application on the phone in its current state; a one indicates the feature can be invoked. This member uses one or more of the PHONEFEATURE_ Constants.

PHONESTATUS (PPHONESTATUS)

A pointer to the underlying PHONESTATUS structure.