Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MAKELCID macro (winnt.h)

Creates a locale identifier from a language identifier and a sort order identifier.

Syntax

DWORD MAKELCID(
 WORD lgid,
 WORD srtid
);

Parameters

lgid

Language identifier. This identifier is a combination of a primary language identifier and a sublanguage identifier and is usually created by using the MAKELANGID macro.

srtid

Sort order identifier.

Return value

Type: DWORD

Returns the locale identifier.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winnt.h (include Windows.h)

See also

LANGIDFROMLCID

MAKELANGID

National Language Support

National Language Support Macros

Language Identifier Constants and Strings

SORTIDFROMLCID


Feedback

Was this page helpful?

Additional resources