kernel32: implement IsValidLocaleName (as a wrapper around IsValidLocale)
Dmitry Timoshkov
dmitry at baikal.ru
Tue Jul 10 07:39:53 CDT 2012
Austin English <austinenglish at gmail.com> wrote:
> +BOOL WINAPI IsValidLocaleName( LPCWSTR locale )
> +{
> + LCID lcid;
> + BOOL ret;
> +
> + TRACE( "locale: %s\n", debugstr_w(locale) );
> + lcid = LocaleNameToLCID( locale, 0 );
> + ret = IsValidLocale( lcid, 0 );
> + return ret;
> +}
Avoiding (useless) intermediate variables along with the word 'locale'
in the trace would be better IMO.
--
Dmitry.
More information about the wine-devel
mailing list