Prev Next
PRIMARYLANGID info
The PRIMARYLANGID macro extracts a primary language identifier from a
language identifier.
WORD PRIMARYLANGID(
WORD lgid
|
// language identifier
|
);
|
|
Parameters
-
lgid
-
Specifies the language identifier. This value is a combination of a primary
language identifier and a sublanguage identifier and is usually created by
using the MAKELANGID macro.
Return Values
-
The return value is a primary language identifier. The following primary
language identifiers are defined:
-
LANG_AFRIKAANS
|
LANG_ICELANDIC
|
LANG_ALBANIAN
|
LANG_INDONESIAN
|
LANG_ARABIC
|
LANG_ITALIAN
|
LANG_BASQUE
|
LANG_JAPANESE
|
LANG_BELARUSIAN
|
LANG_KOREAN
|
LANG_BULGARIAN
|
LANG_LATVIAN
|
LANG_CATALAN
|
LANG_LITHUANIAN
|
LANG_CHINESE
|
LANG_NEUTRAL
|
LANG_CROATIAN
|
LANG_NORWEGIAN
|
LANG_CZECH
|
LANG_POLISH
|
LANG_DANISH
|
LANG_PORTUGUESE
|
LANG_DUTCH
|
LANG_ROMANIAN
|
LANG_ENGLISH
|
LANG_RUSSIAN
|
LANG_ESTONIAN
|
LANG_SERBIAN
|
LANG_FAEROESE
|
LANG_SLOVAK
|
LANG_FARSI
|
LANG_SLOVENIAN
|
LANG_FINNISH
|
LANG_SPANISH
|
LANG_FRENCH
|
LANG_SWEDISH
|
LANG_GERMAN
|
LANG_THAI
|
LANG_GREEK
|
LANG_TURKISH
|
LANG_HEBREW
|
LANG_UKRANIAN
|
LANG_HUNGARIAN
|
LANG_VIETNAMESE
|
Remarks
The PRIMARYLANGID macro is defined as follows:
#define PRIMARYLANGID(lgid) ((WORD )(lgid) & 0x3ff)
See Also
EnumSystemLocales, LANGIDFROMLCID,
MAKELANGID, SUBLANGID
file: /Techref/os/win/api/win32/mac/src/mac03_8.htm, 5KB, , updated: 2000/4/7 12:14, local time: 2024/9/1 15:06,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/mac/src/mac03_8.htm"> PRIMARYLANGID</A> |
Did you find what you needed?
|
.
|