共用方式為


IDirectMusicBand8 Interface

The IDirectMusicBand8 interface represents a DirectMusic band object. A band is used to set the instrument choices and mixer settings for a set of performance channels . For an overview, see Using Bands. Bands can be stored directly in their own files or embedded in a style's band list or a segment's band track.

IDirectMusicBand8 is a define for IDirectMusicBand. The two interface names are interchangeable.

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

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

Method Description
CreateSegment Creates a segment object that can be played to dynamically perform the volume, pan, transposition, and patch change commands in the band.
Download Downloads the DLS data for instruments in the band to a performance object.
Unload Unloads the DLS data for instruments in the band previously downloaded.

Requirements

**  Header:** Dmusici.h
  Library: Dmband.dll, Dmbandd.dll

See Also

© 2004 Microsoft Corporation. All rights reserved.