24 const GUID IID_IActiveIMMApp = { 0x8c0e040, 0x62d1, 0x11d1, {0x93, 0x26, 0x00, 0x60, 0xb0, 0x67, 0xb8, 0x6e}};
25 const GUID CLSID_CActiveIMM = { 0x4955dd33, 0xb159, 0x11d0, {0x8f, 0xcf, 0x00, 0xaa, 0x00, 0x6b, 0xcc, 0x59}};
49 virtual long __stdcall AssociateContext(
54 virtual long __stdcall ConfigureIMEA(
60 virtual long __stdcall ConfigureIMEW(
66 virtual long __stdcall CreateContext(
69 virtual long __stdcall DestroyContext(
72 virtual long __stdcall EnumRegisterWordA(
80 virtual long __stdcall EnumRegisterWordW(
88 virtual long __stdcall EscapeA(
93 LRESULT *plResult) = 0;
95 virtual long __stdcall EscapeW(
100 LRESULT *plResult) = 0;
102 virtual long __stdcall GetCandidateListA(
109 virtual long __stdcall GetCandidateListW(
116 virtual long __stdcall GetCandidateListCountA(
119 DWORD *pdwBufLen) = 0;
121 virtual long __stdcall GetCandidateListCountW(
124 DWORD *pdwBufLen) = 0;
126 virtual long __stdcall GetCandidateWindow(
129 void *pCandidate) = 0;
131 virtual long __stdcall GetCompositionFontA(
135 virtual long __stdcall GetCompositionFontW(
139 virtual long __stdcall GetCompositionStringA(
146 virtual long __stdcall GetCompositionStringW(
153 virtual long __stdcall GetCompositionWindow(
155 void *pCompForm) = 0;
157 virtual long __stdcall GetContext(
161 virtual long __stdcall GetConversionListA(
170 virtual long __stdcall GetConversionListW(
179 virtual long __stdcall GetConversionStatus(
181 DWORD *pfdwConversion,
182 DWORD *pfdwSentence) = 0;
184 virtual long __stdcall GetDefaultIMEWnd(
188 virtual long __stdcall GetDescriptionA(
194 virtual long __stdcall GetDescriptionW(
197 LPWSTR szDescription,
200 virtual long __stdcall GetGuideLineA(
205 DWORD *pdwResult) = 0;
207 virtual long __stdcall GetGuideLineW(
212 DWORD *pdwResult) = 0;
214 virtual long __stdcall GetIMEFileNameA(
220 virtual long __stdcall GetIMEFileNameW(
226 virtual long __stdcall GetOpenStatus(
229 virtual long __stdcall GetProperty(
232 DWORD *pdwProperty) = 0;
234 virtual long __stdcall GetRegisterWordStyleA(
237 STYLEBUFA *pStyleBuf,
240 virtual long __stdcall GetRegisterWordStyleW(
243 STYLEBUFW *pStyleBuf,
246 virtual long __stdcall GetStatusWindowPos(
250 virtual long __stdcall GetVirtualKey(
252 UINT *puVirtualKey) = 0;
254 virtual long __stdcall InstallIMEA(
259 virtual long __stdcall InstallIMEW(
260 LPWSTR szIMEFileName,
264 virtual long __stdcall IsIME(
267 virtual long __stdcall IsUIMessageA(
273 virtual long __stdcall IsUIMessageW(
279 virtual long __stdcall NotifyIME(
285 virtual long __stdcall RegisterWordA(
289 LPSTR szRegister) = 0;
291 virtual long __stdcall RegisterWordW(
295 LPWSTR szRegister) = 0;
297 virtual long __stdcall ReleaseContext(
301 virtual long __stdcall SetCandidateWindow(
303 void *pCandidate) = 0;
305 virtual long __stdcall SetCompositionFontA(
309 virtual long __stdcall SetCompositionFontW(
313 virtual long __stdcall SetCompositionStringA(
319 DWORD dwReadLen) = 0;
321 virtual long __stdcall SetCompositionStringW(
327 DWORD dwReadLen) = 0;
329 virtual long __stdcall SetCompositionWindow(
331 void *pCompForm) = 0;
333 virtual long __stdcall SetConversionStatus(
336 DWORD fdwSentence) = 0;
338 virtual long __stdcall SetOpenStatus(
342 virtual long __stdcall SetStatusWindowPos(
346 virtual long __stdcall SimulateHotKey(
348 DWORD dwHotKeyID) = 0;
350 virtual long __stdcall UnregisterWordA(
354 LPSTR szUnregister) = 0;
356 virtual long __stdcall UnregisterWordW(
360 LPWSTR szUnregister) = 0;
362 virtual long __stdcall Activate(
363 BOOL fRestoreLayout) = 0;
365 virtual long __stdcall Deactivate(
void) = 0;
367 virtual long __stdcall OnDefWindowProc(
372 LRESULT *plResult) = 0;
374 virtual long __stdcall FilterClientWindows(
378 virtual long __stdcall GetCodePageA(
380 UINT *uCodePage) = 0;
382 virtual long __stdcall GetLangId(
386 virtual long __stdcall AssociateContextEx(
391 virtual long __stdcall DisableIME(
394 virtual long __stdcall GetImeMenuItemsA(
398 void *pImeParentMenu,
401 DWORD *pdwResult) = 0;
403 virtual long __stdcall GetImeMenuItemsW(
407 void *pImeParentMenu,
410 DWORD *pdwResult) = 0;
412 virtual long __stdcall EnumInputContext(