DirectX SDK

IDirectMusicSegment::GetLoopPoints

The IDirectMusicSegment::GetLoopPoints method retrieves the start and end loop points inside the segment that repeat the number of times set by the IDirectMusicSegment::SetRepeats method.

HRESULT GetLoopPoints(
  MUSIC_TIME* pmtStart, 
  MUSIC_TIME* pmtEnd
);

Parameters

pmtStart
Address of a variable to receive the start point of the loop.
pmtEnd
Address of a variable to receive the end point of the loop. A value of 0 indicates that the entire segment loops.

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::SetLoopPoints, Segment Timing