MAKELANGID
MAKELANGID is a macro used in the Windows API to construct a language identifier (LANGID) by combining a primary language ID with a sublanguage ID. It is defined in the Windows header WinNT.h and is commonly used when specifying the language or locale for Windows functions and applications.
The macro expands to a bitwise operation that places the primary language ID into the upper bits
MAKELANGID is used wherever a LANGID is required, such as setting thread or process locale, formatting localized
A typical usage is MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US) to represent English as used in the United States. The
Related concepts include LANGID, LCID, MAKELCID, PRIMARYLANGID, and SUBLANGID. MAKELANGID is a compile-time macro, not a