midiInMessage

  MMRESULT midiInMessage(hMidiIn, msg, dw1, dw2)    
  HMIDIIN hMidiIn;    
  UINT msg;    
  DWORD dw1;    
  DWORD dw2;    

The midiInMessage function sends messages to the MIDI device drivers.

Parameters

hMidiIn

The handle to the MIDI device.

msg

The message to send.

dw1

Parameter 1.

dw2

Parameter 2.

Return Value

Returns the value of the message sent.