MM_MIM_DATA

This message is sent to a window when a MIDI message is received by a MIDI input device.

Parameters

WORD wParam

Specifies a handle to the MIDI input device that received the MIDI message.

LONG lParam

Specifies the MIDI message that was received. The message is packed into a DWORD with the first byte of the message in the low-order byte.

Return Value

None

Comments

MIDI messages received from a MIDI input port have running status disabled; each message is expanded to include the MIDI status byte.

This message is not sent when a MIDI system-exclusive message is received. No timestamp is available with this message. For timestamped input data, you must use the messages that are sent to low-level callback functions.

See Also

MIM_DATA, MM_MIM_LONGDATA