Microsoft DirectX 8.0 (C++)

IDirectMusicCollection8

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.

For more information on how to work with collections, see Using Instrument Collections.

The IDirectMusicCollection8 interface has the following methods:

Instruments EnumInstrument
  GetInstrument

All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

Requirements

  Header: Declared in dmusicc.h.