IPortDMus interface

The IPortDMus interface is the DMus port driver's primary interface. The PortCls system driver implements this interface and exposes it to the adapter driver that implements the IMiniportDMus object. An adapter driver creates an IPortWaveDMus object by calling PcNewPort with REFIID IID_IPortWaveDMus (see the 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).

Methods

The IPortDMus interface has these methods.

Method Description
IPortDMus::Notify The Notify method should be called from the miniport driver's interrupt service routine (ISR) when a hardware interrupt has occurred.
IPortDMus::RegisterServiceGroup The RegisterServiceGroup method registers a service group with the DMus port driver.

Requirements

   
Target Platform Windows
Header dmusicks.h