IMediaPosition.Duration
Microsoft DirectShow 9.0 |
IMediaPosition.Duration
- Note This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.
The Duration property retrieves the duration of the stream.
Syntax
objMediaPosition .Duration As Double
Parameters
This property takes no parameters.
Return Values
Returns the duration, in seconds.
Remarks
The duration is relative to the normal playback rate. Therefore, setting the IMediaPosition.Rate property does not affect the value of the Duration property.
This property is read-only.
Requirements
Reference: Add a reference to ActiveMovie control type library.
Library: Quartz.dll.
See Also