http://bugs.winehq.org/show_bug.cgi?id=3930
--- Comment #22 from Damjan Jovanovic damjan.jov@gmail.com 2008-01-20 23:10:29 --- Don't include that patch into wine under any circumstances - it's a nasty hack that probably does the wrong thing.
Someone who really understands winmm needs to look at this and fix the real problem.
Also I need some way to determine which thread the callback is invoked on in Windows XP.