Share via


BT_AVDTP_STATE_CHANGE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure stores information about BTE_AVDTP_STATE (500) event for an Advanced Audio Distribution Profile (A2DP) connection. This event notifies state changes in the Audio/Video Distribution Transport Protocol (AVDTP) layer.

typedef struct {
    DWORD dwSize; 
    BT_ADDR bta; 
    DWORD dwState;
} BT_AVDTP_STATE_CHANGE, *PBT_AVDTP_STATE_CHANGE;

Members

  • dwSize
    Size of this structure.
  • bta
    Address of the remote Bluetooth device as a BT_ADDR type.
  • dwState
    Specifies the current state of the AVDTP stream. The following table shows the possible values.

    Value Description

    BT_AVDTP_STATE_DISCONNECTED (0)

    The AVDTP layer is not currently connected with the peer A2DP device.

    BT_AVDTP_STATE_SUSPENDED (1)

    The AVDTP layer is currently connected with the peer A2DP device but the connection is not active.

    BT_AVDTP_STATE_STREAMING (2)

    The AVDTP layer is currently connected with the peer A2DP device and is streaming audio.

Remarks

Requirements

Header bt_ddi.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Concepts

Handling Events from the Bluetooth Stack

Other Resources