About setting 0 pixel format, I'll reorder things although I'm not sure it matters so much.
We just failed to set the pixel format, so I don't think there's any reason to unset it here.
We can get there if setting pixel format succeeded but somehow wglMakeCurrent didn't, in which case we need to undo what we did.
Before 2/4 this is just illegal, and after 2/4 the pixel format is per-DC, and we're releasing the DCs here, so this should have no effect?
But that's the point? `wglSetPixelFormatWINE(dc, 0)` is meant to be an explicit request to undo what was done in `wglSetPixelFormatWINE(dc, format)` and reset the DC internal pixel format and drawable, to avoid doing it `ReleaseDC` which has proven problematic in the past. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9382#note_121621