IDirectMusicCollection

This 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 IDirectMusicPort interface.

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

For more information about how to work with collections, see Using Downloadable Sounds.

The IDirectMusicCollection 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

OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusicc.h.
Link Library: Dmusic.lib.

See Also

IDirectMusicObject | IDirectMusicPort

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.