Return Value

The ID of the language in which the text is written. The returned information is an LCID value (containing a LANGID parameter) from which language information can be extracted using the Win32 LANGIDFROMLCID macro. For a list of possible LANGID values, refer to the winnt.h library.