Commit cedfd3f7 authored by ByeongSik Jeon's avatar ByeongSik Jeon Committed by Alexandre Julliard

imm32: Implementation of the ImmRequestMessage{A|W}.

parent 37901a65
......@@ -1815,9 +1815,14 @@ BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
*/
LRESULT WINAPI ImmRequestMessageA(HIMC hIMC, WPARAM wParam, LPARAM lParam)
{
FIXME("(%p %ld %ld): stub\n", hIMC, wParam, wParam);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
InputContextData *data = (InputContextData*)hIMC;
TRACE("%p %ld %ld\n", hIMC, wParam, wParam);
if (data && IsWindow(data->IMC.hWnd))
return SendMessageA(data->IMC.hWnd, WM_IME_REQUEST, wParam, lParam);
return 0;
}
/***********************************************************************
......@@ -1825,9 +1830,14 @@ LRESULT WINAPI ImmRequestMessageA(HIMC hIMC, WPARAM wParam, LPARAM lParam)
*/
LRESULT WINAPI ImmRequestMessageW(HIMC hIMC, WPARAM wParam, LPARAM lParam)
{
FIXME("(%p %ld %ld): stub\n", hIMC, wParam, wParam);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
InputContextData *data = (InputContextData*)hIMC;
TRACE("%p %ld %ld\n", hIMC, wParam, wParam);
if (data && IsWindow(data->IMC.hWnd))
return SendMessageW(data->IMC.hWnd, WM_IME_REQUEST, wParam, lParam);
return 0;
}
/***********************************************************************
......
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