mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
imm32: Implementation of the ImmRequestMessage{A|W}.
This commit is contained in:
parent
37901a6592
commit
cedfd3f763
@ -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;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user