Skip to content

Latest commit

 

History

History
86 lines (63 loc) · 2.88 KB

nf-winnt-makesortlcid.md

File metadata and controls

86 lines (63 loc) · 2.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winnt.MAKESORTLCID
MAKESORTLCID macro (winnt.h)
Constructs a locale identifier (LCID) from a language identifier, a sort order identifier, and the sort version.
MAKESORTLCID
MAKESORTLCID macro [Internationalization for Windows Applications]
_win32_MAKESORTLCID
intl.makesortlcid
winnt/MAKESORTLCID
intl\makesortlcid.htm
Intl
58327bfc-8a00-4fdc-bd5a-cef9c0b29faa
12/05/2018
MAKESORTLCID, MAKESORTLCID macro [Internationalization for Windows Applications], _win32_MAKESORTLCID, intl.makesortlcid, winnt/MAKESORTLCID
winnt.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
MAKESORTLCID
winnt/MAKESORTLCID
c++
APIRef
kbSyntax
HeaderDef
Winnt.h
MAKESORTLCID

MAKESORTLCID macro

-description

Constructs a locale identifier (LCID) from a language identifier, a sort order identifier, and the sort version.

-parameters

-param lgid

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.

-param srtid

Sort order identifier.

-param ver

Reserved; must be 0.

-remarks

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.

-see-also

MAKELANGID

National Language Support

National Language Support Macros