Compartilhar via


MSVidWebDVD.DVDTextLanguageLCID Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.DVDTextLanguageLCID Property

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.

Syntax

  VidWebDVD
  .DVDTextLanguageLCID(
  lLangIndex As Long
) As Long

Parameters

lLangIndex

Long specifying the text language block on the disc.

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.

Return Values

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.

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.

Example

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

Requirements

Reference: Add a reference to MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.

Library: Quartz.dll.

See Also