2.2.3.2.5 PHONEFEATURE_Constants
The PHONEFEATURE_Constants list the operations that can be invoked on a phone using TAPI. Each of the PHONEFEATURE_ values (except PHONEFEATURE_GENERICPHONE) corresponds to a TAPI function that has an identical or similar name.
The following constants are present in TAPI versions 2.0, 2.1, 2.2, 3.0, and 3.1.
Constant/value |
Description |
---|---|
PHONEFEATURE_GETBUTTONINFO 0x00000001 |
The GetButtonInfo packet. |
PHONEFEATURE_GETDATA 0x00000002 |
The GetData packet. |
PHONEFEATURE_GETDISPLAY 0x00000004 |
The GetDisplay packet. |
PHONEFEATURE_GETGAINHANDSET 0x00000008 |
The GetGain packet PHONEHOOKSWITCHDEV_HANDSET. |
PHONEFEATURE_GETGAINSPEAKER 0x00000010 |
The GetGain packet PHONEHOOKSWITCHDEV_SPEAKER. |
PHONEFEATURE_GETGAINHEADSET 0x00000020 |
The GetGain packet PHONEHOOKSWITCHDEV_HEADSET. |
PHONEFEATURE_GETHOOKSWITCHHANDSET 0x00000040 |
The GetHookSwitch packet PHONEHOOKSWITCHDEV_HANDSET. |
PHONEFEATURE_GETHOOKSWITCHSPEAKER 0x00000080 |
The GetHookSwitch packet PHONEHOOKSWITCHDEV_SPEAKER. |
PHONEFEATURE_GETHOOKSWITCHHEADSET 0x00000100 |
The GetHookSwitch packet PHONEHOOKSWITCHDEV_HEADSET. |
PHONEFEATURE_GETLAMP 0x00000200 |
The GetLamp packet. |
PHONEFEATURE_GETRING 0x00000400 |
The GetRing packet. |
PHONEFEATURE_GETVOLUMEHANDSET 0x00000800 |
The GetVolume packet PHONEHOOKSWITCHDEV_HANDSET. |
PHONEFEATURE_GETVOLUMESPEAKER 0x00001000 |
The GetVolume packet PHONEHOOKSWITCHDEV_SPEAKER. |
PHONEFEATURE_GETVOLUMEHEADSET 0x00002000 |
The GetVolume packet PHONEHOOKSWITCHDEV_HEADSET. |
PHONEFEATURE_SETBUTTONINFO 0x00004000 |
The SetButtonInfo packet. |
PHONEFEATURE_SETDATA 0x00008000 |
The SetData packet. |
PHONEFEATURE_SETDISPLAY 0x00010000 |
The SetDisplay packet. |
PHONEFEATURE_SETGAINHANDSET 0x00020000 |
The SetGain packet PHONEHOOKSWITCHDEV_HANDSET. |
PHONEFEATURE_SETGAINSPEAKER 0x00040000 |
The SetGain packet PHONEHOOKSWITCHDEV_SPEAKER. |
PHONEFEATURE_SETGAINHEADSET 0x00080000 |
The SetGain packet PHONEHOOKSWITCHDEV_HEADSET. |
PHONEFEATURE_SETHOOKSWITCHHANDSET 0x00100000 |
The SetHookSwitch packet PHONEHOOKSWITCHDEV_HANDSET. |
PHONEFEATURE_SETHOOKSWITCHSPEAKER 0x00200000 |
The SetHookSwitch packet PHONEHOOKSWITCHDEV_SPEAKER. |
PHONEFEATURE_SETHOOKSWITCHHEADSET 0x00400000 |
The SetHookSwitch packet PHONEHOOKSWITCHDEV_HEADSET. |
PHONEFEATURE_SETLAMP 0x00800000 |
The SetLamp packet. |
PHONEFEATURE_SETRING 0x01000000 |
The SetRing packet. |
PHONEFEATURE_SETVOLUMEHANDSET 0x02000000 |
The SetVolume packet PHONEHOOKSWITCHDEV_HANDSET. |
PHONEFEATURE_SETVOLUMESPEAKER 0x04000000 |
The SetVolume packet PHONEHOOKSWITCHDEV_SPEAKER. |
PHONEFEATURE_SETVOLUMEHEADSET 0x08000000 |
The SetVolume packet PHONEHOOKSWITCHDEV_HEADSET. |
The following constants are present in TAPI versions 3.1 and later.
Constant/value |
Description |
---|---|
PHONEFEATURE_GENERICPHONE 0x10000000 |
must be used only with applications that use TAPI 3.1. |