imm32: More implementation of the ImmGetConversionStatus().
Match the ImmSetConversionStatus() function.
This commit is contained in:
parent
4c5a21c60e
commit
a720292bac
|
@ -1095,11 +1095,18 @@ DWORD WINAPI ImmGetConversionListW(
|
||||||
BOOL WINAPI ImmGetConversionStatus(
|
BOOL WINAPI ImmGetConversionStatus(
|
||||||
HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
|
HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %p, %p): best guess\n", hIMC, lpfdwConversion, lpfdwSentence);
|
InputContextData *data = (InputContextData*)hIMC;
|
||||||
|
|
||||||
|
TRACE("%p %p %p\n", hIMC, lpfdwConversion, lpfdwSentence);
|
||||||
|
|
||||||
|
if (!data)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (lpfdwConversion)
|
if (lpfdwConversion)
|
||||||
*lpfdwConversion = IME_CMODE_NATIVE;
|
*lpfdwConversion = data->IMC.fdwConversion;
|
||||||
if (lpfdwSentence)
|
if (lpfdwSentence)
|
||||||
*lpfdwSentence = IME_SMODE_NONE;
|
*lpfdwSentence = data->IMC.fdwSentence;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue