zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    golang 用tar打包文件或文件夹
    golang 最和谐的子序列
    golang 轮训加密算法
    golang map
    golang 队列
    golang 栈操作
    golang 多维数组
    golang 数组反转
    c# sendmessage control to scroll
    c# 启动的时候向其他程序传值
  • 原文地址:https://www.cnblogs.com/qiwu1314/p/9981734.html
Copyright © 2011-2022 走看看