The LANGIDFROMLCID macro retrieves a language identifier from a locale identifier.
WORD LANGIDFROMLCID(
LCID lcid // locale identifier
);
The return value is a language identifier.
The LANGIDFROMLCID macro is defined as follows:
#define LANGIDFROMLCID(lcid) ((WORD) (lcid))
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winnt.h.
National Language Support Overview, National Language Support Macros, MAKELANGID, MAKELCID, PRIMARYLANGID, SUBLANGID