BluetoothFindRadioClose 函数
BOOL BluetoothFindRadioClose(
HBLUETOOTH_RADIO_FIND hFind
);
关闭与查找蓝牙无线电相关的枚举句柄。
参数:
- hFind
-
Enumeration handle to close, obtained with a previous call to the BluetoothFindFirstRadio function.
要关闭的枚举句柄,使用之前对BluetoothFindFirstRadio函数的调用获得。
返回值:
Returns TRUE when the handle is successfully closed. Returns FALSE if the attempt fails to close the enumeration handle. For additional information on possible errors associated with closing the handle, call the GetLastError function.
当句柄成功关闭时返回TRUE。如果尝试未能关闭枚举句柄,则返回FALSE。有关关闭句柄可能出现的错误的更多信息,请调用GetLastError函数。
Header |
Declared in BluetoothAPIs.h; include Bthsdpdef.h and BluetoothAPIs.h. |
---|---|
Library |
Use Bthprops.lib. |