IltmmDVDChapter::get_Selected

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDChapter__get_Selected(pDVDChapter, pVal)

C++ Syntax

HRESULT get_Selected(pVal)

 

IltmmDVDChapter *pDVDChapter;

/* pointer to an interface */

VARIANT_BOOL * pVal;

/* pointer to a variable */

Gets the selected state for the 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.".

Parameter

Description

pDVDChapter

Pointer to an IltmmDVDChapter interface.

pVal

Pointer to a variable to be updated with the selected chapter state value. Possible values are:

 

Value

Meaning

 

VARIANT_TRUE

The chapter is selected.

 

VARIANT_FALSE

The chapter is not selected.

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 property will return a value to indicate if the chapter is selected or not.

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.

Platforms

Win32, x64

See Also

Functions:

IltmmDVDChapter::put_Selected

Topics:

Multimedia Function Group

Example

For a C example, refer to DVD Source for C.

For a C++ example, refer to DVD Source for C++.