Microsoft DirectX 8.0 (C++)

IDirectMusicSegmentState8

When the IDirectMusicPerformance8::PlaySegment or IDirectMusicPerformance8::PlaySegmentEx 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 IDirectMusicSegmentState8 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 IDirectMusicPerformance8.

IDirectMusicSegmentState8 supersedes IDirectMusicSegmentState and adds new methods.

The interface has the following methods:

Information GetObjectInPath
  GetRepeats
  GetSeek
  GetSegment
  GetStartPoint
  GetStartTime
Track Configuration SetTrackConfig

All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

Requirements

  Header: Declared in dmusici.h.