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.

  • 相关阅读:
    css位置相关元素
    用smarty模板做的登录
    时间查询插件
    smarty 总结和分析
    手风琴特效
    Mysql 知识点总结
    Javascript实现图片的预加载的完整实现
    phpcms 列表页中调用其下的所有子栏目(或特定的子栏目)的方法
    phpcms v9表单实现问答咨询功能
    Cocos2d-x学习之 整体框架描述
  • 原文地址:https://www.cnblogs.com/qiwu1314/p/9981674.html
Copyright © 2011-2022 走看看