Microsoft DirectX 8.0 (C++)

IDirectMusicSegmentState8::GetStartTime

Gets the performance time at which the segment started or will start playing.

HRESULT GetStartTime(
  MUSIC_TIME* pmtStart
);

Parameters

pmtStart
Address of a variable that receives the music-time offset stored in this segment state.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Remarks

The time retrieved by this method is the resolved play time within the performance where the segment start time was cued. For more information, see Segment Timing.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicSegment8::SetStartPoint, IDirectMusicSegment8::GetStartPoint, IDirectMusicSegmentState8::GetStartPoint