xref: /reactos/dll/ime/msctfime/msctfime.h (revision 95459803)
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 <msctf.h>
21 #include <ctffunc.h>
22 #include <shlwapi.h>
23 #include <strsafe.h>
24 
25 #include <cicero/cicbase.h>
26 #include <cicero/cicarray.h>
27 #include <cicero/osinfo.h>
28 #include <cicero/CModulePath.h>
29 #include <cicero/imclock.h>
30 
31 class CicInputContext;
32 
33 typedef struct tagCTFIMECONTEXT
34 {
35     CicInputContext *m_pCicIC;
36     DWORD m_dwCicFlags;
37 } CTFIMECONTEXT, *PCTFIMECONTEXT;
38 
39 #include <wine/debug.h>
40 
41 #include "resource.h"
42 
43 #define IS_IME_HKL(hKL) ((((ULONG_PTR)(hKL)) & 0xF0000000) == 0xE0000000)
44 
45 extern HINSTANCE g_hInst;
46