首页 > 其他 > 详细

BLUETOOTH_DEVICE_INFO 函数

时间:2018-11-19 10:02:47      阅读:250      评论:0      收藏:0      [点我收藏+]
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;

dwSize

Size of the BLUETOOTH_DEVICE_INFO structure, in bytes.      BLUETOOTH_DEVICE_INFO结构的大小(单位为字节)。

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

Name of the device. 设备名称。

 

Header

Declared in BluetoothAPIs.h; include Bthsdpdef.h and BluetoothAPIs.h.

BLUETOOTH_DEVICE_INFO 函数

原文:https://www.cnblogs.com/qiwu1314/p/9981494.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!