IPortMidi interface is the MIDI port driver's primary interface. 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).
The IPortMidi interface inherits from the IPort interface.
The IPortMidi interface has these methods.
|IPortMidi::Notify||The Notify method notifies the port driver that an interrupt indicating the progress of the DMA pointer has occurred. It should be called from the miniport driver's interrupt service routine (ISR).|
|IPortMidi::RegisterServiceGroup||The RegisterServiceGroup method registers the service group to be used for the IPortMidi::Notify method.|