BluetoothIsConnectable function (bluetoothapis.h)

The BluetoothIsConnectable function determines whether a Bluetooth radio or radios is connectable.

Syntax

BOOL BluetoothIsConnectable(
  HANDLE hRadio
);

Parameters

hRadio

Valid local radio handle, or NULL. If NULL, all local radios are checked for connectability; if any radio is connectable, the function call succeeds.

Return value

Returns TRUE if at least one Bluetooth radio is accepting incoming connections. Returns FALSE if no radios are accepting incoming connections.

Remarks

If multiple Bluetooth radios exist, the first radio to return that it is connectable causes the BluetoothIsConnectable function to succeed.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h)
Library Bthprops.lib
DLL bthprops.cpl

See also

BluetoothAuthenticateDevice

BluetoothAuthenticateMultipleDevices

BluetoothEnableDiscovery

BluetoothEnableIncomingConnections

BluetoothIsDiscoverable

BluetoothRegisterForAuthentication

BluetoothSendAuthenticationResponse

BluetoothUnregisterAuthentication