BluetoothFindDeviceClose function (bluetoothapis.h)

The BluetoothFindDeviceClose function closes an enumeration handle associated with a device query.

Syntax

BOOL BluetoothFindDeviceClose(
  HBLUETOOTH_DEVICE_FIND hFind
);

Parameters

hFind

Handle for the query to be closed. Obtained in a previous call to the BluetoothFindFirstDevice function.

Return value

Returns TRUE when the handle is successfully closed. Returns FALSE upon error. Call the GetLastError function for more information on the failure.

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

BLUETOOTH_DEVICE_INFO

BLUETOOTH_DEVICE_SEARCH_PARAMS

BluetoothDisplayDeviceProperties

BluetoothFindFirstDevice

BluetoothFindNextDevice

BluetoothGetDeviceInfo

BluetoothRemoveDevice

BluetoothUpdateDeviceRecord