PHONEFEATURE
These 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 with an identical or similar name.
The following table shows the PHONEFEATURE constants.
Value | Description |
---|---|
PHONEFEATURE_GETGAINHANDSET = 0x00000008 | Corresponds to the phoneGetGain function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HANDSET constant. |
PHONEFEATURE_GETGAINSPEAKER = 0x00000010 | Corresponds to the phoneGetGain function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_SPEAKER constant. |
PHONEFEATURE_GETGAINHEADSET = 0x00000020 | Corresponds to the phoneGetGain function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_GETHOOKSWITCHHANDSET = 0x00000040 | Corresponds to the phoneGetHookSwitch function with the lpdwHookSwitchDevs parameter set to the PHONEHOOKSWITCHDEV_HANDSET constant. |
PHONEFEATURE_GETHOOKSWITCHSPEAKER = 0x00000080 | Corresponds to the phoneGetHookSwitch function with the lpdwHookSwitchDevs parameter set to the PHONEHOOKSWITCHDEV_SPEAKER constant. |
PHONEFEATURE_GETHOOKSWITCHHEADSET = 0x00000100 | Corresponds to the phoneGetHookSwitch function with the lpdwHookSwitchDevs parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_GETRING = 0x00000400 | Corresponds to the phoneGetRing function. |
PHONEFEATURE_GETVOLUMEHANDSET = 0x00000800 | Corresponds to the phoneGetVolume function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HANDSET constant. |
PHONEFEATURE_GETVOLUMESPEAKER = 0x00001000 | Corresponds to the phoneGetVolume function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_SPEAKER constant. |
PHONEFEATURE_GETVOLUMEHEADSET = 0x00002000 | Corresponds to the phoneGetVolume function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_SETGAINHANDSET = 0x00020000 | Corresponds to the phoneSetGain function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HANDSET constant. |
PHONEFEATURE_SETGAINSPEAKER = 0x00040000 | Corresponds to the phoneSetGain function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_SPEAKER constant. |
PHONEFEATURE_SETGAINHEADSET = 0x00080000 | Corresponds to the phoneSetGain function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_SETHOOKSWITCHHANDSET = 0x00100000 | Corresponds to the phoneSetHookSwitch function with the dwHookSwitchDevs parameter set to the PHONEHOOKSWITCHDEV_HANDSET constant. |
PHONEFEATURE_SETHOOKSWITCHSPEAKER = 0x00200000 | Corresponds to the phoneSetHookSwitch function with the dwHookSwitchDevs parameter set to the PHONEHOOKSWITCHDEV_SPEAKER constant. |
PHONEFEATURE_SETHOOKSWITCHHEADSET = 0x00400000 | Corresponds to the phoneSetHookSwitch function with the dwHookSwitchDevs parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_SETRING = 0x01000000 | Corresponds to the phoneSetRing function. |
PHONEFEATURE_SETVOLUMEHANDSET = 0x02000000 | Corresponds to the phoneSetVolume function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_SETVOLUMESPEAKER = 0x04000000 | Corresponds to the phoneSetVolume function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
PHONEFEATURE_SETVOLUMEHEADSET = 0x08000000 | Corresponds to the phoneSetVolume function with the dwHookSwitchDev parameter set to the PHONEHOOKSWITCHDEV_HEADSET constant. |
Remarks
These constants are valid for applications that have negotiated TAPI version of 2.0 and later.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Tapi.h.
See Also
phoneGetGain | phoneGetHookSwitch | phoneGetRing | phoneGetVolume | phoneSetGain | phoneSetHookSwitch | phoneSetRing | phoneSetVolume
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.