imm32: More implementation of the ImmGetConversionStatus().

Match the ImmSetConversionStatus() function.
This commit is contained in:
ByeongSik Jeon 2008-04-23 19:05:46 +09:00 committed by Alexandre Julliard
parent 4c5a21c60e
commit a720292bac
1 changed files with 10 additions and 3 deletions

View File

@ -1095,11 +1095,18 @@ DWORD WINAPI ImmGetConversionListW(
BOOL WINAPI ImmGetConversionStatus(
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)
*lpfdwConversion = IME_CMODE_NATIVE;
*lpfdwConversion = data->IMC.fdwConversion;
if (lpfdwSentence)
*lpfdwSentence = IME_SMODE_NONE;
*lpfdwSentence = data->IMC.fdwSentence;
return TRUE;
}