Export (0) Print
Expand All

BthCreateSCOConnection (Compact 2013)

3/26/2014

This function creates a Synchronous Connection-Oriented (SCO) connection to a device with the specified address.


int BthCreateSCOConnection(
  BT_ADDR* pbt,
  unsigned short* phandle
);

pbt

[in] Pointer to the Bluetooth address.

phandle

[out] Pointer to the connection handle.

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

Header

bt_api.h

Library

Btdrt.lib

Show:
© 2015 Microsoft