The IPortMidi interface is the MIDI port driver's primary interface. In Windows 98/Me and in Windows 2000 and later, the PortCls system driver implements this interface and exposes it to the adapter driver that implements the IMiniportMidi object. An adapter driver creates an IPortMidi object by calling PcNewPort and specifying REFIID IID_IPortMidi. IPortMidi inherits from the IPort 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).

In addition to the methods that IPortMidi inherits from the IPort interface, IPortMidi supports the following methods:





Send comments about this topic to Microsoft