[PATCH] winetest: Also trace the country and ANSI code page.
Francois Gouget
fgouget at codeweavers.com
Fri Feb 18 08:19:55 CST 2022
Tracing the ANSI code page is useful to identify tests run in
Windows' UTF-8 mode.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
programs/winetest/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index b5c3cc54487..eb86770afbf 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -477,6 +477,8 @@ static void print_language(void)
xprintf (" UserDefaultUILanguage=%04x\n", pGetUserDefaultUILanguage());
if (pGetThreadUILanguage)
xprintf (" ThreadUILanguage=%04x\n", pGetThreadUILanguage());
+ xprintf (" Country=%d\n", GetUserGeoID(GEOCLASS_NATION));
+ xprintf (" ACP=%d\n", GetACP());
}
static inline BOOL is_dot_dir(const char* x)
--
2.30.2
More information about the wine-devel
mailing list