http://bugs.winehq.org/show_bug.cgi?id=27184
--- Comment #5 from Jörg Höhle hoehle@users.sourceforge.net 2011-08-08 08:46:10 CDT --- Indeed, I'm guilty of "copy&paste error" too. I noticed that too when looking at "git log -p" and decided to run capture.ok You'll see that "getbuf_last = *frames" fails the test too because frames may be 0. *frames=1 passes the tests, but should not be needed. What's needed is to fix capture's allowed ordering of GetBuffer/ReleaseBuffer, but I have no access to a capture enabled mmdevapi. E.g. I believe that ReleaseBuffer(0) always returns S_OK, like in the render case.