IltmmDVDSource::put_Selected

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDSource_put_Selected(pDVDSource, newVal)

C++ Syntax

HRESULT put_Selected(newVal)

IltmmDVDSource *pDVDSource;

pointer to an interface

long newVal;

selected state

Sets a value which indicates whether none or all of the disc should be selected..

Parameter

Description

pDVDSource

Pointer to an IltmmDVDSource interface.

newVal

An ltmmDVDSourceSelectedState constant that indicates how much of the disc should be 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 selects items on the disc according to the value of newVal. To select the entire disc, pass the ltmmDVDSource_Selected value. To remove all selections, pass the  ltmmDVDSource_Unselected value. If  the ltmmDVDSource_Partially_Selected value is passed the entire disc will be selected, and the property value then becomes ltmmDVDSource_Selected.

To retrieve a value that indicates how much of the disc is selected, call IltmmDVDSource::get_Selected.

Note that both IltmmConvert::put_UseDVDSource and  IltmmPlay::put_UseDVDSource should be called with pVal set to VARIANT_TRUE before specifying the DVD source image to force the player or converter to use the IltmmDVDSource interface when attempting to play or convert a DVD image .

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

Example

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

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

Help Version 21.0.2021.7.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.