http://bugs.winehq.org/show_bug.cgi?id=9220
--- Comment #16 from Jörg Höhle hoehle@users.sourceforge.net 2010-01-26 05:30:51 --- comment #15 (non null dwFlags) is the same as comment #14 (no notification support) as the only known flags control callbacks. Unlike my hack in comment #13, a clean interim patch is for midimap to refuse to open when dwflags != 0 (i.e. better to show a NIY FIXME than to hang). With that, ff7demo also proceeds to the "knight swings the sword" scene -- it is happy because it gets to see MIDI devices, even though it cannot open them. I'll submit that soon while I'm still busy writing a testsuite for MIDI, fixing several small MIDI-related errors in winmm, winealsa/oss/coreaudio and implementing the notification. It could help several other apps with MIDI trouble.
Alas, ff7demo is currently unable to proceed to the 3 monsters, past the intro. I have no idea why it succeeded the other day.