Microsoft DirectX 9.0

MSVidWebDVD.PlayPeriodInTitleAutoStop Method

This topic applies to Windows XP Service Pack 1 only.

The PlayPeriodInTitleAutoStop method plays the DVD from a specified start time to a specified stop time within a specified title.

Syntax

VidWebDVD.PlayPeriodInTitleAutoStop(
  lTitle As Long,
  strStartTime As String,
  strEndTime As String
)

Parameters

lTitle

Long specifying the title.

strStartTime

String specifying start time in the format "hh:mm:ss:ff" (representing hours, minutes, seconds, and frames).

strEndTime

String specifying stop time in the format "hh:mm:ss:ff" (representing hours, minutes, seconds, and 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_INVALIDARG Invalid title, start or end time.
E_UNEXPECTED Unspecified error.
VFW_E_DVD_GRAPHNOTREADY The graph is not in a running state.
VFW_E_DVD_INVALIDDOMAIN Invalid domain for this operation.
VFW_E_DVD_OPERATION_INHIBITED UOP control prohibits the operation.

Example

oVidWebDVD.PlayPeriodInTitleAutoStop(lTitle, strStartTime, strEndTime)

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
None DVD_DOMAIN_VideoManagerMenu
DVD_DOMAIN_VideoTitleSetMenu
DVD_DOMAIN_Title
DVD_DOMAIN_Stop

See Also