https://bugs.winehq.org/show_bug.cgi?id=15934
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Henri Verbeet from comment #11)
There are probably a number of things that could go wrong there, but for a start you'll probably want to check where you're getting hWndPaint from, if that's a valid window, if it's visible, etc. Also, does this use ddraw?
The window is indeed invisible without the WS_VISIBLE style, so I did a ShowWindow and checked with IsWindowVisible, the return is always 0 because it hits the code:
3078 if (list[0]) 3079 { 3080 for (i = 0; list[i+1]; i++) 3081 if (!(GetWindowLongW( list[i], GWL_STYLE ) & WS_VISIBLE)) break ; 3082 retval = !list[i+1] && (list[i] == GetDesktopWindow()); /* top message window isn't visible */ 3083 }
Line 3082 makes retval = 0. So even after ShowWindow the window is still hidden somehow. I don't know what else I could do to go further.
I don't know if it uses ddraw, the game itself works perfectly. Only the videos don't play.