From: Mape via PocketPCJunkies.com on
How can i get the ISO 639-1 Language Code for a device?

I am using the following code that will get me the ISO 639-2 three letter
code for the language used on the device, but i would like to get the two
letter code instead..

TCHAR szNative[32];
LANGID langID = GetUserDefaultUILanguage();

GetLocaleInfo(MAKELCID (langID, SORT_DEFAULT), LOCALE_SABBREVLANGNAME,
szNative, 32);

--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/pocketpc-prog/200611/1