imm32: Implement GSC_RESULTCLAUSE.

This commit is contained in:
Aric Stewart 2007-02-23 15:21:59 +09:00 committed by Alexandre Julliard
parent 19daedffaf
commit 26e22f1840
1 changed files with 15 additions and 0 deletions

View File

@ -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);