IltmmDVDTitle::GetChapter

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDTitle__getChapter(pDVDTitle, Index, pVal)

C++ Syntax

HRESULT GetChapter(Index, pVal)

 

IltmmDVDTitle *pDVDTitle;

/* pointer to an interface */

long Index;

/* index */

IltmmDVDChapter * * pVal;

/* pointer to a pointer to an interface */

Gets the specified chapter The name for each individual video file on a DVD. For example, under the title "Water Skiing", you might have the chapters "My first try," "My first wreck," and "My first jump." interface.

Parameter

Description

pDVDTitle

Pointer to an IltmmDVDTitle interface.

Index

Index of the specified chapter. This is 0 based index.

pVal

Pointer to a variable that receives the IltmmDVDChapter interface pointer for the chapter at the specified zero-based index.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

This method will return the specified chapter interface in the title .

To get number of chapters that available in the title, call IltmmDVDTitle::get_ChapterCount

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

IltmmDVDTitle::get_ChapterCount

Topics:

Multimedia Function Group

Example

For C example, refer to DVD Source Example

For C++ example, refer to DVD Source Example