Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

MIM_DATA message

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



MIM_DATA 
dwParam1 = dwMidiMessage 
dwParam2 = dwTimestamp 


Parameters

dwMidiMessage

MIDI message that was received. The message is packed into a doubleword value as follows:

High wordHigh-order byteNot used.
Low-order byteContains a second byte of MIDI data (when needed).
Low wordHigh-order byteContains the first byte of MIDI data (when needed).
Low-order byteContains the MIDI status.

 

The two MIDI data bytes are optional, depending on the MIDI status byte.

dwTimestamp

Time that the message was received by the input device driver. The time stamp is specified in milliseconds, beginning at zero when the midiInStart function was called.

Return Value

This message does not return a value.

Remarks

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.

Requirements

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.