Share via


BthCloseConnection (Compact 2013)

3/26/2014

This function closes the specified baseband connection.

Syntax

int BthCloseConnection(
  unsigned short handle
);

Parameters

  • handle
    [in] 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

See Also

Reference

Bluetooth API Connection Functions
BthCreateACLConnection
BthCreateSCOConnection