Commit 6302b965 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

imm32: Implementation of GCS_CURSORPOS.

parent b28c41f1
......@@ -590,6 +590,13 @@ LONG WINAPI ImmGetCompositionStringA(
}
rc = sizeof(DWORD)*2;
}
else if (dwIndex == GCS_CURSORPOS)
{
TRACE("GSC_CURSORPOS\n");
rc = WideCharToMultiByte(CP_ACP, 0, (LPWSTR)data->CompositionString,
data->dwCompStringLength/ sizeof(WCHAR), NULL,
0, NULL, NULL);
}
else
{
FIXME("Unhandled index 0x%x\n",dwIndex);
......@@ -667,6 +674,11 @@ LONG WINAPI ImmGetCompositionStringW(
rc = data->dwCompReadStringSize;
}
else if (dwIndex == GCS_CURSORPOS)
{
TRACE("GSC_CURSORPOS\n");
rc = data->dwCompStringLength;
}
else
{
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