source: trunk/src/user32/oldnls32.cpp@ 6666

Last change on this file since 6666 was 6650, checked in by bird, 24 years ago

Added $Id:$ keyword.

File size: 4.2 KB
Line 
1/* $Id: oldnls32.cpp,v 1.2 2001-09-05 13:53:50 bird Exp $ */
2/*
3 winnls32.cpp
4
5*/
6
7#include <odin.h>
8#include <os2win.h>
9#include <odinwrap.h>
10#include "oldnls32.h"
11
12
13/*
14 BOOL IMPGetIME(hwnd, lpimepro)
15
16 Get Current IME Information
17 (HWND, InstallDate, Version, Description, FileName, Options on start...)
18
19 to invoke:
20 hnwd ... NULL
21 result:
22 not 0 ... success (infomation will be stored to lpimepro)
23 0 ... failure
24
25 see also:
26 ImmGetDefaultIMEWnd
27 ImmGetDescription
28 ImmGetIMEFileName
29 ImmGetProperty
30*/
31
32BOOL WINAPI IMPGetIMEA(HWND hwnd, LPIMEPROA lpip)
33{
34#ifdef DEBUG
35 dprintf(("USER32: IMPGetIMEA not implemented\n"));
36#endif
37 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
38 return FALSE;
39}
40
41BOOL WINAPI IMPGetIMEW(HWND hwnd, LPIMEPROW lpip)
42{
43#ifdef DEBUG
44 dprintf(("USER32: IMPGetIMEW not implemented\n"));
45#endif
46 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
47 return FALSE;
48}
49
50
51/*
52 BOOL IMPQueryIME(lpimepro)
53
54 Get(Enum) IMEs Information
55 (HWND, InstallDate, Version, Description, FileName, Options on start...)
56
57 to invoke:
58 first : lpimepro->szName[0] = 0
59 next to last : (must not modify any contents in lpimepro)
60
61 result:
62 not 0 ... success
63 lpimepro->hWnd ... HANDLE to the IME window (if loaded)
64 or NULL(if not)
65 0 ... failure, or end of list
66
67 see also:
68 ImmGetDefaultIMEWnd
69 ImmGetDescription
70 ImmGetIMEFileName
71 ImmGetProperty
72*/
73
74BOOL WINAPI IMPQueryIMEA(LPIMEPROA lpip)
75{
76#ifdef DEBUG
77 dprintf(("USER32: IMPQueryIMEA not implemented\n"));
78#endif
79 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80 return FALSE;
81}
82
83BOOL WINAPI IMPQueryIMEW(LPIMEPROW lpip)
84{
85#ifdef DEBUG
86 dprintf(("USER32: IMPQueryIMEW not implemented\n"));
87#endif
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
89 return FALSE;
90}
91
92
93/*
94 BOOL IMPSetIME(hwnd, lpimepro)
95
96 Switch active IME
97
98 to invoke:
99 hwnd = NULL
100 lpimepro = IME to switch
101 result:
102 not 0 ... success
103 0 ... failure
104
105 see also:
106 ImmAssociateContext
107*/
108
109BOOL WINAPI IMPSetIMEA(HWND hwnd, LPIMEPROA lpip)
110{
111#ifdef DEBUG
112 dprintf(("USER32: IMPSetIMEA not implemented\n"));
113#endif
114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
115 return FALSE;
116}
117
118BOOL WINAPI IMPSetIMEW(HWND hwnd, LPIMEPROW lpip)
119{
120#ifdef DEBUG
121 dprintf(("USER32: IMPSetIMEW not implemented\n"));
122#endif
123 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
124 return FALSE;
125}
126
127
128/*
129 UINT WINNLSGetIMEHotkey(hwnd)
130
131 Query Virtual Key code to open the IME
132
133 to invoke:
134 hnwd ... HANDLE to the IME window
135 result:
136 Virtual Key code, or NULL
137
138 see also:
139 ImmSimulateHotKey
140*/
141
142UINT WINAPI WINNLSGetIMEHotkey(HWND hwnd)
143{
144#ifdef DEBUG
145 dprintf(("USER32: WINNLSGetIMEHotKey not implemented\n"));
146#endif
147 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
148 return (UINT)NULL;
149}
150
151
152/*
153 BOOL WINNLSEnableIME(hwnd, bool)
154
155 make IME open/close
156
157 to invoke:
158 hwnd ... NULL
159 bool ... TRUE (open) or FALSE (close)
160 result:
161 previous state
162
163 see also:
164 ImmGetOpenStatus
165 ImmSetOpenStatus
166 ImmSimulateHotKey
167*/
168
169BOOL WINAPI WINNLSEnableIME(HWND hwnd, BOOL bOpen)
170{
171#ifdef DEBUG
172 dprintf(("USER32: WINNLSEnableIME not implemented\n"));
173 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
174#endif
175 return FALSE;
176}
177
178
179/*
180 BOOL WINNLSGetEnableStatus(hwnd)
181
182 Query IME open/close
183
184 to invoke:
185 hwnd ... NULL
186 result:
187 not 0 ... open
188 0 ... close
189
190 see also:
191 ImmGetOpenStatus
192*/
193
194BOOL WINAPI WINNLSGetEnableStatus(HWND hwnd)
195{
196#ifdef DEBUG
197 dprintf(("USER32: WINNLSGetEnableStatus not implemented\n"));
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
199#endif
200 return FALSE;
201}
202
203
204/*
205 LRESULT WINAPI SendIMEMessageEx(hwnd, lparam)
206*/
207
208
209LRESULT WINAPI SendIMEMessageExA(HWND hwnd, LPARAM lparam)
210{
211#ifdef DEBUG
212 dprintf(("USER32: SendIMEMessageExA not implemented\n"));
213 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
214#endif
215 return (LRESULT)0;
216}
217
218LRESULT WINAPI SendIMEMessageExW(HWND hwnd, LPARAM lparam)
219{
220#ifdef DEBUG
221 dprintf(("USER32: SendIMEMessageExW not implemented\n"));
222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
223#endif
224 return (LRESULT)0;
225}
226
Note: See TracBrowser for help on using the repository browser.