1 | /*
|
---|
2 | * Copyright 2007 Jacek Caban for CodeWeavers
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef DO_NO_IMPORTS
|
---|
29 | import "unknwn.idl";
|
---|
30 | #endif
|
---|
31 |
|
---|
32 | cpp_quote("#include <imm.h>")
|
---|
33 |
|
---|
34 | cpp_quote("#if 0")
|
---|
35 |
|
---|
36 | typedef struct {
|
---|
37 | LPSTR lpReading;
|
---|
38 | LPSTR lpWord;
|
---|
39 | } REGISTERWORDA;
|
---|
40 |
|
---|
41 | typedef struct {
|
---|
42 | LPWSTR lpReading;
|
---|
43 | LPWSTR lpWord;
|
---|
44 | } REGISTERWORDW;
|
---|
45 |
|
---|
46 | #define LF_FACESIZE 32
|
---|
47 |
|
---|
48 | typedef struct {
|
---|
49 | LONG lfHeight;
|
---|
50 | LONG lfWidth;
|
---|
51 | LONG lfEscapement;
|
---|
52 | LONG lfOrientation;
|
---|
53 | LONG lfWeight;
|
---|
54 | BYTE lfItalic;
|
---|
55 | BYTE lfUnderline;
|
---|
56 | BYTE lfStrikeOut;
|
---|
57 | BYTE lfCharSet;
|
---|
58 | BYTE lfOutPrecision;
|
---|
59 | BYTE lfClipPrecision;
|
---|
60 | BYTE lfQuality;
|
---|
61 | BYTE lfPitchAndFamily;
|
---|
62 | CHAR lfFaceName[LF_FACESIZE];
|
---|
63 | } LOGFONTA;
|
---|
64 |
|
---|
65 | typedef struct {
|
---|
66 | LONG lfHeight;
|
---|
67 | LONG lfWidth;
|
---|
68 | LONG lfEscapement;
|
---|
69 | LONG lfOrientation;
|
---|
70 | LONG lfWeight;
|
---|
71 | BYTE lfItalic;
|
---|
72 | BYTE lfUnderline;
|
---|
73 | BYTE lfStrikeOut;
|
---|
74 | BYTE lfCharSet;
|
---|
75 | BYTE lfOutPrecision;
|
---|
76 | BYTE lfClipPrecision;
|
---|
77 | BYTE lfQuality;
|
---|
78 | BYTE lfPitchAndFamily;
|
---|
79 | WCHAR lfFaceName[LF_FACESIZE];
|
---|
80 | } LOGFONTW;
|
---|
81 |
|
---|
82 | typedef DWORD HIMC;
|
---|
83 | typedef DWORD HIMCC;
|
---|
84 |
|
---|
85 | typedef struct {
|
---|
86 | DWORD dwIndex;
|
---|
87 | DWORD dwStyle;
|
---|
88 | POINT ptCurrentPos;
|
---|
89 | RECT rcArea;
|
---|
90 | } CANDIDATEFORM;
|
---|
91 |
|
---|
92 | typedef struct {
|
---|
93 | DWORD dwStyle;
|
---|
94 | POINT ptCurrentPos;
|
---|
95 | RECT rcArea;
|
---|
96 | } COMPOSITIONFORM;
|
---|
97 |
|
---|
98 | typedef struct {
|
---|
99 | DWORD dwSize;
|
---|
100 | DWORD dwStyle;
|
---|
101 | DWORD dwCount;
|
---|
102 | DWORD dwSelection;
|
---|
103 | DWORD dwPageStart;
|
---|
104 | DWORD dwPageSize;
|
---|
105 | DWORD dwOffset[1];
|
---|
106 | } CANDIDATELIST;
|
---|
107 |
|
---|
108 | #define STYLE_DESCRIPTION_SIZE 32
|
---|
109 |
|
---|
110 | typedef struct {
|
---|
111 | DWORD dwStyle;
|
---|
112 | CHAR szDescription[STYLE_DESCRIPTION_SIZE];
|
---|
113 | } STYLEBUFA;
|
---|
114 |
|
---|
115 | typedef struct {
|
---|
116 | DWORD dwStyle;
|
---|
117 | WCHAR szDescription[STYLE_DESCRIPTION_SIZE];
|
---|
118 | } STYLEBUFW;
|
---|
119 |
|
---|
120 | typedef WORD ATOM;
|
---|
121 |
|
---|
122 | #define IMEMENUITEM_STRING_SIZE 80
|
---|
123 |
|
---|
124 | typedef struct {
|
---|
125 | UINT cbSize;
|
---|
126 | UINT fType;
|
---|
127 | UINT fState;
|
---|
128 | UINT wID;
|
---|
129 | HBITMAP hbmpChecked;
|
---|
130 | HBITMAP hbmpUnchecked;
|
---|
131 | DWORD dwItemData;
|
---|
132 | CHAR szString[IMEMENUITEM_STRING_SIZE];
|
---|
133 | HBITMAP hbmpItem;
|
---|
134 | } IMEMENUITEMINFOA;
|
---|
135 |
|
---|
136 | typedef struct {
|
---|
137 | UINT cbSize;
|
---|
138 | UINT fType;
|
---|
139 | UINT fState;
|
---|
140 | UINT wID;
|
---|
141 | HBITMAP hbmpChecked;
|
---|
142 | HBITMAP hbmpUnchecked;
|
---|
143 | DWORD dwItemData;
|
---|
144 | WCHAR szString[IMEMENUITEM_STRING_SIZE];
|
---|
145 | HBITMAP hbmpItem;
|
---|
146 | } IMEMENUITEMINFOW;
|
---|
147 |
|
---|
148 | cpp_quote("#endif")
|
---|
149 |
|
---|
150 | [
|
---|
151 | object,
|
---|
152 | uuid(08c03412-f96b-11d0-a475-00aa006bcc59),
|
---|
153 | pointer_default(unique)
|
---|
154 | ]
|
---|
155 | interface IEnumRegisterWordA : IUnknown
|
---|
156 | {
|
---|
157 | HRESULT Clone(
|
---|
158 | [out] IEnumRegisterWordA **ppEnum);
|
---|
159 |
|
---|
160 | HRESULT Next(
|
---|
161 | [in] ULONG ulCount,
|
---|
162 | [out] REGISTERWORDA *rgRegisterword,
|
---|
163 | [out] ULONG *pcFetched);
|
---|
164 |
|
---|
165 | HRESULT Reset();
|
---|
166 |
|
---|
167 | HRESULT Skip(
|
---|
168 | [in] ULONG ulCount);
|
---|
169 | }
|
---|
170 |
|
---|
171 | [
|
---|
172 | object,
|
---|
173 | uuid(4955dd31-b159-11d0-8fcf-00aa006bcc59),
|
---|
174 | pointer_default(unique)
|
---|
175 | ]
|
---|
176 | interface IEnumRegisterWordW : IUnknown
|
---|
177 | {
|
---|
178 | HRESULT Clone(
|
---|
179 | [out] IEnumRegisterWordW **ppEnum);
|
---|
180 |
|
---|
181 | HRESULT Next(
|
---|
182 | [in] ULONG ulCount,
|
---|
183 | [out] REGISTERWORDW *rgRegisterword,
|
---|
184 | [out] ULONG *pcFetched);
|
---|
185 |
|
---|
186 | HRESULT Reset();
|
---|
187 |
|
---|
188 | HRESULT Skip(
|
---|
189 | [in] ULONG ulCount);
|
---|
190 | }
|
---|
191 |
|
---|
192 | [
|
---|
193 | object,
|
---|
194 | uuid(09b5eab0-f997-11d1-93d4-0060b067b86e),
|
---|
195 | pointer_default(unique),
|
---|
196 | local
|
---|
197 | ]
|
---|
198 | interface IEnumInputContext : IUnknown
|
---|
199 | {
|
---|
200 | HRESULT Clone(
|
---|
201 | [out] IEnumInputContext **ppEnum);
|
---|
202 |
|
---|
203 | HRESULT Next(
|
---|
204 | [in] ULONG ulCount,
|
---|
205 | [out] HIMC *rgInputContext,
|
---|
206 | [out] ULONG *pcFetched);
|
---|
207 |
|
---|
208 | HRESULT Reset();
|
---|
209 |
|
---|
210 | HRESULT Skip(
|
---|
211 | [in] ULONG ulCount);
|
---|
212 | }
|
---|
213 |
|
---|
214 | [
|
---|
215 | object,
|
---|
216 | uuid(08c0e040-62d1-11d1-9326-0060b067b86e),
|
---|
217 | pointer_default(unique),
|
---|
218 | local
|
---|
219 | ]
|
---|
220 | interface IActiveIMMApp : IUnknown
|
---|
221 | {
|
---|
222 | HRESULT AssociateContext(
|
---|
223 | [in] HWND hWnd,
|
---|
224 | [in] HIMC hIME,
|
---|
225 | [out] HIMC *phPrev);
|
---|
226 |
|
---|
227 | HRESULT ConfigureIMEA(
|
---|
228 | [in] HKL hKL,
|
---|
229 | [in] HWND hwnd,
|
---|
230 | [in] DWORD dwMode,
|
---|
231 | [in] REGISTERWORDA *pData);
|
---|
232 |
|
---|
233 | HRESULT ConfigureIMEW(
|
---|
234 | [in] HKL hKL,
|
---|
235 | [in] HWND hWnd,
|
---|
236 | [in] DWORD dwMode,
|
---|
237 | [in] REGISTERWORDW *pData);
|
---|
238 |
|
---|
239 | HRESULT CreateContext(
|
---|
240 | [out] HIMC *phIMC);
|
---|
241 |
|
---|
242 | HRESULT DestroyContext(
|
---|
243 | [in] HIMC hIME);
|
---|
244 |
|
---|
245 | HRESULT EnumRegisterWordA(
|
---|
246 | [in] HKL hKL,
|
---|
247 | [in] LPSTR szReading,
|
---|
248 | [in] DWORD dwStyle,
|
---|
249 | [in] LPSTR szRegister,
|
---|
250 | [in] LPVOID pData,
|
---|
251 | [out] IEnumRegisterWordA **pEnum);
|
---|
252 |
|
---|
253 | HRESULT EnumRegisterWordW(
|
---|
254 | [in] HKL hKL,
|
---|
255 | [in] LPWSTR szReading,
|
---|
256 | [in] DWORD dwStyle,
|
---|
257 | [in] LPWSTR szRegister,
|
---|
258 | [in] LPVOID pData,
|
---|
259 | [out] IEnumRegisterWordW **pEnum);
|
---|
260 |
|
---|
261 | HRESULT EscapeA(
|
---|
262 | [in] HKL hKL,
|
---|
263 | [in] HIMC hIMC,
|
---|
264 | [in] UINT uEscape,
|
---|
265 | [in, out] LPVOID pData,
|
---|
266 | [out] LRESULT *plResult);
|
---|
267 |
|
---|
268 | HRESULT EscapeW(
|
---|
269 | [in] HKL hKL,
|
---|
270 | [in] HIMC hIMC,
|
---|
271 | [in] UINT uEscape,
|
---|
272 | [in, out] LPVOID pData,
|
---|
273 | [out] LRESULT *plResult);
|
---|
274 |
|
---|
275 | HRESULT GetCandidateListA(
|
---|
276 | [in] HIMC hIMC,
|
---|
277 | [in] DWORD dwIndex,
|
---|
278 | [in] UINT uBufLen,
|
---|
279 | [out] CANDIDATELIST *pCandList,
|
---|
280 | [out] UINT *puCopied);
|
---|
281 |
|
---|
282 | HRESULT GetCandidateListW(
|
---|
283 | [in] HIMC hIMC,
|
---|
284 | [in] DWORD dwIndex,
|
---|
285 | [in] UINT uBufLen,
|
---|
286 | [out] CANDIDATELIST *pCandList,
|
---|
287 | [out] UINT *puCopied);
|
---|
288 |
|
---|
289 | HRESULT GetCandidateListCountA(
|
---|
290 | [in] HIMC hIMC,
|
---|
291 | [out] DWORD *pdwListSize,
|
---|
292 | [out] DWORD *pdwBufLen);
|
---|
293 |
|
---|
294 | HRESULT GetCandidateListCountW(
|
---|
295 | [in] HIMC hIMC,
|
---|
296 | [out] DWORD *pdwListSize,
|
---|
297 | [out] DWORD *pdwBufLen);
|
---|
298 |
|
---|
299 | HRESULT GetCandidateWindow(
|
---|
300 | [in] HIMC hIMC,
|
---|
301 | [in] DWORD dwIndex,
|
---|
302 | [out] CANDIDATEFORM *pCandidate);
|
---|
303 |
|
---|
304 | HRESULT GetCompositionFontA(
|
---|
305 | [in] HIMC hIMC,
|
---|
306 | [out] LOGFONTA *plf);
|
---|
307 |
|
---|
308 | HRESULT GetCompositionFontW(
|
---|
309 | [in] HIMC hIMC,
|
---|
310 | [out] LOGFONTW *plf);
|
---|
311 |
|
---|
312 | HRESULT GetCompositionStringA(
|
---|
313 | [in] HIMC hIMC,
|
---|
314 | [in] DWORD dwIndex,
|
---|
315 | [in] DWORD dwBufLen,
|
---|
316 | [out] LONG *plCopied,
|
---|
317 | [out] LPVOID pBuf);
|
---|
318 |
|
---|
319 | HRESULT GetCompositionStringW(
|
---|
320 | [in] HIMC hIMC,
|
---|
321 | [in] DWORD dwIndex,
|
---|
322 | [in] DWORD dwBufLen,
|
---|
323 | [out] LONG *plCopied,
|
---|
324 | [out] LPVOID pBuf);
|
---|
325 |
|
---|
326 | HRESULT GetCompositionWindow(
|
---|
327 | [in] HIMC hIMC,
|
---|
328 | [out] COMPOSITIONFORM *pCompForm);
|
---|
329 |
|
---|
330 | HRESULT GetContext(
|
---|
331 | [in] HWND hwnd,
|
---|
332 | [out] HIMC *phIMC);
|
---|
333 |
|
---|
334 | HRESULT GetConversionListA(
|
---|
335 | [in] HKL hKL,
|
---|
336 | [in] HIMC hIMC,
|
---|
337 | [in] LPSTR pSrc,
|
---|
338 | [in] UINT uBufLen,
|
---|
339 | [in] UINT uFlag,
|
---|
340 | [out] CANDIDATELIST *pDst,
|
---|
341 | [out] UINT *puCopied);
|
---|
342 |
|
---|
343 | HRESULT GetConversionListW(
|
---|
344 | [in] HKL hKL,
|
---|
345 | [in] HIMC hIMC,
|
---|
346 | [in] LPWSTR pSrc,
|
---|
347 | [in] UINT uBufLen,
|
---|
348 | [in] UINT uFlag,
|
---|
349 | [out] CANDIDATELIST *pDst,
|
---|
350 | [out] UINT *puCopied);
|
---|
351 |
|
---|
352 | HRESULT GetConversionStatus(
|
---|
353 | [in] HIMC hIMC,
|
---|
354 | [out] DWORD *pfdwConversion,
|
---|
355 | [out] DWORD *pfdwSentence);
|
---|
356 |
|
---|
357 | HRESULT GetDefaultIMEWnd(
|
---|
358 | [in] HWND hWnd,
|
---|
359 | [out] HWND *phDefWnd);
|
---|
360 |
|
---|
361 | HRESULT GetDescriptionA(
|
---|
362 | [in] HKL hKL,
|
---|
363 | [in] UINT uBufLen,
|
---|
364 | [out] LPSTR szDescription,
|
---|
365 | [out] UINT *puCopied);
|
---|
366 |
|
---|
367 | HRESULT GetDescriptionW(
|
---|
368 | [in] HKL hKL,
|
---|
369 | [in] UINT uBufLen,
|
---|
370 | [out] LPWSTR szDescription,
|
---|
371 | [out] UINT *puCopied);
|
---|
372 |
|
---|
373 | HRESULT GetGuideLineA(
|
---|
374 | [in] HIMC hIMC,
|
---|
375 | [in] DWORD dwIndex,
|
---|
376 | [in] DWORD dwBufLen,
|
---|
377 | [out] LPSTR pBuf,
|
---|
378 | [out] DWORD *pdwResult);
|
---|
379 |
|
---|
380 | HRESULT GetGuideLineW(
|
---|
381 | [in] HIMC hIMC,
|
---|
382 | [in] DWORD dwIndex,
|
---|
383 | [in] DWORD dwBufLen,
|
---|
384 | [out] LPWSTR pBuf,
|
---|
385 | [out] DWORD *pdwResult);
|
---|
386 |
|
---|
387 | HRESULT GetIMEFileNameA(
|
---|
388 | [in] HKL hKL,
|
---|
389 | [in] UINT uBufLen,
|
---|
390 | [out] LPSTR szFileName,
|
---|
391 | [out] UINT *puCopied);
|
---|
392 |
|
---|
393 | HRESULT GetIMEFileNameW(
|
---|
394 | [in] HKL hKL,
|
---|
395 | [in] UINT uBufLen,
|
---|
396 | [out] LPWSTR szFileName,
|
---|
397 | [out] UINT *puCopied);
|
---|
398 |
|
---|
399 | HRESULT GetOpenStatus(
|
---|
400 | [in] HIMC hIMC);
|
---|
401 |
|
---|
402 | HRESULT GetProperty(
|
---|
403 | [in] HKL hKL,
|
---|
404 | [in] DWORD fdwIndex,
|
---|
405 | [out] DWORD *pdwProperty);
|
---|
406 |
|
---|
407 | HRESULT GetRegisterWordStyleA(
|
---|
408 | [in] HKL hKL,
|
---|
409 | [in] UINT nItem,
|
---|
410 | [out] STYLEBUFA *pStyleBuf,
|
---|
411 | [out] UINT *puCopied);
|
---|
412 |
|
---|
413 | HRESULT GetRegisterWordStyleW(
|
---|
414 | [in] HKL hKL,
|
---|
415 | [in] UINT nItem,
|
---|
416 | [out] STYLEBUFW *pStyleBuf,
|
---|
417 | [out] UINT *puCopied);
|
---|
418 |
|
---|
419 | HRESULT GetStatusWindowPos(
|
---|
420 | [in] HIMC hIMC,
|
---|
421 | [out] POINT *pptPos);
|
---|
422 |
|
---|
423 | HRESULT GetVirtualKey(
|
---|
424 | [in] HWND hWnd,
|
---|
425 | [out] UINT *puVirtualKey);
|
---|
426 |
|
---|
427 | HRESULT InstallIMEA(
|
---|
428 | [in] LPSTR szIMEFileName,
|
---|
429 | [in] LPSTR szLayoutText,
|
---|
430 | [out] HKL *phKL);
|
---|
431 |
|
---|
432 | HRESULT InstallIMEW(
|
---|
433 | [in] LPWSTR szIMEFileName,
|
---|
434 | [in] LPWSTR szLayoutText,
|
---|
435 | [out] HKL *phKL);
|
---|
436 |
|
---|
437 | HRESULT IsIME(
|
---|
438 | [in] HKL hKL);
|
---|
439 |
|
---|
440 | HRESULT IsUIMessageA(
|
---|
441 | [in] HWND hWndIME,
|
---|
442 | [in] UINT msg,
|
---|
443 | [in] WPARAM wParam,
|
---|
444 | [in] LPARAM lParam);
|
---|
445 |
|
---|
446 | HRESULT IsUIMessageW(
|
---|
447 | [in] HWND hWndIME,
|
---|
448 | [in] UINT msg,
|
---|
449 | [in] WPARAM wParam,
|
---|
450 | [in] LPARAM lParam);
|
---|
451 |
|
---|
452 | HRESULT NotifyIME(
|
---|
453 | [in] HIMC hIMC,
|
---|
454 | [in] DWORD dwAction,
|
---|
455 | [in] DWORD dwIndex,
|
---|
456 | [in] DWORD dwValue);
|
---|
457 |
|
---|
458 | HRESULT RegisterWordA(
|
---|
459 | [in] HKL hKL,
|
---|
460 | [in] LPSTR szReading,
|
---|
461 | [in] DWORD dwStyle,
|
---|
462 | [in] LPSTR szRegister);
|
---|
463 |
|
---|
464 | HRESULT RegisterWordW(
|
---|
465 | [in] HKL hKL,
|
---|
466 | [in] LPWSTR szReading,
|
---|
467 | [in] DWORD dwStyle,
|
---|
468 | [in] LPWSTR szRegister);
|
---|
469 |
|
---|
470 | HRESULT ReleaseContext(
|
---|
471 | [in] HWND hWnd,
|
---|
472 | [in] HIMC hIMC);
|
---|
473 |
|
---|
474 | HRESULT SetCandidateWindow(
|
---|
475 | [in] HIMC hIMC,
|
---|
476 | [in] CANDIDATEFORM *pCandidate);
|
---|
477 |
|
---|
478 | HRESULT SetCompositionFontA(
|
---|
479 | [in] HIMC hIMC,
|
---|
480 | [in] LOGFONTA *plf);
|
---|
481 |
|
---|
482 | HRESULT SetCompositionFontW(
|
---|
483 | [in] HIMC hIMC,
|
---|
484 | [in] LOGFONTW *plf);
|
---|
485 |
|
---|
486 | HRESULT SetCompositionStringA(
|
---|
487 | [in] HIMC hIMC,
|
---|
488 | [in] DWORD dwIndex,
|
---|
489 | [in] LPVOID pComp,
|
---|
490 | [in] DWORD dwCompLen,
|
---|
491 | [in] LPVOID pRead,
|
---|
492 | [in] DWORD dwReadLen);
|
---|
493 |
|
---|
494 | HRESULT SetCompositionStringW(
|
---|
495 | [in] HIMC hIMC,
|
---|
496 | [in] DWORD dwIndex,
|
---|
497 | [in] LPVOID pComp,
|
---|
498 | [in] DWORD dwCompLen,
|
---|
499 | [in] LPVOID pRead,
|
---|
500 | [in] DWORD dwReadLen);
|
---|
501 |
|
---|
502 | HRESULT SetCompositionWindow(
|
---|
503 | [in] HIMC hIMC,
|
---|
504 | [in] COMPOSITIONFORM *pCompForm);
|
---|
505 |
|
---|
506 | HRESULT SetConversionStatus(
|
---|
507 | [in] HIMC hIMC,
|
---|
508 | [in] DWORD fdwConversion,
|
---|
509 | [in] DWORD fdwSentence);
|
---|
510 |
|
---|
511 | HRESULT SetOpenStatus(
|
---|
512 | [in] HIMC hIMC,
|
---|
513 | [in] BOOL fOpen);
|
---|
514 |
|
---|
515 | HRESULT SetStatusWindowPos(
|
---|
516 | [in] HIMC hIMC,
|
---|
517 | [in] POINT *pptPos);
|
---|
518 |
|
---|
519 | HRESULT SimulateHotKey(
|
---|
520 | [in] HWND hwnd,
|
---|
521 | [in] DWORD dwHotKeyID);
|
---|
522 |
|
---|
523 | HRESULT UnregisterWordA(
|
---|
524 | [in] HKL hKL,
|
---|
525 | [in] LPSTR szReading,
|
---|
526 | [in] DWORD dwStyle,
|
---|
527 | [in] LPSTR szUnregister);
|
---|
528 |
|
---|
529 | HRESULT UnregisterWordW(
|
---|
530 | [in] HKL hKL,
|
---|
531 | [in] LPWSTR szReading,
|
---|
532 | [in] DWORD dwStyle,
|
---|
533 | [in] LPWSTR szUnregister);
|
---|
534 |
|
---|
535 | HRESULT Activate(
|
---|
536 | [in] BOOL fRestoreLayout);
|
---|
537 |
|
---|
538 | HRESULT Deactivate();
|
---|
539 |
|
---|
540 | HRESULT OnDefWindowProc(
|
---|
541 | [in] HWND hWnd,
|
---|
542 | [in] UINT Msg,
|
---|
543 | [in] WPARAM wParam,
|
---|
544 | [in] LPARAM lParam,
|
---|
545 | [out] LRESULT *plResult);
|
---|
546 |
|
---|
547 | HRESULT FilterClientWindows(
|
---|
548 | [in] ATOM *aaClassList,
|
---|
549 | [in] UINT uSize);
|
---|
550 |
|
---|
551 | HRESULT GetCodePageA(
|
---|
552 | [in] HKL hKL,
|
---|
553 | [out] UINT *uCodePage);
|
---|
554 |
|
---|
555 | HRESULT GetLangId(
|
---|
556 | [in] HKL hKL,
|
---|
557 | [out] LANGID *plid);
|
---|
558 |
|
---|
559 | HRESULT AssociateContextEx(
|
---|
560 | [in] HWND hWnd,
|
---|
561 | [in] HIMC hIMC,
|
---|
562 | [in] DWORD dwFlags);
|
---|
563 |
|
---|
564 | HRESULT DisableIME(
|
---|
565 | [in] DWORD idThread);
|
---|
566 |
|
---|
567 | HRESULT GetImeMenuItemsA(
|
---|
568 | [in] HIMC hIMC,
|
---|
569 | [in] DWORD dwFlags,
|
---|
570 | [in] DWORD dwType,
|
---|
571 | [in] IMEMENUITEMINFOA *pImeParentMenu,
|
---|
572 | [out] IMEMENUITEMINFOA *pImeMenu,
|
---|
573 | [in] DWORD dwSize,
|
---|
574 | [out] DWORD *pdwResult);
|
---|
575 |
|
---|
576 | HRESULT GetImeMenuItemsW(
|
---|
577 | [in] HIMC hIMC,
|
---|
578 | [in] DWORD dwFlags,
|
---|
579 | [in] DWORD dwType,
|
---|
580 | [in] IMEMENUITEMINFOW *pImeParentMenu,
|
---|
581 | [out] IMEMENUITEMINFOW *pImeMenu,
|
---|
582 | [in] DWORD dwSize,
|
---|
583 | [out] DWORD *pdwResult);
|
---|
584 |
|
---|
585 | HRESULT EnumInputContext(
|
---|
586 | [in] DWORD idThread,
|
---|
587 | [out] IEnumInputContext **ppEnum);
|
---|
588 | }
|
---|
589 |
|
---|
590 | [
|
---|
591 | uuid(4955dd33-b159-11d0-8fcf-00aa006bcc59)
|
---|
592 | ]
|
---|
593 | coclass CActiveIMM
|
---|
594 | {
|
---|
595 | [default] interface IActiveIMMApp;
|
---|
596 | /* interface IActiveIMMIME; */
|
---|
597 | /* interface IActiveIMMRegistrar; */
|
---|
598 | /* interface IActiveIMMMessagePumpOwner; */
|
---|
599 | }
|
---|