Compartilhar via


PHONEBUTTONSTATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

These bit-flag constants describe the button's positions.

The following table shows the PHONEBUTTONSTATE constants.

Value Description

PHONEBUTTONSTATE_DOWN = 0x00000002

The button is in the "down" state. That is, pressed down.

PHONEBUTTONSTATE_UNAVAIL = 0x00000008

Indicates that the up or down state of the button is not known to the service provider, and will not become known at a future time. TAPI versions 1.4 and later.

PHONEBUTTONSTATE_UNKNOWN = 0x00000004

Indicates that the up or down state of the button is not known at this time, but may become known at a future time. TAPI versions 1.4 and later.

PHONEBUTTONSTATE_UP = 0x00000001

The button is in the "up" state.

Remarks

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

For backward compatibility, it is the responsibility of the service provider to examine the negotiated API version on the phone, and to not use those PHONEBUTTONSTATE constants that the negotiated version does not support.

Requirements

Header tapi.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later