Microsoft DirectX 8.1 (C++)

GetDVDTextLanguageLCID Method

The GetDVDTextLanguageLCID method retrieves the locale identifier (LCID) for the specified text string block.

Syntax

[ iLCID = ] MSWebDVD.GetDVDTextLanguageLCID(iLangIndex);

Parameters

iLangIndex

Specifies the text language block on the disc as an Integer.

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 GetDVDTextNumberOfLanguages.

See Also