2.2.3.2.10 PHONEPRIVILEGE_Constants

The PHONEPRIVILEGE_Constants are bit-flag constants that describe the various ways in which a phone device can be opened.

Constant/value

Description

PHONEPRIVILEGE_MONITOR

0x00000001

An application that opens a phone device when 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; so only status operations can be invoked. Multiple applications can monitor a phone device at any time.

PHONEPRIVILEGE_OWNER

0x00000002

An application that opens a phone device when 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 time.