imm32: Pass the HIMC to the IME UI window IMMGWL_IMC.

Instead of the imc pointer.
This commit is contained in:
Rémi Bernon 2023-03-30 09:50:36 +02:00 committed by Alexandre Julliard
parent 3e2edac438
commit e64e4e7461

View file

@ -2603,7 +2603,7 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
if (NtUserQueryInputContext( hIMC, NtUserInputContextThreadId ) != GetCurrentThreadId()) return FALSE;
if ((ui_hwnd = get_ime_ui_window())) SetWindowLongPtrW( ui_hwnd, IMMGWL_IMC, (LONG_PTR)data );
if ((ui_hwnd = get_ime_ui_window())) SetWindowLongPtrW( ui_hwnd, IMMGWL_IMC, (LONG_PTR)hIMC );
if (!fOpen != !data->IMC.fOpen)
{