MSVidWebDVD.CurrentTime Property
Microsoft DirectShow 9.0 |
MSVidWebDVD.CurrentTime Property
This topic applies to Windows XP Service Pack 1 or later.
The CurrentTime property retrieves the current playback time.
Syntax
VidWebDVD .CurrentTime As String
Parameters
This property takes no parameters.
Return Values
This property returns a String representing the current playback time in the format "hh:mm:ss:ff" (hours, minutes, seconds, frames).
Error Codes
If the property fails, Err.Number may be set to one of the following values.
Value | Description |
E_UNEXPECTED | Unspecified error. |
VFW_E_DVD_INVALIDDOMAIN | You attempted to take the value in a domain that does not support this property. |
Remarks
This property is read-only. The DVD player must be in a title for this property to be checked.
Example
' Returning the property. strCurrTime = VidWebDVD.CurrentTime
Requirements
Reference: Add a reference to MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.
Library: Quartz.dll.
See Also