共用方式為


IDirectMusicPatternTrack8 Interface

The IDirectMusicPatternTrack8 interface represents a track that contains a single pattern . A pattern track is similar to a sequence track, but because it contains music values rather than fixed notes, it responds to chord changes.

You can obtain this interface by passing IID_IDirectMusicPatternTrack to the IDirectMusicTrack8::QueryInterface method of the track.

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

Method Description
CreateSegment Creates a segment containing the pattern track.
SetPatternByName Sets the pattern to be played by the track.
SetVariation Sets the variations to be played by a part in the track.

Requirements

**  Header:** Dmusici.h

See Also

© 2004 Microsoft Corporation. All rights reserved.