Partager via


BT_ROLE_SWITCH_EVENT (Windows Embedded CE 6.0)

1/6/2010

This structure stores information about the BTE_ROLE_SWITCH (102) event.

Syntax

typedef struct {
  DWORD dwSize;
  BT_ADDR bta;
  UINT fRole : 1;
} BT_ROLE_SWITCH_EVENT, *PBT_ROLE_SWITCH_EVENT;

Members

  • dwSize
    Size of this structure.
  • bta
    Address of the remote Bluetooth device as a BT_ADDR type.
  • fRole
    New role for the device. Pass 0 (zero) switch the device to a master role, or pass 1 to switch it to a subordinate role.

Requirements

Header bt_api.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Bluetooth Application Development Structures
RequestBluetoothNotifications
StopBluetoothNotifications