Platform SDK: DirectX |
The DirectMusicSegment.GetRepeats method retrieves the number of times that the looping portion of a segment is set to repeat.
object.GetRepeats() As Long
If the method succeeds, it returns the number of times that the looping portion repeats.
If the method fails, it raises an error, and Err.Number is set.
DirectMusicSegment.SetRepeats, DirectMusicSegment.SetLoopPoints, DirectMusicSegment.GetLoopPointStart, DirectMusicSegment.GetLoopPointEnd, DirectMusicSegmentState.GetRepeats