BTH_HCI_EVENT_INFO structure (bthdef.h)

The BTH_HCI_EVENT_INFO structure is used in connection with obtaining WM_DEVICECHANGE messages for Bluetooth.

Syntax

typedef struct _BTH_HCI_EVENT_INFO {
  BTH_ADDR bthAddress;
  UCHAR    connectionType;
  UCHAR    connected;
} BTH_HCI_EVENT_INFO, *PBTH_HCI_EVENT_INFO;

Members

bthAddress

Address of the remote device, in the form of a BTH_ADDR structure.

connectionType

Type of connection. Valid values are HCI_CONNECTION_TYPE_ACL or HCI_CONNECTION_TYPE_SCO.

connected

Status of the connection. If nonzero, the connection has been established. If zero, the connection has been terminated.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server None supported
Header bthdef.h

See also

BTH_ADDR

Bluetooth and WM_DEVICECHANGE Messages