imm32: Semi-stub implement ImmEscape using loaded IME.
This commit is contained in:
parent
5818a0e787
commit
35e148594e
|
@ -629,12 +629,23 @@ LRESULT WINAPI ImmEscapeA(
|
|||
HKL hKL, HIMC hIMC,
|
||||
UINT uEscape, LPVOID lpData)
|
||||
{
|
||||
FIXME("(%p, %p, %d, %p): stub\n",
|
||||
hKL, hIMC, uEscape, lpData
|
||||
);
|
||||
ImmHkl *immHkl = IMM_GetImmHkl(hKL);
|
||||
TRACE("(%p, %p, %d, %p):\n", hKL, hIMC, uEscape, lpData);
|
||||
|
||||
if (immHkl->hIME && immHkl->pImeEscape)
|
||||
{
|
||||
if (!is_kbd_ime_unicode(immHkl))
|
||||
return immHkl->pImeEscape(hIMC,uEscape,lpData);
|
||||
else
|
||||
{
|
||||
FIXME("A procedure called with W ime back end\n");
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ImmEscapeW (IMM32.@)
|
||||
|
@ -643,12 +654,23 @@ LRESULT WINAPI ImmEscapeW(
|
|||
HKL hKL, HIMC hIMC,
|
||||
UINT uEscape, LPVOID lpData)
|
||||
{
|
||||
FIXME("(%p, %p, %d, %p): stub\n",
|
||||
hKL, hIMC, uEscape, lpData
|
||||
);
|
||||
ImmHkl *immHkl = IMM_GetImmHkl(hKL);
|
||||
TRACE("(%p, %p, %d, %p):\n", hKL, hIMC, uEscape, lpData);
|
||||
|
||||
if (immHkl->hIME && immHkl->pImeEscape)
|
||||
{
|
||||
if (is_kbd_ime_unicode(immHkl))
|
||||
return immHkl->pImeEscape(hIMC,uEscape,lpData);
|
||||
else
|
||||
{
|
||||
FIXME("W procedure called with A ime back end\n");
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ImmGetCandidateListA (IMM32.@)
|
||||
|
|
Loading…
Reference in New Issue