BthCreateSCOConnection (Compact 2013)
3/26/2014
This function creates a Synchronous Connection-Oriented (SCO) connection to a device with the specified address.
Syntax
int BthCreateSCOConnection(
BT_ADDR* pbt,
unsigned short* phandle
);
Parameters
- pbt
[in] Pointer to the Bluetooth address.
- phandle
[out] Pointer to the connection handle.
Return Value
The following table shows the possible return values.
Value |
Description |
---|---|
ERROR_SUCCESS |
Success. |
ERROR_SERVICE_NOT_ACTIVE |
The Bluetooth stack is not present. |
Requirements
Header |
bt_api.h |
Library |
Btdrt.lib |