IMusicTechnology interface (portcls.h)

The IMusicTechnology interface is used to change the music technology GUIDs that are specified in the data range descriptors for the pins belonging to a MIDI or DMus miniport driver. The GUID specifies the type of MIDI synthesizer device that the pin represents. The DMus miniport driver implements the IMusicTechnology interface and exposes this interface to the DMus port driver. To determine whether the miniport driver supports this interface, the port driver calls the miniport driver's IMiniportDMus::QueryInterface method with REFIID IID_IMusicTechnology. IMusicTechnology inherits from the IUnknown interface.

The system-supplied miniport drivers DMusUART and UART both support the IMusicTechnology interface. For information about these drivers, see PcNewMiniport.

For other MIDI and DMus miniport drivers, support for IMusicTechnology is optional. For more information, see Music Technology GUIDs.

Inheritance

The IMusicTechnology interface inherits from the IUnknown interface.

Methods

The IMusicTechnology interface has these methods.

 
IMusicTechnology::SetTechnology

The SetTechnology method changes the Technology member of each KSDATARANGE_MUSIC structure in the data ranges for the miniport driver's pins.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h