Windows C++ Locale Function
BOOL SetThreadLocale(LCID Locale);
Internationalization (I18n) Function Overview
The SetThreadLocale function sets the calling thread's current locale.
Initially, the thread locale is set to the user's default locale;
the locale identifier that is returned from GetUserDefaultLCID .
I18n Issues
In an internationalized application, the desired locale may be different from
the user's default locale. Call SetThreadLocale
to initialize the thread's locale to the desired locale, and then pass that locale identifier
when making Win32 locale-dependent calls.
Recommended Replacements*
There are no variations of the function.
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
|