Commit 555e59a4 authored by Austin Lund's avatar Austin Lund Committed by Alexandre Julliard

user32/tests: Disable IME for msg tests.

parent 0fe32508
......@@ -12669,6 +12669,8 @@ START_TEST(msg)
char **test_argv;
BOOL ret;
BOOL (WINAPI *pIsWinEventHookInstalled)(DWORD)= 0;/*GetProcAddress(user32, "IsWinEventHookInstalled");*/
HMODULE hModuleImm32;
BOOL (WINAPI *pImmDisableIME)(DWORD);
int argc = winetest_get_mainargs( &test_argv );
if (argc >= 3)
......@@ -12682,6 +12684,15 @@ START_TEST(msg)
init_procs();
hModuleImm32 = LoadLibrary("imm32.dll");
if (hModuleImm32) {
pImmDisableIME = (void *)GetProcAddress(hModuleImm32, "ImmDisableIME");
if (pImmDisableIME)
pImmDisableIME(0);
}
pImmDisableIME = NULL;
FreeLibrary(hModuleImm32);
if (!RegisterWindowClasses()) assert(0);
if (pSetWinEventHook)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment