Microsoft DirectX 8.0 (Visual Basic) |
Creates a copy of all or part of the segment.
object.Clone( _ mtStart As Long, _ mtEnd As Long _ ) As DirectMusicSegment8
Returns a DirectMusicSegment8 object.
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_OUTOFMEMORY.
Properties of the original segment, including start and loop points, number of repeats, and any default audiopath, are copied to the clone.
For style-based segments, if mtStart is greater than 0, it should be on a measure boundary.