Platform SDK: DirectX

IDirectMusicSegmentState::GetStartPoint

The IDirectMusicSegmentState::GetStartPoint method returns the offset into the segment at which play begins or began.

HRESULT GetStartPoint(
  MUSIC_TIME * pmtStart
);

Parameters

pmtStart
Address of a variable to receive the music-time offset from the start of the segment at which the segment state initially plays.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

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.

See Also

IDirectMusicSegment::SetStartPoint, IDirectMusicSegmentState::GetStartTime