Microsoft DirectX 9.0

IDvdControl::ChapterPlayAutoStop

Note   The IDvdControl interface is deprecated. Use IDvdControl2 instread.

Instructs the DVD player to start playing at the specified chapter within the specified title and play the number of chapters specified.

Syntax

HRESULT ChapterPlayAutoStop(
    ULONG ulTitle,
    ULONG ulChapter,
    ULONG ulChaptersToPlay
);

Parameters

ulTitle

[in] Title number for playback.

ulChapter

[in] Chapter number to start playback.

ulChaptersToPlay

[in] Number of chapters to play from the start chapter.

Return Value

Returns an HRESULT value.

Remarks

This method is valid in any domain. For more information, see DVD_DOMAIN.

Chapters range from 1 through 999. See EC_DVD_CHAPTER_AUTOSTOP in DVD Event Notification Codes for more information.

See Also