The IMiniportMidi interface is the primary interface that is exposed by the miniport driver for a MIDI synthesizer device. The adapter driver creates the MIDI miniport object and passes the object's IMiniportMidi interface pointer to the MIDI port driver's IPort::Init method (see code example in Subdevice Creation). IMiniportMidi inherits from the IMiniport interface.
An adapter driver forms a miniport/port driver pair by binding an IMiniportMidi object to an IPortMidi object. The PortCls system driver registers this pair with the system as a MIDI filter (see MIDI and DirectMusic Filters).
The IMiniportMidi interface provides methods for initializing the miniport object, for creating a new MIDI stream, and for notifying the miniport driver of an interrupt-service request.
In addition to the methods that IMiniportMidi inherits from the IMiniport interface, IMiniportMidi supports the following methods: