MSVidWebDVD.LanguageFromLCID Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.LanguageFromLCID Property

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

The LanguageFromLCID property retrieves a human-readable string when given a primary language ID.

Syntax

  VidWebDVD
  .LanguageFromLCID(
  lcid As Long
) As String

Parameters

lcid

Specifies the primary language ID as a Long. See Working with LCIDs for a table of some possible values.

Return Values

Returns a String representation of the language that can be displayed in the application's user interface.

Remarks

This property is read-only. Although this method is named LanguageFromLCID, the parameter that is passed in is actually the primary language ID, not the language ID.

Example

' Returning the property.
strLang = VidWebDVD.LanguageFromLCID(lcid)

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