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.
A version of this page is also available for
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.

Copy Code
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_ADDRtype.

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