Platform SDK: DirectX |
The DirectMusicSegment.GetLength method retrieves the length of the segment.
object.GetLength() As Long
If the method succeeds, it returns the length of the segment, in music time.
If the method fails, it raises an error, and Err.Number is set.
If for some reason the segment's length was never set, the method returns 0.