diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index ea466af3f6a..280b972a7a8 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -9584,6 +9584,12 @@ static void test_dbcs_wm_char(void) UINT i, j, k; struct message wmCharSeq[2]; + if (!pGetCPInfoExA) + { + skip("GetCPInfoExA is not available\n"); + return; + } + pGetCPInfoExA( CP_ACP, 0, &cpinfo ); if (cpinfo.MaxCharSize != 2) {