http://bugs.winehq.org/show_bug.cgi?id=7477
--- Comment #17 from Dan Kegel dank@kegel.com 2008-03-29 18:17:52 --- The detection code in #10 comes from a little sample standalone C program, http://www.lesher.ws/vidfmt.c which accompanied an article on screen resolution detection http://www.lesher.ws/highcolor.html from the September 1999 issue of Windows Developer's Journal.