mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:04:55 +00:00
imm32: Forward ImmGetContext to NtUserGetWindowInputContext directly.
This commit is contained in:
parent
5ef8554ee9
commit
422ee56c1b
|
@ -1776,23 +1776,10 @@ BOOL WINAPI ImmGetCompositionWindow( HIMC himc, COMPOSITIONFORM *composition )
|
|||
* ImmGetContext (IMM32.@)
|
||||
*
|
||||
*/
|
||||
HIMC WINAPI ImmGetContext(HWND hWnd)
|
||||
HIMC WINAPI ImmGetContext( HWND hwnd )
|
||||
{
|
||||
HIMC rc;
|
||||
|
||||
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;
|
||||
TRACE( "hwnd %p\n", hwnd );
|
||||
return NtUserGetWindowInputContext( hwnd );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in a new issue