Share via


MSVidWebDVD.DVDTextLanguageLCID Property

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

The DVDTextLanguageLCID property retrieves the locale identifier (LCID) for the specified text language block.

VidWebDVD.DVDTextLanguageLCID(
   lLangIndex As Long
) As Long

Parameters

  • lLangIndex
    Long specifying the text language block on the disc.

Return Value

Returns an LCID value that contains information specifying the language the strings are written in. See Working with LCIDs for information on extracting the primary language code from an LCID.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
VFW_E_DVD_INVALIDDOMAIN You attempted to take the value in a domain that does not support this property.
E_INVALIDARG The index number passed in was invalid.

Remarks

Supplemental text strings are stored in contiguous blocks on the disc. Each language has one block of strings. An application specifies these blocks by an index, which must be less than the value returned by DVDTextNumberOfLanguages.

Examples

' Returning the property.
Long = VidWebDVD.DVDTextLanguageLCID(lLangIndex)

Requirements

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

See Also

LanguageFromLCID
MSVidWebDVD Object
Working with DVD Text Strings

Send comments about this topic to Microsoft

Build date: 12/4/2008