xref: /reactos/win32ss/user/ntuser/ime.c (revision c2c66aff)
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 
40 DWORD
41 APIENTRY
42 NtUserGetImeHotKey(
43    DWORD Unknown0,
44    DWORD Unknown1,
45    DWORD Unknown2,
46    DWORD Unknown3)
47 {
48    STUB
49 
50    return 0;
51 }
52 
53 DWORD
54 APIENTRY
55 NtUserNotifyIMEStatus(
56    DWORD Unknown0,
57    DWORD Unknown1,
58    DWORD Unknown2)
59 {
60    STUB
61 
62    return 0;
63 }
64 
65 
66 DWORD
67 APIENTRY
68 NtUserSetImeHotKey(
69    DWORD Unknown0,
70    DWORD Unknown1,
71    DWORD Unknown2,
72    DWORD Unknown3,
73    DWORD Unknown4)
74 {
75    STUB
76 
77    return 0;
78 }
79 
80 DWORD
81 APIENTRY
82 NtUserCheckImeHotKey(
83     DWORD  VirtualKey,
84     LPARAM lParam)
85 {
86     STUB;
87     return 0;
88 }
89 
90 
91 DWORD
92 APIENTRY
93 NtUserDisableThreadIme(
94     DWORD dwUnknown1)
95 {
96     STUB;
97     return 0;
98 }
99 
100 DWORD
101 APIENTRY
102 NtUserGetAppImeLevel(
103     DWORD dwUnknown1)
104 {
105     STUB;
106     return 0;
107 }
108 
109 DWORD
110 APIENTRY
111 NtUserGetImeInfoEx(
112     PIMEINFOEX pImeInfoEx,
113     DWORD dwUnknown2)
114 {
115     STUB;
116     return 0;
117 }
118 
119 
120 DWORD
121 APIENTRY
122 NtUserSetAppImeLevel(
123     DWORD dwUnknown1,
124     DWORD dwUnknown2)
125 {
126     STUB;
127     return 0;
128 }
129 
130 DWORD
131 APIENTRY
132 NtUserSetImeInfoEx(
133     PIMEINFOEX pImeInfoEx)
134 {
135     STUB;
136     return 0;
137 }
138 
139 DWORD APIENTRY
140 NtUserSetImeOwnerWindow(DWORD Unknown0,
141                         DWORD Unknown1)
142 {
143    STUB
144 
145    return 0;
146 }
147 
148 
149 /* EOF */
150