Microsoft DirectX 8.1 (Visual Basic) |
The GetLength method retrieves the length of the segment.
object.GetLength() As Long
Parts
object
Resolves to a DirectMusicSegment8 object.
Return Values
Returns the length of the segment, in music time.
Error Codes
If the method fails, it raises an error, and Err.Number is set.
Remarks
The method always returns 1 for segments created from wave files.
See Also