midiOutMessage

  MMRESULT midiOutMessage(hMidiOut, msg, dw1, dw2)    
  HMIDIOUT hMidiOut;    
  UINT msg;    
  DWORD dw1;    
  DWORD dw2;    

The midiOutMessage function sends messages to the MIDI device drivers.

Parameters

hMidiOut

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.