How to turn on and off Bluetooth in Windows using the Windows API
I want to create a simple C++ app that programmatically toggles Bluetooth. I have successfully used bluetoothapis.h
to query and list information about Bluetooth devices, but I cannot find any function that can toggle the state of it (like the WlanSetInterface
function in wlanapi.h
).
How to turn on and off Bluetooth in Windows using the Windows API
I want to create a simple C++ app that programmatically toggles Bluetooth. I have successfully used bluetoothapis.h
to query and list information about Bluetooth devices, but I cannot find any function that can toggle the state of it (like the WlanSetInterface
function in wlanapi.h
).