Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegment8.GetLoopPointEnd

The GetLoopPointEnd method retrieves the point in the segment at which a repeating section ends.

object.GetLoopPointEnd() As Long

Parts

object

Resolves to a DirectMusicSegment8 object. 

Return Values

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 DirectMusicSegment8.SetRepeats method. By default, the entire segment repeats.

See Also