Commit 26e22f18 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

imm32: Implement GSC_RESULTCLAUSE.

parent 19daedff
...@@ -563,6 +563,21 @@ LONG WINAPI ImmGetCompositionStringA( ...@@ -563,6 +563,21 @@ LONG WINAPI ImmGetCompositionStringA(
} }
rc = sizeof(DWORD)*2; rc = sizeof(DWORD)*2;
} }
else if (dwIndex == GCS_RESULTCLAUSE)
{
TRACE("GSC_RESULTCLAUSE %p %i\n", data->ResultString, data->dwResultStringSize);
rc = WideCharToMultiByte(CP_ACP, 0, (LPWSTR)data->ResultString,
data->dwResultStringSize/ sizeof(WCHAR), NULL,
0, NULL, NULL);
if (dwBufLen >= sizeof(DWORD)*2)
{
((LPDWORD)lpBuf)[0] = 0;
((LPDWORD)lpBuf)[1] = rc;
}
rc = sizeof(DWORD)*2;
}
else else
{ {
FIXME("Unhandled index 0x%x\n",dwIndex); FIXME("Unhandled index 0x%x\n",dwIndex);
......
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