Share via


IDirectMusicSegmentState

When the IDirectMusicPerformance::PlaySegment method is called, the performance engine generates a segment-state object that tracks the state of the playing segment. It also provides the application with a handle to the segment, in the form of the IDirectMusicSegmentState interface, which can be used to track the playback status of the segment. This method can also be used directly to stop playback or remove the segment from the performance, using methods of IDirectMusicPerformance.

The interface has the following methods:

Information GetRepeats
  GetSeek
  GetSegment
  GetStartPoint
  GetStartTime

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

IDirectMusicPerformance | IDirectMusicPerformance::PlaySegment

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.