Platform SDK: DirectX

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

  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.