BluetoothFindDeviceClose 関数は、デバイス クエリに関連付けられている列挙ハンドルを閉じます。
構文
BOOL BluetoothFindDeviceClose(
HBLUETOOTH_DEVICE_FIND hFind
);
パラメーター
hFind
閉じるクエリのハンドル。 BluetoothFindFirstDevice 関数の以前の呼び出しで取得されます。
戻り値
ハンドルが正常に閉じられたときに TRUE を 返します。 エラー時に FALSE を 返します。 エラーの詳細については、 GetLastError 関数を呼び出します。
要件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント | Windows Vista、SP2 を使用した Windows XP [デスクトップ アプリのみ] |
| サポートされている最小のサーバー | サポートなし |
| 対象プラットフォーム | Windows |
| ヘッダー | bluetoothapis.h (Bthsdpdef.h、BluetoothAPIs.h を含む) |
| Library | Bthprops.lib |
| [DLL] | bthprops.cpl |
こちらもご覧ください
BLUETOOTH_DEVICE_SEARCH_PARAMS