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 <immdev.h> 19 #include <imm32_undoc.h> 20 #include <cguid.h> 21 #include <tchar.h> 22 #include <msctf.h> 23 #include <ctffunc.h> 24 #include <shlwapi.h> 25 #include <strsafe.h> 26 27 #include <cicbase.h> 28 #include <cicarray.h> 29 #include <cicimc.h> 30 #include <cictf.h> 31 #include <cicreg.h> 32 #include <ciccaret.h> 33 #include <cicuif.h> 34 #include <cicutb.h> 35 36 #include <wine/debug.h> 37 38 EXTERN_C BOOLEAN WINAPI DllShutdownInProgress(VOID); 39 40 HRESULT InitDisplayAttrbuteLib(PCIC_LIBTHREAD pLibThread); 41 HRESULT UninitDisplayAttrbuteLib(PCIC_LIBTHREAD pLibThread); 42 43 DEFINE_GUID(GUID_COMPARTMENT_CTFIME_DIMFLAGS, 0xA94C5FD2, 0xC471, 0x4031, 0x95, 0x46, 0x70, 0x9C, 0x17, 0x30, 0x0C, 0xB9); 44 DEFINE_GUID(GUID_COMPARTMENT_CTFIME_CICINPUTCONTEXT, 0x85A688F7, 0x6DC8, 0x4F17, 0xA8, 0x3A, 0xB1, 0x1C, 0x09, 0xCD, 0xD7, 0xBF); 45 46 #include "resource.h" 47 48 #include "bridge.h" 49 #include "compartment.h" 50 #include "functions.h" 51 #include "inputcontext.h" 52 #include "profile.h" 53 #include "sinks.h" 54 #include "tls.h" 55 #include "ui.h" 56 57 extern HINSTANCE g_hInst; 58