mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
![Katayama Hirofumi MZ](/assets/img/avatar_default.png)
- Add the definition of imm32!ImmGetImeInfoEx function. - Add IMEINFOEXCLASS and IS_IME_HKL into "ntuser.h". - Modify NtUserGetImeInfoEx function prototype. CORE-11700
147 lines
2.2 KiB
C
147 lines
2.2 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Win32k subsystem
|
|
* PURPOSE: Input Method Editor and Input Method Manager support
|
|
* FILE: win32ss/user/ntuser/ime.c
|
|
* PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
|
|
*/
|
|
|
|
#include <win32k.h>
|
|
DBG_DEFAULT_CHANNEL(UserMisc);
|
|
|
|
|
|
UINT FASTCALL
|
|
IntImmProcessKey(PUSER_MESSAGE_QUEUE MessageQueue, PWND pWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|
{
|
|
PKL pKbdLayout;
|
|
|
|
ASSERT_REFS_CO(pWnd);
|
|
|
|
if ( Msg == WM_KEYDOWN ||
|
|
Msg == WM_SYSKEYDOWN ||
|
|
Msg == WM_KEYUP ||
|
|
Msg == WM_SYSKEYUP )
|
|
{
|
|
//Vk = wParam & 0xff;
|
|
pKbdLayout = pWnd->head.pti->KeyboardLayout;
|
|
if (pKbdLayout == NULL) return 0;
|
|
//
|
|
if (!(gpsi->dwSRVIFlags & SRVINFO_IMM32)) return 0;
|
|
// need ime.h!
|
|
}
|
|
// Call User32:
|
|
// Anything but BOOL!
|
|
//ImmRet = co_IntImmProcessKey(UserHMGetHandle(pWnd), pKbdLayout->hkl, Vk, lParam, HotKey);
|
|
FIXME(" is UNIMPLEMENTED.\n");
|
|
return 0;
|
|
}
|
|
|
|
BOOL WINAPI
|
|
NtUserGetImeHotKey(IN DWORD dwHotKey,
|
|
OUT LPUINT lpuModifiers,
|
|
OUT LPUINT lpuVKey,
|
|
OUT LPHKL lphKL)
|
|
{
|
|
STUB
|
|
|
|
return FALSE;
|
|
}
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserNotifyIMEStatus(
|
|
DWORD Unknown0,
|
|
DWORD Unknown1,
|
|
DWORD Unknown2)
|
|
{
|
|
STUB
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserSetImeHotKey(
|
|
DWORD Unknown0,
|
|
DWORD Unknown1,
|
|
DWORD Unknown2,
|
|
DWORD Unknown3,
|
|
DWORD Unknown4)
|
|
{
|
|
STUB
|
|
|
|
return 0;
|
|
}
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserCheckImeHotKey(
|
|
DWORD VirtualKey,
|
|
LPARAM lParam)
|
|
{
|
|
STUB;
|
|
return 0;
|
|
}
|
|
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserDisableThreadIme(
|
|
DWORD dwUnknown1)
|
|
{
|
|
STUB;
|
|
return 0;
|
|
}
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserGetAppImeLevel(
|
|
DWORD dwUnknown1)
|
|
{
|
|
STUB;
|
|
return 0;
|
|
}
|
|
|
|
BOOL
|
|
APIENTRY
|
|
NtUserGetImeInfoEx(
|
|
PIMEINFOEX pImeInfoEx,
|
|
IMEINFOEXCLASS SearchType)
|
|
{
|
|
STUB;
|
|
return FALSE;
|
|
}
|
|
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserSetAppImeLevel(
|
|
DWORD dwUnknown1,
|
|
DWORD dwUnknown2)
|
|
{
|
|
STUB;
|
|
return 0;
|
|
}
|
|
|
|
DWORD
|
|
APIENTRY
|
|
NtUserSetImeInfoEx(
|
|
PIMEINFOEX pImeInfoEx)
|
|
{
|
|
STUB;
|
|
return 0;
|
|
}
|
|
|
|
DWORD APIENTRY
|
|
NtUserSetImeOwnerWindow(DWORD Unknown0,
|
|
DWORD Unknown1)
|
|
{
|
|
STUB
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
/* EOF */
|