MM_MOM_DONE

The MM_MOM_DONE message is sent to a window when the specified MIDI system-exclusive or stream buffer has been played and is being returned to the application.

MM_MOM_DONE 
wParam = (WPARAM) hOutput 
lParam = (LPARAM) lpMidiHdr 

Parameters

hOutput

Handle to the MIDI output device that played the buffer.

lpMidiHdr

Pointer to a MIDIHDR structure identifying the buffer.

Return Values

This message does not return a value.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

Musical Instrument Digital Interface (MIDI), MIDI Messages, MIDIHDR