I need to be able to open a MIDI Output Device, and then access that device with the MCI commands as well as the low level commands, like midiOutShortMsg.
The problem is that MCI doesn't have any way to send MIDI Channel Messages, so I can't use it to control the volume of individual MIDI Channels, for example. It would be easy enough to do this with midiOutShortMsg, but this requires the hMidiOut handle that is normally assigned using midiOutOpen. But I can't use midiOutOpen on a device that is already opened (by MCI_OPEN).
So, the question is: Having opened a device using MCI_OPEN, is there a way to use its hMidiOut handle (that I assume had to be assigned somewhere) to send a midiOutShortMsg to the same device.
I'm writing in Pascal (Delphi 1.0), for Win 3.1.