Bluetooth 和 WSALookupServiceNext

蓝牙使用 WSALookupServiceNext 函数匹配先前调用 WSALookupServiceBegin中指定的查询。 WSALookupServiceNext 函数的结果由在初始 WSALookupServiceBegin 函数调用中传递的 WSAQUERYSET 结构中设置确定。

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

发现蓝牙设备和服务

蓝牙和 WSALookupServiceBegin 进行设备查询

蓝牙和 WSALookupServiceBegin for Service Discovery

蓝牙和 WSALookupServiceEnd

BTH_QUERY_SERVICE

连接

SOCKADDR_BTH

WSALookupServiceBegin

WSALookupServiceEnd

WSALookupServiceNext

WSAQUERYSET