#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. |
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. |
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. |
Win32, x64
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document