Bluetooth 和 WSALookupServiceEnd

蓝牙使用 WSALookupServiceEnd 函数终止在上一次调用中启动的查询,WSALookupServiceBegin,并可能在后续调用中扩展 WSALookupServiceNext。 调用 WSALookupServiceEnd 将终止查询并清理上下文。

蓝牙中的设备查询和服务发现的步骤与值得单独处理的步骤大相径庭。 有关蓝牙和 WSALookupServiceBegin 功能进行设备查询的详细信息,请参阅 蓝牙和 WSALookupServiceBegin for Device Inquiry。 有关蓝牙和用于服务发现的 WSALookupServiceBegin 函数的详细信息,请参阅 蓝牙和 WSALookupServiceBegin for Service Discovery

发现蓝牙设备和服务

蓝牙和 WSALookupServiceBegin 进行设备查询

蓝牙和 WSALookupServiceBegin for Service Discovery

蓝牙和 WSALookupServiceNext

BTH_QUERY_SERVICE

连接

SOCKADDR_BTH

WSALookupServiceBegin

WSALookupServiceEnd

WSALookupServiceNext

WSAQUERYSET

Windows 套接字