Commit a720292b authored by ByeongSik Jeon's avatar ByeongSik Jeon Committed by Alexandre Julliard

imm32: More implementation of the ImmGetConversionStatus().

Match the ImmSetConversionStatus() function.
parent 4c5a21c6
...@@ -1095,11 +1095,18 @@ DWORD WINAPI ImmGetConversionListW( ...@@ -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;
} }
......
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