共用方式為


PHONEFEATURE_常數

PHONEFEATURE_常數會列出可使用此 API 在手機上叫用的作業。 除了PHONEFEATURE_GENERICPHONE) 對應至具有相同或類似名稱的 TAPI 函式以外,每個PHONEFEATURE_值 (。

常數/值 描述
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
(只與使用 TAPI 3.0 和更新版本的應用程式相關)

規格需求

需求
TAPI 版本
需要 TAPI 2.0 或更新版本
標頭
Tapi.h