MSVidWebDVD.PlayChapterInTitle Method
Note This topic applies to Windows XP Service Pack 1 or later.
The PlayChapterInTitle method plays the specified chapter in the specified title.
VidWebDVD.PlayChapterInTitle(
lTitle As Long,
lChapter As Long
)
Parameters
lTitle
Long specifying the title.lChapter
Long specifying the chapter.
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_UNEXPECTED | Unspecified error. |
E_INVALIDARG | Invalid chapter or title number. |
VFW_E_DVD_OPERATION_INHIBITED | UOP control prohibits the operation. |
VFW_E_DVD_INVALIDDOMAIN | Invalid domain for this 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 |
---|---|
PTT_Play | DVD_DOMAIN_VideoManagerMenu
DVD_DOMAIN_VideoTitleSetMenu DVD_DOMAIN_Title DVD_DOMAIN_Stop |
Remarks
This method starts playback at the specified chapter and then continues playing indefinitely. If you want to play only a particular chapter, use PlayChaptersAutoStop.
Examples
oVidWebDVD.PlayChapterInTitle(lTitle, lChapter)
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
PlayChapter
Send comments about this topic to Microsoft
Build date: 12/4/2008