MSVidWebDVD.PreferredSubpictureStream Property

Note  This topic applies to Windows XP Service Pack 1 or later.

The PreferredSubpictureStream property retrieves the preferred subpicture stream for the current viewing session.

VidWebDVD.PreferredSubpictureStream As Long

Parameters

This property takes no parameters.

Return Value

When getting the value, this property returns a Long representing the current preferred subpicture stream in the system registry.

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error; possibly the graph not built.

 

Remarks

This property is read-only; to set the preferred subpicture stream, use the MSVidWebDVDAdm object's DefaultSubpictureLCID method. The value defaults to 0.

Examples

' Returning the property.
lSubpictStream = VidWebDVD.PreferredSubpictureStream
' Setting the property through the DVDAdm object.
vidWebDVD.DVDAdm.DefaultSubpictureLCID = lSubpictStream

Requirements

Type Library

MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library

DLL

Quartz.dll

See Also

MSVidWebDVD Object

Subpicture Streams: Controlling Subtitles

 

 

Send comments about this topic to Microsoft

Build date: 7/6/2010