Platform SDK: DirectX

DirectMusicSegment.SetRepeats

The DirectMusicSegment.SetRepeats method sets the number of times that the looping portion of the segment is to repeat.

object.SetRepeats(lRepeats As Long)

Parameters

object
Object expression that resolves to a DirectMusicSegment object.
lRepeats
Number of repetitions.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

See Also

DirectMusicSegment.GetRepeats, DirectMusicSegment.SetLoopPoints