Share via


BluetoothFindDeviceClose-Funktion (bluetoothapis.h)

Die BluetoothFindDeviceClose-Funktion schließt ein Enumerationshandle, das einer Geräteabfrage zugeordnet ist.

Syntax

BOOL BluetoothFindDeviceClose(
  HBLUETOOTH_DEVICE_FIND hFind
);

Parameter

hFind

Handle für die zu schließende Abfrage. Abgerufen in einem vorherigen Aufruf der BluetoothFindFirstDevice-Funktion .

Rückgabewert

Gibt TRUE zurück, wenn das Handle erfolgreich geschlossen wurde. Gibt FALSE bei Einem Fehler zurück. Rufen Sie die GetLastError-Funktion auf, um weitere Informationen zum Fehler zu erhalten.

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

BLUETOOTH_DEVICE_INFO

BLUETOOTH_DEVICE_SEARCH_PARAMS

BluetoothDisplayDeviceProperties

BluetoothFindFirstDevice

BluetoothFindNextDevice

BluetoothGetDeviceInfo

BluetoothRemoveDevice

BluetoothUpdateDeviceRecord