Catching messages under windows


i’m using mci to play midi’s under windows since i couldn’t find any good portable midi playing libs.
and i would really like to catch the MM_MCINOTIFY event generated by mci when it has finished
playing. i’ve tried to run SDL_EventState(SDL_ALL_EVENTS, SDL_ENABLE). but the event filter
(created with SDL_SetEventFilter) doesn’t get called when the midi stops playing (it get called on
normal events, so i know that is not the problem). ideas anyone?

//Anders ?strand