MAKELANGID macro

Creates a language identifier from a primary language identifier and a sublanguage identifier.

Syntax

void MAKELANGID(
   p,
   s
);

Parameters

p

TBD

s

TBD

Return Value

None

Remarks

The following table shows combinations of usPrimaryLanguage and usSubLanguage that have special meaning.

Primary language identifier Sublanguage identifier Meaning
LANG_NEUTRAL SUBLANG_NEUTRAL Language neutral
LANG_NEUTRAL SUBLANG_DEFAULT User default language
LANG_NEUTRAL SUBLANG_SYS_DEFAULT System default language
LANG_NEUTRAL SUBLANG_CUSTOM_DEFAULT Windows Vista and later: Default custom locale
LANG_NEUTRAL SUBLANG_CUSTOM_UNSPECIFIED Windows Vista and later: Unspecified custom locale
LANG_NEUTRAL SUBLANG_UI_CUSTOM_DEFAULT Windows Vista and later: Default custom Multilingual User Interface locale

Requirements

   
Windows version Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winnt.h (include Windows.h)

See Also

EnumSystemLocales

National Language Support

National Language Support Macros

PRIMARYLANGID

SUBLANGID