共用方式為


BT_ROLE_SWITCH_EVENT

Send Feedback

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

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. Master (0) or slave (1).

Requirements

Pocket PC: Windows Mobile 5.0 and later.
Smartphone: Windows Mobile 5.0 and later.
OS Versions: Windows CE 5.01 and later.
Header: Bt_api.h.

See Also

Bluetooth Application Development Structures | RequestBluetoothNotifications | StopBluetoothNotifications

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.