Bluetooth Functions

Send Feedback

The following table lists the functions for Bluetooth.

Note   Some of these functions are Winsock functions. However, the information that is presented in them is specific to Bluetooth.

Programming element PPC SP Description
accept (Bluetooth) X X This function permits an incoming connection attempt on a socket.
bind (Bluetooth) X X This function associates a local address with a socket.
connect (Bluetooth) X X This function establishes a connection to a specified socket.
Getpeername (Bluetooth) X X This function retrieves the name of the peer to which a socket is connected.
getsockname (Bluetooth) X X This function retrieves the local name for a socket.
getsockopt (Bluetooth) X X This function retrieves a socket option.
setsockopt (Bluetooth) X X This function sets a socket option.
socket (Bluetooth) X X This function creates a socket that is bound to a specific service provider.
WSALookupServiceBegin (Bluetooth) X X This function initiates a client query that is constrained by the information contained within a WSAQUERYSET structure.
WSALookupServiceEnd (Bluetooth) X X This function frees the handle after previous calls to the WSALookupServiceBegin and WSALookupServiceNext functions.
WSALookupServiceNext (Bluetooth) X X This function retrieves the results of an SDP search.
WSASetService (Bluetooth) X X This function adds, updates, or removes service records from the local SDP database.
RequestBluetoothNotifications X X This function is called by an application to register the class of events for which to receive notifications.
StopBluetoothNotifications X X This function is called by the application to stop receiving event notification for class of events registered in an earlier call to RequestBluetoothNotifications.
BthGetMode X X Retrieves the current mode of operation of the Bluetooth radio.
BthSetMode X X Sets the Bluetooth mode of operation, reflects it in the control panel, and persists that state across hardware insertion and reboot.

See Also

Bluetooth | Bluetooth Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.