Platform SDK: DirectX

DirectMusicSegmentState.GetRepeats

The DirectMusicSegmentState.GetRepeats method returns the number of times that the looping portion of the segment is set to repeat.

object.GetRepeats() As Long

Parameters

object
Object expression that resolves to a DirectMusicSegmentState object.

Return Values

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.

Error Codes

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

See Also

DirectMusicSegment.SetRepeats