BluetoothIsDiscoverable-Funktion (bluetoothapis.h)

Die BluetoothIsDiscoverable-Funktion bestimmt, ob ein Bluetooth-Funkgerät oder ein Bluetooth-Funkgerät erkannt werden kann.

Syntax

BOOL BluetoothIsDiscoverable(
  HANDLE hRadio
);

Parameter

hRadio

Gültiges lokales Funkhandle oder NULL. Wenn NULL, wird die Ermittlung für alle lokalen Funkgeräte bestimmt. Wenn ein Funkgerät erkannt werden kann, ist der Funktionsaufruf erfolgreich.

Rückgabewert

Gibt TRUE zurück, wenn mindestens ein Bluetooth-Funkgerät erkannt werden kann. Gibt FALSE zurück, wenn keine Bluetooth-Funkgeräte erkannt werden können.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows Vista, Windows XP mit SP2 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Nicht unterstützt
Zielplattform Windows
Kopfzeile bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h)
Bibliothek Bthprops.lib
DLL bthprops.cpl

Weitere Informationen

BluetoothAuthenticateDevice

BluetoothAuthenticateMultipleDevices

BluetoothEnableDiscovery

BluetoothEnableIncomingConnections

BluetoothIsConnectable

BluetoothRegisterForAuthentication

BluetoothSendAuthenticationResponse

BluetoothUnregisterAuthentication