source: trunk/src/imm32/imm32.cpp

Last change on this file was 10605, checked in by sandervl, 21 years ago

KOM: update

File size: 34.3 KB
RevLine 
[10605]1/* $Id: imm32.cpp,v 1.5 2004-05-24 08:51:00 sandervl Exp $ */
[736]2/*
[10605]3 * IMM32 library
[736]4 *
[10605]5 * Copyright 1998 Patrik Stridvall
6 * Copyright 1999 Jens Wiessner
[736]7 */
8
9#include <os2win.h>
[1710]10#include <odinwrap.h>
[736]11#include <imm.h>
[1710]12#include <winversion.h>
[736]13#include "imm32.h"
[10605]14#include "im32.h"
[736]15
[1710]16ODINDEBUGCHANNEL(imm)
[736]17
18/***********************************************************************
[1012]19 * ImmAssociateContext (IMM32.1)
[736]20 */
21HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)
22{
[10605]23#ifdef __WIN32OS2__
24 return IM32AssociateContext( hWnd, hIMC );
25#else
[1012]26#ifdef DEBUG
27 dprintf(("IMM32: ImmAssociateContext not implemented\n"));
28#endif
[736]29 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
30 return (HIMC)NULL;
[10605]31#endif
[736]32}
33
34
35/***********************************************************************
[1012]36 * ImmAssociateContextEx (IMM32.2)
[736]37 */
38BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dword)
39{
[10605]40#ifdef __WIN32OS2__
41 return IM32AssociateContextEx( hWnd, hIMC, dword );
42#else
[1012]43#ifdef DEBUG
44 dprintf(("IMM32: ImmAssociateContextEx not implemented\n"));
45#endif
[736]46 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
47 return (HIMC)NULL;
[10605]48#endif
[736]49}
50
51
52/***********************************************************************
[1012]53 * ImmConfigureIMEA (IMM32.3)
[736]54 */
55BOOL WINAPI ImmConfigureIMEA(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
56{
[10605]57#ifdef __WIN32OS2__
58 return IM32ConfigureIME( hKL, hWnd, dwMode, lpData, FALSE );
59#else
[1012]60#ifdef DEBUG
61 dprintf(("IMM32: ImmConfigureIMEA not implemented\n"));
62#endif
[736]63 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
64 return FALSE;
[10605]65#endif
[736]66}
67
68/************** *********************************************************
[1012]69 * ImmConfigureIMEW (IMM32.4)
[736]70 */
71BOOL WINAPI ImmConfigureIMEW(HKL hKL, HWND hWnd, DWORD dwMode, LPVOID lpData)
72{
[10605]73#ifdef __WIN32OS2__
74 return IM32ConfigureIME( hKL, hWnd, dwMode, lpData, TRUE );
75#else
[1012]76#ifdef DEBUG
77 dprintf(("IMM32: ImmConfigureIMEW not implemented\n"));
78#endif
[736]79 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80 return FALSE;
[10605]81#endif
[736]82}
83
84/***********************************************************************
[1012]85 * ImmCreateContext (IMM32.5)
[736]86 */
87HIMC WINAPI ImmCreateContext()
88{
[10605]89#ifdef __WIN32OS2__
90 return IM32CreateContext();
91#else
[1012]92#ifdef DEBUG
93 dprintf(("IMM32: ImmCreateContext not implemented\n"));
94#endif
[736]95 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
96 return (HIMC)NULL;
[10605]97#endif
[736]98}
99
100
101/***********************************************************************
[1012]102 * ImmCreateIMCC (IMM32.6)
[736]103 */
104HIMCC WINAPI ImmCreateIMCC(DWORD dword)
105{
[10605]106#ifdef __WIN32OS2__
107 return IM32CreateIMCC( dword );
108#else
[1012]109#ifdef DEBUG
110 dprintf(("IMM32: ImmCreateIMCC not implemented\n"));
111#endif
[736]112 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
113 return (HIMC)NULL;
[10605]114#endif
[736]115}
116
117
118/***********************************************************************
[1012]119 * ImmCreateSoftKeyboard (IMM32.7)
[736]120 */
121HWND WINAPI ImmCreateSoftKeyboard(UINT uint, HWND hwnd, int in1, int in2)
122{
[10605]123#ifdef __WIN32OS2__
124 return IM32CreateSoftKeyboard( uint, hwnd, in1, in2 );
125#else
[1012]126#ifdef DEBUG
127 dprintf(("IMM32: ImmCreateSoftKeyboard not implemented\n"));
128#endif
[736]129 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
130 return (HIMC)NULL;
[10605]131#endif
[736]132}
133
134
135/***********************************************************************
[1012]136 * ImmDestroyContext (IMM32.8)
[736]137 */
138BOOL WINAPI ImmDestroyContext(HIMC hIMC)
139{
[10605]140#ifdef __WIN32OS2__
141 return IM32DestroyContext( hIMC );
142#else
[1012]143#ifdef DEBUG
144 dprintf(("IMM32: ImmDestroyContext not implemented\n"));
145#endif
[736]146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
147 return FALSE;
[10605]148#endif
[736]149}
150
151
152/***********************************************************************
[1012]153 * ImmDestroyIMCC (IMM32.9)
[736]154 */
155HIMCC WINAPI ImmDestroyIMCC(HIMCC himcc)
156{
[10605]157#ifdef __WIN32OS2__
158 return IM32DestroyIMCC( himcc );
159#else
[1012]160#ifdef DEBUG
161 dprintf(("IMM32: ImmDestroyIMCC not implemented\n"));
162#endif
[736]163 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
164 return FALSE;
[10605]165#endif
[736]166}
167
168
169/***********************************************************************
[1012]170 * ImmDestroySoftKeyboard (IMM32.10)
[736]171 */
172BOOL WINAPI ImmDestroySoftKeyboard(HWND hwnd)
173{
[10605]174#ifdef __WIN32OS2__
175 return IM32DestroySoftKeyboard( hwnd );
176#else
[1012]177#ifdef DEBUG
178 dprintf(("IMM32: ImmDestroySoftKeyboard not implemented\n"));
179#endif
[736]180 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
181 return FALSE;
[10605]182#endif
[736]183}
184
185
186/***********************************************************************
[1012]187 * IMMDisableIME (IMM32.11)
[736]188 */
189BOOL WINAPI ImmDisableIME(DWORD dword)
190{
[10605]191#ifdef __WIN32OS2__
192 return IM32DisableIME( dword );
193#else
[1012]194#ifdef DEBUG
195 dprintf(("IMM32: ImmDisableIME not implemented\n"));
196#endif
[736]197 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
198 return FALSE;
[10605]199#endif
[736]200}
201
202
203/***********************************************************************
[1012]204 * ImmEnumRegisterWordA (IMM32.12)
[736]205 */
206UINT WINAPI ImmEnumRegisterWordA( HKL hKL, REGISTERWORDENUMPROCA lpfnEnumProc,
207 LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister, LPVOID lpData)
208{
[10605]209#ifdef __WIN32OS2__
210 return IM32EnumRegisterWord( hKL, ( LPVOID )lpfnEnumProc, ( LPVOID )lpszReading, dwStyle, ( LPVOID )lpszRegister, lpData, FALSE );
211#else
[1012]212#ifdef DEBUG
213 dprintf(("IMM32: ImmEnumRegisterWordA not implemented\n"));
214#endif
[736]215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
216 return 0;
[10605]217#endif
[736]218}
219
220
221/***********************************************************************
[1012]222 * ImmEnumRegisterWordW (IMM32.13)
[736]223 */
224UINT WINAPI ImmEnumRegisterWordW( HKL hKL, REGISTERWORDENUMPROCW lpfnEnumProc,
225 LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister, LPVOID lpData)
226{
[10605]227#ifdef __WIN32OS2__
228 return IM32EnumRegisterWord( hKL, ( LPVOID )lpfnEnumProc, ( LPVOID )lpszReading, dwStyle, ( LPVOID )lpszRegister, lpData, TRUE );
229#else
[1012]230#ifdef DEBUG
231 dprintf(("IMM32: ImmEnumRegisterWordW not implemented\n"));
232#endif
[736]233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
234 return 0;
[10605]235#endif
[736]236}
237
238
239/***********************************************************************
[1012]240 * ImmEscapeA (IMM32.14)
[736]241 */
242LRESULT WINAPI ImmEscapeA( HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData)
243{
[10605]244#ifdef __WIN32OS2__
245 return IM32Escape( hKL, hIMC, uEscape, lpData, FALSE );
246#else
[1012]247#ifdef DEBUG
248 dprintf(("IMM32: ImmEscapeA not implemented\n"));
249#endif
[736]250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
251 return 0;
[10605]252#endif
[736]253}
254
255
256/***********************************************************************
[1012]257 * ImmEscapeW (IMM32.15)
[736]258 */
259LRESULT WINAPI ImmEscapeW( HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData)
260{
[10605]261#ifdef __WIN32OS2__
262 return IM32Escape( hKL, hIMC, uEscape, lpData, TRUE );
263#else
[1012]264#ifdef DEBUG
265 dprintf(("IMM32: ImmEscapeW not implemented\n"));
266#endif
[736]267 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
268 return 0;
[10605]269#endif
[736]270}
271
272
273/***********************************************************************
[1012]274 * ImmGenerateMessage (IMM32.16)
[736]275 */
276BOOL WINAPI ImmGenerateMessage(HIMC himc)
277{
[10605]278#ifdef __WIN32OS2__
279 return IM32GenerateMessage( himc );
280#else
[1012]281#ifdef DEBUG
282 dprintf(("IMM32: ImmGenerateMessage not implemented\n"));
283#endif
[736]284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
285 return 0;
[10605]286#endif
[736]287}
288
289
290/***********************************************************************
[1012]291 * ImmGetCandidateListA (IMM32.17)
[736]292 */
[10605]293DWORD WINAPI ImmGetCandidateListA( HIMC hIMC, DWORD deIndex,
294 LPCANDIDATELIST lpCandList, DWORD dwBufLen)
[736]295{
[10605]296#ifdef __WIN32OS2__
297 return IM32GetCandidateList( hIMC, deIndex, lpCandList, dwBufLen, FALSE );
298#else
[1012]299#ifdef DEBUG
300 dprintf(("IMM32: ImmGetCandidateListA not implemented\n"));
301#endif
[736]302 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
303 return 0;
[10605]304#endif
[736]305}
306
307/***********************************************************************
[1012]308 * ImmGetCandidateListCountA (IMM32.18)
[736]309 */
310DWORD WINAPI ImmGetCandidateListCountA( HIMC hIMC, LPDWORD lpdwListCount)
311{
[10605]312#ifdef __WIN32OS2__
313 return IM32GetCandidateListCount( hIMC, lpdwListCount, FALSE );
314#else
[1012]315#ifdef DEBUG
316 dprintf(("IMM32: ImmGetCandidateListCountA not implemented\n"));
317#endif
[736]318 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
319 return 0;
[10605]320#endif
[736]321}
322
323/***********************************************************************
[1012]324 * ImmGetCandidateListCountW (IMM32.19)
[736]325 */
326DWORD WINAPI ImmGetCandidateListCountW( HIMC hIMC, LPDWORD lpdwListCount)
327{
[10605]328#ifdef __WIN32OS2__
329 return IM32GetCandidateListCount( hIMC, lpdwListCount, TRUE );
330#else
[1012]331#ifdef DEBUG
332 dprintf(("IMM32: ImmGetCandidateListCountW not implemented\n"));
333#endif
[736]334 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
335 return 0;
[10605]336#endif
[736]337}
338
339/***********************************************************************
[1012]340 * ImmGetCandidateListW (IMM32.20)
[736]341 */
[10605]342DWORD WINAPI ImmGetCandidateListW( HIMC hIMC, DWORD deIndex,
[736]343 LPCANDIDATELIST lpCandList, DWORD dwBufLen)
344{
[10605]345#ifdef __WIN32OS2__
346 return IM32GetCandidateList( hIMC, deIndex, lpCandList, dwBufLen, TRUE );
347#else
[1012]348#ifdef DEBUG
349 dprintf(("IMM32: ImmGetCandidateListW not implemented\n"));
350#endif
[736]351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
352 return 0;
[10605]353#endif
[736]354}
355
356/***********************************************************************
[1012]357 * ImmGetCandidateWindow (IMM32.21)
[736]358 */
359BOOL WINAPI ImmGetCandidateWindow(HIMC hIMC, DWORD dwBufLen, LPCANDIDATEFORM lpCandidate)
360{
[10605]361#ifdef __WIN32OS2__
362 return IM32GetCandidateWindow( hIMC, dwBufLen, lpCandidate );
363#else
[1012]364#ifdef DEBUG
365 dprintf(("IMM32: ImmGetCandidateWindow not implemented\n"));
366#endif
[736]367 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
368 return FALSE;
[10605]369#endif
[736]370}
371
372/***********************************************************************
[1012]373 * ImmGetCompositionFontA (IMM32.22)
[736]374 */
375BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
376{
[10605]377#ifdef __WIN32OS2__
378 return IM32GetCompositionFont( hIMC, ( LPVOID )lplf, FALSE );
379#else
[1012]380#ifdef DEBUG
381 dprintf(("IMM32: ImmGetCompositionFontA not implemented\n"));
382#endif
[736]383 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
384 return FALSE;
[10605]385#endif
[736]386}
387
388/***********************************************************************
[1012]389 * ImmGetCompositionFontW (IMM32.23)
[736]390 */
391BOOL WINAPI ImmGetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
392{
[10605]393#ifdef __WIN32OS2__
394 return IM32GetCompositionFont( hIMC, ( LPVOID )lplf, TRUE );
395#else
[1012]396#ifdef DEBUG
397 dprintf(("IMM32: ImmGetCompositionFontW not implemented\n"));
398#endif
[736]399 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
400 return FALSE;
[10605]401#endif
[736]402}
403
404/***********************************************************************
[1012]405 * ImmGetCompositionStringA (IMM32.24)
[736]406 */
407LONG WINAPI ImmGetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
408{
[10605]409#ifdef __WIN32OS2__
410 return IM32GetCompositionString( hIMC, dwIndex, lpBuf, dwBufLen, FALSE );
411#else
[1012]412#ifdef DEBUG
413 dprintf(("IMM32: ImmGetCompositionStringA not implemented\n"));
414#endif
[736]415 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
416 switch(GetVersion())
417 {
418 default:
[1607]419 dprintf(("OS not supported"));
[736]420 case WIN95:
421 return 0xffffffff;
422 case NT40:
423 return 0;
424 }
[10605]425#endif
[736]426}
427
428/***********************************************************************
[1012]429 * ImmGetCompositionStringW (IMM32.25)
[736]430 */
431LONG WINAPI ImmGetCompositionStringW( HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
432{
[10605]433#ifdef __WIN32OS2__
434 return IM32GetCompositionString( hIMC, dwIndex, lpBuf, dwBufLen, TRUE );
435#else
[1012]436#ifdef DEBUG
437 dprintf(("IMM32: ImmGetCompositionStringW not implemented\n"));
438#endif
[736]439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
440 switch(GetVersion())
441 {
442 default:
[1607]443 dprintf(("OS not supported"));
[736]444 case WIN95:
445 return 0xffffffff;
446 case NT40:
447 return 0;
448 }
[10605]449#endif
[736]450}
451
452/***********************************************************************
[1012]453 * ImmGetCompositionWindow (IMM32.26)
[736]454 */
455BOOL WINAPI ImmGetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
456{
[10605]457#ifdef __WIN32OS2__
458 return IM32GetCompositionWindow( hIMC, lpCompForm );
459#else
[1012]460#ifdef DEBUG
461 dprintf(("IMM32: ImmGetCompositionWindow not implemented\n"));
462#endif
[736]463 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
464 return 0;
[10605]465#endif
[736]466}
467
468/***********************************************************************
[1012]469 * ImmGetContext (IMM32.27)
[736]470 */
471HIMC WINAPI ImmGetContext(HWND hWnd)
472{
[10605]473#ifdef __WIN32OS2__
474 return IM32GetContext( hWnd );
475#else
[1012]476#ifdef DEBUG
477 dprintf(("IMM32: ImmGetContext not implemented\n"));
478#endif
[736]479 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
480 return (HIMC)NULL;
[10605]481#endif
[736]482}
483
484/***********************************************************************
[1012]485 * ImmGetConversionListA (IMM32.28)
[736]486 */
487DWORD WINAPI ImmGetConversionListA( HKL hKL, HIMC hIMC,
488 LPCSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
489{
[10605]490#ifdef __WIN32OS2__
491 return IM32GetConversionList( hKL, hIMC, ( LPVOID )pSrc, lpDst, dwBufLen, uFlag, FALSE );
492#else
[1012]493#ifdef DEBUG
494 dprintf(("IMM32: ImmGetConversionListA not implemented\n"));
495#endif
[736]496 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
497 return 0;
[10605]498#endif
[736]499}
500
501/***********************************************************************
[1012]502 * ImmGetConversionListW (IMM32.29)
[736]503 */
504DWORD WINAPI ImmGetConversionListW( HKL hKL, HIMC hIMC,
505 LPCWSTR pSrc, LPCANDIDATELIST lpDst, DWORD dwBufLen, UINT uFlag)
506{
[10605]507#ifdef __WIN32OS2__
508 return IM32GetConversionList( hKL, hIMC, ( LPVOID )pSrc, lpDst, dwBufLen, uFlag, TRUE );
509#else
[1012]510#ifdef DEBUG
511 dprintf(("IMM32: ImmGetConversionListW not implemented\n"));
512#endif
[736]513 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
514 return 0;
[10605]515#endif
[736]516}
517
518/***********************************************************************
[1012]519 * ImmGetConversionStatus (IMM32.30)
[736]520 */
521BOOL WINAPI ImmGetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
522{
[10605]523#ifdef __WIN32OS2__
524 return IM32GetConversionStatus( hIMC, lpfdwConversion, lpfdwSentence );
525#else
[1012]526#ifdef DEBUG
527 dprintf(("IMM32: ImmGetConversionStatus not implemented\n"));
528#endif
[736]529 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
530 return FALSE;
[10605]531#endif
[736]532}
533
534/***********************************************************************
[1012]535 * ImmGetDefaultIMEWnd (IMM32.31)
[736]536 */
537HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
538{
[10605]539#ifdef __WIN32OS2__
540 return IM32GetDefaultIMEWnd( hWnd );
541#else
[1012]542#ifdef DEBUG
543 dprintf(("IMM32: ImmGetDefaultIMEWnd not implemented\n"));
544#endif
[736]545 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
546 return (HWND)NULL;
[10605]547#endif
[736]548}
549
550/***********************************************************************
[1012]551 * ImmGetDescriptionA (IMM32.32)
[736]552 */
553UINT WINAPI ImmGetDescriptionA(HKL hKL, LPSTR lpszDescription, UINT uBufLen)
554{
[10605]555#ifdef __WIN32OS2__
556 return IM32GetDescription( hKL, lpszDescription, uBufLen, FALSE );
557#else
[1012]558#ifdef DEBUG
559 dprintf(("IMM32: ImmGetDescriptionA not implemented\n"));
560#endif
[736]561 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
562 return 0;
[10605]563#endif
[736]564}
565
566/***********************************************************************
[1012]567 * ImmGetDescriptionW (IMM32.33)
[736]568 */
569UINT WINAPI ImmGetDescriptionW(HKL hKL, LPWSTR lpszDescription, UINT uBufLen)
570{
[10605]571#ifdef __WIN32OS2__
572 return IM32GetDescription( hKL, lpszDescription, uBufLen, TRUE );
573#else
[1012]574#ifdef DEBUG
575 dprintf(("IMM32: ImmGetDescriptionW not implemented\n"));
576#endif
[736]577 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
578 return 0;
[10605]579#endif
[736]580}
581
582/***********************************************************************
[1012]583 * ImmGetGuideLineA (IMM32.34)
[736]584 */
585DWORD WINAPI ImmGetGuideLineA(
586 HIMC hIMC, DWORD dwIndex, LPSTR lpBuf, DWORD dwBufLen)
587{
[10605]588#ifdef __WIN32OS2__
589 return IM32GetGuideLine( hIMC, dwIndex, lpBuf, dwBufLen, FALSE );
590#else
[1012]591#ifdef DEBUG
592 dprintf(("IMM32: ImmGetGuideLineA not implemented\n"));
593#endif
[736]594 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
595 return 0;
[10605]596#endif
[736]597}
598
599/***********************************************************************
[1012]600 * ImmGetGuideLineW (IMM32.35)
[736]601 */
602DWORD WINAPI ImmGetGuideLineW(HIMC hIMC, DWORD dwIndex, LPWSTR lpBuf, DWORD dwBufLen)
603{
[10605]604#ifdef __WIN32OS2__
605 return IM32GetGuideLine( hIMC, dwIndex, lpBuf, dwBufLen, TRUE );
606#else
[1012]607#ifdef DEBUG
608 dprintf(("IMM32: ImmGetGuideLineW not implemented\n"));
609#endif
[736]610 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
611 return 0;
[10605]612#endif
[736]613}
614
615
616/***********************************************************************
[1012]617 * ImmGetHotKey (IMM32.36)
[736]618 */
619BOOL WINAPI ImmGetHotKey(DWORD dword, LPUINT lpuModifiers, LPUINT lpuVKey, LPHKL lphkl)
620{
[10605]621#ifdef __WIN32OS2__
622 return IM32GetHotKey( dword, lpuModifiers, lpuVKey, lphkl );
623#else
[1012]624#ifdef DEBUG
625 dprintf(("IMM32: ImmGetHotKey not implemented\n"));
626#endif
[736]627 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
628 return 0;
[10605]629#endif
[736]630}
631
632
633/***********************************************************************
[1012]634 * ImmGetIMCCLockCount (IMM32.37)
[736]635 */
636DWORD WINAPI ImmGetIMCCLockCount(HIMCC himcc)
637{
[10605]638#ifdef __WIN32OS2__
639 return IM32GetIMCCLockCount( himcc );
640#else
[1012]641#ifdef DEBUG
642 dprintf(("IMM32: ImmGetIMCCLockCount not implemented\n"));
643#endif
[736]644 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
645 return 0;
[10605]646#endif
[736]647}
648
649
650/***********************************************************************
[1012]651 * ImmGetIMCCSize (IMM32.38)
[736]652 */
653DWORD WINAPI ImmGetIMCCSize(HIMCC himcc)
654{
[10605]655#ifdef __WIN32OS2__
656 return IM32GetIMCCSize( himcc );
657#else
[1012]658#ifdef DEBUG
659 dprintf(("IMM32: ImmGetIMCCSize not implemented\n"));
660#endif
[736]661 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
662 return 0;
[10605]663#endif
[736]664}
665
666
667/***********************************************************************
[1012]668 * ImmGetIMCLockCount (IMM32.39)
[736]669 */
670DWORD WINAPI ImmGetIMCLockCount(HIMC himc)
671{
[10605]672#ifdef __WIN32OS2__
673 return IM32GetIMCLockCount( himc );
674#else
[1012]675#ifdef DEBUG
676 dprintf(("IMM32: ImmGetIMCLockCount not implemented\n"));
677#endif
[736]678 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
679 return 0;
[10605]680#endif
[736]681}
682
683
684/***********************************************************************
[1012]685 * ImmGetIMEFileNameA (IMM32.40)
[736]686 */
687UINT WINAPI ImmGetIMEFileNameA( HKL hKL, LPSTR lpszFileName, UINT uBufLen)
688{
[10605]689#ifdef __WIN32OS2__
690 return IM32GetIMEFileName( hKL, lpszFileName, uBufLen, FALSE );
691#else
[1012]692#ifdef DEBUG
693 dprintf(("IMM32: ImmGetIMEFileNameA not implemented\n"));
694#endif
[736]695 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
696 return 0;
[10605]697#endif
[736]698}
699
700/***********************************************************************
[1012]701 * ImmGetIMEFileNameW (IMM32.41)
[736]702 */
703UINT WINAPI ImmGetIMEFileNameW( HKL hKL, LPWSTR lpszFileName, UINT uBufLen)
704{
[10605]705#ifdef __WIN32OS2__
706 return IM32GetIMEFileName( hKL, lpszFileName, uBufLen, TRUE );
707#else
[1012]708#ifdef DEBUG
709 dprintf(("IMM32: ImmGetIMEFileNameW not implemented\n"));
710#endif
[736]711 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
712 return 0;
[10605]713#endif
[736]714}
715
716
717/***********************************************************************
[1012]718 * ImmGetImeMenuItemsA (IMM32.42)
[736]719 */
720DWORD WINAPI ImmGetImeMenuItemsA(HIMC himc, DWORD dword, DWORD dword2, LPIMEMENUITEMINFOA lpimena, LPIMEMENUITEMINFOA lpimena2, DWORD dword3)
721{
[10605]722#ifdef __WIN32OS2__
723 return IM32GetImeMenuItems( himc, dword, dword2, lpimena, lpimena2, dword3, FALSE );
724#else
[1012]725#ifdef DEBUG
726 dprintf(("IMM32: ImmGetImeMenuItemsA not implemented\n"));
727#endif
[736]728 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
729 return FALSE;
[10605]730#endif
[736]731}
732
733
734/***********************************************************************
[1012]735 * ImmGetImeMenuItemsW (IMM32.43)
[736]736 */
737DWORD WINAPI ImmGetImeMenuItemsW(HIMC himc, DWORD dword, DWORD dword2, LPIMEMENUITEMINFOW lpimenw, LPIMEMENUITEMINFOW lpimenw2, DWORD dword3)
738{
[10605]739#ifdef __WIN32OS2__
740 return IM32GetImeMenuItems( himc, dword, dword2, ( LPVOID )lpimenw, ( LPVOID )lpimenw2, dword3, TRUE );
741#else
[1012]742#ifdef DEBUG
743 dprintf(("IMM32: ImmGetImeMenuItemsW not implemented\n"));
744#endif
[736]745 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
746 return FALSE;
[10605]747#endif
[736]748}
749
750
751/***********************************************************************
[1012]752 * ImmGetOpenStatus (IMM32.44)
[736]753 */
754BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
755{
[10605]756#ifdef __WIN32OS2__
757 return IM32GetOpenStatus( hIMC );
758#else
[1012]759#ifdef DEBUG
760 dprintf(("IMM32: ImmGetOpenStatus not implemented\n"));
761#endif
[736]762 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
763 return FALSE;
[10605]764#endif
[736]765}
766
767/***********************************************************************
[1012]768 * ImmGetProperty (IMM32.45)
[736]769 */
770DWORD WINAPI ImmGetProperty(HKL hKL, DWORD fdwIndex)
771{
[10605]772#ifdef __WIN32OS2__
773 return IM32GetProperty( hKL, fdwIndex );
774#else
[1012]775#ifdef DEBUG
776 dprintf(("IMM32: ImmGetProperty not implemented\n"));
777#endif
[736]778 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
779 return 0;
[10605]780#endif
[736]781}
782
783/***********************************************************************
[1012]784 * ImmGetRegisterWordStyleA (IMM32.46)
[736]785 */
786UINT WINAPI ImmGetRegisterWordStyleA(HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
787{
[10605]788#ifdef __WIN32OS2__
789 return IM32GetRegisterWordStyle( hKL, nItem, lpStyleBuf, FALSE );
790#else
[1012]791#ifdef DEBUG
792 dprintf(("IMM32: ImmGetRegisterWordStyleA not implemented\n"));
793#endif
[736]794 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
795 return 0;
[10605]796#endif
[736]797}
798
799/***********************************************************************
[1012]800 * ImmGetRegisterWordStyleW (IMM32.47)
[736]801 */
802UINT WINAPI ImmGetRegisterWordStyleW(HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
803{
[10605]804#ifdef __WIN32OS2__
805 return IM32GetRegisterWordStyle( hKL, nItem, lpStyleBuf, TRUE );
806#else
[1012]807#ifdef DEBUG
808 dprintf(("IMM32: ImmGetRegisterWordStyleW not implemented\n"));
809#endif
[736]810 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
811 return 0;
[10605]812#endif
[736]813}
814
815/***********************************************************************
[1012]816 * ImmGetStatusWindowPos (IMM32.48)
[736]817 */
818BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
819{
[10605]820#ifdef __WIN32OS2__
821 return IM32GetStatusWindowPos( hIMC, lpptPos );
822#else
[1012]823#ifdef DEBUG
824 dprintf(("IMM32: ImmGetStatusWindowPos not implemented\n"));
825#endif
[736]826 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
827 return FALSE;
[10605]828#endif
[736]829}
830
831/***********************************************************************
[1012]832 * ImmGetVirtualKey (IMM32.49)
[736]833 */
834UINT WINAPI ImmGetVirtualKey(HWND hWnd)
835{
[10605]836#ifdef __WIN32OS2__
837 return IM32GetVirtualKey( hWnd );
838#else
[1012]839#ifdef DEBUG
840 dprintf(("IMM32: ImmGetVirtualKey not implemented\n"));
841#endif
[736]842 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
843 switch(GetVersion())
844 {
845 default:
[1607]846 dprintf(("OS not supported"));
[736]847 case WIN95:
848 return VK_PROCESSKEY;
849 case NT40:
850 return 0;
851 }
[10605]852#endif
[736]853}
854
855/***********************************************************************
[1012]856 * ImmInstallIMEA (IMM32.50)
[736]857 */
858HKL WINAPI ImmInstallIMEA(LPCSTR lpszIMEFileName, LPCSTR lpszLayoutText)
859{
[10605]860#ifdef __WIN32OS2__
861 return IM32InstallIME(( LPVOID )lpszIMEFileName, ( LPVOID )lpszLayoutText, FALSE );
862#else
[1012]863#ifdef DEBUG
864 dprintf(("IMM32: ImmInstallIMEA not implemented\n"));
865#endif
[736]866 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
867 return (HKL)NULL;
[10605]868#endif
[736]869}
870
871/***********************************************************************
[1012]872 * ImmInstallIMEW (IMM32.51)
[736]873 */
874HKL WINAPI ImmInstallIMEW(LPCWSTR lpszIMEFileName, LPCWSTR lpszLayoutText)
875{
[10605]876#ifdef __WIN32OS2__
877 return IM32InstallIME( ( LPVOID )lpszIMEFileName, ( LPVOID )lpszLayoutText, TRUE );
878#else
[1012]879#ifdef DEBUG
880 dprintf(("IMM32: ImmInstallIMEW not implemented\n"));
881#endif
[736]882 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
883 return (HKL)NULL;
[10605]884#endif
[736]885}
886
887/***********************************************************************
[1012]888 * ImmIsIME (IMM32.52)
[736]889 */
890BOOL WINAPI ImmIsIME(HKL hKL)
891{
[10605]892#ifdef __WIN32OS2__
893 return IM32IsIME( hKL );
894#else
[1012]895#ifdef DEBUG
896 dprintf(("IMM32: ImmIsIME not implemented\n"));
897#endif
[736]898 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
899 return FALSE;
[10605]900#endif
[736]901}
902
903/***********************************************************************
[1012]904 * ImmIsUIMessageA (IMM32.53)
[736]905 */
906BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
907{
[10605]908#ifdef __WIN32OS2__
909 return IM32IsUIMessage( hWndIME, msg, wParam, lParam, FALSE );
910#else
[1012]911#ifdef DEBUG
912 dprintf(("IMM32: ImmIsUIMessageA not implemented\n"));
913#endif
[736]914 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
915 return FALSE;
[10605]916#endif
[736]917}
918
919/***********************************************************************
[1012]920 * ImmIsUIMessageW (IMM32.54)
[736]921 */
922BOOL WINAPI ImmIsUIMessageW(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
923{
[10605]924#ifdef __WIN32OS2__
925 return IM32IsUIMessage( hWndIME, msg, wParam, lParam, TRUE );
926#else
[1012]927#ifdef DEBUG
928 dprintf(("IMM32: ImmIsUIMessageW not implemented\n"));
929#endif
[736]930 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
931 return FALSE;
[10605]932#endif
[736]933}
934
935
936/***********************************************************************
[10605]937 * ImmLockIMC (IMM32.55)
[736]938 */
939LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC himc)
940{
[10605]941#ifdef __WIN32OS2__
942 return IM32LockIMC( himc );
943#else
[1012]944#ifdef DEBUG
945 dprintf(("IMM32: ImmLockIMC not implemented\n"));
946#endif
[736]947 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
948 return FALSE;
[10605]949#endif
[736]950}
951
952
953/***********************************************************************
[10605]954 * ImmLockIMCC (IMM32.56)
[736]955 */
956LPVOID WINAPI ImmLockIMCC(HIMCC himcc)
957{
[10605]958#ifdef __WIN32OS2__
959 return IM32LockIMCC( himcc );
960#else
[1012]961#ifdef DEBUG
962 dprintf(("IMM32: ImmLockIMCC not implemented\n"));
963#endif
[736]964 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
965 return FALSE;
[10605]966#endif
[736]967}
968
969
970/***********************************************************************
[1012]971 * ImmNotifyIME (IMM32.57)
[736]972 */
973BOOL WINAPI ImmNotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
974{
[10605]975#ifdef __WIN32OS2__
976 return IM32NotifyIME( hIMC, dwAction, dwIndex, dwValue );
977#else
[1012]978#ifdef DEBUG
979 dprintf(("IMM32: ImmNotifyIME not implemented\n"));
980#endif
[736]981 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
982 return FALSE;
[10605]983#endif
[736]984}
985
986
987/***********************************************************************
[1012]988 * ImmReSizeIMCC (IMM32.58)
[736]989 */
990HIMCC WINAPI ImmReSizeIMCC(HIMCC himcc, DWORD dword)
991{
[10605]992#ifdef __WIN32OS2__
993 return IM32ReSizeIMCC( himcc, dword );
994#else
[1012]995#ifdef DEBUG
996 dprintf(("IMM32: ImmReSizeIMCC not implemented\n"));
997#endif
[736]998 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
999 return FALSE;
[10605]1000#endif
[736]1001}
1002
1003/***********************************************************************
[1012]1004 * ImmRegisterWordA (IMM32.59)
[736]1005 */
1006BOOL WINAPI ImmRegisterWordA( HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
1007{
[10605]1008#ifdef __WIN32OS2__
1009 return IM32RegisterWord( hKL, ( LPVOID )lpszReading, dwStyle, ( LPVOID )lpszRegister, FALSE );
1010#else
[1012]1011#ifdef DEBUG
1012 dprintf(("IMM32: ImmRegisterWordA not implemented\n"));
1013#endif
[736]1014 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1015 return FALSE;
[10605]1016#endif
[736]1017}
1018
1019/***********************************************************************
[1012]1020 * ImmRegisterWordW (IMM32.60)
[736]1021 */
1022BOOL WINAPI ImmRegisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
1023{
[10605]1024#ifdef __WIN32OS2__
1025 return IM32RegisterWord( hKL, ( LPVOID )lpszReading, dwStyle, ( LPVOID )lpszRegister, TRUE );
1026#else
[1012]1027#ifdef DEBUG
1028 dprintf(("IMM32: ImmRegisterWordW not implemented\n"));
1029#endif
[736]1030 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1031 return FALSE;
[10605]1032#endif
[736]1033}
1034
1035/***********************************************************************
[1012]1036 * ImmReleaseContext (IMM32.61)
[736]1037 */
1038BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
1039{
[10605]1040#ifdef __WIN32OS2__
1041 return IM32ReleaseContext( hWnd, hIMC );
1042#else
[1012]1043#ifdef DEBUG
1044 dprintf(("IMM32: ImmReleaseContext not implemented\n"));
1045#endif
[736]1046 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1047 return FALSE;
[10605]1048#endif
[736]1049}
1050
1051
1052/***********************************************************************
[1012]1053 * ImmRequestMessageA (IMM32.62)
[736]1054 */
1055LRESULT WINAPI ImmRequestMessageA(HIMC himc, WPARAM wparam, LPARAM lparam)
1056{
[10605]1057#ifdef __WIN32OS2__
1058 return IM32RequestMessage( himc, wparam, lparam, FALSE );
1059#else
[1012]1060#ifdef DEBUG
1061 dprintf(("IMM32: ImmRequestMessageA not implemented\n"));
1062#endif
[736]1063 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1064 return FALSE;
[10605]1065#endif
[736]1066}
1067
1068
1069/***********************************************************************
[1012]1070 * ImmRequestMessageW (IMM32.63)
[736]1071 */
1072LRESULT WINAPI ImmRequestMessageW(HIMC himc, WPARAM wparam, LPARAM lparam)
1073{
[10605]1074#ifdef __WIN32OS2__
1075 return IM32RequestMessage( himc, wparam, lparam, TRUE );
1076#else
[1012]1077#ifdef DEBUG
1078 dprintf(("IMM32: ImmRequestMessageW not implemented\n"));
1079#endif
[736]1080 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1081 return FALSE;
[10605]1082#endif
[736]1083}
1084
1085
1086/***********************************************************************
[1012]1087 * ImmSetCandidateWindow (IMM32.64)
[736]1088 */
1089BOOL WINAPI ImmSetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate)
1090{
[10605]1091#ifdef __WIN32OS2__
1092 return IM32SetCandidateWindow( hIMC, lpCandidate );
1093#else
[1012]1094#ifdef DEBUG
1095 dprintf(("IMM32: ImmSetCandidateWindow not implemented\n"));
1096#endif
[736]1097 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1098 return FALSE;
[10605]1099#endif
[736]1100}
1101
1102/***********************************************************************
[1012]1103 * ImmSetCompositionFontA (IMM32.65)
[736]1104 */
1105BOOL WINAPI ImmSetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
1106{
[10605]1107#ifdef __WIN32OS2__
1108 return IM32SetCompositionFont( hIMC, lplf, FALSE );
1109#else
[1012]1110#ifdef DEBUG
1111 dprintf(("IMM32: ImmSetCompositionFontA not implemented\n"));
1112#endif
[736]1113 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1114 return FALSE;
[10605]1115#endif
[736]1116}
1117
1118/***********************************************************************
[1012]1119 * ImmSetCompositionFontW (IMM32.66)
[736]1120 */
1121BOOL WINAPI ImmSetCompositionFontW(HIMC hIMC, LPLOGFONTW lplf)
1122{
[10605]1123#ifdef __WIN32OS2__
1124 return IM32SetCompositionFont( hIMC, lplf, TRUE );
1125#else
[1012]1126#ifdef DEBUG
1127 dprintf(("IMM32: ImmSetCompositionFontW not implemented\n"));
1128#endif
[736]1129 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1130 return FALSE;
[10605]1131#endif
[736]1132}
1133
1134/***********************************************************************
[1012]1135 * ImmSetCompositionStringA (IMM32.67)
[736]1136 */
[10605]1137BOOL WINAPI ImmSetCompositionStringA( HIMC hIMC, DWORD dwIndex,
[736]1138 LPCVOID lpComp, DWORD dwCompLen, LPCVOID lpRead, DWORD dwReadLen)
1139{
[10605]1140#ifdef __WIN32OS2__
1141 return IM32SetCompositionString( hIMC, dwIndex, lpComp, dwCompLen, lpRead, dwReadLen, FALSE );
1142#else
[1012]1143#ifdef DEBUG
1144 dprintf(("IMM32: ImmSetCompositionStringA not implemented\n"));
1145#endif
[736]1146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1147 return FALSE;
[10605]1148#endif
[736]1149}
1150
1151/***********************************************************************
[1012]1152 * ImmSetCompositionStringW (IMM32.68)
[736]1153 */
1154BOOL WINAPI ImmSetCompositionStringW(HIMC hIMC, DWORD dwIndex,
[10605]1155 LPCVOID lpComp, DWORD dwCompLen,LPCVOID lpRead, DWORD dwReadLen)
[736]1156{
[10605]1157#ifdef __WIN32OS2__
1158 return IM32SetCompositionString( hIMC, dwIndex, lpComp, dwCompLen, lpRead, dwReadLen, TRUE );
1159#else
[1012]1160#ifdef DEBUG
1161 dprintf(("IMM32: ImmSetCompositionStringW not implemented\n"));
1162#endif
[736]1163 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1164 return FALSE;
[10605]1165#endif
[736]1166}
1167
1168/***********************************************************************
[1012]1169 * ImmSetCompositionWindow (IMM32.69)
[736]1170 */
1171BOOL WINAPI ImmSetCompositionWindow(HIMC hIMC, LPCOMPOSITIONFORM lpCompForm)
1172{
[10605]1173#ifdef __WIN32OS2__
1174 return IM32SetCompositionWindow( hIMC, lpCompForm );
1175#else
[1012]1176#ifdef DEBUG
1177 dprintf(("IMM32: ImmSetCompositionWindow not implemented\n"));
1178#endif
[736]1179 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1180 return FALSE;
[10605]1181#endif
[736]1182}
1183
1184/***********************************************************************
[1012]1185 * ImmSetConversionStatus (IMM32.70)
[736]1186 */
1187BOOL WINAPI ImmSetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
1188{
[10605]1189#ifdef __WIN32OS2__
1190 return IM32SetConversionStatus( hIMC, fdwConversion, fdwSentence );
1191#else
[1012]1192#ifdef DEBUG
1193 dprintf(("IMM32: ImmSetConversionStatus not implemented\n"));
1194#endif
[736]1195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1196 return FALSE;
[10605]1197#endif
[736]1198}
1199
1200
1201/***********************************************************************
[1012]1202 * ImmSetHotKey (IMM32.71)
[736]1203 */
1204BOOL WINAPI ImmSetHotKey(DWORD dword, UINT uint, UINT uint2, HKL hkl)
1205{
[10605]1206#ifdef __WIN32OS2__
1207 return IM32SetHotKey( dword, uint, uint2, hkl );
1208#else
[1012]1209#ifdef DEBUG
1210 dprintf(("IMM32: ImmSetHotKey not implemented\n"));
1211#endif
[736]1212 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1213 return FALSE;
[10605]1214#endif
[736]1215}
1216
1217
1218/***********************************************************************
[1012]1219 * ImmSetOpenStatus (IMM32.72)
[736]1220 */
1221BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
1222{
[10605]1223#ifdef __WIN32OS2__
1224 return IM32SetOpenStatus( hIMC, fOpen );
1225#else
[1012]1226#ifdef DEBUG
1227 dprintf(("IMM32: ImmSetOpenStatus not implemented\n"));
1228#endif
[736]1229 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1230 return FALSE;
[10605]1231#endif
[736]1232}
1233
1234/***********************************************************************
[1012]1235 * ImmSetStatusWindowPos (IMM32.73)
[736]1236 */
1237BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
1238{
[10605]1239#ifdef __WIN32OS2__
1240 return IM32SetStatusWindowPos( hIMC, lpptPos );
1241#else
[1012]1242#ifdef DEBUG
1243 dprintf(("IMM32: ImmSetStatusWindowPos not implemented\n"));
1244#endif
[736]1245 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1246 return FALSE;
[10605]1247#endif
[736]1248}
1249
1250
1251/***********************************************************************
1252 * ImmShowSoftKeyboard (IMM32.74)
1253 */
1254BOOL WINAPI ImmShowSoftKeyboard(HWND hwnd, int in1)
1255{
[10605]1256#ifdef __WIN32OS2__
1257 return IM32ShowSoftKeyboard( hwnd, in1 );
1258#else
[1012]1259#ifdef DEBUG
1260 dprintf(("IMM32: ImmShowSoftKeyboard not implemented\n"));
1261#endif
[736]1262 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1263 return FALSE;
[10605]1264#endif
[736]1265}
1266
1267
1268/***********************************************************************
[1012]1269 * ImmSimulateHotKey (IMM32.75)
[736]1270 */
1271BOOL WINAPI ImmSimulateHotKey(HWND hWnd, DWORD dwHotKeyID)
1272{
[10605]1273#ifdef __WIN32OS2__
1274 return IM32SimulateHotKey( hWnd, dwHotKeyID );
1275#else
[1012]1276#ifdef DEBUG
1277 dprintf(("IMM32: ImmSimulateHotKey not implemented\n"));
1278#endif
[736]1279 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1280 return FALSE;
[10605]1281#endif
[736]1282}
1283
1284
1285/***********************************************************************
[1012]1286 * ImmUnlockIMC (IMM32.76)
[736]1287 */
1288BOOL WINAPI ImmUnlockIMC(HIMC himc)
1289{
[10605]1290#ifdef __WIN32OS2__
1291 return IM32UnlockIMC( himc );
1292#else
[1012]1293#ifdef DEBUG
1294 dprintf(("IMM32: ImmUnlockIMC not implemented\n"));
1295#endif
[736]1296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1297 return FALSE;
[10605]1298#endif
[736]1299}
1300
1301
1302/***********************************************************************
[1012]1303 * ImmUnlockIMCC (IMM32.77)
[736]1304 */
1305BOOL WINAPI ImmUnlockIMCC(HIMCC himcc)
1306{
[10605]1307#ifdef __WIN32OS2__
1308 return IM32UnlockIMCC( himcc );
1309#else
[1012]1310#ifdef DEBUG
1311 dprintf(("IMM32: ImmUnlockIMCC not implemented\n"));
1312#endif
[736]1313 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1314 return FALSE;
[10605]1315#endif
[736]1316}
1317
1318
1319/***********************************************************************
[1012]1320 * ImmUnregisterWordA (IMM32.78)
[736]1321 */
1322BOOL WINAPI ImmUnregisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
1323{
[10605]1324#ifdef __WIN32OS2__
1325 return IM32UnregisterWord( hKL, ( LPVOID )lpszReading, dwStyle, ( LPVOID )lpszUnregister, FALSE );
1326#else
[1012]1327#ifdef DEBUG
1328 dprintf(("IMM32: ImmUnregisterWordA not implemented\n"));
1329#endif
[736]1330 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1331 return FALSE;
[10605]1332#endif
[736]1333}
1334
1335/***********************************************************************
[1012]1336 * ImmUnregisterWordW (IMM32.79)
[736]1337 */
1338BOOL WINAPI ImmUnregisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
1339{
[10605]1340#ifdef __WIN32OS2__
1341 return IM32UnregisterWord( hKL, ( LPVOID )lpszReading, dwStyle, ( LPVOID )lpszUnregister, TRUE );
1342#else
[1012]1343#ifdef DEBUG
1344 dprintf(("IMM32: ImmUnregisterWordW not implemented\n"));
1345#endif
[736]1346 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1347 return FALSE;
[10605]1348#endif
[736]1349}
Note: See TracBrowser for help on using the repository browser.