https://bugs.winehq.org/show_bug.cgi?id=42695
--- Comment #13 from Cristóbal Camarero nakacristo@hotmail.com --- If we add CoInitialize(NULL); inside the definition of CoCreateInstance before calling CoCreateInstanceEx then the error "Failed to create WIC Factory" no longer appears. Then it advances enough to show the original error of "Failed to retrive IDXGIFactory from adapter".
This error appears when creating an object of iid 50c83a1c-e072-4c48-87b0-3630fa36a6d0, that is, a IDXGIFactory2. I tried to fake it in dxgi_factory_QueryInterface acting as it was OK but it only gets me a silent failure.
I have been using a modified wine-2.14-staging.