IMiniportDMus interface

The IMiniportDMus interface is the primary interface for a DMus miniport driver for a DirectMusic synthesizer device. The DMus port driver communicates with the miniport driver through this interface. The adapter driver creates the DMus miniport object and passes the object's IMiniportDMus interface pointer to the port driver's IPort::Init method (see the code example in Subdevice Creation). IMiniportDMus inherits from the IMiniport interface.

An adapter driver forms a miniport/port driver pair by binding an IMiniportDMus object to an IPortDMus object. The PortCls system driver registers this pair with the system as a DirectMusic filter (see MIDI and DirectMusic Filters).

The IMiniportDMus interface provides methods for initializing the miniport driver, for creating a new DirectMusic stream, and for notifying the miniport driver of an interrupt service request.


The IMiniportDMus interface has these methods.

Method Description
IMiniportDMus::Init The Init method initializes the DMus miniport object.
IMiniportDMus::NewStream The NewStream method creates a new instance of a logical stream associated with a specified physical channel.
IMiniportDMus::Service This method does not currently need to be implemented in the miniport driver. The Service method is currently unused.


Target Platform Windows
Header dmusicks.h (include Dmusicks.h)