BLUETOOTH_DEVICE_INFO_STRUCT structure (bluetoothapis.h)

The BLUETOOTH_DEVICE_INFO structure provides information about a Bluetooth device.

Syntax

typedef struct _BLUETOOTH_DEVICE_INFO {
  DWORD             dwSize;
  BLUETOOTH_ADDRESS Address;
  ULONG             ulClassofDevice;
  BOOL              fConnected;
  BOOL              fRemembered;
  BOOL              fAuthenticated;
  SYSTEMTIME        stLastSeen;
  SYSTEMTIME        stLastUsed;
  WCHAR             szName[BLUETOOTH_MAX_NAME_SIZE];
} BLUETOOTH_DEVICE_INFO_STRUCT;

Members

dwSize

Size of the BLUETOOTH_DEVICE_INFO structure, in bytes.

Address

Address of the device.

ulClassofDevice

Class of the device.

fConnected

Specifies whether the device is connected.

fRemembered

Specifies whether the device is a remembered device. Not all remembered devices are authenticated.

fAuthenticated

Specifies whether the device is authenticated, paired, or bonded. All authenticated devices are remembered.

stLastSeen

Last time the device was seen, in the form of a SYSTEMTIME structure.

stLastUsed

Last time the device was used, in the form of a SYSTEMTIME structure.

szName[BLUETOOTH_MAX_NAME_SIZE]

Name of the device.

Remarks

See the Bluetooth class-of-device (CoD) codes for more information.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server None supported
Header bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h)

See also

SYSTEMTIME