Microsoft DirectX 9.0

MSVidWebDVD.DVDTimeCode2bstr Method

This topic applies to Windows XP Service Pack 1 only.

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)

See Also