MAKESORTLCID macro (winnt.h)
Constructs a locale identifier (LCID) from a language identifier, a sort order identifier, and the sort version.
void MAKESORTLCID( lgid, srtid, ver );
Language identifier. This parameter is a combination of a primary language identifier and a sublanguage identifier and is usually created by using the MAKELANGID macro.
Sort order identifier.
Reserved; must be 0.
LOCALE_INVARIANT represents a special locale-independent locale identifier. It is designed for system-level functions that require consistent results regardless of the locale that the user has chosen, for example, sorting in the file system. Typically, an application does not use LOCALE_INVARIANT because it expects the results of an action to depend on the rules governing each individual locale.
LOCALE_INVARIANT is composed of a language identifier consisting of LANG_INVARIANT for the primary language and SUBLANG_NEUTRAL for the sublanguage. SORT_DEFAULT is used for the sort order identifier.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||winnt.h (include Windows.h)|