Microsoft DirectX 8.1 (C++) |
Note The IDvdControl interface is deprecated.
Plays the media file with the specified title index and chapter value.
Syntax
HRESULT ChapterPlay(
ULONG uiTitle,
ULONG uiChapter
);
Parameters
uiTitle
[in] Value that specifies the title number DirectShow will play back; this value must be from 1 through 99.
uiChapter
[in] Value that specifies the chapter within the specified title where DirectShow will start playback; this value must be from 1 through 999.
Return Value
Returns an HRESULT value.
Remarks
This method returns an error unless the domain is DVD_DOMAIN_VideoManagerMenu, DVD_DOMAIN_VideoTitleSetMenu, DVD_DOMAIN_Title, or DVD_DOMAIN_Stop. For more information, see DVD_DOMAIN.
See Also