IPortDMus interface (dmusicks.h)

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).

Inheritance

The IPortDMus interface inherits from the IPort interface.

Methods

The IPortDMus interface has these methods.

 
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

Requirement Value
Target Platform Windows
Header dmusicks.h