Previous Next

IPortDMus

The IPortDMus interface is the DMus port driver's primary interface. The PortCls system driver exposes this interface to the adapter driver that implements the DMus miniport object. An adapter driver creates an IPortWaveDMus object by calling PcNewPort with REFIID IID_IPortWaveDMus (see code example in Subdevice Creation). IPortDMus inherits from the IPortMidi 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).

In addition to the methods that IPortDMus inherits from the IPortMidi interface, IPortDMus supports the following methods:

IPortDMus::Notify

IPortDMus::RegisterServiceGroup