The IDirectMusicCollection 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 on 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 |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusicc.h.