Sent to a MIDI input device driver to add a given device to the list of output devices that receive MIDI throughput messages. If the MIDI input driver returns MMSYSERR_NOTSUPPORTED, the system will simulate throughput to one MIDI output or MIDI throughput device. This message is not intended to be sent directly by an application; instead, it is sent implicitly when an application calls the midiConnect function.
MMSYSERR_NOTSUPPORTED | The driver does not support MIDI throughput. Returning this value causes the system to simulate throughput on behalf of the driver. |
MMSYSERR_NOTENABLED | The driver failed to load or initialize. |
MIDIERR_NOTREADY | The MIDI hardware is busy with other data. |