MIM_DATA

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

Parameters

DWORD dwParam1

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.

DWORD dwParam2

Specifies the time that the message was received by the input device driver. The timestamp is specified in milliseconds, beginning at 0 when midiInStart was called.

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.

See Also

MM_MIM_DATA, MIM_LONGDATA