The midiInMessage function sends a message to the MIDI device driver.
DWORD midiInMessage(
HMIDIIN hMidiIn,
UINT msg,
DWORD dw1,
DWORD dw2
);
Returns the value returned by the audio device driver.
This function is used only for driver-specific messages that are not supported by the MIDI API.
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.
Musical Instrument Digital Interface (MIDI) Overview, MIDI Functions