http://bugs.winehq.org/show_bug.cgi?id=28301
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2011-09-12 15:50:27 CDT --- I could reproduce the first two failure modes you listed on Windows, so the bug is in the test, not ddraw. I'm no closer to a solution yet though.
Did you try to run the tests in Valgrind?