The IDirectMusicStyle interface provides access to a style object. The style object provides the performance with the information it needs to play musical patterns. For an overview, see Using Styles.
Since styles usually include bands and motifs, the IDirectMusicStyle interface provides methods for accessing these objects.
The DirectMusicStyle object also supports the IDirectMusicObject and IPersistStream interfaces for loading its data.
The methods of the IDirectMusicStyle interface can be organized in the following groups:
Enumeration | EnumBand |
EnumChordMap | |
EnumMotif | |
Information | GetBand |
GetChordMap | |
GetDefaultBand | |
GetDefaultChordMap | |
GetEmbellishmentLength | |
GetMotif | |
GetTempo | |
GetTimeSignature |
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 dmusici.h.