The MAKELCID macro creates a locale identifier from a language identifier.
DWORD MAKELCID(
WORD wLanguageID, // language identifier
WORD wSortID // sorting identifier
);
Value | Meaning |
---|---|
SORT_DEFAULT | Specifies the default sort. |
SORT_JAPANESE_XJIS | Specifies Japanese XJIS order. |
SORT_JAPANESE_UNICODE | Specifies Japanese Unicode order. |
SORT_CHINESE_BIG5 | Specifies Chinese BIG5 order. |
SORT_CHINESE_UNICODE | Specifies Chinese Unicode order. |
SORT_KOREAN_KSC | Specifies Korean KSC order. |
SORT_KOREAN_UNICODE | Specifies Korean Unicode order. |
The return value is a locale identifier.
The MAKELCID macro is defined as follows:
#define MAKELCID(lgid, srtid) \
((DWORD)((((DWORD)((WORD )(srtid))) << 16) | \
((DWORD)((WORD )(lgid)))))
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winnt.h.
National Language Support Overview, National Language Support Macros, LANGIDFROMLCID, MAKELANGID, SORTIDFROMLCID