IMiniportMidiStream interface

The IMiniportMidiStream interface represents the MIDI stream that flows through a pin on a MIDI filter. The filter wraps a MIDI synthesizer or capture device and is implemented by pairing a MIDI port driver with a MIDI miniport driver. The miniport driver implements the IMiniportMidiStream interface and exposes it to the port driver. The port driver creates a stream object with this interface by calling the miniport driver's IMiniportMidi::NewStream method. IMiniportMidiStream inherits from the IUnknown interface.

This interface provides methods for reading and writing a MIDI stream and for setting the format and state of a MIDI stream.

Inheritance

The IMiniportMidiStream interface inherits from the IUnknown interface.

Methods

The IMiniportMidiStream interface has these methods.

Method Description
IMiniportMidiStream::Read The Read method reads data from an incoming MIDI stream.
IMiniportMidiStream::SetFormat The SetFormat method sets the KS data format of the MIDI stream.
IMiniportMidiStream::SetState The SetState method sets the stream's transport state to a new state value.
IMiniportMidiStream::Write The Write method writes data to an outgoing MIDI stream.

Requirements

   
Target Platform Windows
Header portcls.h