5.1.1.10 PHONEPRIVILEGE

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

PHONEPRIVILEGE_MONITOR

0x00000001

PHONEPRIVILEGE_OWNER

0x00000002


Values

The PHONEPRIVILEGE constants have the following values.

PhonePrivilege_monitor
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; so only status operations can be invoked. Multiple applications can monitor a phone device at any given time.

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

Extensibility

The high order 16 bits can be assigned for device specific extensions. The low order 16 bits are reserved.

Comments

None.

See Also

Functions: phoneOpen, phoneGetDevCaps, phoneGetStatus
Data Types: PHONECAPS, PHONESTATUS