BluetoothFindNextRadio 函数

BOOL BluetoothFindNextRadio(
    HBLUETOOTH_RADIO_FIND hFind,
    HANDLE* phRadio
);
BluetoothFindNextRadio找到下一个蓝牙设备。

参数:
hFind

Handle returned by a previous call to the BluetoothFindFirstRadio function.     由先前对BluetoothFindFirstRadio函数的调用返回的句柄。

phRadio

On input, a pointer to where the next enumerated radio HANDLE will be returned. Upon success, returns a pointer to the handle of the next available radio.

在输入时,返回下一个枚举的广播句柄的指针。成功后,返回指向下一个可用电台句柄的指针。

返回值:

Returns TRUE when the next available radio is successfully found.  当成功找到下一个可用电台时返回TRUE。

Returns FALSE when no new radios are found. Call the GetLastError function for more information on the error. The following table describe common errors:

当没有找到新的蓝牙设备时返回FALSE。调用GetLastError函数以获得关于错误的更多信息。下表描述了常见的错误:

Return codeDescription

ERROR_INVALID_HANDLE

The handle is NULL.   句柄为空。

ERROR_NO_MORE_ITEMS

No more radios were found.  没有再找到设备。

ERROR_OUTOFMEMORY

Out of memory.  内存不足。

 

Header

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

Library

Use Bthprops.lib.

转载于:https://www.cnblogs.com/qiwu1314/p/9981734.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值