ReactOS  0.4.15-dev-1152-g6c94e4f
ime.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS Win32k subsystem
4  * PURPOSE: Input Method Editor and Input Method Manager support
5  * FILE: win32ss/user/ntuser/ime.c
6  * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
7  */
8 
9 #include <win32k.h>
10 DBG_DEFAULT_CHANNEL(UserMisc);
11 
12 
15 {
16  PKL pKbdLayout;
17 
19 
20  if ( Msg == WM_KEYDOWN ||
21  Msg == WM_SYSKEYDOWN ||
22  Msg == WM_KEYUP ||
23  Msg == WM_SYSKEYUP )
24  {
25  //Vk = wParam & 0xff;
26  pKbdLayout = pWnd->head.pti->KeyboardLayout;
27  if (pKbdLayout == NULL) return 0;
28  //
29  if (!(gpsi->dwSRVIFlags & SRVINFO_IMM32)) return 0;
30  // need ime.h!
31  }
32  // Call User32:
33  // Anything but BOOL!
34  //ImmRet = co_IntImmProcessKey(UserHMGetHandle(pWnd), pKbdLayout->hkl, Vk, lParam, HotKey);
35  FIXME(" is UNIMPLEMENTED.\n");
36  return 0;
37 }
38 
41  OUT LPUINT lpuModifiers,
42  OUT LPUINT lpuVKey,
43  OUT LPHKL lphKL)
44 {
45  STUB
46 
47  return FALSE;
48 }
49 
50 DWORD
53  DWORD Unknown0,
54  DWORD Unknown1,
55  DWORD Unknown2)
56 {
57  STUB
58 
59  return 0;
60 }
61 
62 
63 DWORD
66  DWORD Unknown0,
67  DWORD Unknown1,
68  DWORD Unknown2,
71 {
72  STUB
73 
74  return 0;
75 }
76 
77 DWORD
80  DWORD VirtualKey,
81  LPARAM lParam)
82 {
83  STUB;
84  return 0;
85 }
86 
87 
88 DWORD
91  DWORD dwUnknown1)
92 {
93  STUB;
94  return 0;
95 }
96 
97 DWORD
100  DWORD dwUnknown1)
101 {
102  STUB;
103  return 0;
104 }
105 
106 BOOL
107 APIENTRY
109  PIMEINFOEX pImeInfoEx,
110  IMEINFOEXCLASS SearchType)
111 {
112  STUB;
113  return FALSE;
114 }
115 
116 
117 DWORD
118 APIENTRY
120  DWORD dwUnknown1,
121  DWORD dwUnknown2)
122 {
123  STUB;
124  return 0;
125 }
126 
127 DWORD
128 APIENTRY
130  PIMEINFOEX pImeInfoEx)
131 {
132  STUB;
133  return 0;
134 }
135 
138  DWORD Unknown1)
139 {
140  STUB
141 
142  return 0;
143 }
144 
145 
146 /* EOF */
#define IN
Definition: typedefs.h:39
DBG_DEFAULT_CHANNEL(UserMisc)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES IN DWORD Unknown3
Definition: conport.c:35
DWORD APIENTRY NtUserCheckImeHotKey(DWORD VirtualKey, LPARAM lParam)
Definition: ime.c:79
#define ASSERT_REFS_CO(_obj_)
Definition: userfuncs.h:13
uint32_t * LPUINT
Definition: typedefs.h:59
struct @1610 Msg[]
UINT_PTR WPARAM
Definition: windef.h:207
#define FASTCALL
Definition: nt_native.h:50
PSERVERINFO gpsi
Definition: main.c:27
WPARAM wParam
Definition: combotst.c:138
PWND pWnd
Definition: hotkey.h:6
#define FALSE
Definition: types.h:117
DWORD dwSRVIFlags
Definition: ntuser.h:1004
unsigned int BOOL
Definition: ntddk_ex.h:94
PRTL_UNICODE_STRING_BUFFER PULONG PULONG Unknown4
#define FIXME(fmt,...)
Definition: debug.h:111
THRDESKHEAD head
Definition: ntuser.h:659
smooth NULL
Definition: ftsmooth.c:416
Definition: input.h:26
#define WM_KEYDOWN
Definition: winuser.h:1697
LONG_PTR LPARAM
Definition: windef.h:208
IMEINFOEXCLASS
Definition: ntuser.h:1177
#define WINAPI
Definition: msvc.h:6
#define WM_KEYUP
Definition: winuser.h:1698
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD APIENTRY NtUserGetAppImeLevel(DWORD dwUnknown1)
Definition: ime.c:99
DWORD APIENTRY NtUserNotifyIMEStatus(DWORD Unknown0, DWORD Unknown1, DWORD Unknown2)
Definition: ime.c:52
DWORD APIENTRY NtUserDisableThreadIme(DWORD dwUnknown1)
Definition: ime.c:90
Definition: ntuser.h:657
#define STUB
Definition: kernel32.h:27
#define WM_SYSKEYUP
Definition: winuser.h:1702
DWORD APIENTRY NtUserSetImeOwnerWindow(DWORD Unknown0, DWORD Unknown1)
Definition: ime.c:137
unsigned int UINT
Definition: ndis.h:50
UINT FASTCALL IntImmProcessKey(PUSER_MESSAGE_QUEUE MessageQueue, PWND pWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: ime.c:14
BOOL WINAPI NtUserGetImeHotKey(IN DWORD dwHotKey, OUT LPUINT lpuModifiers, OUT LPUINT lpuVKey, OUT LPHKL lphKL)
Definition: ime.c:40
#define OUT
Definition: typedefs.h:40
#define SRVINFO_IMM32
Definition: ntuser.h:910
#define WM_SYSKEYDOWN
Definition: winuser.h:1701
DWORD APIENTRY NtUserSetImeInfoEx(PIMEINFOEX pImeInfoEx)
Definition: ime.c:129
DWORD APIENTRY NtUserSetImeHotKey(DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4)
Definition: ime.c:65
BOOL APIENTRY NtUserGetImeInfoEx(PIMEINFOEX pImeInfoEx, IMEINFOEXCLASS SearchType)
Definition: ime.c:108
DWORD APIENTRY NtUserSetAppImeLevel(DWORD dwUnknown1, DWORD dwUnknown2)
Definition: ime.c:119
LPARAM lParam
Definition: combotst.c:139
#define APIENTRY
Definition: api.h:79