1 /* 2 * PROJECT: ReactOS msctfime.ime 3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) 4 * PURPOSE: Supporting IME interface of Text Input Processors (TIPs) 5 * COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com> 6 */ 7 8 #pragma once 9 10 #include <stdlib.h> 11 12 #define WIN32_NO_STATUS 13 #define COBJMACROS 14 #define INITGUID 15 16 #include <windows.h> 17 #include <imm.h> 18 #include <ddk/immdev.h> 19 #include <cguid.h> 20 #include <tchar.h> 21 #include <msctf.h> 22 #include <ctffunc.h> 23 #include <shlwapi.h> 24 #include <strsafe.h> 25 26 #include <cicero/cicbase.h> 27 #include <cicero/cicarray.h> 28 #include <cicero/cicimc.h> 29 #include <cicero/cictf.h> 30 #include <cicero/ciccaret.h> 31 #include <cicero/cicuif.h> 32 33 #include <wine/debug.h> 34 35 #include "resource.h" 36 37 #define IS_IME_HKL(hKL) ((((ULONG_PTR)(hKL)) & 0xF0000000) == 0xE0000000) 38 39 extern HINSTANCE g_hInst; 40