I'm using Qt 5.6 Alpha WinRT port on Windows 10 and want to access WinRT's Wifi Direct API from Qt app.
I know that WRL should be used for that. But I get different behavior using Wifi Direct API in my app and trying Windows Universal example from Microsoft's GitHub repository. More specifically I get E_NOTIMPL when trying to activate WiFiDirectDevice, while Microsoft's sample works just fine.
HStringReference strDevice(RuntimeClass_Windows_Devices_WiFiDirect_WiFiDirectDevice);
ComPtr<IInspectable> insp;
hr = RoActivateInstance(strDevice.Get(), insp.GetAddressOf());
So I'm confused about what type of API I'm calling (windows store or desktop) from Qt app?