Compartir a través de


MSVidWebDVD.PlayChaptersAutoStop Method

 
Microsoft DirectShow 9.0

MSVidWebDVD.PlayChaptersAutoStop Method

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

The PlayChaptersAutoStop method starts playback at the specified chapter in the specified title, and continues for a specified number of chapters.

Syntax

  VidWebDVD
  .PlayChaptersAutoStop(
  lTitle As Long,
  lChapter As Long,
  lChapterCount As Long
)

Parameters

lTitle

Long specifying the title.

lChapter

Long specifying the chapter.

lChapterCount

Long specifying the number of chapters to play.

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 chapter or title number or chapter count.
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.

Remarks

When the last chapter has played, this method causes an EC_DVD_CHAPTER_AUTOSTOP event notification to be sent to the application

Example

  oVidWebDVD
  .PlayChaptersAutoStop(
  lTitle
  , lChapter, lChapterCount)

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. All

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