Compartir a través de


MSVidWebDVD.DVDTimeCode2bstr Method

 
Microsoft DirectShow 9.0

MSVidWebDVD.DVDTimeCode2bstr Method

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

The DVDTimeCode2bstr method retrieves a string indicating the current time on the disc.

Syntax

  VidWebDVD
  .DVDTimeCode2bstr(
  timeCode As Long
) As String

Parameters

timeCode

Specifies the current time on the disc relative to the start of the title as a Long obtained through the EC_DVD_CURRENT_HMSF_TIME event.

Return Values

This method returns an 11-character String in the format "hh:mm:ss:ff" representing the hours, minutes, seconds and frames that define the current time.

Remarks

This method is read-only.

Example

  strDiscTime = VidWebDVD.DVDTimeCode2bstr(timeCode)

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