Platform SDK: International Features

LANGIDFROMLCID

The LANGIDFROMLCID macro retrieves a language identifier from a locale identifier.

WORD LANGIDFROMLCID(
  LCID lcid  // locale identifier
);

Parameters

lcid
Specifies the locale identifier. This parameter may have been created by using the MAKELCID macro.

Return Values

The return value is a language identifier.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winnt.h; include Windows.h.

See Also

National Language Support Overview, National Language Support Macros, MAKELANGID, MAKELCID, PRIMARYLANGID, SUBLANGID