IltmmDVDChapter::put_Selected

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDChapter__put_Selected(pDVDChapter, newVal)

C++ Syntax

HRESULT put_Selected(newVal)

 

IltmmDVDChapter *pDVDChapter;

/* pointer to an interface */

VARIANT_BOOL newVal;

/* selected state */

Sets 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.

newVal

The selected 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 set 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::get_Selected

Topics:

Multimedia Function Group

Example

For C example, refer to DVD Source for C or Convert DVD with Subtiitles for C

For C++ example, refer to DVD Source for C++ or Convert DVD with Subtiitles for C++