Microsoft DirectX 9.0

MSVidWebDVD.PreferredSubpictureStream Property

This topic applies to Windows XP Service Pack 1 only.

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


VidWebDVD.PreferredSubpictureStream As Long


This property takes no parameters.

Return Values

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.


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


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

See Also