Microsoft DirectX 8.0 (Visual Basic)

DirectMusicSegment8.GetRepeats

Retrieves the number of times that the looping portion of a segment is set to repeat.

object.GetRepeats() As Long

Parts

object
Resolves to a DirectMusicSegment8 object.

Return Values

Returns the number of times that the looping portion repeats.

Error Codes

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

See Also

DirectMusicSegment8.SetRepeats, DirectMusicSegment8.SetLoopPoints, DirectMusicSegment8.GetLoopPointStart, DirectMusicSegment8.GetLoopPointEnd, DirectMusicSegmentState8.GetRepeats