#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++
Functions: |
IltmmDVDSource::get_SelectedDuration, IltmmDVDSource::get_Selected |
Topics: |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET