Share via


constantes PHONEFEATURE_

Les constantes PHONEFEATURE_ répertorient les opérations qui peuvent être appelées sur un téléphone à l’aide de cette API. Chacune des valeurs PHONEFEATURE_ (à l’exception de PHONEFEATURE_GENERICPHONE) correspond à une fonction TAPI portant un nom identique ou similaire.

Constante/valeur Description
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
(applicable uniquement aux applications utilisant TAPI 3.0 et versions ultérieures)

Spécifications

Condition requise Valeur
Version TAPI
Nécessite TAPI 2.0 ou version ultérieure
En-tête
Tapi.h