https://bugs.winehq.org/show_bug.cgi?id=41224
--- Comment #4 from Henri Verbeet hverbeet@gmail.com --- Using wined3d on Windows is one of those things that's nominally supported, but in practice we depend on the people actually using it to keep it working. I.e., we try not to break it on purpose, but you're mostly on your own.
That said, it may just be a matter of adding wglGetPixelFormat() in the "USE_WIN32_OPENGL" block in wined3d_adapter_init(), similar to wglSwapBuffers().