MSVidWebDVD.SubpictureStreamsAvailable Property

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

The SubpictureStreamsAvailable property retrieves the number of subpicture streams available in the current title.

VidWebDVD.SubpictureStreamsAvailable As Long

Parameters

This property takes no parameters.

Return Value

Returns a Long indicating the number of subpicture streams available.

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 has not been built.
VFW_E_DVD_INVALIDDOMAIN You attempted to take the value in a domain that does not support this property.

 

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains
Sub-picture_Stream_Change DVD_DOMAIN_VideoManagerMenu

DVD_DOMAIN_VideoTitleSetMenu

DVD_DOMAIN_Title

DVD_DOMAIN_Stop

 

Remarks

This property is read-only with no default value.

Use this method to discover upper boundaries when querying each stream for its language attribute. When using this value, remember that stream numbering is zero-based.

Examples

' Returning the property.
lSubStreamsMax = VidWebDVD.SubpictureStreamsAvailable

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