With BluetoothFindFirstRadio and so on then DeviceIoControl with 0x411020 code
(some details at https://refcount.blogspot.com/2021/09/behind-bthportsys.html)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, I want to use bluetooth to scan other devices, but don't want other devices can see windows pc. I found that if "allow bluetooth devices to find this pc" is checked, other devices can also find windows pc at any time. So how to make the "allow bluetooth devices to find this pc" unchecked or just let windows do not broadcast self with windows api or shell scripts ? (do manual work to set it in system settings is not acceptable because IT can not deploy it widely)
BTW , I have tried BluetoothEnableDiscovery(NULL, false) , but it is can not work successfully when "allow bluetooth devices to find this pc" is checked...
Thanks.
With BluetoothFindFirstRadio and so on then DeviceIoControl with 0x411020 code
(some details at https://refcount.blogspot.com/2021/09/behind-bthportsys.html)