Platform SDK: DirectX

DirectMusicSegment.GetLoopPointEnd

The DirectMusicSegment.GetLoopPointEnd method retrieves the point in the segment at which a repeating section is to end.

object.GetLoopPointEnd() As Long

Parameters

object
Object expression that resolves to a DirectMusicSegment object.

Return Values

If the method succeeds, it returns the end point of the loop, in music time. If this value is 0, the entire segment loops.

Error Codes

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

Remarks

The section does not repeat unless the number of repetitions has been set to 1 or more by using the DirectMusicSegment.SetRepeats method. By default, the entire segment repeats.

See Also

DirectMusicSegment.GetLoopPointStart, DirectMusicSegment.SetLoopPoints, DirectMusicSegment.GetRepeats