Поделиться через


MSVidWebDVD.TotalTitleTime Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.TotalTitleTime Property

This topic applies to Windows XP Service Pack 1 or later.

The TotalTitleTime property retrieves the total playback time for the current title.

Syntax

  VidWebDVD
  .TotalTitleTime As String

Parameters

This property takes no parameters.

Return Values

Returns the total playing time of the current title as a String in the format "hh:mm:ss:ff".

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error; possibly the graph has not been built.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not in the title domain.
VFW_S_DVD_NON_ONE_SEQUENTIAL The title is not a one sequential video title.

Remarks

This property is read-only. The returned string is 11 characters long in the format "hh:mm:ss:ff" (hours, minutes, seconds, frames).

Example

' Returning the property.
strTitleTime = VidWebDVD.TotalTitleTime

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