4 * Copyright 1998 Patrik Stridvall
11 #include "debugtools.h"
12 #include "winversion.h"
15 DEFAULT_DEBUG_CHANNEL(imm)
17 /***********************************************************************
18 * ImmAssociateContext32 (IMM32.1)
20 HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)
22 FIXME("(0x%08x, 0x%08x): stub\n",hWnd,hIMC);
23 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
27 /***********************************************************************
28 * ImmConfigureIME32A (IMM32.2)
30 BOOL WINAPI ImmConfigureIMEA(
31 HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
33 FIXME("(0x%08x, 0x%08x, %ld, %p): stub\n",
34 hKL, hWnd, dwMode, lpData
36 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
40 /***********************************************************************
41 * ImmConfigureIME32W (IMM32.3)
43 BOOL WINAPI ImmConfigureIMEW(
44 HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
46 FIXME("(0x%08x, 0x%08x, %ld, %p): stub\n",
47 hKL, hWnd, dwMode, lpData
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
53 /***********************************************************************
54 * ImmCreateContext32 (IMM32.4)
56 HIMC WINAPI ImmCreateContext()
59 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
63 /***********************************************************************
64 * ImmDestroyContext32 (IMM32.7)
66 BOOL WINAPI ImmDestroyContext(HIMC hIMC)
68 FIXME("(0x%08x): stub\n",hIMC);
69 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
73 /***********************************************************************
74 * ImmEnumRegisterWord32A (IMM32.10)
76 UINT WINAPI ImmEnumRegisterWordA(
77 HKL hKL, REGISTERWORDENUMPROCA lpfnEnumProc,
78 LPCSTR lpszReading, DWORD dwStyle,
79 LPCSTR lpszRegister, LPVOID lpData)
81 FIXME("(0x%08x, %p, %s, %ld, %s, %p): stub\n",
83 debugstr_a(lpszReading), dwStyle,
84 debugstr_a(lpszRegister), lpData
86 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
90 /***********************************************************************
91 * ImmEnumRegisterWord32W (IMM32.11)
93 UINT WINAPI ImmEnumRegisterWordW(
94 HKL hKL, REGISTERWORDENUMPROCW lpfnEnumProc,
95 LPCWSTR lpszReading, DWORD dwStyle,
96 LPCWSTR lpszRegister, LPVOID lpData)
98 FIXME("(0x%08x, %p, %s, %ld, %s, %p): stub\n",
100 debugstr_w(lpszReading), dwStyle,
101 debugstr_w(lpszRegister), lpData
103 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
107 /***********************************************************************
108 * ImmEscape32A (IMM32.12)
110 LRESULT WINAPI ImmEscapeA(
112 UINT uEscape, LPVOID lpData)
114 FIXME("(0x%08x, 0x%08x, %d, %p): stub\n",
115 hKL, hIMC, uEscape, lpData
117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
121 /***********************************************************************
122 * ImmEscape32W (IMM32.13)
124 LRESULT WINAPI ImmEscapeW(
126 UINT uEscape, LPVOID lpData)
128 FIXME("(0x%08x, 0x%08x, %d, %p): stub\n",
129 hKL, hIMC, uEscape, lpData
131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
135 /***********************************************************************
136 * ImmGetCandidateList32A (IMM32.15)
138 DWORD WINAPI ImmGetCandidateListA(
139 HIMC hIMC, DWORD deIndex,
140 LPCANDIDATELIST lpCandList, DWORD dwBufLen)
142 FIXME("(0x%08x, %ld, %p, %ld): stub\n",
146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
150 /***********************************************************************
151 * ImmGetCandidateListCount32A (IMM32.16)
153 DWORD WINAPI ImmGetCandidateListCountA(
154 HIMC hIMC, LPDWORD lpdwListCount)
156 FIXME("(0x%08x, %p): stub\n", hIMC, lpdwListCount);
157 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
161 /***********************************************************************
162 * ImmGetCandidateListCount32W (IMM32.17)
164 DWORD WINAPI ImmGetCandidateListCountW(
165 HIMC hIMC, LPDWORD lpdwListCount)
167 FIXME("(0x%08x, %p): stub\n", hIMC, lpdwListCount);
168 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
172 /***********************************************************************
173 * ImmGetCandidateList32W (IMM32.18)
175 DWORD WINAPI ImmGetCandidateListW(
176 HIMC hIMC, DWORD deIndex,
177 LPCANDIDATELIST lpCandList, DWORD dwBufLen)
179 FIXME("(0x%08x, %ld, %p, %ld): stub\n",
183 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
187 /***********************************************************************
188 * ImmGetCandidateWindow32 (IMM32.19)
190 BOOL WINAPI ImmGetCandidateWindow(
191 HIMC hIMC, DWORD dwBufLen, LPCANDIDATEFORM lpCandidate)
193 FIXME("(0x%08x, %ld, %p): stub\n", hIMC, dwBufLen, lpCandidate);
194 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
198 /***********************************************************************
199 * ImmGetCompositionFont32A (IMM32.20)
201 BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
203 FIXME("(0x%08x, %p): stub\n", hIMC, lplf);
204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
208 /***********************************************************************
209 * ImmGetCompositionFont32W (IMM32.21)
211 BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
213 FIXME("(0x%08x, %p): stub\n", hIMC, lplf);
214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
218 /***********************************************************************
219 * ImmGetCompositionString32A (IMM32.22)
221 LONG WINAPI ImmGetCompositionStringA(
222 HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
224 FIXME("(0x%08x, %ld, %p, %ld): stub\n",
225 hIMC, dwIndex, lpBuf, dwBufLen
227 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
228 switch(VERSION_GetVersion())
231 FIXME("%s not supported",VERSION_GetVersionName());
239 /***********************************************************************
240 * ImmGetCompositionString32W (IMM32.23)
242 LONG WINAPI ImmGetCompositionStringW(
243 HIMC hIMC, DWORD dwIndex,
244 LPVOID lpBuf, DWORD dwBufLen)
246 FIXME("(0x%08x, %ld, %p, %ld): stub\n",
247 hIMC, dwIndex, lpBuf, dwBufLen
249 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
250 switch(VERSION_GetVersion())
253 FIXME("%s not supported",VERSION_GetVersionName());
261 /***********************************************************************
262 * ImmGetCompositionWindow32 (IMM32.24)
264 BOOL WINAPI ImmGetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
266 FIXME("(0x%08x, %p): stub\n", hIMC, lpCompForm);
267 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
271 /***********************************************************************
272 * ImmGetContext32 (IMM32.25)
274 HIMC WINAPI ImmGetContext(HWND hWnd)
276 FIXME("(0x%08x): stub\n", hWnd);
277 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
281 /***********************************************************************
282 * ImmGetConversionList32A (IMM32.26)
284 DWORD WINAPI ImmGetConversionListA(
286 LPCSTR pSrc, LPCANDIDATELIST lpDst,
287 DWORD dwBufLen, UINT uFlag)
289 FIXME("(0x%08x, 0x%08x, %s, %p, %ld, %d): stub\n",
290 hKL, hIMC, debugstr_a(pSrc), lpDst, dwBufLen, uFlag
292 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
296 /***********************************************************************
297 * ImmGetConversionList32W (IMM32.27)
299 DWORD WINAPI ImmGetConversionListW(
301 LPCWSTR pSrc, LPCANDIDATELIST lpDst,
302 DWORD dwBufLen, UINT uFlag)
304 FIXME("(0x%08x, 0x%08x, %s, %p, %ld, %d): stub\n",
305 hKL, hIMC, debugstr_w(pSrc), lpDst, dwBufLen, uFlag
307 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
311 /***********************************************************************
312 * ImmGetConversionStatus32 (IMM32.28)
314 BOOL WINAPI ImmGetConversionStatus(
315 HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
317 FIXME("(0x%08x, %p, %p): stub\n",
318 hIMC, lpfdwConversion, lpfdwSentence
320 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
324 /***********************************************************************
325 * ImmGetDefaultIMEWnd32 (IMM32.29)
327 HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
329 FIXME("(0x%08x): stub\n", hWnd);
330 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
334 /***********************************************************************
335 * ImmGetDescription32A (IMM32.30)
337 UINT WINAPI ImmGetDescriptionA(
338 HKL hKL, LPSTR lpszDescription, UINT uBufLen)
340 FIXME("(0x%08x, %s, %d): stub\n",
341 hKL, debugstr_a(lpszDescription), uBufLen
343 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
347 /***********************************************************************
348 * ImmGetDescription32W (IMM32.31)
350 UINT WINAPI ImmGetDescriptionW(HKL hKL, LPWSTR lpszDescription, UINT uBufLen)
352 FIXME("(0x%08x, %s, %d): stub\n",
353 hKL, debugstr_w(lpszDescription), uBufLen
355 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
359 /***********************************************************************
360 * ImmGetGuideLine32A (IMM32.32)
362 DWORD WINAPI ImmGetGuideLineA(
363 HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen)
365 FIXME("(0x%08x, %ld, %s, %ld): stub\n",
366 hIMC, dwIndex, debugstr_a(lpBuf), dwBufLen
368 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
372 /***********************************************************************
373 * ImmGetGuideLine32W (IMM32.33)
375 DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen)
377 FIXME("(0x%08x, %ld, %s, %ld): stub\n",
378 hIMC, dwIndex, debugstr_w(lpBuf), dwBufLen
380 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
384 /***********************************************************************
385 * ImmGetIMEFileName32A (IMM32.38)
387 UINT WINAPI ImmGetIMEFileNameA(
388 HKL hKL, LPSTR lpszFileName, UINT uBufLen)
390 FIXME("(0x%08x, %s, %d): stub\n",
391 hKL, debugstr_a(lpszFileName), uBufLen
393 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
397 /***********************************************************************
398 * ImmGetIMEFileName32W (IMM32.39)
400 UINT WINAPI ImmGetIMEFileNameW(
401 HKL hKL, LPWSTR lpszFileName, UINT uBufLen)
403 FIXME("(0x%08x, %s, %d): stub\n",
404 hKL, debugstr_w(lpszFileName), uBufLen
406 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
410 /***********************************************************************
411 * ImmGetOpenStatus32 (IMM32.40)
413 BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
415 FIXME("(0x%08x): stub\n", hIMC);
416 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
420 /***********************************************************************
421 * ImmGetProperty32 (IMM32.41)
423 DWORD WINAPI ImmGetProperty(HKL hKL, DWORD fdwIndex)
425 FIXME("(0x%08x, %ld): stub\n", hKL, fdwIndex);
426 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
430 /***********************************************************************
431 * ImmGetRegisterWordStyle32A (IMM32.42)
433 UINT WINAPI ImmGetRegisterWordStyleA(
434 HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
436 FIXME("(0x%08x, %d, %p): stub\n", hKL, nItem, lpStyleBuf);
437 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
441 /***********************************************************************
442 * ImmGetRegisterWordStyle32W (IMM32.43)
444 UINT WINAPI ImmGetRegisterWordStyleW(
445 HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
447 FIXME("(0x%08x, %d, %p): stub\n", hKL, nItem, lpStyleBuf);
448 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
452 /***********************************************************************
453 * ImmGetStatusWindowPos32 (IMM32.44)
455 BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
457 FIXME("(0x%08x, %p): stub\n", hIMC, lpptPos);
458 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
462 /***********************************************************************
463 * ImmGetVirtualKey32 (IMM32.45)
465 UINT WINAPI ImmGetVirtualKey(HWND hWnd)
467 FIXME("(0x%08x): stub\n", hWnd);
468 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
469 switch(VERSION_GetVersion())
472 FIXME("%s not supported", VERSION_GetVersionName());
474 return VK_PROCESSKEY;
480 /***********************************************************************
481 * ImmInstallIME32A (IMM32.46)
483 HKL WINAPI ImmInstallIMEA(
484 LPCSTR lpszIMEFileName, LPCSTR lpszLayoutText)
486 FIXME("(%s, %s): stub\n",
487 debugstr_a(lpszIMEFileName), debugstr_a(lpszLayoutText)
489 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
493 /***********************************************************************
494 * ImmInstallIME32W (IMM32.47)
496 HKL WINAPI ImmInstallIMEW(
497 LPCWSTR lpszIMEFileName, LPCWSTR lpszLayoutText)
499 FIXME("(%s, %s): stub\n",
500 debugstr_w(lpszIMEFileName), debugstr_w(lpszLayoutText)
502 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
506 /***********************************************************************
507 * ImmIsIME32 (IMM32.48)
509 BOOL WINAPI ImmIsIME(HKL hKL)
511 FIXME("(0x%08x): stub\n", hKL);
512 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
516 /***********************************************************************
517 * ImmIsUIMessage32A (IMM32.49)
519 BOOL WINAPI ImmIsUIMessageA(
520 HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
522 FIXME("(0x%08x, %d, %d, %ld): stub\n",
523 hWndIME, msg, wParam, lParam
525 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
529 /***********************************************************************
530 * ImmIsUIMessage32W (IMM32.50)
532 BOOL WINAPI ImmIsUIMessageW(
533 HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
535 FIXME("(0x%08x, %d, %d, %ld): stub\n",
536 hWndIME, msg, wParam, lParam
538 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
542 /***********************************************************************
543 * ImmNotifyIME32 (IMM32.53)
545 BOOL WINAPI ImmNotifyIME(
546 HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
548 FIXME("(0x%08x, %ld, %ld, %ld): stub\n",
549 hIMC, dwAction, dwIndex, dwValue
551 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
555 /***********************************************************************
556 * ImmRegisterWord32A (IMM32.55)
558 BOOL WINAPI ImmRegisterWordA(
559 HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
561 FIXME("(0x%08x, %s, %ld, %s): stub\n",
562 hKL, debugstr_a(lpszReading), dwStyle, debugstr_a(lpszRegister)
564 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
568 /***********************************************************************
569 * ImmRegisterWord32W (IMM32.56)
571 BOOL WINAPI ImmRegisterWordW(
572 HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
574 FIXME("(0x%08x, %s, %ld, %s): stub\n",
575 hKL, debugstr_w(lpszReading), dwStyle, debugstr_w(lpszRegister)
577 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
581 /***********************************************************************
582 * ImmReleaseContext32 (IMM32.57)
584 BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
586 FIXME("(0x%08x, 0x%08x): stub\n", hWnd, hIMC);
587 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
591 /***********************************************************************
592 * ImmSetCandidateWindow32 (IMM32.58)
594 BOOL WINAPI ImmSetCandidateWindow(
595 HIMC hIMC, LPCANDIDATEFORM lpCandidate)
597 FIXME("(0x%08x, %p): stub\n", hIMC, lpCandidate);
598 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
602 /***********************************************************************
603 * ImmSetCompositionFont32A (IMM32.59)
605 BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
607 FIXME("(0x%08x, %p): stub\n", hIMC, lplf);
608 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
612 /***********************************************************************
613 * ImmSetCompositionFont32W (IMM32.60)
615 BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
617 FIXME("(0x%08x, %p): stub\n", hIMC, lplf);
618 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
622 /***********************************************************************
623 * ImmSetCompositionString32A (IMM32.61)
625 BOOL WINAPI ImmSetCompositionStringA(
626 HIMC hIMC, DWORD dwIndex,
627 LPCVOID lpComp, DWORD dwCompLen,
628 LPCVOID lpRead, DWORD dwReadLen)
630 FIXME("(0x%08x, %ld, %p, %ld, %p, %ld): stub\n",
631 hIMC, dwIndex, lpComp, dwCompLen, lpRead, dwReadLen
633 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
637 /***********************************************************************
638 * ImmSetCompositionString32W (IMM32.62)
640 BOOL WINAPI ImmSetCompositionStringW(
641 HIMC hIMC, DWORD dwIndex,
642 LPCVOID lpComp, DWORD dwCompLen,
643 LPCVOID lpRead, DWORD dwReadLen)
645 FIXME("(0x%08x, %ld, %p, %ld, %p, %ld): stub\n",
646 hIMC, dwIndex, lpComp, dwCompLen, lpRead, dwReadLen
648 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
652 /***********************************************************************
653 * ImmSetCompositionWindow32 (IMM32.63)
655 BOOL WINAPI ImmSetCompositionWindow(
656 HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
658 FIXME("(0x%08x, %p): stub\n", hIMC, lpCompForm);
659 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
663 /***********************************************************************
664 * ImmSetConversionStatus32 (IMM32.64)
666 BOOL WINAPI ImmSetConversionStatus(
667 HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
669 FIXME("(0x%08x, %ld, %ld): stub\n",
670 hIMC, fdwConversion, fdwSentence
672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
676 /***********************************************************************
677 * ImmSetOpenStatus32 (IMM32.66)
679 BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
681 FIXME("(0x%08x, %d): stub\n", hIMC, fOpen);
682 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
686 /***********************************************************************
687 * ImmSetStatusWindowPos32 (IMM32.67)
689 BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
691 FIXME("(0x%08x, %p): stub\n", hIMC, lpptPos);
692 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
696 /***********************************************************************
697 * ImmSimulateHotKey32 (IMM32.69)
699 BOOL WINAPI ImmSimulateHotKey(HWND hWnd, DWORD dwHotKeyID)
701 FIXME("(0x%08x, %ld): stub\n", hWnd, dwHotKeyID);
702 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
706 /***********************************************************************
707 * ImmUnregisterWord32A (IMM32.72)
709 BOOL WINAPI ImmUnregisterWordA(
710 HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
712 FIXME("(0x%08x, %s, %ld, %s): stub\n",
713 hKL, debugstr_a(lpszReading), dwStyle, debugstr_a(lpszUnregister)
715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
719 /***********************************************************************
720 * ImmUnregisterWord32W (IMM32.?)
722 * I haven't been able to find the ordinal for this function,
723 * This means it can't be called from outside the DLL.
725 BOOL WINAPI ImmUnregisterWordW(
726 HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
728 FIXME("(0x%08x, %s, %ld, %s): stub\n",
729 hKL, debugstr_w(lpszReading), dwStyle, debugstr_w(lpszUnregister)
731 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);