33 const GUID IID_IActiveIMMApp = { 0x8c0e040, 0x62d1, 0x11d1, {0x93, 0x26, 0x00, 0x60, 0xb0, 0x67, 0xb8, 0x6e}};
34 const GUID CLSID_CActiveIMM = { 0x4955dd33, 0xb159, 0x11d0, {0x8f, 0xcf, 0x00, 0xaa, 0x00, 0x6b, 0xcc, 0x59}};
58 virtual long __stdcall AssociateContext(
63 virtual long __stdcall ConfigureIMEA(
69 virtual long __stdcall ConfigureIMEW(
75 virtual long __stdcall CreateContext(
78 virtual long __stdcall DestroyContext(
81 virtual long __stdcall EnumRegisterWordA(
89 virtual long __stdcall EnumRegisterWordW(
97 virtual long __stdcall EscapeA(
102 LRESULT *plResult) = 0;
104 virtual long __stdcall EscapeW(
109 LRESULT *plResult) = 0;
111 virtual long __stdcall GetCandidateListA(
118 virtual long __stdcall GetCandidateListW(
125 virtual long __stdcall GetCandidateListCountA(
128 DWORD *pdwBufLen) = 0;
130 virtual long __stdcall GetCandidateListCountW(
133 DWORD *pdwBufLen) = 0;
135 virtual long __stdcall GetCandidateWindow(
138 void *pCandidate) = 0;
140 virtual long __stdcall GetCompositionFontA(
144 virtual long __stdcall GetCompositionFontW(
148 virtual long __stdcall GetCompositionStringA(
155 virtual long __stdcall GetCompositionStringW(
162 virtual long __stdcall GetCompositionWindow(
164 void *pCompForm) = 0;
166 virtual long __stdcall GetContext(
170 virtual long __stdcall GetConversionListA(
179 virtual long __stdcall GetConversionListW(
188 virtual long __stdcall GetConversionStatus(
190 DWORD *pfdwConversion,
191 DWORD *pfdwSentence) = 0;
193 virtual long __stdcall GetDefaultIMEWnd(
197 virtual long __stdcall GetDescriptionA(
203 virtual long __stdcall GetDescriptionW(
206 LPWSTR szDescription,
209 virtual long __stdcall GetGuideLineA(
214 DWORD *pdwResult) = 0;
216 virtual long __stdcall GetGuideLineW(
221 DWORD *pdwResult) = 0;
223 virtual long __stdcall GetIMEFileNameA(
229 virtual long __stdcall GetIMEFileNameW(
235 virtual long __stdcall GetOpenStatus(
238 virtual long __stdcall GetProperty(
241 DWORD *pdwProperty) = 0;
243 virtual long __stdcall GetRegisterWordStyleA(
246 STYLEBUFA *pStyleBuf,
249 virtual long __stdcall GetRegisterWordStyleW(
252 STYLEBUFW *pStyleBuf,
255 virtual long __stdcall GetStatusWindowPos(
259 virtual long __stdcall GetVirtualKey(
261 UINT *puVirtualKey) = 0;
263 virtual long __stdcall InstallIMEA(
268 virtual long __stdcall InstallIMEW(
269 LPWSTR szIMEFileName,
273 virtual long __stdcall IsIME(
276 virtual long __stdcall IsUIMessageA(
282 virtual long __stdcall IsUIMessageW(
288 virtual long __stdcall NotifyIME(
294 virtual long __stdcall RegisterWordA(
298 LPSTR szRegister) = 0;
300 virtual long __stdcall RegisterWordW(
304 LPWSTR szRegister) = 0;
306 virtual long __stdcall ReleaseContext(
310 virtual long __stdcall SetCandidateWindow(
312 void *pCandidate) = 0;
314 virtual long __stdcall SetCompositionFontA(
318 virtual long __stdcall SetCompositionFontW(
322 virtual long __stdcall SetCompositionStringA(
328 DWORD dwReadLen) = 0;
330 virtual long __stdcall SetCompositionStringW(
336 DWORD dwReadLen) = 0;
338 virtual long __stdcall SetCompositionWindow(
340 void *pCompForm) = 0;
342 virtual long __stdcall SetConversionStatus(
345 DWORD fdwSentence) = 0;
347 virtual long __stdcall SetOpenStatus(
351 virtual long __stdcall SetStatusWindowPos(
355 virtual long __stdcall SimulateHotKey(
357 DWORD dwHotKeyID) = 0;
359 virtual long __stdcall UnregisterWordA(
363 LPSTR szUnregister) = 0;
365 virtual long __stdcall UnregisterWordW(
369 LPWSTR szUnregister) = 0;
371 virtual long __stdcall Activate(
372 BOOL fRestoreLayout) = 0;
374 virtual long __stdcall Deactivate(
void) = 0;
376 virtual long __stdcall OnDefWindowProc(
381 LRESULT *plResult) = 0;
383 virtual long __stdcall FilterClientWindows(
387 virtual long __stdcall GetCodePageA(
389 UINT *uCodePage) = 0;
391 virtual long __stdcall GetLangId(
395 virtual long __stdcall AssociateContextEx(
400 virtual long __stdcall DisableIME(
403 virtual long __stdcall GetImeMenuItemsA(
407 void *pImeParentMenu,
410 DWORD *pdwResult) = 0;
412 virtual long __stdcall GetImeMenuItemsW(
416 void *pImeParentMenu,
419 DWORD *pdwResult) = 0;
421 virtual long __stdcall EnumInputContext(