BLUETOOTH_DEVICE_INFO 函数

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.

posted @ 2018-11-19 09:42  小雨滴答  阅读(408)  评论(0编辑  收藏  举报