Previous Next

IMiniportDMus

The IMiniportDMus interface is the primary interface that is exposed by the miniport driver for a DirectMusic synthesizer device. 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 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.

In addition to the methods that IMiniportDMus inherits from the IMiniport interface, IMiniportDMus supports the following methods:

IMiniportDMus::Init

IMiniportDMus::NewStream

IMiniportDMus::Service