Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |