GetLanguageInfo Function

Retrieves info about a given language number.

void GetLanguageInfo(int language, char[] code, int codeLen, char[] name, int nameLen)


int language

Language number.

char[] code

Language code buffer (2-3 characters usually).

int codeLen

Maximum length of the language code buffer.

char[] name

Language name buffer.

int nameLen

Maximum length of the language name buffer.


Invalid language number.