PHONEPRIVILEGE (Compact 2013)

3/26/2014

These bit-flag constants describe the various ways in which a phone device can be opened.

The following table shows the PHONEPRIVILEGE constants.

Value

Description

PHONEPRIVILEGE_MONITOR = 0x00000001

An application that opens a phone device with the monitor privilege is informed about events and state changes occurring on the phone. The application cannot invoke any operations on the phone device that would change its state. Therefore only status operations can be invoked. Multiple applications can monitor a phone device at any given time.

PHONEPRIVILEGE_OWNER = 0x00000002

An application that opens a phone device with the owner privilege is allowed to change the state of the lamps, ringer, display, hookswitch, and data blocks of the phone. Opening a phone device in owner mode also provides monitoring of the phone device. Only one application is allowed to be the owner of a phone device at any given time.

Remarks

These constants cannot be extended. All 32 bits are reserved.

Requirements

Header

tapi.h

See Also

Reference

TAPI Constants