On 12/08/2009 01:29 PM, Alistair Leslie-Hughes wrote:
Hi Jacek,
You don't need to delete the whole test. You can check for the system language and do the compare only if it's English.
Is there an example that already does this?
Just use function GetUILanguageInfo or similar?
Best Regards Alistair Leslie-Hughes
Something like (advapi32/test/security.c):
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH) { skip("Non-english locale (test with hardcoded 'Everyone')\n"); }