IMiniportMidi

The IMiniportMidi interface is the primary interface for a MIDI miniport driver for a MIDI synthesizer device. In Windows 98/Me and in Windows 2000 and later, the MIDI port driver communicates with the miniport driver through this interface. 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 the 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:

IMiniportMidi::Init

IMiniportMidi::NewStream

IMiniportMidi::Service

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft