PHONE_HOOK_SWITCH_DEVICE enumeration (tapi3if.h)

The PHONE_HOOK_SWITCH_DEVICE enum is used to indicate the types of switch hooks on a phone device.

Syntax

typedef enum PHONE_HOOK_SWITCH_DEVICE {
  PHSD_HANDSET = 0x1,
  PHSD_SPEAKERPHONE = 0x2,
  PHSD_HEADSET = 0x4
} ;

Constants

 
PHSD_HANDSET
Value: 0x1
The handset's hookswitch.
PHSD_SPEAKERPHONE
Value: 0x2
The speakerphone's hookswitch.
PHSD_HEADSET
Value: 0x4
The headset's hookswitch.

Requirements

Requirement Value
Header tapi3if.h

See also

ITPhone::get_HookSwitchState

ITPhone::put_HookSwitchState

ITPhoneEvent::get_HookSwitchDevice