In addition, the port driver communicates with the miniport driver's stream objects through their IMiniportMidiStream interfaces. The miniport driver uses the port driver's IPortMidi interface to notify the port driver of hardware interrupts. The MIDI port and miniport driver objects communicate with each other through their respective IPortMidi and IMiniportMidi interfaces. Registers a service group object with the port driver.Ī service group contains a list of one or more service routines that are to be called when the miniport driver calls Notify for more information, see Service Sink and Service Group Objects. Notifies the port driver that the MIDI synthesizer or capture device has advanced to a new position in the MIDI stream. IPortMidi provides the following additional methods: IPortMidi inherits the methods in base interface IPort. The MIDI port driver exposes an IPortMidi interface to the miniport driver. The adapter driver provides a corresponding MIDI miniport driver that binds to the MIDI port driver object to form a MIDI filter (see MIDI and DirectMusic Filters) that can capture or render a MIDI stream. The MIDI port driver manages a MIDI synthesizer or capture device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |