MM_MIM_ERROR message

The MM_MIM_ERROR message is sent to a window when an invalid MIDI message is received.

MM_MIM_ERROR 
wParam = (WPARAM) hInput 
lParam = (LPARAM) (DWORD) lMidiMessage 

Parameters

hInput

Handle to the MIDI input device that received the invalid message.

lMidiMessage

Invalid MIDI message. The message is packed into a DWORD value with the first byte of the message in the low-order byte.

Return Value

This message does not return a value.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mmsystem.h (include Windows.h)

See also

Musical Instrument Digital Interface (MIDI)

MIDI Messages