Microsoft DirectX 9.0

IDirectMusicCollection8 Interface

The IDirectMusicCollection8 interface manages an instance of a DLS file. The collection provides methods to access instruments and download them to the synthesizer by means of the IDirectMusicPort8 interface.

IDirectMusicCollection8 is a type definition for IDirectMusicCollection. The two interface names are interchangeable.

The DirectMusicCollection object also supports the IDirectMusicObject8 and IPersistStream interfaces for loading its data.

In addition to the methods inherited from IUnknown, the IDirectMusicCollection8 interface exposes the following methods.

Method Description
EnumInstrument Retrieves the patch and name of an instrument by its index in the collection.
GetInstrument Retrieves an instrument by its patch number.

Requirements

  Header: Declared in dmusicc.h.

See Also