Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.3 KB

TVIBinResource-IndexOfTranslation.md

File metadata and controls

37 lines (24 loc) · 1.3 KB

IndexOfTranslation method

Project: Binary Version Information Manipulation Units.

Unit: DelphiDabbler.Lib.VIBin.Resource.

Class: TVIBinResource

Applies to: ~>1.0

function IndexOfTranslation(LanguageID, CharSet: Word): Integer;

Description

Finds the index of a translation with a given translation code within the translation table.

Parameters:

  • LanguageID -- The language identifier component of the translation code. A value of $FFFF is converted to 0.
  • CharSet -- The character set code component of the translation code . A value of $FFFF is converted to 0.

Returns:

  • The index of the translation in the translation table, or -1 if such a translation can not be not found within the table.

See Also