Share via


BthGetBasebandConnectionsEx (Compact 2013)

3/26/2014

This function retrieves baseband connection data for all current connections.

Syntax

int BthGetBasebandConnectionsEx(
    DWORD dwApiVersion,
    int cConnections,
    __out_ecount(cConnections) BASEBAND_CONNECTION_EX *pConnections,
    int *pcConnectionsReturned
);

Parameters

  • dwApiVersion
    [in] Required, but ignored. Set to zero.
  • cConnections
    [in] The number of connections in the pConnections buffer.
  • pConnections
    [out] Pointer to an array of baseband connections.
  • pcConnectionsReturned
    [out] Pointer to the number of connections returned.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_INSUFFICIENT_BUFFER

The buffer specified in cConnections is too small. pcConnectionsReturnedcontains the required size of the array.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API Management Functions
BASEBAND_CONNECTION_EX