annotate src/dimm.idl @ 9866:a6874bce6264

Added tag v7.4.2207 for changeset 649a6a3fa71494fbd0fcafb86591f1f0c046c21d
author Christian Brabandt <cb@256bit.org>
date Sat, 13 Aug 2016 16:45:05 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 //+-------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 // Microsoft Windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 // Copyright (C) Microsoft Corporation, 1992-2000.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 // File: dimm.idl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 // Contents: ActiveIMM interface definitions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 //--------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 cpp_quote("//=--------------------------------------------------------------------------=")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 cpp_quote("// dimm.h")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 cpp_quote("//=--------------------------------------------------------------------------=")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 cpp_quote("// (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 cpp_quote("//")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 cpp_quote("// PARTICULAR PURPOSE.")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 cpp_quote("//=--------------------------------------------------------------------------=")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 cpp_quote("")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 cpp_quote("#pragma comment(lib,\"uuid.lib\")")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 cpp_quote("")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 cpp_quote("//--------------------------------------------------------------------------")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 cpp_quote("// IActiveIMM Interfaces.")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 cpp_quote("")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 Disable a warning about lack of polymorphic type support for the following reasons
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 - the only reason to have library block in the file is to make midl accept coclass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 statement and generate CLSID for CActiveIMM.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 - the generated dimm_i.c has the clsid and that file is used to have clsid available
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 - the dimm.tlb is not used at all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 - on top of it, there is no plans to port the app using dimm.idl to 64b platform.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 * midl_pragma is unsupported in midl version 3.01 shipped with VC5.0.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 * It is supported in midl version 5.01 shipped with VC6.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 * I could not produce message 2395. Is this needed? W.Briscoe 2001-08-14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 #if (__midl >= 501)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 midl_pragma warning( disable: 2395) // polymorphic types not supported in the TLB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 #ifndef DO_NO_IMPORTS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 import "unknwn.idl";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 uuid(4955DD30-B159-11d0-8FCF-00AA006BCC59),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 helpstring("ActiveIMM"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 lcid(0x0000),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 version(0.1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 library ActiveIMM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 importlib("stdole2.tlb");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 cpp_quote("#include <imm.h>")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 cpp_quote("#if 0")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 typedef WORD LANGID;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 LPSTR lpReading;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 LPSTR lpWord;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 } REGISTERWORDA;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 LPWSTR lpReading;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 LPWSTR lpWord;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 } REGISTERWORDW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 #define LF_FACESIZE 32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 LONG lfHeight;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 LONG lfWidth;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 LONG lfEscapement;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 LONG lfOrientation;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 LONG lfWeight;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 BYTE lfItalic;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 BYTE lfUnderline;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 BYTE lfStrikeOut;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 BYTE lfCharSet;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 BYTE lfOutPrecision;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 BYTE lfClipPrecision;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 BYTE lfQuality;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 BYTE lfPitchAndFamily;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 CHAR lfFaceName[LF_FACESIZE];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 } LOGFONTA;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 LONG lfHeight;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 LONG lfWidth;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 LONG lfEscapement;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 LONG lfOrientation;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 LONG lfWeight;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 BYTE lfItalic;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 BYTE lfUnderline;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 BYTE lfStrikeOut;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 BYTE lfCharSet;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 BYTE lfOutPrecision;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 BYTE lfClipPrecision;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 BYTE lfQuality;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 BYTE lfPitchAndFamily;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 WCHAR lfFaceName[LF_FACESIZE];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 } LOGFONTW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 typedef DWORD HIMC;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 typedef DWORD HIMCC;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 DWORD dwIndex;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 DWORD dwStyle;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 POINT ptCurrentPos;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 RECT rcArea;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 } CANDIDATEFORM;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 DWORD dwStyle;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 POINT ptCurrentPos;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 RECT rcArea;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 } COMPOSITIONFORM;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 DWORD dwSize;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 DWORD dwStyle;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 DWORD dwCount;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 DWORD dwSelection;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 DWORD dwPageStart;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 DWORD dwPageSize;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 DWORD dwOffset[1];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 } CANDIDATELIST;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 #define STYLE_DESCRIPTION_SIZE 32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 DWORD dwStyle;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 CHAR szDescription[STYLE_DESCRIPTION_SIZE];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 } STYLEBUFA;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 DWORD dwStyle;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 WCHAR szDescription[STYLE_DESCRIPTION_SIZE];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 } STYLEBUFW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 typedef WORD ATOM;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 cpp_quote("#endif")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 cpp_quote("#if (WINVER < 0x040A)")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 #define IMEMENUITEM_STRING_SIZE 80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 UINT cbSize;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 UINT fType;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 UINT fState;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 UINT wID;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 HBITMAP hbmpChecked;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 HBITMAP hbmpUnchecked;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 DWORD dwItemData;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 CHAR szString[IMEMENUITEM_STRING_SIZE];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 HBITMAP hbmpItem;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 } IMEMENUITEMINFOA;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 UINT cbSize;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 UINT fType;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 UINT fState;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 UINT wID;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 HBITMAP hbmpChecked;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 HBITMAP hbmpUnchecked;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 DWORD dwItemData;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 WCHAR szString[IMEMENUITEM_STRING_SIZE];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 HBITMAP hbmpItem;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 } IMEMENUITEMINFOW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 cpp_quote("#endif")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 cpp_quote("#ifndef _DDKIMM_H_")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 HWND hWnd;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 BOOL fOpen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 POINT ptStatusWndPos;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 POINT ptSoftKbdPos;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 DWORD fdwConversion;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 DWORD fdwSentence;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 union
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 LOGFONTA A;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 LOGFONTW W;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 } lfFont;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 COMPOSITIONFORM cfCompForm;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 CANDIDATEFORM cfCandForm[4];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 HIMCC hCompStr;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 HIMCC hCandInfo;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 HIMCC hGuideLine;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 HIMCC hPrivate;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 DWORD dwNumMsgBuf;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 HIMCC hMsgBuf;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 DWORD fdwInit;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 DWORD dwReserve[3];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 } INPUTCONTEXT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 DWORD dwPrivateDataSize;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 DWORD fdwProperty;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 DWORD fdwConversionCaps;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 DWORD fdwSentenceCaps;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 DWORD fdwUICaps;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 DWORD fdwSCSCaps;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 DWORD fdwSelectCaps;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 } IMEINFO;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 cpp_quote("#endif")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 uuid(08C03412-F96B-11d0-A475-00AA006BCC59),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 interface IEnumRegisterWordA : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 HRESULT Clone([out] IEnumRegisterWordA **ppEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 HRESULT Next([in] ULONG ulCount, [out] REGISTERWORDA *rgRegisterWord, [out] ULONG *pcFetched);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 HRESULT Reset();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 HRESULT Skip([in] ULONG ulCount);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 uuid(4955DD31-B159-11d0-8FCF-00AA006BCC59),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 interface IEnumRegisterWordW : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 HRESULT Clone([out] IEnumRegisterWordW **ppEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 HRESULT Next([in] ULONG ulCount, [out] REGISTERWORDW *rgRegisterWord, [out] ULONG *pcFetched);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 HRESULT Reset();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 HRESULT Skip([in] ULONG ulCount);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 uuid(09b5eab0-f997-11d1-93d4-0060b067b86e),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 interface IEnumInputContext : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 HRESULT Clone([out] IEnumInputContext **ppEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 HRESULT Next([in] ULONG ulCount, [out] HIMC *rgInputContext, [out] ULONG *pcFetched);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 HRESULT Reset();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 HRESULT Skip([in] ULONG ulCount);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 uuid(b3458082-bd00-11d1-939b-0060b067b86e),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 interface IActiveIMMRegistrar : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 HRESULT RegisterIME([in] REFCLSID rclsid, [in] LANGID lgid, [in] LPCWSTR pszIconFile, [in] LPCWSTR pszDesc);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 HRESULT UnregisterIME([in] REFCLSID rclsid);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 uuid(b5cf2cfa-8aeb-11d1-9364-0060b067b86e),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 interface IActiveIMMMessagePumpOwner : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 HRESULT Start();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 HRESULT End();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 HRESULT OnTranslateMessage([in] const MSG *pMsg);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 HRESULT Pause([out] DWORD *pdwCookie);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 HRESULT Resume([in] DWORD dwCookie);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 uuid(08c0e040-62d1-11d1-9326-0060b067b86e),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 interface IActiveIMMApp : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 HRESULT AssociateContext([in] HWND hWnd, [in] HIMC hIME, [out] HIMC *phPrev);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 HRESULT ConfigureIMEA([in] HKL hKL, [in] HWND hWnd, [in] DWORD dwMode, [in] REGISTERWORDA *pData);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 HRESULT ConfigureIMEW([in] HKL hKL, [in] HWND hWnd, [in] DWORD dwMode, [in] REGISTERWORDW *pData);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 HRESULT CreateContext([out] HIMC *phIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 HRESULT DestroyContext([in] HIMC hIME);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 HRESULT EnumRegisterWordA([in] HKL hKL, [in] LPSTR szReading, [in] DWORD dwStyle, [in] LPSTR szRegister, [in] LPVOID pData, [out] IEnumRegisterWordA **pEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 HRESULT EnumRegisterWordW([in] HKL hKL, [in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szRegister, [in] LPVOID pData, [out] IEnumRegisterWordW **pEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 HRESULT EscapeA([in] HKL hKL, [in] HIMC hIMC, [in] UINT uEscape, [in, out] LPVOID pData, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 HRESULT EscapeW([in] HKL hKL, [in] HIMC hIMC, [in] UINT uEscape, [in, out] LPVOID pData, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 HRESULT GetCandidateListA([in] HIMC hIMC, [in] DWORD dwIndex, [in] UINT uBufLen, [out] CANDIDATELIST *pCandList, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 HRESULT GetCandidateListW([in] HIMC hIMC, [in] DWORD dwIndex, [in] UINT uBufLen, [out] CANDIDATELIST *pCandList, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 HRESULT GetCandidateListCountA([in] HIMC hIMC, [out] DWORD *pdwListSize, [out] DWORD *pdwBufLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 HRESULT GetCandidateListCountW([in] HIMC hIMC, [out] DWORD *pdwListSize, [out] DWORD *pdwBufLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 HRESULT GetCandidateWindow([in] HIMC hIMC, [in] DWORD dwIndex, [out] CANDIDATEFORM *pCandidate);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 HRESULT GetCompositionFontA([in] HIMC hIMC, [out] LOGFONTA *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 HRESULT GetCompositionFontW([in] HIMC hIMC, [out] LOGFONTW *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 HRESULT GetCompositionStringA([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LONG *plCopied, [out] LPVOID pBuf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 HRESULT GetCompositionStringW([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LONG *plCopied, [out] LPVOID pBuf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 HRESULT GetCompositionWindow([in] HIMC hIMC, [out] COMPOSITIONFORM *pCompForm);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 HRESULT GetContext([in] HWND hWnd, [out] HIMC *phIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 HRESULT GetConversionListA([in] HKL hKL, [in] HIMC hIMC, [in] LPSTR pSrc, [in] UINT uBufLen, [in] UINT uFlag, [out] CANDIDATELIST *pDst, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 HRESULT GetConversionListW([in] HKL hKL, [in] HIMC hIMC, [in] LPWSTR pSrc, [in] UINT uBufLen, [in] UINT uFlag, [out] CANDIDATELIST *pDst, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 HRESULT GetConversionStatus([in] HIMC hIMC, [out] DWORD *pfdwConversion, [out] DWORD *pfdwSentence);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 HRESULT GetDefaultIMEWnd([in] HWND hWnd, [out] HWND *phDefWnd);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 HRESULT GetDescriptionA([in] HKL hKL, [in] UINT uBufLen, [out] LPSTR szDescription, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 HRESULT GetDescriptionW([in] HKL hKL, [in] UINT uBufLen, [out] LPWSTR szDescription, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 HRESULT GetGuideLineA([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LPSTR pBuf, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 HRESULT GetGuideLineW([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LPWSTR pBuf, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 HRESULT GetIMEFileNameA([in] HKL hKL, [in] UINT uBufLen, [out] LPSTR szFileName, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 HRESULT GetIMEFileNameW([in] HKL hKL, [in] UINT uBufLen, [out] LPWSTR szFileName, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 HRESULT GetOpenStatus([in] HIMC hIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 HRESULT GetProperty([in] HKL hKL, [in] DWORD fdwIndex, [out] DWORD *pdwProperty);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 HRESULT GetRegisterWordStyleA([in] HKL hKL, [in] UINT nItem, [out] STYLEBUFA *pStyleBuf, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 HRESULT GetRegisterWordStyleW([in] HKL hKL, [in] UINT nItem, [out] STYLEBUFW *pStyleBuf, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 HRESULT GetStatusWindowPos([in] HIMC hIMC, [out] POINT *pptPos);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 HRESULT GetVirtualKey([in] HWND hWnd, [out] UINT *puVirtualKey);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 HRESULT InstallIMEA([in] LPSTR szIMEFileName, [in] LPSTR szLayoutText, [out] HKL *phKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 HRESULT InstallIMEW([in] LPWSTR szIMEFileName, [in] LPWSTR szLayoutText, [out] HKL *phKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 HRESULT IsIME([in] HKL hKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 HRESULT IsUIMessageA([in] HWND hWndIME, [in] UINT msg, [in] WPARAM wParam, [in] LPARAM lParam);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 HRESULT IsUIMessageW([in] HWND hWndIME, [in] UINT msg, [in] WPARAM wParam, [in] LPARAM lParam);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 HRESULT NotifyIME([in] HIMC hIMC, [in] DWORD dwAction, [in] DWORD dwIndex, [in] DWORD dwValue);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 HRESULT RegisterWordA([in] HKL hKL, [in] LPSTR szReading, [in] DWORD dwStyle, [in] LPSTR szRegister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 HRESULT RegisterWordW([in] HKL hKL, [in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szRegister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 HRESULT ReleaseContext([in] HWND hWnd, [in] HIMC hIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 HRESULT SetCandidateWindow([in] HIMC hIMC, [in] CANDIDATEFORM *pCandidate);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 HRESULT SetCompositionFontA([in] HIMC hIMC, [in] LOGFONTA *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 HRESULT SetCompositionFontW([in] HIMC hIMC, [in] LOGFONTW *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 HRESULT SetCompositionStringA([in] HIMC hIMC, [in] DWORD dwIndex, [in] LPVOID pComp, [in] DWORD dwCompLen, [in] LPVOID pRead, [in] DWORD dwReadLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 HRESULT SetCompositionStringW([in] HIMC hIMC, [in] DWORD dwIndex, [in] LPVOID pComp, [in] DWORD dwCompLen, [in] LPVOID pRead, [in] DWORD dwReadLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 HRESULT SetCompositionWindow([in] HIMC hIMC, [in] COMPOSITIONFORM *pCompForm);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 HRESULT SetConversionStatus([in] HIMC hIMC, [in] DWORD fdwConversion, [in] DWORD fdwSentence);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 HRESULT SetOpenStatus([in] HIMC hIMC, [in] BOOL fOpen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 HRESULT SetStatusWindowPos([in] HIMC hIMC, [in] POINT *pptPos);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 HRESULT SimulateHotKey([in] HWND hWnd, [in] DWORD dwHotKeyID);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 HRESULT UnregisterWordA([in] HKL hKL, [in] LPSTR szReading, [in] DWORD dwStyle, [in] LPSTR szUnregister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 HRESULT UnregisterWordW([in] HKL hKL, [in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szUnregister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 HRESULT Activate([in] BOOL fRestoreLayout);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 HRESULT Deactivate();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 HRESULT OnDefWindowProc([in] HWND hWnd, [in] UINT Msg, [in] WPARAM wParam, [in] LPARAM lParam, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 HRESULT FilterClientWindows([in] ATOM *aaClassList, [in] UINT uSize);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 HRESULT GetCodePageA([in] HKL hKL, [out] UINT *uCodePage);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 HRESULT GetLangId([in] HKL hKL, [out] LANGID *plid);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 // win98/nt5 apis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 HRESULT AssociateContextEx([in] HWND hWnd, [in] HIMC hIMC, [in] DWORD dwFlags);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 HRESULT DisableIME([in] DWORD idThread);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 HRESULT GetImeMenuItemsA([in] HIMC hIMC, [in] DWORD dwFlags, [in] DWORD dwType, [in] IMEMENUITEMINFOA *pImeParentMenu, [out] IMEMENUITEMINFOA *pImeMenu, [in] DWORD dwSize, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 HRESULT GetImeMenuItemsW([in] HIMC hIMC, [in] DWORD dwFlags, [in] DWORD dwType, [in] IMEMENUITEMINFOW *pImeParentMenu, [out] IMEMENUITEMINFOW *pImeMenu, [in] DWORD dwSize, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 HRESULT EnumInputContext([in] DWORD idThread, [out] IEnumInputContext **ppEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 uuid(08C03411-F96B-11d0-A475-00AA006BCC59),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 interface IActiveIMMIME : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 HRESULT AssociateContext([in] HWND hWnd, [in] HIMC hIME, [out] HIMC *phPrev);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 HRESULT ConfigureIMEA([in] HKL hKL, [in] HWND hWnd, [in] DWORD dwMode, [in] REGISTERWORDA *pData);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 HRESULT ConfigureIMEW([in] HKL hKL, [in] HWND hWnd, [in] DWORD dwMode, [in] REGISTERWORDW *pData);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 HRESULT CreateContext([out] HIMC *phIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 HRESULT DestroyContext([in] HIMC hIME);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 HRESULT EnumRegisterWordA([in] HKL hKL, [in] LPSTR szReading, [in] DWORD dwStyle, [in] LPSTR szRegister, [in] LPVOID pData, [out] IEnumRegisterWordA **pEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 HRESULT EnumRegisterWordW([in] HKL hKL, [in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szRegister, [in] LPVOID pData, [out] IEnumRegisterWordW **pEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 HRESULT EscapeA([in] HKL hKL, [in] HIMC hIMC, [in] UINT uEscape, [in, out] LPVOID pData, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 HRESULT EscapeW([in] HKL hKL, [in] HIMC hIMC, [in] UINT uEscape, [in, out] LPVOID pData, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 HRESULT GetCandidateListA([in] HIMC hIMC, [in] DWORD dwIndex, [in] UINT uBufLen, [out] CANDIDATELIST *pCandList, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 HRESULT GetCandidateListW([in] HIMC hIMC, [in] DWORD dwIndex, [in] UINT uBufLen, [out] CANDIDATELIST *pCandList, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 HRESULT GetCandidateListCountA([in] HIMC hIMC, [out] DWORD *pdwListSize, [out] DWORD *pdwBufLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 HRESULT GetCandidateListCountW([in] HIMC hIMC, [out] DWORD *pdwListSize, [out] DWORD *pdwBufLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 HRESULT GetCandidateWindow([in] HIMC hIMC, [in] DWORD dwIndex, [out] CANDIDATEFORM *pCandidate);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 HRESULT GetCompositionFontA([in] HIMC hIMC, [out] LOGFONTA *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 HRESULT GetCompositionFontW([in] HIMC hIMC, [out] LOGFONTW *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 HRESULT GetCompositionStringA([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LONG *plCopied, [out] LPVOID pBuf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 HRESULT GetCompositionStringW([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LONG *plCopied, [out] LPVOID pBuf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 HRESULT GetCompositionWindow([in] HIMC hIMC, [out] COMPOSITIONFORM *pCompForm);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 HRESULT GetContext([in] HWND hWnd, [out] HIMC *phIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 HRESULT GetConversionListA([in] HKL hKL, [in] HIMC hIMC, [in] LPSTR pSrc, [in] UINT uBufLen, [in] UINT uFlag, [out] CANDIDATELIST *pDst, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 HRESULT GetConversionListW([in] HKL hKL, [in] HIMC hIMC, [in] LPWSTR pSrc, [in] UINT uBufLen, [in] UINT uFlag, [out] CANDIDATELIST *pDst, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 HRESULT GetConversionStatus([in] HIMC hIMC, [out] DWORD *pfdwConversion, [out] DWORD *pfdwSentence);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 HRESULT GetDefaultIMEWnd([in] HWND hWnd, [out] HWND *phDefWnd);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 HRESULT GetDescriptionA([in] HKL hKL, [in] UINT uBufLen, [out] LPSTR szDescription, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 HRESULT GetDescriptionW([in] HKL hKL, [in] UINT uBufLen, [out] LPWSTR szDescription, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 HRESULT GetGuideLineA([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LPSTR pBuf, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 HRESULT GetGuideLineW([in] HIMC hIMC, [in] DWORD dwIndex, [in] DWORD dwBufLen, [out] LPWSTR pBuf, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 HRESULT GetIMEFileNameA([in] HKL hKL, [in] UINT uBufLen, [out] LPSTR szFileName, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 HRESULT GetIMEFileNameW([in] HKL hKL, [in] UINT uBufLen, [out] LPWSTR szFileName, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 HRESULT GetOpenStatus([in] HIMC hIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 HRESULT GetProperty([in] HKL hKL, [in] DWORD fdwIndex, [out] DWORD *pdwProperty);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 HRESULT GetRegisterWordStyleA([in] HKL hKL, [in] UINT nItem, [out] STYLEBUFA *pStyleBuf, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 HRESULT GetRegisterWordStyleW([in] HKL hKL, [in] UINT nItem, [out] STYLEBUFW *pStyleBuf, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 HRESULT GetStatusWindowPos([in] HIMC hIMC, [out] POINT *pptPos);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 HRESULT GetVirtualKey([in] HWND hWnd, [out] UINT *puVirtualKey);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 HRESULT InstallIMEA([in] LPSTR szIMEFileName, [in] LPSTR szLayoutText, [out] HKL *phKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 HRESULT InstallIMEW([in] LPWSTR szIMEFileName, [in] LPWSTR szLayoutText, [out] HKL *phKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 HRESULT IsIME([in] HKL hKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 HRESULT IsUIMessageA([in] HWND hWndIME, [in] UINT msg, [in] WPARAM wParam, [in] LPARAM lParam);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 HRESULT IsUIMessageW([in] HWND hWndIME, [in] UINT msg, [in] WPARAM wParam, [in] LPARAM lParam);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 HRESULT NotifyIME([in] HIMC hIMC, [in] DWORD dwAction, [in] DWORD dwIndex, [in] DWORD dwValue);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 HRESULT RegisterWordA([in] HKL hKL, [in] LPSTR szReading, [in] DWORD dwStyle, [in] LPSTR szRegister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 HRESULT RegisterWordW([in] HKL hKL, [in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szRegister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 HRESULT ReleaseContext([in] HWND hWnd, [in] HIMC hIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 HRESULT SetCandidateWindow([in] HIMC hIMC, [in] CANDIDATEFORM *pCandidate);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 HRESULT SetCompositionFontA([in] HIMC hIMC, [in] LOGFONTA *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 HRESULT SetCompositionFontW([in] HIMC hIMC, [in] LOGFONTW *plf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 HRESULT SetCompositionStringA([in] HIMC hIMC, [in] DWORD dwIndex, [in] LPVOID pComp, [in] DWORD dwCompLen, [in] LPVOID pRead, [in] DWORD dwReadLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 HRESULT SetCompositionStringW([in] HIMC hIMC, [in] DWORD dwIndex, [in] LPVOID pComp, [in] DWORD dwCompLen, [in] LPVOID pRead, [in] DWORD dwReadLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 HRESULT SetCompositionWindow([in] HIMC hIMC, [in] COMPOSITIONFORM *pCompForm);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 HRESULT SetConversionStatus([in] HIMC hIMC, [in] DWORD fdwConversion, [in] DWORD fdwSentence);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 HRESULT SetOpenStatus([in] HIMC hIMC, [in] BOOL fOpen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 HRESULT SetStatusWindowPos([in] HIMC hIMC, [in] POINT *pptPos);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 HRESULT SimulateHotKey([in] HWND hWnd, [in] DWORD dwHotKeyID);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 HRESULT UnregisterWordA([in] HKL hKL, [in] LPSTR szReading, [in] DWORD dwStyle, [in] LPSTR szUnregister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 HRESULT UnregisterWordW([in] HKL hKL, [in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szUnregister);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 // ime helper methods
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 HRESULT GenerateMessage([in] HIMC hIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 // HIMC and HIMCC management api's
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 HRESULT LockIMC([in] HIMC hIMC, [out] INPUTCONTEXT **ppIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 HRESULT UnlockIMC([in] HIMC hIMC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 HRESULT GetIMCLockCount([in] HIMC hIMC, [out] DWORD *pdwLockCount);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 HRESULT CreateIMCC([in] DWORD dwSize, [out] HIMCC *phIMCC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 HRESULT DestroyIMCC([in] HIMCC hIMCC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 HRESULT LockIMCC([in] HIMCC hIMCC, [out] void **ppv);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 HRESULT UnlockIMCC([in] HIMCC hIMCC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 HRESULT ReSizeIMCC([in] HIMCC hIMCC, [in] DWORD dwSize, [out] HIMCC *phIMCC);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 HRESULT GetIMCCSize([in] HIMCC hIMCC, [out] DWORD *pdwSize);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 HRESULT GetIMCCLockCount([in] HIMCC hIMCC, [out] DWORD *pdwLockCount);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 // hot key manipulation api's
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 HRESULT GetHotKey([in] DWORD dwHotKeyID, [out] UINT *puModifiers, [out] UINT *puVKey, [out] HKL *phKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 HRESULT SetHotKey([in] DWORD dwHotKeyID, [in] UINT uModifiers, [in] UINT uVKey, [in] HKL hKL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 // soft keyboard api's
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 HRESULT CreateSoftKeyboard([in] UINT uType, [in] HWND hOwner, [in] int x, [in] int y, [out] HWND *phSoftKbdWnd);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 HRESULT DestroySoftKeyboard([in] HWND hSoftKbdWnd);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 HRESULT ShowSoftKeyboard([in] HWND hSoftKbdWnd, [in] int nCmdShow);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 HRESULT GetCodePageA([in] HKL hKL, [out] UINT *uCodePage);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 HRESULT GetLangId([in] HKL hKL, [out] LANGID *plid);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 HRESULT KeybdEvent([in] LANGID lgidIME, [in] BYTE bVk, [in] BYTE bScan, [in] DWORD dwFlags, [in] DWORD dwExtraInfo);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 HRESULT LockModal();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 HRESULT UnlockModal();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 // win98/nt5 apis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 HRESULT AssociateContextEx([in] HWND hWnd, [in] HIMC hIMC, [in] DWORD dwFlags);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 HRESULT DisableIME([in] DWORD idThread);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 HRESULT GetImeMenuItemsA([in] HIMC hIMC, [in] DWORD dwFlags, [in] DWORD dwType, [in] IMEMENUITEMINFOA *pImeParentMenu, [out] IMEMENUITEMINFOA *pImeMenu, [in] DWORD dwSize, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 HRESULT GetImeMenuItemsW([in] HIMC hIMC, [in] DWORD dwFlags, [in] DWORD dwType, [in] IMEMENUITEMINFOW *pImeParentMenu, [out] IMEMENUITEMINFOW *pImeMenu, [in] DWORD dwSize, [out] DWORD *pdwResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 HRESULT EnumInputContext([in] DWORD idThread, [out] IEnumInputContext **ppEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 HRESULT RequestMessageA([in] HIMC hIMC, [in] WPARAM wParam, [in] LPARAM lParam, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 HRESULT RequestMessageW([in] HIMC hIMC, [in] WPARAM wParam, [in] LPARAM lParam, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 HRESULT SendIMCA([in] HWND hWnd, [in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 HRESULT SendIMCW([in] HWND hWnd, [in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 HRESULT IsSleeping();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 uuid(6FE20962-D077-11d0-8FE7-00AA006BCC59),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 interface IActiveIME : IUnknown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 HRESULT Inquire([in] DWORD dwSystemInfoFlags, [out] IMEINFO *pIMEInfo, [out] LPWSTR szWndClass, [out] DWORD *pdwPrivate);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 HRESULT ConversionList([in] HIMC hIMC, [in] LPWSTR szSource, [in] UINT uFlag, [in] UINT uBufLen, [out] CANDIDATELIST *pDest, [out] UINT *puCopied);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 HRESULT Configure([in] HKL hKL, [in] HWND hWnd, [in] DWORD dwMode, [in] REGISTERWORDW *pRegisterWord);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 HRESULT Destroy([in] UINT uReserved);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 HRESULT Escape([in] HIMC hIMC, [in] UINT uEscape, [in, out] void *pData, [out] LRESULT *plResult);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 HRESULT SetActiveContext([in] HIMC hIMC, [in] BOOL fFlag);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 HRESULT ProcessKey([in] HIMC hIMC, [in] UINT uVirKey, [in] DWORD lParam, [in] BYTE *pbKeyState);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 HRESULT Notify([in] HIMC hIMC, [in] DWORD dwAction, [in] DWORD dwIndex, [in] DWORD dwValue);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 HRESULT Select([in] HIMC hIMC, [in] BOOL fSelect);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 HRESULT SetCompositionString([in] HIMC hIMC, [in] DWORD dwIndex, [in] void *pComp, [in] DWORD dwCompLen, [in] void *pRead, [in] DWORD dwReadLen);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 HRESULT ToAsciiEx([in] UINT uVirKey, [in] UINT uScanCode, [in] BYTE *pbKeyState, [in] UINT fuState, [in] HIMC hIMC, [out] DWORD *pdwTransBuf, [out] UINT *puSize);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 HRESULT RegisterWord([in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szString);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 HRESULT UnregisterWord([in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szString);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 HRESULT GetRegisterWordStyle([in] UINT nItem, [out] STYLEBUFW *pStyleBuf, [out] UINT *puBufSize);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 HRESULT EnumRegisterWord([in] LPWSTR szReading, [in] DWORD dwStyle, [in] LPWSTR szRegister, [in] LPVOID pData, [out] IEnumRegisterWordW **ppEnum);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 HRESULT GetCodePageA([out] UINT *uCodePage);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 HRESULT GetLangId([out] LANGID *plid);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 object,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 uuid(e1c4bf0e-2d53-11d2-93e1-0060b067b86e),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 pointer_default(unique)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 interface IActiveIME2 : IActiveIME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 HRESULT Sleep();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 HRESULT Unsleep([in] BOOL fDead);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 [
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 uuid(4955DD33-B159-11d0-8FCF-00AA006BCC59),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 coclass CActiveIMM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 [default] interface IActiveIMMApp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 interface IActiveIMMIME;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 interface IActiveIMMRegistrar;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 interface IActiveIMMMessagePumpOwner;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 }