Bluetooth uses the
BLOB structure to pass or receive transport-specific data to the WSAQUERYSET structure during calls to the
WSASetService or WSALookupService* functions.
For use with Bluetooth and the WSASetService function, the BLOB structure members are required to have the following settings:
- The cbsize member must be set to the size of the
BTH_SET_SERVICE structure used in the pBlobData member, in bytes.
- The pBlobData member must be a pointer to a
BTH_SET_SERVICE structure.
For use with Bluetooth and WSALookupServiceBegin for Device Inquiry, use the following settings:
- The cbsize member must be set to the size of the
BTH_QUERY_DEVICE structure used in the pBlobData member, in bytes.
- The pBlobData member must be a pointer to a
BTH_QUERY_DEVICE structure.
For use with Bluetooth and WSALookupServiceBegin for Service Discovery, use the following settings:
- The cbsize member must be set to the size of the
BTH_QUERY_SERVICE structure used in the pBlobData member, in bytes.
- The pBlobData member must be a pointer to a
BTH_QUERY_SERVICE structure.
For more information, see the Remarks section in the
BTH_SET_SERVICE structure reference page.
Related topics
-
Bluetooth
and WSALookupServiceBegin for Device Inquiry
-
Bluetooth
and WSALookupServiceBegin for Service Discovery
-
Bluetooth and
WSASetService
-
Windows
Sockets
-
BLOB
-
BTH_QUERY_DEVICE
-
BTH_QUERY_SERVICE
-
BTH_SET_SERVICE
-
WSALookupServiceBegin
-
WSAQUERYSET
-
WSASetService
Send comments about this topic to Microsoft
Build date: 2/3/2012