2 * Copyright (C) 2007 CodeWeavers, Aric Stewart
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
26 typedef struct _tagINPUTCONTEXT {
37 COMPOSITIONFORM cfCompForm;
38 CANDIDATEFORM cfCandForm[4];
47 } INPUTCONTEXT, *LPINPUTCONTEXT;
49 typedef struct _tagIMEINFO {
50 DWORD dwPrivateDataSize;
52 DWORD fdwConversionCaps;
53 DWORD fdwSentenceCaps;
57 } IMEINFO, *LPIMEINFO;
59 typedef struct tagCOMPOSITIONSTRING {
61 DWORD dwCompReadAttrLen;
62 DWORD dwCompReadAttrOffset;
63 DWORD dwCompReadClauseLen;
64 DWORD dwCompReadClauseOffset;
65 DWORD dwCompReadStrLen;
66 DWORD dwCompReadStrOffset;
68 DWORD dwCompAttrOffset;
69 DWORD dwCompClauseLen;
70 DWORD dwCompClauseOffset;
72 DWORD dwCompStrOffset;
75 DWORD dwResultReadClauseLen;
76 DWORD dwResultReadClauseOffset;
77 DWORD dwResultReadStrLen;
78 DWORD dwResultReadStrOffset;
79 DWORD dwResultClauseLen;
80 DWORD dwResultClauseOffset;
82 DWORD dwResultStrOffset;
84 DWORD dwPrivateOffset;
85 } COMPOSITIONSTRING, *LPCOMPOSITIONSTRING;
87 LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC);
88 BOOL WINAPI ImmUnlockIMC(HIMC);
89 DWORD WINAPI ImmGetIMCLockCount(HIMC);
90 HIMCC WINAPI ImmCreateIMCC(DWORD);
91 HIMCC WINAPI ImmDestroyIMCC(HIMCC);
92 LPVOID WINAPI ImmLockIMCC(HIMCC);
93 BOOL WINAPI ImmUnlockIMCC(HIMCC);
94 DWORD WINAPI ImmGetIMCCLockCount(HIMCC);
95 HIMCC WINAPI ImmReSizeIMCC(HIMCC, DWORD);
96 DWORD WINAPI ImmGetIMCCSize(HIMCC);
102 #endif /* _DDKIMM_H_ */