Microsoft DirectX 8.1 (Visual Basic) |
The GetRepeats method retrieves the number of times that the looping portion of the segment is set to repeat.
object.GetRepeats() As Long
Parts
object
Resolves to a DirectMusicSegmentState8 object.
Return Values
Returns the repeat count. A value of 0 indicates that the segment is to play through only once, with no portion repeated.
Error Codes
If the method fails, it raises an error, and Err.Number is set.
See Also