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

imm32: Forward ImmGetContext to NtUserGetWindowInputContext directly.

parent 5ef8554e
...@@ -1776,23 +1776,10 @@ BOOL WINAPI ImmGetCompositionWindow( HIMC himc, COMPOSITIONFORM *composition ) ...@@ -1776,23 +1776,10 @@ BOOL WINAPI ImmGetCompositionWindow( HIMC himc, COMPOSITIONFORM *composition )
* ImmGetContext (IMM32.@) * ImmGetContext (IMM32.@)
* *
*/ */
HIMC WINAPI ImmGetContext(HWND hWnd) HIMC WINAPI ImmGetContext( HWND hwnd )
{ {
HIMC rc; TRACE( "hwnd %p\n", hwnd );
return NtUserGetWindowInputContext( hwnd );
TRACE("%p\n", hWnd);
rc = NtUserGetWindowInputContext(hWnd);
if (rc)
{
struct imc *data = get_imc_data( rc );
if (!data) rc = 0;
}
TRACE("returning %p\n", rc);
return rc;
} }
/*********************************************************************** /***********************************************************************
......
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