zoukankan      html  css  js  c++  java
  • BluetoothFindFirstRadio 函数

    HBLUETOOTH_RADIO_FIND BluetoothFindFirstRadio(
        BLUETOOTH_FIND_RADIO_PARAMS* pbtfrp,
        HANDLE* phRadio
    );

    BluetoothFindFirstRadio函数开始枚举本地蓝牙无线电。

    参数:

    pbtfrp

    Pointer to a BLUETOOTH_FIND_RADIO_PARAMS structure. The dwSize member of the BLUETOOTH_FIND_RADIO_PARAMS structure pointed to by pbtfrp must match the size of the structure. See Return Values for additional information about this parameter.

    指向BLUETOOTH_FIND_RADIO_PARAMS结构的指针。pbtfrp指向的BLUETOOTH_FIND_RADIO_PARAMS结构的dwSize成员必须与结构的大小匹配。有关此参数的其他信息,请参阅返回值。

    phRadio

    Pointer to where the first enumerated radio HANDLE will be returned.

    指向将返回第一个枚举的广播句柄的位置的指针。

    返回值:

    Returns a valid handle to the first Bluetooth radio upon successful completion; the phRadio parameter is a pointer to that handle.

    Returns NULL upon failure. Call the GetLastError function for more information on the error. The following table describe common errors:

    成功完成后返回第一个蓝牙电台的有效句柄;phRadio参数是指向该句柄的指针。

    失败时返回NULL。调用GetLastError函数以获得关于错误的更多信息。下表描述了常见的错误:

    Return codeDescription

    ERROR_INVALID_PARAMETER

    The pbtfrp parameter is NULL.  pbtfrp参数为空。

    ERROR_REVISION_MISMATCH

    The structure pointed to by pbtfrp is not the correct size.   pbtfrp指出的结构尺寸不正确。

    ERROR_OUTOFMEMORY

    Out of memory.   内存不足。

    Header

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

    Library

    Use Bthprops.lib.

  • 相关阅读:
    Linux查看文件夹大小
    mysql按照天或小时group分组统计
    eclipse可以调试但是无法打开网页,提示一直在加载
    自定义spring valid方式实现验证
    UniCode编码表及部分不可见字符过滤方案
    shiro中移除jsessionid的解决方案
    Apache Shiro去掉URL中的JSESSIONID
    shiro开启realm
    shiro注解@RequiresPermissions多权限任选一参数用法
    linux 复制粘贴
  • 原文地址:https://www.cnblogs.com/qiwu1314/p/9981674.html
Copyright © 2011-2022 走看看