Josh DuBois duboisj@codeweavers.com writes:
Ken also noted that the error reporting could be simpler if it were in gdi instead of user32. My impression, after having poked at it a while with Ken, is that it is in theory possible that an application which never tried to create a window would print less noise with the errors being reported as they are here than it would if the errors were reported directly from gdi, so that this may be superior because it is quieter. However, I'm not an expert and if the rigamarole is not worth the extra lines, I'm sure Alexandre will indicate so by not applying this.
It needs to be printed on window creation because of command line apps, but that's not a reason for doing something as ugly and complicated as this...