Share via


MSVidWebDVD.SubpictureLanguage Property

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

The SubpictureLanguage property retrieves the language for the specified subpicture stream.

VidWebDVD.SubpictureLanguage(
   lStream As Long
) As Strong

Parameters

  • lStream
    Long value specifying the stream of interest.

Return Value

Returns a human-readable string identifying the language of the subpicture stream in the current title.

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.
E_INVALIDARG lStream is not 63 or 0 through 31.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not initialized or not in a valid domain.

Remarks

This property is read-only.

Examples

' Returning the property.
strSubLang = VidWebDVD.SubpictureLanguage(lStream)

Requirements

Type Library Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.
DLL Requires Quartz.dll.

See Also

MSVidWebDVD Object
Subpicture Streams: Controlling Subtitles

Send comments about this topic to Microsoft

Build date: 12/4/2008