BluetoothFindDeviceClose 函数 (bluetoothapis.h)

BluetoothFindDeviceClose 函数关闭与设备查询关联的枚举句柄。

语法

BOOL BluetoothFindDeviceClose(
  HBLUETOOTH_DEVICE_FIND hFind
);

参数

hFind

要关闭的查询的句柄。 在对 BluetoothFindFirstDevice 函数的上一次调用中获取。

返回值

成功关闭句柄时返回 TRUE 。 错误时返回 FALSE 。 有关失败的详细信息,请调用 GetLastError 函数。

要求

要求
最低受支持的客户端 Windows Vista、Windows XP 和 SP2 [仅限桌面应用]
最低受支持的服务器 无受支持的版本
目标平台 Windows
标头 bluetoothapis.h (包括 Bthsdpdef.h、BluetoothAPIs.h)
Library Bthprops.lib
DLL bthprops.cpl

另请参阅

BLUETOOTH_DEVICE_INFO

BLUETOOTH_DEVICE_SEARCH_PARAMS

BluetoothDisplayDeviceProperties

BluetoothFindFirstDevice

BluetoothFindNextDevice

BluetoothGetDeviceInfo

BluetoothRemoveDevice

BluetoothUpdateDeviceRecord