LANGIDFROMLCID  4O1AAIO 

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 MAKELCIDD5JW6G macro.

 

Return Values

The return value is a language identifier.

Remarks

The LANGIDFROMLCID macro is defined as follows:

#define LANGIDFROMLCID(lcid)   ((WORD) (lcid))

 

See Also

MAKELANGID, MAKELCID, PRIMARYLANGID, SUBLANGID