I wanna check is WiFi direct is open. Then close it.
I can disable “Microsoft Wi-Fi Direct Virtual Adapter” to close WiFi direct feature. Are there other ways to achieve this?
I find "DEVPKEY_WiFiDirect_IsConnected" in wlanapi.h, but unkonw how to use it. Where can I find a sample program?