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 the BTE_MODE_CHANGEevent (103).

Syntax

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

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 Specificationat this Official Bluetooth Wireless Info Web site .

Requirements

Header bt_api.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also