midiInMessage

The midiInMessage function sends a message to the MIDI device driver.

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

Parameters

hMidiIn
Handle of the MIDI device.
msg
Message to send.
dw1 and dw2
Message parameters.

Return Values

Returns the value returned by the audio device driver.

Remarks

This function is used only for driver-specific messages that are not supported by the MIDI API.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.
  Import Library: Use winmm.lib.

See Also

Musical Instrument Digital Interface (MIDI) Overview, MIDI Functions