Commit fa9de19a authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

imm32: Implement ImmLoadIME and ImmFreeLayout.

parent 53aa0be0
...@@ -2611,7 +2611,7 @@ static BOOL WINAPI ime_DllMain( HINSTANCE instance, DWORD reason, LPVOID reserve ...@@ -2611,7 +2611,7 @@ static BOOL WINAPI ime_DllMain( HINSTANCE instance, DWORD reason, LPVOID reserve
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
UnregisterClassW( ime_ui_class.lpszClassName, instance ); UnregisterClassW( ime_ui_class.lpszClassName, instance );
todo_wine CHECK_EXPECT( IME_DLL_PROCESS_DETACH ); CHECK_EXPECT( IME_DLL_PROCESS_DETACH );
break; break;
} }
...@@ -2778,29 +2778,21 @@ static void test_ImmInstallIME(void) ...@@ -2778,29 +2778,21 @@ static void test_ImmInstallIME(void)
SET_EXPECT( IME_DLL_PROCESS_ATTACH ); SET_EXPECT( IME_DLL_PROCESS_ATTACH );
SET_EXPECT( ImeInquire ); SET_EXPECT( ImeInquire );
ret = ImmLoadIME( hkl ); ret = ImmLoadIME( hkl );
todo_wine
ok( ret, "ImmLoadIME returned %#x\n", ret ); ok( ret, "ImmLoadIME returned %#x\n", ret );
todo_wine
CHECK_CALLED( IME_DLL_PROCESS_ATTACH ); CHECK_CALLED( IME_DLL_PROCESS_ATTACH );
todo_wine
CHECK_CALLED( ImeInquire ); CHECK_CALLED( ImeInquire );
ret = ImmLoadIME( hkl ); ret = ImmLoadIME( hkl );
todo_wine
ok( ret, "ImmLoadIME returned %#x\n", ret ); ok( ret, "ImmLoadIME returned %#x\n", ret );
SET_EXPECT( ImeDestroy ); SET_EXPECT( ImeDestroy );
SET_EXPECT( IME_DLL_PROCESS_DETACH ); SET_EXPECT( IME_DLL_PROCESS_DETACH );
ret = ImmFreeLayout( hkl ); ret = ImmFreeLayout( hkl );
todo_wine
ok( ret, "ImmFreeLayout returned %#x\n", ret ); ok( ret, "ImmFreeLayout returned %#x\n", ret );
todo_wine
CHECK_CALLED( ImeDestroy ); CHECK_CALLED( ImeDestroy );
todo_wine
CHECK_CALLED( IME_DLL_PROCESS_DETACH ); CHECK_CALLED( IME_DLL_PROCESS_DETACH );
ret = ImmFreeLayout( hkl ); ret = ImmFreeLayout( hkl );
todo_wine
ok( ret, "ImmFreeLayout returned %#x\n", ret ); ok( ret, "ImmFreeLayout returned %#x\n", ret );
ime_cleanup( hkl ); ime_cleanup( hkl );
...@@ -2812,29 +2804,21 @@ static void test_ImmInstallIME(void) ...@@ -2812,29 +2804,21 @@ static void test_ImmInstallIME(void)
SET_EXPECT( IME_DLL_PROCESS_ATTACH ); SET_EXPECT( IME_DLL_PROCESS_ATTACH );
SET_EXPECT( ImeInquire ); SET_EXPECT( ImeInquire );
ret = ImmLoadIME( hkl ); ret = ImmLoadIME( hkl );
todo_wine
ok( ret, "ImmLoadIME returned %#x\n", ret ); ok( ret, "ImmLoadIME returned %#x\n", ret );
todo_wine
CHECK_CALLED( IME_DLL_PROCESS_ATTACH ); CHECK_CALLED( IME_DLL_PROCESS_ATTACH );
todo_wine
CHECK_CALLED( ImeInquire ); CHECK_CALLED( ImeInquire );
ret = ImmLoadIME( hkl ); ret = ImmLoadIME( hkl );
todo_wine
ok( ret, "ImmLoadIME returned %#x\n", ret ); ok( ret, "ImmLoadIME returned %#x\n", ret );
SET_EXPECT( ImeDestroy ); SET_EXPECT( ImeDestroy );
SET_EXPECT( IME_DLL_PROCESS_DETACH ); SET_EXPECT( IME_DLL_PROCESS_DETACH );
ret = ImmFreeLayout( hkl ); ret = ImmFreeLayout( hkl );
todo_wine
ok( ret, "ImmFreeLayout returned %#x\n", ret ); ok( ret, "ImmFreeLayout returned %#x\n", ret );
todo_wine
CHECK_CALLED( ImeDestroy ); CHECK_CALLED( ImeDestroy );
todo_wine
CHECK_CALLED( IME_DLL_PROCESS_DETACH ); CHECK_CALLED( IME_DLL_PROCESS_DETACH );
ret = ImmFreeLayout( hkl ); ret = ImmFreeLayout( hkl );
todo_wine
ok( ret, "ImmFreeLayout returned %#x\n", ret ); ok( ret, "ImmFreeLayout returned %#x\n", ret );
ime_cleanup( hkl ); ime_cleanup( hkl );
......
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