http://bugs.winehq.org/show_bug.cgi?id=6878
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2008-11-10 00:07:40 --- FWIW, someone tried making a small demo program in C++ that used this feature: http://www.codeguru.com/cpp/misc/misc/flickerfreedrawing/article.php/c3877 See also http://support.microsoft.com/kb/139217 "Windows maintains an accumulated bounding rectangle for each application. An application can retrieve this bounding rectangle by calling GetBoundsRect, and it can set this rectangle by calling SetBoundsRect. But this rectangle may not be the smallest bounding rectangle if your drawing functions contain functions doing text output such as TextOut. GDI does not calculate ahead of time how far across the TextOut functions are going to draw. GDI just sets the right side of the bounding rectangle to a large number. "
Krugle found a few possible calls to it, e.g. in bzflag and Neuroshare http://www.krugle.org/kse/files?query=GetBoundsRect and a whole lot of false positives.