DirectX SDK |
The DirectMusicSegmentState.GetRepeats method returns the number of times that the looping portion of the segment is set to repeat.
object.GetRepeats() As Long
If the method succeeds, it returns the repeat count. A value of 0 indicates that the segment is to play through only once, with no portion repeated.
If the method fails, it raises an error, and Err.Number is set.