[IMAGESOFT] Fix build. Addendum to commit 516c8829.
[reactos.git] / win32ss / user / ntuser / ime.c
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
13 UINT FASTCALL
14 IntImmProcessKey(PUSER_MESSAGE_QUEUE MessageQueue, PWND pWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
15 {
16 PKL pKbdLayout;
17
18 ASSERT_REFS_CO(pWnd);
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 BOOL WINAPI
40 NtUserGetImeHotKey(IN DWORD dwHotKey,
41 OUT LPUINT lpuModifiers,
42 OUT LPUINT lpuVKey,
43 OUT LPHKL lphKL)
44 {
45 STUB
46
47 return FALSE;
48 }
49
50 DWORD
51 APIENTRY
52 NtUserNotifyIMEStatus(
53 HWND hwnd,
54 HIMC hIMC,
55 DWORD dwConversion)
56 {
57 TRACE("NtUserNotifyIMEStatus(%p, %p, 0x%lX)\n", hwnd, hIMC, dwConversion);
58 return 0;
59 }
60
61
62 DWORD
63 APIENTRY
64 NtUserSetImeHotKey(
65 DWORD Unknown0,
66 DWORD Unknown1,
67 DWORD Unknown2,
68 DWORD Unknown3,
69 DWORD Unknown4)
70 {
71 STUB
72
73 return 0;
74 }
75
76 DWORD
77 APIENTRY
78 NtUserCheckImeHotKey(
79 DWORD VirtualKey,
80 LPARAM lParam)
81 {
82 STUB;
83 return 0;
84 }
85
86
87 DWORD
88 APIENTRY
89 NtUserDisableThreadIme(
90 DWORD dwUnknown1)
91 {
92 STUB;
93 return 0;
94 }
95
96 DWORD
97 APIENTRY
98 NtUserGetAppImeLevel(
99 DWORD dwUnknown1)
100 {
101 STUB;
102 return 0;
103 }
104
105 BOOL
106 APIENTRY
107 NtUserGetImeInfoEx(
108 PIMEINFOEX pImeInfoEx,
109 IMEINFOEXCLASS SearchType)
110 {
111 STUB;
112 return FALSE;
113 }
114
115
116 DWORD
117 APIENTRY
118 NtUserSetAppImeLevel(
119 DWORD dwUnknown1,
120 DWORD dwUnknown2)
121 {
122 STUB;
123 return 0;
124 }
125
126 DWORD
127 APIENTRY
128 NtUserSetImeInfoEx(
129 PIMEINFOEX pImeInfoEx)
130 {
131 STUB;
132 return 0;
133 }
134
135 DWORD APIENTRY
136 NtUserSetImeOwnerWindow(DWORD Unknown0,
137 DWORD Unknown1)
138 {
139 STUB
140
141 return 0;
142 }
143
144
145 /* EOF */