Skip to content
Snippets Groups Projects
Commit 6302b965 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard
Browse files

imm32: Implementation of GCS_CURSORPOS.

parent b28c41f1
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment