XLL+ Class Library

::ResListLanguages

Gets a list of all supported languages from a resource file

[C++]
BOOL ResListLanguages(
   HINSTANCE hinst,
   std::vector<LANGID>& listIDs,
   LCTYPE lctype,
   std::vector<CString>& listNames
);

Parameters

hinst

Module handle of a resource file.

listIDs

Will be populated with a list of the language IDs found.

lctype

The type of language information required. This parameter os one of the LCTYPE values accepted by the API function GetLocaleInfo.

listNames

Will be populated with a list of the information found for each language ID, as selected by lctype.

Return value

TRUE if the function succeeds, FALSE if it fails. It will fail if the resource file handle is invalid, or if lctype is invalid.

Remarks

This function lists all the languages available in a resource file.

Requirements

Header: xllres.h

See Also

Global resource functions