VerGetFileLanguages

InstallShield 2024 » InstallScript Language Reference

The VerGetFileLanguages function retrieves the list of languages supported by the file that is specified by szFile.

Syntax

VerGetFileLanguages ( szFileName, listLanguages );

Parameters

VerGetFileLanguages Parameters

Parameter

Description

szFileName

Specifies the fully qualified name of the file whose list of supported languages is to be retrieved.

listLanguages

Returns the list of numeric language codes and code page IDs of the supported languages. Each list element is a 32-bit integer whose low-order word contains the supported language code and whose high-order word contains the corresponding code page ID, which can be extracted with the functions LOWORD and HIWORD.

The number list identified by listLanguages must already have been initialized by a call to ListCreate(NUMBERLIST).

Return Values

VerGetFileLanguages Return Values

Return Value

Description

>= ISERR_SUCCESS

The function successfully retrieved the list of supported languages.

< ISERR_SUCCESS

The function failed to retrieve the list of supported languages.

See Also