MSVidWebDVD.PlayPeriodInTitleAutoStop Method
Note This topic applies to Windows XP Service Pack 1 or later.
The PlayPeriodInTitleAutoStop method plays the DVD from a specified start time to a specified stop time within a specified title.
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 Value
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. |
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 |
Examples
oVidWebDVD.PlayPeriodInTitleAutoStop(lTitle, strStartTime, strEndTime)
Requirements
Type Library | Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library. |
DLL | Requires Quartz.dll. |
See Also
MSVidWebDVD Object
PlayAtTimeInTitle
PlayAtTime
PlayChaptersAutoStop
Send comments about this topic to Microsoft
Build date: 12/4/2008