next up previous contents index
Next: ChapterSearch Up: Disc functions Previous: ButtonSelectAndActivate   Contents   Index


ChapterPlay

Play from the beginning of a chapter specified by the Title number and the chapter number

DWORD ChapterPlay(bTitleNumber, wChapterNumber);

Arguments
BYTE bTitleNumber Title Number to play. The number is set between 1 and 99
WORD bChapterNumber Chapter Number to play. The number is set between 1 and 999

Return value
Zero if successful. Otherwise, returns an error code.
DVDE_ARG Argument is not valid.
DVDE_TITLENUMBER The Title number does not exist
DVDE_PTTNUMBER The PTT number does not exist
DVDE_UNAUTHORIZED Unauthorized operation.

Remarks
Branch to PTT specified by user. Execute Pre-Command.

See also
TitlePlay(1.4.34), DVDI_TT_SRPTI (7)

Figure 1.15: ChapterPlay Operating Systems and Streaming Models
\begin{figure}\centering\begin{tabular}{\vert l\vert c\vert c\vert c\vert c\vert...
...$\bullet$& & & \\
Linux & & $\bullet$& & & \\
\hline
\end{tabular}\end{figure}



mabelsha 2002-03-26