[DllImport("kernel32.dll")]
static extern bool IsValidLocale(uint Locale, uint dwFlags);
None.
None.
Please add some!
[DllImport("kernel32.dll")]
static extern bool IsValidLocale(uint Locale, uint dwFlags);
private const int LCID_INSTALLED = 1;
private const int LCID_SUPPORTED = 2;
private void setUserLocale()
{
if(IsValidLocale(1033,LCID_INSTALLED))
{
SetUserDefaultLCID(1033); //Eg: 1033 - en_us
}
}
Do you know one? Please contribute it!