共用方式為


BT_MODE_CHANGE_EVENT

Send Feedback

This structure stores information about the BTE_MODE_CHANGE event (103).

typedef struct {
  DWORD dwSize;
  USHORT hConnection;
  BT_ADDR bta;
  BYTE bMode;
  USHORT usInterval;
} BT_MODE_CHANGE_EVENT, *PBT_MODE_CHANGE_EVENT;

Parameters

  • dwSize
    Size of this structure.
  • hConnection
    Handle to the Baseband connection.
  • bta
    Address of the remote Bluetooth device as a BT_ADDR type.
  • bMode
    Power mode for the connection. The following list shows the possible values.
  • ACTIVE (0x00)
  • HOLD (0x01)
  • SNIFF (0x02)
  • PARK (0x03)
  • usInterval
    Number of Baseband slots to wait in the new mode. For the timing parameters, the time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid time range is 0.625 msec to 40.9 Seconds. The valid range for N is 0x0001 to 0xFFFF.

    For more information about this member, see the Bluetooth Specification at this Official Bluetooth Wireless Info Web site.

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.