Bluetooth and WSALookupServiceNext
Bluetooth uses the WSALookupServiceNext function to match queries specified in a previous call to WSALookupServiceBegin. The results of the WSALookupServiceNext function are determined by settings set forth in the WSAQUERYSET structure passed in the initial WSALookupServiceBegin function call.
The steps for device inquiry and service discovery in Bluetooth are sufficiently different to merit separate treatment. For more information on Bluetooth and the WSALookupServiceBegin function for device inquiries, see Bluetooth and WSALookupServiceBegin for Device Inquiry. For more information on Bluetooth and the WSALookupServiceBegin function for service discovery, see Bluetooth and WSALookupServiceBegin for Service Discovery.