MSVidWebDVD.PlayAtTimeInTitle Method

 
Microsoft DirectShow 9.0

MSVidWebDVD.PlayAtTimeInTitle Method

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

The PlayAtTimeInTitle method starts playback at the specified time in the specified in the specified title.

Syntax

  VidWebDVD
  .PlayAtTimeInTitle(
  lTitle As Long,
  strTime As String
)

Parameters

lTitle

Specifies the index of the title as a Long.

strTime

Specifies the time at which to start playback as a string. The string must be in the format "hh:mm:ss:ff" (specifying hours, minutes, seconds, frames).

Return Values

This method does not return a value.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
E_INVALIDARG Invalid time or title.
VFW_E_DVD_OPERATION_INHIBITED UOP control prohibits the operation.
VFW_E_DVD_INVALIDDOMAIN Invalid domain for this operation.

Example

  oVidWebDVD
  .PlayAtTimeInTitle(
  lTitle
  , strTime)

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J command name Valid domains
Time_Play DVD_DOMAIN_VideoManagerMenu
DVD_DOMAIN_VideoTitleSetMenu
DVD_DOMAIN_Title
DVD_DOMAIN_Stop

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