BluetoothFindRadioClose 函式 (bluetoothapis.h)

BluetoothFindRadioClose 函式會關閉與尋找藍牙無線電相關聯的列舉句柄。

語法

BOOL BluetoothFindRadioClose(
  HBLUETOOTH_RADIO_FIND hFind
);

參數

hFind

要關閉的列舉句柄,使用先前對 BluetoothFindFirstRadio 函式的呼叫取得。

傳回值

成功關閉句柄時,傳回 TRUE 。 如果嘗試關閉列舉句柄失敗,則會傳回 FALSE 。 如需與關閉句柄相關聯的可能錯誤詳細資訊,請呼叫 GetLastError 函 式。

規格需求

需求
最低支援的用戶端 Windows Vista、Windows XP SP2 [僅限傳統型應用程式]
最低支援的伺服器 都不支援
目標平台 Windows
標頭 bluetoothapis.h (包括 Bthsdpdef.h、BluetoothAPIs.h)
程式庫 Bthprops.lib
Dll bthprops.cpl

另請參閱

BLUETOOTH_FIND_RADIO_PARAMS

BluetoothFindFirstRadio

BluetoothFindNextRadio

BluetoothGetRadioInfo

GetLastError