APIs to enable/disable Bluetooth on Windows 10

我们在Win10 OS里可以手动方式在PC setting里对BT做on/off动作。

我想在win10 OS上自己写个程序,实现类似功能,对BT radio 做on/off 动作。请问有这样的API吗?或是有什么其他的方法可以实现?

查了很多资料,找到Andriod和WinCE以及Win8上的方法,但是Win10上找不到相关资料,很头疼,
Andriod:BluetoothAdapter.eable() and BluetoothAdapter.disable()
WinCE: BthGetMode() and BthSetMode()
Win8: BluetoothEnableRadio()
但是从MSDN上的说明来看,从Win8.1开始,从radio support DLL中导出的BluetoothEnableRadio API已经被cacel不用了。所以现在很头疼win10上要如何实现类似功能,还请大神帮忙!!

http://stackoverflow.com/questions/24235524/are-there-apis-to-enable-disable-bluetooth-on-windows-8-1