-name imm32
-type win32
-
-import kernel32.dll
-import ntdll.dll
-
-debug_channels (imm)
-
-@ stdcall ImmAssociateContext(long long) ImmAssociateContext
-@ stdcall ImmConfigureIMEA(long long long ptr) ImmConfigureIMEA
-@ stdcall ImmConfigureIMEW(long long long ptr) ImmConfigureIMEW
-@ stdcall ImmCreateContext() ImmCreateContext
-@ stdcall ImmCreateIMCC(long) ImmCreateIMCC
-@ stdcall ImmCreateSoftKeyboard(long long long long) ImmCreateSoftKeyboard
-@ stdcall ImmDestroyContext(long) ImmDestroyContext
-@ stdcall ImmDestroyIMCC(long) ImmDestroyIMCC
-@ stdcall ImmDestroySoftKeyboard(long) ImmDestroySoftKeyboard
-@ stdcall ImmEnumRegisterWordA(long ptr str long str ptr) ImmEnumRegisterWordA
-@ stdcall ImmEnumRegisterWordW(long ptr wstr long wstr ptr) ImmEnumRegisterWordW
-@ stdcall ImmEscapeA(long long long ptr) ImmEscapeA
-@ stdcall ImmEscapeW(long long long ptr) ImmEscapeW
-@ stdcall ImmGenerateMessage(long) ImmGenerateMessage
-@ stdcall ImmGetCandidateListA(long long ptr long) ImmGetCandidateListA
-@ stdcall ImmGetCandidateListCountA(long ptr) ImmGetCandidateListCountA
-@ stdcall ImmGetCandidateListCountW(long ptr) ImmGetCandidateListCountW
-@ stdcall ImmGetCandidateListW(long long ptr long) ImmGetCandidateListW
-@ stdcall ImmGetCandidateWindow(long long ptr) ImmGetCandidateWindow
-@ stdcall ImmGetCompositionFontA(long ptr) ImmGetCompositionFontA
-@ stdcall ImmGetCompositionFontW(long ptr) ImmGetCompositionFontW
-@ stdcall ImmGetCompositionStringA (long long ptr long) ImmGetCompositionStringA
-@ stdcall ImmGetCompositionStringW (long long ptr long) ImmGetCompositionStringW
-@ stdcall ImmGetCompositionWindow(long ptr) ImmGetCompositionWindow
-@ stdcall ImmGetContext(long) ImmGetContext
-@ stdcall ImmGetConversionListA(long long str ptr long long) ImmGetConversionListA
-@ stdcall ImmGetConversionListW(long long wstr ptr long long) ImmGetConversionListW
-@ stdcall ImmGetConversionStatus(long ptr ptr) ImmGetConversionStatus
-@ stdcall ImmGetDefaultIMEWnd(long) ImmGetDefaultIMEWnd
-@ stdcall ImmGetDescriptionA(long str long) ImmGetDescriptionA
-@ stdcall ImmGetDescriptionW(long wstr long) ImmGetDescriptionW
-@ stdcall ImmGetGuideLineA(long long str long) ImmGetGuideLineA
-@ stdcall ImmGetGuideLineW(long long wstr long) ImmGetGuideLineW
-@ stdcall ImmGetHotKey(long ptr ptr ptr) ImmGetHotKey
-@ stdcall ImmGetIMCCLockCount(long) ImmGetIMCCLockCount
-@ stdcall ImmGetIMCCSize(long) ImmGetIMCCSize
-@ stdcall ImmGetIMCLockCount(long) ImmGetIMCLockCount
-@ stdcall ImmGetIMEFileNameA(long str long) ImmGetIMEFileNameA
-@ stdcall ImmGetIMEFileNameW(long wstr long) ImmGetIMEFileNameW
-@ stdcall ImmGetOpenStatus(long) ImmGetOpenStatus
-@ stdcall ImmGetProperty(long long) ImmGetProperty
-@ stdcall ImmGetRegisterWordStyleA(long long ptr) ImmGetRegisterWordStyleA
-@ stdcall ImmGetRegisterWordStyleW(long long ptr) ImmGetRegisterWordStyleW
-@ stdcall ImmGetStatusWindowPos(long ptr) ImmGetStatusWindowPos
-@ stdcall ImmGetVirtualKey(long) ImmGetVirtualKey
-@ stdcall ImmInstallIMEA(str str) ImmInstallIMEA
-@ stdcall ImmInstallIMEW(wstr wstr) ImmInstallIMEW
-@ stdcall ImmIsIME(long) ImmIsIME
-@ stdcall ImmIsUIMessageA(long long long long) ImmIsUIMessageA
-@ stdcall ImmIsUIMessageW(long long long long) ImmIsUIMessageW
-@ stdcall ImmLockIMC(long) ImmLockIMC
-@ stdcall ImmLockIMCC(long) ImmLockIMCC
-@ stdcall ImmNotifyIME(long long long long) ImmNotifyIME
-@ stdcall ImmReSizeIMCC(long long) ImmReSizeIMCC
-@ stdcall ImmRegisterWordA(long str long str) ImmRegisterWordA
-@ stdcall ImmRegisterWordW(long wstr long wstr) ImmRegisterWordW
-@ stdcall ImmReleaseContext(long long) ImmReleaseContext
-@ stdcall ImmSetCandidateWindow(long ptr) ImmSetCandidateWindow
-@ stdcall ImmSetCompositionFontA(long ptr) ImmSetCompositionFontA
-@ stdcall ImmSetCompositionFontW(long ptr) ImmSetCompositionFontW
-@ stdcall ImmSetCompositionStringA(long long ptr long ptr long) ImmSetCompositionStringA
-@ stdcall ImmSetCompositionStringW(long long ptr long ptr long) ImmSetCompositionStringW
-@ stdcall ImmSetCompositionWindow(long ptr) ImmSetCompositionWindow
-@ stdcall ImmSetConversionStatus(long long long) ImmSetConversionStatus
-@ stdcall ImmSetHotKey(long long long long) ImmSetHotKey
-@ stdcall ImmSetOpenStatus(long long) ImmSetOpenStatus
-@ stdcall ImmSetStatusWindowPos(long ptr) ImmSetStatusWindowPos
-@ stdcall ImmShowSoftKeyboard(long long) ImmShowSoftKeyboard
-@ stdcall ImmSimulateHotKey(long long) ImmSimulateHotKey
-@ stdcall ImmUnlockIMC(long) ImmUnlockIMC
-@ stdcall ImmUnlockIMCC(long) ImmUnlockIMCC
-@ stdcall ImmUnregisterWordA(long str long str) ImmUnregisterWordA
-@ stdcall ImmUnregisterWordW(long wstr long wstr) ImmUnregisterWordW
+@ stub ImmActivateLayout
+@ stdcall ImmAssociateContext(long long)
+@ stdcall ImmAssociateContextEx(long long long)
+@ stdcall ImmConfigureIMEA(long long long ptr)
+@ stdcall ImmConfigureIMEW(long long long ptr)
+@ stdcall ImmCreateContext()
+@ stub ImmCreateIMCC
+@ stub ImmCreateSoftKeyboard
+@ stdcall ImmDestroyContext(long)
+@ stub ImmDestroyIMCC
+@ stub ImmDestroySoftKeyboard
+@ stdcall ImmDisableIME(long)
+@ stub ImmDisableIme
+@ stub ImmEnumInputContext
+@ stdcall ImmEnumRegisterWordA(long ptr str long str ptr)
+@ stdcall ImmEnumRegisterWordW(long ptr wstr long wstr ptr)
+@ stdcall ImmEscapeA(long long long ptr)
+@ stdcall ImmEscapeW(long long long ptr)
+@ stub ImmFreeLayout
+@ stub ImmGenerateMessage
+@ stdcall ImmGetCandidateListA(long long ptr long)
+@ stdcall ImmGetCandidateListCountA(long ptr)
+@ stdcall ImmGetCandidateListCountW(long ptr)
+@ stdcall ImmGetCandidateListW(long long ptr long)
+@ stdcall ImmGetCandidateWindow(long long ptr)
+@ stdcall ImmGetCompositionFontA(long ptr)
+@ stdcall ImmGetCompositionFontW(long ptr)
+@ stdcall ImmGetCompositionString (long long ptr long) ImmGetCompositionStringA
+@ stdcall ImmGetCompositionStringA (long long ptr long)
+@ stdcall ImmGetCompositionStringW (long long ptr long)
+@ stdcall ImmGetCompositionWindow(long ptr)
+@ stdcall ImmGetContext(long)
+@ stdcall ImmGetConversionListA(long long str ptr long long)
+@ stdcall ImmGetConversionListW(long long wstr ptr long long)
+@ stdcall ImmGetConversionStatus(long ptr ptr)
+@ stdcall ImmGetDefaultIMEWnd(long)
+@ stdcall ImmGetDescriptionA(long ptr long)
+@ stdcall ImmGetDescriptionW(long ptr long)
+@ stdcall ImmGetGuideLineA(long long ptr long)
+@ stdcall ImmGetGuideLineW(long long ptr long)
+@ stub ImmGetHotKey
+@ stub ImmGetIMCCLockCount
+@ stub ImmGetIMCCSize
+@ stub ImmGetIMCLockCount
+@ stdcall ImmGetIMEFileNameA(long ptr long)
+@ stdcall ImmGetIMEFileNameW(long ptr long)
+@ stub ImmGetImeInfoEx
+@ stub ImmGetImeMenuItemsA
+@ stub ImmGetImeMenuItemsW
+@ stdcall ImmGetOpenStatus(long)
+@ stdcall ImmGetProperty(long long)
+@ stdcall ImmGetRegisterWordStyleA(long long ptr)
+@ stdcall ImmGetRegisterWordStyleW(long long ptr)
+@ stdcall ImmGetStatusWindowPos(long ptr)
+@ stdcall ImmGetVirtualKey(long)
+@ stub ImmIMPGetIMEA
+@ stub ImmIMPGetIMEW
+@ stub ImmIMPQueryIMEA
+@ stub ImmIMPQueryIMEW
+@ stub ImmIMPSetIMEA
+@ stub ImmIMPSetIMEW
+@ stdcall ImmInstallIMEA(str str)
+@ stdcall ImmInstallIMEW(wstr wstr)
+@ stdcall ImmIsIME(long)
+@ stdcall ImmIsUIMessageA(long long long long)
+@ stdcall ImmIsUIMessageW(long long long long)
+@ stub ImmLoadIME
+@ stub ImmLoadLayout
+@ stub ImmLockClientImc
+@ stub ImmLockIMC
+@ stub ImmLockIMCC
+@ stub ImmLockImeDpi
+@ stdcall ImmNotifyIME(long long long long)
+@ stub ImmPenAuxInput
+@ stub ImmProcessKey
+@ stub ImmPutImeMenuItemsIntoMappedFile
+@ stub ImmReSizeIMCC
+@ stub ImmRegisterClient
+@ stdcall ImmRegisterWordA(long str long str)
+@ stdcall ImmRegisterWordW(long wstr long wstr)
+@ stdcall ImmReleaseContext(long long)
+@ stub ImmRequestMessageA
+@ stub ImmRequestMessageW
+@ stub ImmSendIMEMessageExA
+@ stub ImmSendIMEMessageExW
+@ stub ImmSendMessageToActiveDefImeWndW
+@ stub ImmSetActiveContext
+@ stub ImmSetActiveContextConsoleIME
+@ stdcall ImmSetCandidateWindow(long ptr)
+@ stdcall ImmSetCompositionFontA(long ptr)
+@ stdcall ImmSetCompositionFontW(long ptr)
+@ stdcall ImmSetCompositionStringA(long long ptr long ptr long)
+@ stdcall ImmSetCompositionStringW(long long ptr long ptr long)
+@ stdcall ImmSetCompositionWindow(long ptr)
+@ stdcall ImmSetConversionStatus(long long long)
+@ stdcall ImmSetHotKey(long long long ptr) user32.CliImmSetHotKey
+@ stdcall ImmSetOpenStatus(long long)
+@ stdcall ImmSetStatusWindowPos(long ptr)
+@ stub ImmShowSoftKeyboard
+@ stdcall ImmSimulateHotKey(long long)
+@ stub ImmSystemHandler
+@ stub ImmTranslateMessage
+@ stub ImmUnlockClientImc
+@ stub ImmUnlockIMC
+@ stub ImmUnlockIMCC
+@ stub ImmUnlockImeDpi
+@ stdcall ImmUnregisterWordA(long str long str)
+@ stdcall ImmUnregisterWordW(long wstr long wstr)
+@ stub ImmWINNLSEnableIME
+@ stub ImmWINNLSGetEnableStatus
+@ stub ImmWINNLSGetIMEHotkey