MSVidWebDVD.DVDTimeCode2bstr Method

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

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

   timeCode As Long
) As String


  • 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 Value

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.


This method is read-only.


strDiscTime = VidWebDVD.DVDTimeCode2bstr(timeCode)


Type Library Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.
DLL Requires Quartz.dll.

See Also

Handling DVD Event Notifications
MSVidWebDVD Object

Send comments about this topic to Microsoft

Build date: 12/4/2008