IDirectMusicSegment
This interface represents a segment, a chunk of music made up of multiple tracks. Because almost all the information that defines a segment is stored in the tracks, and because tracks can be nearly anything, the segment itself is a relatively simple object. There are methods to access data in tracks, even though the segment object has no knowledge of the nature of the data.
The DirectMusicSegment object also supports the IDirectMusicObject and IPersistStream interfaces for loading its data.
The methods of the IDirectMusicSegment interface can be grouped as follows:
Timing and looping | GetDefaultResolution |
GetLength | |
GetLoopPoints | |
GetRepeats | |
GetStartPoint | |
SetDefaultResolution | |
SetLength | |
SetLoopPoints | |
SetRepeats | |
SetStartPoint | |
Tracks | GetTrack |
GetTrackGroup | |
InsertTrack | |
RemoveTrack | |
Notification | AddNotificationType |
RemoveNotificationType | |
Parameters | GetParam |
SetParam | |
Tools | GetGraph |
SetGraph | |
Miscellaneous | Clone |
InitPlay | |
SetPChannelsUsed |
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: Dmusici.h.
Link Library: Dmusic.lib.
See Also
Last updated on Monday, April 12, 2004
© 1992-2002 Microsoft Corporation. All rights reserved.