IltmmDVDSubpictureStream::get_Selected

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDSubpictureStream_get_Selected(pDVDSubpictureStream, pVal)

C++ Syntax

HRESULT get_Selected(pVal)

 

IltmmDVDSubpictureStream *pDVDSubpictureStream;

/* pointer to an interface */

VARIANT_BOOL * pVal;

/* pointer to a variable */

Gets whether the subpicture stream is selected or not.

Parameter

Description

pDVDSubpictureStream

Pointer to an IltmmDVDSubpictureStream interface.

pVal

Pointer to a variable to be updated with a value that indicates whether the subpicture stream is selected or not. Possible value are:

 

Setting

Description

 

VARIANT_TRUE

The subpicture stream is selected.

 

VARIANT_FALSE

The subpicture stream 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 if the subpicture stream 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

Elements:

IltmmDVDSubpictureStream::put_Selected

Topics:

Multimedia Function Group

Example

For C example, refer to DVD Source Example.

For C++ example, refer to DVD Source Example.