Constantes PHONEFEATURE_

As constantes PHONEFEATURE_ listam as operações que podem ser invocadas em um telefone usando essa API. Cada um dos valores de PHONEFEATURE_ (exceto PHONEFEATURE_GENERICPHONE) corresponde a uma função TAPI com um nome idêntico ou semelhante.

Constante/valor Descrição
PHONEFEATURE_GETBUTTONINFO
0x00000001
phoneGetButtonInfo
PHONEFEATURE_GETDATA
0x00000002
phoneGetData
PHONEFEATURE_GETDISPLAY
0x00000004
phoneGetDisplay
PHONEFEATURE_GETGAINHANDSET
0x00000008
phoneGetGain PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_GETGAINSPEAKER
0x00000010
phoneGetGain PHONEHOOKSWITCHDEV_SPEAKER
PHONEFEATURE_GETGAINHEADSET
0x00000020
phoneGetGain PHONEHOOKSWITCHDEV_HEADSET
PHONEFEATURE_GETHOOKSWITCHHANDSET
0x00000040
phoneGetHookSwitch PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_GETHOOKSWITCHSPEAKER
0x00000080
phoneGetHookSwitch PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_GETHOOKSWITCHHEADSET
0x00000100
phoneGetHookSwitch PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_GETLAMP
0x00000200
phoneGetLamp
PHONEFEATURE_GETRING
0x00000400
phoneGetRing
PHONEFEATURE_GETVOLUMEHANDSET
0x00000800
phoneGetVolume PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_GETVOLUMESPEAKER
0x00001000
phoneGetVolume PHONEHOOKSWITCHDEV_SPEAKER
PHONEFEATURE_GETVOLUMEHEADSET
0x00002000
phoneGetVolume PHONEHOOKSWITCHDEV_HEADSET
PHONEFEATURE_SETBUTTONINFO
0x00004000
phoneSetButtonInfo
PHONEFEATURE_SETDATA
0x00008000
phoneSetData
PHONEFEATURE_SETDISPLAY
0x00010000
phoneSetDisplay
PHONEFEATURE_SETGAINHANDSET
0x00020000
phoneSetGain PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_SETGAINSPEAKER
0x00040000
phoneSetGain PHONEHOOKSWITCHDEV_SPEAKER
PHONEFEATURE_SETGAINHEADSET
0x00080000
phoneSetGain PHONEHOOKSWITCHDEV_HEADSET
PHONEFEATURE_SETHOOKSWITCHHANDSET
0x00100000
phoneSetHookSwitch PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_SETHOOKSWITCHSPEAKER
0x00200000
phoneSetHookSwitch PHONEHOOKSWITCHDEV_SPEAKER
PHONEFEATURE_SETHOOKSWITCHHEADSET
0x00400000
phoneSetHookSwitch PHONEHOOKSWITCHDEV_HEADSET
PHONEFEATURE_SETLAMP
0x00800000
phoneSetLamp
PHONEFEATURE_SETRING
0x01000000
phoneSetRing
PHONEFEATURE_SETVOLUMEHANDSET
0x02000000
phoneSetVolume PHONEHOOKSWITCHDEV_HANDSET
PHONEFEATURE_SETVOLUMESPEAKER
0x04000000
phoneSetVolume PHONEHOOKSWITCHDEV_SPEAKER
PHONEFEATURE_SETVOLUMEHEADSET
0x08000000
phoneSetVolume PHONEHOOKSWITCHDEV_HEADSET
PHONEFEATURE_GENERICPHONE
0x10000000
(relevante somente para aplicativos que usam o TAPI 3.0 e posterior)

Requisitos

Requisito Valor
Versão do TAPI
Requer TAPI 2.0 ou posterior
Cabeçalho
Tapi.h