http://bugs.winehq.org/show_bug.cgi?id=10414
--- Comment #35 from Stefan Dösinger stefandoesinger@gmx.at 2008-06-07 07:14:54 --- This file performs a bunch of Direct3D calls which result in something being rendered. The caclulation then runs through d3d9.dll, wined3d.dll, the graphics driver, graphics card and the result is read back from the graphics card.
What you probably want is the Direct3D documentation. You can find it on www.msdn.com, but the msdn docs are incomplete and sometimes wrong, and usually doesn't describe corner cases. So the more detailed documentation is the visual.c files. It essentially says DO A, DO B, DO C, RESULT is D. It doesn't say how or why because Windows is a black box. The challenge here is to find a scheme from the results(without looking at the Windows assembly code itself, since that is illegal).