蓝牙函数

本部分中的函数用于管理蓝牙设备和服务。

还支持使用 Windows 套接字编程接口的蓝牙。 有关使用 Windows 套接字接口对蓝牙进行编程的详细信息,请参阅 对蓝牙的 Windows 套接字支持。

部分 内容
BluetoothAuthenticateDevice 将身份验证请求发送到远程蓝牙设备。
BluetoothAuthenticateDeviceEx 将身份验证请求发送到远程蓝牙设备。 此外,此函数允许将带外数据传递到要进行身份验证的设备函数调用中。
BluetoothAuthenticateMultipleDevices 使调用方能够提示在蓝牙连接向导的单个实例期间对多个设备进行身份验证。
BluetoothDisplayDeviceProperties 调用控制面板设备信息属性表。
BluetoothEnableDiscovery 更改本地蓝牙无线电或无线电的发现状态。
BluetoothEnableIncomingConnections 修改本地蓝牙无线电是否接受传入连接。
BluetoothEnumerateInstalledServices 枚举在蓝牙设备上启用的服务的 GUID(全局唯一标识符)。
BluetoothFindDeviceClose 关闭与设备查询关联的枚举句柄。
BluetoothFindFirstDevice 开始枚举本地蓝牙设备。
BluetoothFindFirstRadio 开始枚举本地蓝牙无线电。
BluetoothFindNextDevice 查找下一个蓝牙设备。
BluetoothFindNextRadio 查找下一个蓝牙无线电。
BluetoothFindRadioClose 关闭与查找蓝牙无线电关联的枚举句柄。
BluetoothGetDeviceInfo 检索有关远程蓝牙设备的信息。 蓝牙设备以前必须通过成功的设备查询函数调用进行标识。
BluetoothGetRadioInfo 获取有关蓝牙无线电的信息。
BluetoothIsConnectable 确定蓝牙无线电或无线电是可连接的。
BluetoothIsDiscoverable 确定蓝牙无线电或无线电是可发现的。
BluetoothRegisterForAuthentication 注册特定蓝牙设备请求身份验证时调用的回调函数。
BluetoothRegisterForAuthenticationEx 为引脚请求、数字比较和回调函数注册应用程序。
BluetoothRemoveDevice 删除蓝牙设备和计算机之间的身份验证,清除有关设备的任何缓存信息。
BluetoothSdpEnumAttributes 通过 SDP 记录流枚举并调用记录中每个属性的回调函数。
BluetoothSdpGetAttributeValue 检索属性标识符的属性值。
BluetoothSdpGetContainerElementData 循环访问容器流,并返回容器元素中包含的每个元素。
BluetoothSdpGetElementData 从 SDP 流中检索和分析单个元素。
BluetoothSdpGetString 将 SDP 记录中嵌入的原始字符串转换为 Unicode 字符串。
BluetoothSelectDevices 启用蓝牙设备选择。
BluetoothSelectDevicesFree 释放与之前调用 BluetoothSelectDevices 函数关联的资源。
BluetoothSendAuthenticationResponse 在收到发送密钥响应的身份验证请求时调用。
BluetoothSendAuthenticationResponseEx 在收到发送通行密钥或数字比较响应的身份验证请求时调用。
BluetoothSetLocalServiceInfo 设置特定蓝牙无线电的本地服务信息。
BluetoothSetServiceState 启用或禁用蓝牙设备的服务。
BluetoothUnregisterAuthentication 删除以前通过调用 BluetoothRegisterForAuthentication 函数注册的回调例程的注册。
BluetoothUpdateDeviceRecord 更新有关蓝牙设备的本地计算机缓存。