Microsoft DirectX 9.0 |
This topic applies to Windows XP Service Pack 1 only.
The PreferredSubpictureStream property retrieves the preferred subpicture stream for the current viewing session.
Syntax
VidWebDVD.PreferredSubpictureStream As Long
Parameters
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. |
Remarks
This property is read-only; to set the preferred subpicture stream, use the MSVidWebDVDAdm object's DefaultSubpictureLCID method. The value defaults to 0.
Example
' Returning the property.
lSubpictStream = VidWebDVD.PreferredSubpictureStream
' Setting the property through the DVDAdm object.
vidWebDVD.DVDAdm.DefaultSubpictureLCID = lSubpictStream
See Also