LANGIDFROMLCID macro (winnt.h)

Retrieves a language identifier from a locale identifier.

Syntax

void LANGIDFROMLCID(
   lcid
);

Parameters

lcid

Locale identifier. You can use the MAKELCID macro to create a locale identifier or use one of the following predefined values.

Windows Vista: The following custom locale identifiers are also supported.

Return value

None

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

MAKELANGID

MAKELCID

National Language Support

National Language Support Macros

PRIMARYLANGID

SUBLANGID