ReactOS  0.4.14-dev-376-gaedba84
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 
39 
40 DWORD
43  DWORD Unknown0,
44  DWORD Unknown1,
45  DWORD Unknown2,
47 {
48  STUB
49 
50  return 0;
51 }
52 
53 DWORD
56  DWORD Unknown0,
57  DWORD Unknown1,
58  DWORD Unknown2)
59 {
60  STUB
61 
62  return 0;
63 }
64 
65 
66 DWORD
69  DWORD Unknown0,
70  DWORD Unknown1,
71  DWORD Unknown2,
74 {
75  STUB
76 
77  return 0;
78 }
79 
80 DWORD
83  DWORD VirtualKey,
84  LPARAM lParam)
85 {
86  STUB;
87  return 0;
88 }
89 
90 
91 DWORD
94  DWORD dwUnknown1)
95 {
96  STUB;
97  return 0;
98 }
99 
100 DWORD
101 APIENTRY
103  DWORD dwUnknown1)
104 {
105  STUB;
106  return 0;
107 }
108 
109 DWORD
110 APIENTRY
112  PIMEINFOEX pImeInfoEx,
113  DWORD dwUnknown2)
114 {
115  STUB;
116  return 0;
117 }
118 
119 
120 DWORD
121 APIENTRY
123  DWORD dwUnknown1,
124  DWORD dwUnknown2)
125 {
126  STUB;
127  return 0;
128 }
129 
130 DWORD
131 APIENTRY
133  PIMEINFOEX pImeInfoEx)
134 {
135  STUB;
136  return 0;
137 }
138 
141  DWORD Unknown1)
142 {
143  STUB
144 
145  return 0;
146 }
147 
148 
149 /* EOF */
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:82
#define ASSERT_REFS_CO(_obj_)
Definition: userfuncs.h:13
struct @1591 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
DWORD dwSRVIFlags
Definition: ntuser.h:1004
PRTL_UNICODE_STRING_BUFFER PULONG PULONG Unknown4
#define FIXME(fmt,...)
Definition: debug.h:110
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
#define WM_KEYUP
Definition: winuser.h:1698
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD APIENTRY NtUserGetAppImeLevel(DWORD dwUnknown1)
Definition: ime.c:102
DWORD APIENTRY NtUserNotifyIMEStatus(DWORD Unknown0, DWORD Unknown1, DWORD Unknown2)
Definition: ime.c:55
DWORD APIENTRY NtUserDisableThreadIme(DWORD dwUnknown1)
Definition: ime.c:93
DWORD APIENTRY NtUserGetImeHotKey(DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3)
Definition: ime.c:42
Definition: ntuser.h:657
#define STUB
Definition: kernel32.h:27
#define WM_SYSKEYUP
Definition: winuser.h:1702
DWORD APIENTRY NtUserGetImeInfoEx(PIMEINFOEX pImeInfoEx, DWORD dwUnknown2)
Definition: ime.c:111
DWORD APIENTRY NtUserSetImeOwnerWindow(DWORD Unknown0, DWORD Unknown1)
Definition: ime.c:140
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
#define SRVINFO_IMM32
Definition: ntuser.h:910
#define WM_SYSKEYDOWN
Definition: winuser.h:1701
DWORD APIENTRY NtUserSetImeInfoEx(PIMEINFOEX pImeInfoEx)
Definition: ime.c:132
DWORD APIENTRY NtUserSetImeHotKey(DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4)
Definition: ime.c:68
DWORD APIENTRY NtUserSetAppImeLevel(DWORD dwUnknown1, DWORD dwUnknown2)
Definition: ime.c:122
LPARAM lParam
Definition: combotst.c:139
#define APIENTRY
Definition: api.h:79