https://bugs.winehq.org/show_bug.cgi?id=46774
--- Comment #3 from Lorenzo Ferrillo lorenzofer@live.it --- Isn't suited for submission.
Firstly according to the present tests on windows, the pixel format cannot be selected on GetDestktopWindow DC, and this means that there is probably something incomplete in the windowless directx context.
Second, the patch is tested only above wine-staging, that already has a workaround for SetPixelFormat on the GetDesktopWindow DC. This patch will not work without this staging patch.
Third, other apps that create a windowless DC doesn't have win_handle setted to null.
It may be suited for inclusion in wine-staging, until the proper beheviour is documented and tested, but there may be a way to fix this better.