Francois Gouget : winetest: Also trace the country and ANSI code page.

Alexandre Julliard julliard at winehq.org
Fri Feb 18 15:15:00 CST 2022


Module: wine
Branch: master
Commit: bf42dca35f05bce9996e91f59cc47b5a9e6996b2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bf42dca35f05bce9996e91f59cc47b5a9e6996b2

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Feb 18 15:19:55 2022 +0100

winetest: Also trace the country and ANSI code page.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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)




More information about the wine-cvs mailing list