Microsoft DirectX 9.0

MSVidWebDVD.IsSubpictureStreamEnabled Method

This topic applies to Windows XP Service Pack 1 only.

The IsSubpictureStreamEnabled method returns a value indicating whether the specified subpicture stream is enabled in the current title.


  lStream As Long
) As Boolean



Specifies the subpicture stream as a Long. Values include the following.

Value Description
0 to 31 Subpicture stream
63 Muted low bit-rate stream

Return Values

Returns a Boolean value indicating whether the specified subpicture stream is available in the current title. True means it is available.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
E_INVALIDARG lStream is outside the allowed values.


Although a disc can contain up to 32 subpicture streams, each stream is not necessarily available for each title. Always verify that a stream is available for a title before setting the CurrentSubpictureStream property.


Boolean = VidWebDVD.IsSubpictureStreamEnabled(lStream)

See Also