4 * Copyright 1998 Patrik Stridvall
11 /***********************************************************************
12 * ImmAssociateContext32 (IMM32.1)
15 HIMC32 WINAPI
ImmAssociateContext32(HWND32 hWnd
, HIMC32 hIMC
)
20 /***********************************************************************
21 * ImmConfigureIME32A (IMM32.2)
24 BOOL32 WINAPI
ImmConfigureIME32A(HKL32 hKL
, HWND32 hWnd
, DWORD dwMode
, LPVOID lpData
)
29 /***********************************************************************
30 * ImmConfigureIME32W (IMM32.3)
33 BOOL32 WINAPI
ImmConfigureIME32W(HKL32 hKL
, HWND32 hWnd
, DWORD dwMode
, LPVOID lpData
)
38 /***********************************************************************
39 * ImmCreateContext32 (IMM32.4)
42 HIMC32 WINAPI
ImmCreateContext32()
47 /***********************************************************************
48 * ImmDestroyContext32 (IMM32.7)
51 BOOL32 WINAPI
ImmDestroyContext32(HIMC32 hIMC
)
57 /***********************************************************************
58 * ImmEnumRegisterWord32A (IMM32.10)
61 UINT32 WINAPI
ImmEnumRegisterWord32A(
62 HKL32 hKL
, REGISTERWORDENUMPROCA lpfnEnumProc
,
63 LPCSTR lpszReading
, DWORD dwStyle
,
64 LPCSTR lpszRegister
, LPVOID lpData
)
69 /***********************************************************************
70 * ImmEnumRegisterWord32W (IMM32.11)
73 UINT32 WINAPI
ImmEnumRegisterWord32W(
74 HKL32 hKL
, REGISTERWORDENUMPROCW lpfnEnumProc
,
75 LPCWSTR lpszReading
, DWORD dwStyle
,
76 LPCWSTR lpszRegister
, LPVOID lpData
)
81 /***********************************************************************
82 * ImmEscape32A (IMM32.12)
85 LRESULT WINAPI
ImmEscape32A(HKL32 hKL
, HIMC32 hIMC
, UINT32 uEscape
, LPVOID lpData
)
90 /***********************************************************************
91 * ImmEscape32W (IMM32.13)
94 LRESULT WINAPI
ImmEscape32W(HKL32 hKL
, HIMC32 hIMC
, UINT32 uEscape
, LPVOID lpData
)
99 /***********************************************************************
100 * ImmGetCandidateList32A (IMM32.15)
103 DWORD WINAPI
ImmGetCandidateList32A(HIMC32 hIMC
, DWORD deIndex
, LPCANDIDATELIST lpCandList
, DWORD dwBufLen
)
108 /***********************************************************************
109 * ImmGetCandidateListCount32A (IMM32.16)
112 DWORD WINAPI
ImmGetCandidateListCount32A(HIMC32 hIMC
, LPDWORD lpdwListCount
)
117 /***********************************************************************
118 * ImmGetCandidateListCount32W (IMM32.17)
121 DWORD WINAPI
ImmGetCandidateListCount32W(HIMC32 hIMC
, LPDWORD lpdwListCount
)
126 /***********************************************************************
127 * ImmGetCandidateList32W (IMM32.18)
130 DWORD WINAPI
ImmGetCandidateList32W(HIMC32 hIMC
, DWORD deIndex
, LPCANDIDATELIST lpCandList
, DWORD dwBufLen
)
135 /***********************************************************************
136 * ImmGetCandidateWindow32 (IMM32.19)
139 BOOL32 WINAPI
ImmGetCandidateWindow32(HIMC32 hIMC
, DWORD dwBufLen
, LPCANDIDATEFORM lpCandidate
)
144 /***********************************************************************
145 * ImmGetCompositionFont32A (IMM32.20)
148 BOOL32 WINAPI
ImmGetCompositionFont32A(HIMC32 hIMC
, LPLOGFONT32A lplf
)
153 /***********************************************************************
154 * ImmGetCompositionFont32W (IMM32.21)
157 BOOL32 WINAPI
ImmGetCompositionFont32W(HIMC32 hIMC
, LPLOGFONT32W lplf
)
162 /***********************************************************************
163 * ImmGetCompositionString32A (IMM32.22)
166 LONG WINAPI
ImmGetCompositionString32A(HIMC32 hIMC
, DWORD dwIndex
, LPVOID lpBuf
, DWORD dwBufLen
)
171 /***********************************************************************
172 * ImmGetCompositionString32W (IMM32.23)
175 LONG WINAPI
ImmGetCompositionString32W(HIMC32 hIMC
, DWORD dwIndex
, LPVOID lpBuf
, DWORD dwBufLen
)
180 /***********************************************************************
181 * ImmGetCompositionWindow32 (IMM32.24)
184 BOOL32 WINAPI
ImmGetCompositionWindow32(HIMC32 hIMC
, LPCOMPOSITIONFORM lpCompForm
)
189 /***********************************************************************
190 * ImmGetContext32 (IMM32.25)
193 HIMC32 WINAPI
ImmGetContext32(HWND32 hWnd
)
198 /***********************************************************************
199 * ImmGetConversionList32A (IMM32.26)
202 DWORD WINAPI
ImmGetConversionList32A(
203 HKL32 hKL
, HIMC32 hIMC
,
204 LPCSTR pSrc
, LPCANDIDATELIST lpDst
,
205 DWORD dwBufLen
, UINT32 uFlag
)
210 /***********************************************************************
211 * ImmGetConversionList32W (IMM32.27)
214 DWORD WINAPI
ImmGetConversionList32W(
215 HKL32 hKL
, HIMC32 hIMC
,
216 LPCWSTR pSrc
, LPCANDIDATELIST lpDst
,
217 DWORD dwBufLen
, UINT32 uFlag
)
222 /***********************************************************************
223 * ImmGetConversionStatus32 (IMM32.28)
226 BOOL32 WINAPI
ImmGetConversionStatus32(
227 HIMC32 hIMC
, LPDWORD lpfdwConversion
, LPDWORD lpfdwSentence
)
232 /***********************************************************************
233 * ImmGetDefaultIMEWnd32 (IMM32.29)
236 HWND32 WINAPI
ImmGetDefaultIMEWnd32(HWND32 hWnd
)
241 /***********************************************************************
242 * ImmGetDescription32A (IMM32.30)
245 UINT32 WINAPI
ImmGetDescription32A(HKL32 hKL
, LPSTR lpszDescription
, UINT32 uBufLen
)
250 /***********************************************************************
251 * ImmGetDescription32W (IMM32.31)
254 UINT32 WINAPI
ImmGetDescription32W(HKL32 hKL
, LPWSTR lpszDescription
, UINT32 uBufLen
)
259 /***********************************************************************
260 * ImmGetGuideLine32A (IMM32.32)
263 DWORD WINAPI
ImmGetGuideLine32A(HIMC32 hIMC
, DWORD dwIndex
, LPSTR lpBuf
, DWORD dwBufLen
)
268 /***********************************************************************
269 * ImmGetGuideLine32W (IMM32.33)
272 DWORD WINAPI
ImmGetGuideLine32W(HIMC32 hIMC
, DWORD dwIndex
, LPWSTR lpBuf
, DWORD dwBufLen
)
277 /***********************************************************************
278 * ImmGetIMEFileName32A (IMM32.38)
281 UINT32 WINAPI
ImmGetIMEFileName32A(HKL32 hKL
, LPSTR lpszFileName
, UINT32 uBufLen
)
286 /***********************************************************************
287 * ImmGetIMEFileName32W (IMM32.39)
290 UINT32 WINAPI
ImmGetIMEFileName32W(HKL32 hKL
, LPWSTR lpszFileName
, UINT32 uBufLen
)
295 /***********************************************************************
296 * ImmGetOpenStatus32 (IMM32.40)
299 BOOL32 WINAPI
ImmGetOpenStatus32(HIMC32 hIMC
)
304 /***********************************************************************
305 * ImmGetProperty32 (IMM32.41)
308 DWORD WINAPI
ImmGetProperty32(HKL32 hKL
, DWORD fdwIndex
)
313 /***********************************************************************
314 * ImmGetRegisterWordStyle32A (IMM32.42)
317 UINT32 WINAPI
ImmGetRegisterWordStyle32A(HKL32 hKL
, UINT32 nItem
, LPSTYLEBUFA lpStyleBuf
)
322 /***********************************************************************
323 * ImmGetRegisterWordStyle32W (IMM32.43)
326 UINT32 WINAPI
ImmGetRegisterWordStyle32W(HKL32 hKL
, UINT32 nItem
, LPSTYLEBUFW lpStyleBuf
)
331 /***********************************************************************
332 * ImmGetStatusWindowPos32 (IMM32.44)
335 BOOL32 WINAPI
ImmGetStatusWindowPos32(HIMC32 hIMC
, LPPOINT32 lpptPos
)
340 /***********************************************************************
341 * ImmGetVirtualKey32 (IMM32.45)
344 UINT32 WINAPI
ImmGetVirtualKey32(HWND32 hWnd
)
349 /***********************************************************************
350 * ImmInstallIME32A (IMM32.46)
353 HKL32 WINAPI
ImmInstallIME32A(LPCSTR lpszIMEFileName
, LPCSTR lpszLayoutText
)
358 /***********************************************************************
359 * ImmInstallIME32W (IMM32.47)
362 HKL32 WINAPI
ImmInstallIME32W(LPCWSTR lpszIMEFileName
, LPCWSTR lpszLayoutText
)
367 /***********************************************************************
368 * ImmIsIME32 (IMM32.48)
371 BOOL32 WINAPI
ImmIsIME32(HKL32 hKL
)
376 /***********************************************************************
377 * ImmIsUIMessage32A (IMM32.49)
380 BOOL32 WINAPI
ImmIsUIMessage32A(HWND32 hWndIME
, UINT32 msg
, WPARAM32 wParam
, LPARAM lParam
)
385 /***********************************************************************
386 * ImmIsUIMessage32W (IMM32.50)
389 BOOL32 WINAPI
ImmIsUIMessage32W(HWND32 hWndIME
, UINT32 msg
, WPARAM32 wParam
, LPARAM lParam
)
394 /***********************************************************************
395 * ImmNotifyIME32 (IMM32.53)
398 BOOL32 WINAPI
ImmNotifyIME32(HIMC32 hIMC
, DWORD dwAction
, DWORD dwIndex
, DWORD dwValue
)
403 /***********************************************************************
404 * ImmRegisterWord32A (IMM32.55)
407 BOOL32 WINAPI
ImmRegisterWord32A(HKL32 hKL
, LPCSTR lpszReading
, DWORD dwStyle
, LPCSTR lpszRegister
)
412 /***********************************************************************
413 * ImmRegisterWord32W (IMM32.56)
416 BOOL32 WINAPI
ImmRegisterWord32W(HKL32 hKL
, LPCWSTR lpszReading
, DWORD dwStyle
, LPCWSTR lpszRegister
)
421 /***********************************************************************
422 * ImmReleaseContext32 (IMM32.57)
425 BOOL32 WINAPI
ImmReleaseContext32(HWND32 hWnd
, HIMC32 hIMC
)
430 /***********************************************************************
431 * ImmSetCandidateWindow32 (IMM32.58)
434 BOOL32 WINAPI
ImmSetCandidateWindow32 (HIMC32 hIMC
, LPCANDIDATEFORM lpCandidate
)
439 /***********************************************************************
440 * ImmSetCompositionFont32A (IMM32.59)
443 BOOL32 WINAPI
ImmSetCompositionFont32A(HIMC32 hIMC
, LPLOGFONT32A lplf
)
448 /***********************************************************************
449 * ImmSetCompositionFont32W (IMM32.60)
452 BOOL32 WINAPI
ImmSetCompositionFont32W(HIMC32 hIMC
, LPLOGFONT32W lplf
)
457 /***********************************************************************
458 * ImmSetCompositionString32A (IMM32.61)
461 BOOL32 WINAPI
ImmSetCompositionString32A(
462 HIMC32 hIMC
, DWORD dwIndex
,
463 LPCVOID lpComp
, DWORD dwCompLen
,
464 LPCVOID lpRead
, DWORD dwReadLen
)
469 /***********************************************************************
470 * ImmSetCompositionString32W (IMM32.62)
473 BOOL32 WINAPI
ImmSetCompositionString32W(
474 HIMC32 hIMC
, DWORD dwIndex
,
475 LPCVOID lpComp
, DWORD dwCompLen
,
476 LPCVOID lpRead
, DWORD dwReadLen
)
481 /***********************************************************************
482 * ImmSetCompositionWindow32 (IMM32.63)
485 BOOL32 WINAPI
ImmSetCompositionWindow32(HIMC32 hIMC
, LPCOMPOSITIONFORM lpCompForm
)
490 /***********************************************************************
491 * ImmSetConversionStatus32 (IMM32.64)
494 BOOL32 WINAPI
ImmSetConversionStatus32(HIMC32 hIMC
, DWORD fdwConversion
, DWORD fdwSentence
)
499 /***********************************************************************
500 * ImmSetOpenStatus32 (IMM32.66)
503 BOOL32 WINAPI
ImmSetOpenStatus32(HIMC32 hIMC
, BOOL32 fOpen
)
508 /***********************************************************************
509 * ImmSetStatusWindowPos32 (IMM32.67)
512 BOOL32 WINAPI
ImmSetStatusWindowPos32(HIMC32 hIMC
, LPPOINT32 lpptPos
)
518 /***********************************************************************
519 * ImmSimulateHotKey32 (IMM32.69)
522 BOOL32 WINAPI
ImmSimulateHotKey32(HWND32 hWnd
, DWORD dwHotKeyID
)
527 /***********************************************************************
528 * ImmUnregisterWord32A (IMM32.72)
531 BOOL32 WINAPI
ImmUnregisterWord32A(HKL32 hKL
, LPCSTR lpszReading
, DWORD dwStyle
, LPCSTR lpszUnregister
)
536 /***********************************************************************
537 * ImmUnregisterWord32W (IMM32.?)
539 * I haven't been able to find the ordinal for this function,
540 * This means it can't be called from outside the DLL.
543 BOOL32 WINAPI
ImmUnregisterWord32W(HKL32 hKL
, LPCWSTR lpszReading
, DWORD dwStyle
, LPCWSTR lpszUnregister
)