• Welcome to Valhalla Legends Archive.
 

Quick question for GetLocaleInfo

Started by iNsaNe, February 28, 2008, 09:09 PM

Previous topic - Next topic

iNsaNe

should I use LOCALE_SNATIVECTRYNAME or LOCALE_SENGCTRY ? Does battle.net only accept English country names for 0x50?

nevermind:

"Language ID, Country Abbreviation, and Country
These values can be retrieved by querying the system's locale information. Language ID can be retrieved using the GetUserDefaultLangID API. Country Abbreviation & Country can be retrieved using the GetLocaleInfo API to request the LOCALE_SABBREVCTRYNAME and LOCALE_SENGCOUNTRY, respectively."