Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6579 lines
206 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for dimm.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __dimm_h__
  20. #define __dimm_h__
  21. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  22. #pragma once
  23. #endif
  24. /* Forward Declarations */
  25. #ifndef __IEnumRegisterWordA_FWD_DEFINED__
  26. #define __IEnumRegisterWordA_FWD_DEFINED__
  27. typedef interface IEnumRegisterWordA IEnumRegisterWordA;
  28. #endif /* __IEnumRegisterWordA_FWD_DEFINED__ */
  29. #ifndef __IEnumRegisterWordW_FWD_DEFINED__
  30. #define __IEnumRegisterWordW_FWD_DEFINED__
  31. typedef interface IEnumRegisterWordW IEnumRegisterWordW;
  32. #endif /* __IEnumRegisterWordW_FWD_DEFINED__ */
  33. #ifndef __IEnumInputContext_FWD_DEFINED__
  34. #define __IEnumInputContext_FWD_DEFINED__
  35. typedef interface IEnumInputContext IEnumInputContext;
  36. #endif /* __IEnumInputContext_FWD_DEFINED__ */
  37. #ifndef __IActiveIMMRegistrar_FWD_DEFINED__
  38. #define __IActiveIMMRegistrar_FWD_DEFINED__
  39. typedef interface IActiveIMMRegistrar IActiveIMMRegistrar;
  40. #endif /* __IActiveIMMRegistrar_FWD_DEFINED__ */
  41. #ifndef __IActiveIMMMessagePumpOwner_FWD_DEFINED__
  42. #define __IActiveIMMMessagePumpOwner_FWD_DEFINED__
  43. typedef interface IActiveIMMMessagePumpOwner IActiveIMMMessagePumpOwner;
  44. #endif /* __IActiveIMMMessagePumpOwner_FWD_DEFINED__ */
  45. #ifndef __IActiveIMMApp_FWD_DEFINED__
  46. #define __IActiveIMMApp_FWD_DEFINED__
  47. typedef interface IActiveIMMApp IActiveIMMApp;
  48. #endif /* __IActiveIMMApp_FWD_DEFINED__ */
  49. #ifndef __IActiveIMMIME_FWD_DEFINED__
  50. #define __IActiveIMMIME_FWD_DEFINED__
  51. typedef interface IActiveIMMIME IActiveIMMIME;
  52. #endif /* __IActiveIMMIME_FWD_DEFINED__ */
  53. #ifndef __IActiveIME_FWD_DEFINED__
  54. #define __IActiveIME_FWD_DEFINED__
  55. typedef interface IActiveIME IActiveIME;
  56. #endif /* __IActiveIME_FWD_DEFINED__ */
  57. #ifndef __IActiveIME2_FWD_DEFINED__
  58. #define __IActiveIME2_FWD_DEFINED__
  59. typedef interface IActiveIME2 IActiveIME2;
  60. #endif /* __IActiveIME2_FWD_DEFINED__ */
  61. #ifndef __CActiveIMM_FWD_DEFINED__
  62. #define __CActiveIMM_FWD_DEFINED__
  63. #ifdef __cplusplus
  64. typedef class CActiveIMM CActiveIMM;
  65. #else
  66. typedef struct CActiveIMM CActiveIMM;
  67. #endif /* __cplusplus */
  68. #endif /* __CActiveIMM_FWD_DEFINED__ */
  69. /* header files for imported files */
  70. #include "unknwn.h"
  71. #ifdef __cplusplus
  72. extern "C"{
  73. #endif
  74. void * __RPC_USER MIDL_user_allocate(size_t);
  75. void __RPC_USER MIDL_user_free( void * );
  76. /* interface __MIDL_itf_dimm_0000 */
  77. /* [local] */
  78. //=--------------------------------------------------------------------------=
  79. // dimm.h
  80. //=--------------------------------------------------------------------------=
  81. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  82. //
  83. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  84. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  85. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  86. // PARTICULAR PURPOSE.
  87. //=--------------------------------------------------------------------------=
  88. #pragma comment(lib,"uuid.lib")
  89. //--------------------------------------------------------------------------
  90. // IActiveIMM Interfaces.
  91. extern RPC_IF_HANDLE __MIDL_itf_dimm_0000_v0_0_c_ifspec;
  92. extern RPC_IF_HANDLE __MIDL_itf_dimm_0000_v0_0_s_ifspec;
  93. #ifndef __ActiveIMM_LIBRARY_DEFINED__
  94. #define __ActiveIMM_LIBRARY_DEFINED__
  95. /* library ActiveIMM */
  96. /* [version][lcid][helpstring][uuid] */
  97. #include <imm.h>
  98. #if 0
  99. typedef WORD LANGID;
  100. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0001
  101. {
  102. LPSTR lpReading;
  103. LPSTR lpWord;
  104. } REGISTERWORDA;
  105. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0002
  106. {
  107. LPWSTR lpReading;
  108. LPWSTR lpWord;
  109. } REGISTERWORDW;
  110. typedef /* [public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0003
  111. {
  112. LONG lfHeight;
  113. LONG lfWidth;
  114. LONG lfEscapement;
  115. LONG lfOrientation;
  116. LONG lfWeight;
  117. BYTE lfItalic;
  118. BYTE lfUnderline;
  119. BYTE lfStrikeOut;
  120. BYTE lfCharSet;
  121. BYTE lfOutPrecision;
  122. BYTE lfClipPrecision;
  123. BYTE lfQuality;
  124. BYTE lfPitchAndFamily;
  125. CHAR lfFaceName[ 32 ];
  126. } LOGFONTA;
  127. typedef /* [public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0004
  128. {
  129. LONG lfHeight;
  130. LONG lfWidth;
  131. LONG lfEscapement;
  132. LONG lfOrientation;
  133. LONG lfWeight;
  134. BYTE lfItalic;
  135. BYTE lfUnderline;
  136. BYTE lfStrikeOut;
  137. BYTE lfCharSet;
  138. BYTE lfOutPrecision;
  139. BYTE lfClipPrecision;
  140. BYTE lfQuality;
  141. BYTE lfPitchAndFamily;
  142. WCHAR lfFaceName[ 32 ];
  143. } LOGFONTW;
  144. typedef DWORD HIMC;
  145. typedef DWORD HIMCC;
  146. typedef /* [public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0005
  147. {
  148. DWORD dwIndex;
  149. DWORD dwStyle;
  150. POINT ptCurrentPos;
  151. RECT rcArea;
  152. } CANDIDATEFORM;
  153. typedef /* [public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0006
  154. {
  155. DWORD dwStyle;
  156. POINT ptCurrentPos;
  157. RECT rcArea;
  158. } COMPOSITIONFORM;
  159. typedef /* [public][public][public][public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0007
  160. {
  161. DWORD dwSize;
  162. DWORD dwStyle;
  163. DWORD dwCount;
  164. DWORD dwSelection;
  165. DWORD dwPageStart;
  166. DWORD dwPageSize;
  167. DWORD dwOffset[ 1 ];
  168. } CANDIDATELIST;
  169. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0008
  170. {
  171. DWORD dwStyle;
  172. CHAR szDescription[ 32 ];
  173. } STYLEBUFA;
  174. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0009
  175. {
  176. DWORD dwStyle;
  177. WCHAR szDescription[ 32 ];
  178. } STYLEBUFW;
  179. typedef WORD ATOM;
  180. #endif
  181. #if (WINVER < 0x040A)
  182. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0010
  183. {
  184. UINT cbSize;
  185. UINT fType;
  186. UINT fState;
  187. UINT wID;
  188. HBITMAP hbmpChecked;
  189. HBITMAP hbmpUnchecked;
  190. DWORD dwItemData;
  191. CHAR szString[ 80 ];
  192. HBITMAP hbmpItem;
  193. } IMEMENUITEMINFOA;
  194. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0011
  195. {
  196. UINT cbSize;
  197. UINT fType;
  198. UINT fState;
  199. UINT wID;
  200. HBITMAP hbmpChecked;
  201. HBITMAP hbmpUnchecked;
  202. DWORD dwItemData;
  203. WCHAR szString[ 80 ];
  204. HBITMAP hbmpItem;
  205. } IMEMENUITEMINFOW;
  206. #endif
  207. #ifndef _DDKIMM_H_
  208. typedef /* [public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0012
  209. {
  210. HWND hWnd;
  211. BOOL fOpen;
  212. POINT ptStatusWndPos;
  213. POINT ptSoftKbdPos;
  214. DWORD fdwConversion;
  215. DWORD fdwSentence;
  216. union
  217. {
  218. LOGFONTA A;
  219. LOGFONTW W;
  220. } lfFont;
  221. COMPOSITIONFORM cfCompForm;
  222. CANDIDATEFORM cfCandForm[ 4 ];
  223. HIMCC hCompStr;
  224. HIMCC hCandInfo;
  225. HIMCC hGuideLine;
  226. HIMCC hPrivate;
  227. DWORD dwNumMsgBuf;
  228. HIMCC hMsgBuf;
  229. DWORD fdwInit;
  230. DWORD dwReserve[ 3 ];
  231. } INPUTCONTEXT;
  232. typedef /* [public][public] */ struct __MIDL___MIDL_itf_dimm_0000_0014
  233. {
  234. DWORD dwPrivateDataSize;
  235. DWORD fdwProperty;
  236. DWORD fdwConversionCaps;
  237. DWORD fdwSentenceCaps;
  238. DWORD fdwUICaps;
  239. DWORD fdwSCSCaps;
  240. DWORD fdwSelectCaps;
  241. } IMEINFO;
  242. #endif
  243. EXTERN_C const IID LIBID_ActiveIMM;
  244. #ifndef __IEnumRegisterWordA_INTERFACE_DEFINED__
  245. #define __IEnumRegisterWordA_INTERFACE_DEFINED__
  246. /* interface IEnumRegisterWordA */
  247. /* [unique][uuid][object] */
  248. EXTERN_C const IID IID_IEnumRegisterWordA;
  249. #if defined(__cplusplus) && !defined(CINTERFACE)
  250. MIDL_INTERFACE("08C03412-F96B-11d0-A475-00AA006BCC59")
  251. IEnumRegisterWordA : public IUnknown
  252. {
  253. public:
  254. virtual HRESULT STDMETHODCALLTYPE Clone(
  255. /* [out] */ IEnumRegisterWordA **ppEnum) = 0;
  256. virtual HRESULT STDMETHODCALLTYPE Next(
  257. /* [in] */ ULONG ulCount,
  258. /* [out] */ REGISTERWORDA *rgRegisterWord,
  259. /* [out] */ ULONG *pcFetched) = 0;
  260. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  261. virtual HRESULT STDMETHODCALLTYPE Skip(
  262. /* [in] */ ULONG ulCount) = 0;
  263. };
  264. #else /* C style interface */
  265. typedef struct IEnumRegisterWordAVtbl
  266. {
  267. BEGIN_INTERFACE
  268. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  269. IEnumRegisterWordA * This,
  270. /* [in] */ REFIID riid,
  271. /* [iid_is][out] */ void **ppvObject);
  272. ULONG ( STDMETHODCALLTYPE *AddRef )(
  273. IEnumRegisterWordA * This);
  274. ULONG ( STDMETHODCALLTYPE *Release )(
  275. IEnumRegisterWordA * This);
  276. HRESULT ( STDMETHODCALLTYPE *Clone )(
  277. IEnumRegisterWordA * This,
  278. /* [out] */ IEnumRegisterWordA **ppEnum);
  279. HRESULT ( STDMETHODCALLTYPE *Next )(
  280. IEnumRegisterWordA * This,
  281. /* [in] */ ULONG ulCount,
  282. /* [out] */ REGISTERWORDA *rgRegisterWord,
  283. /* [out] */ ULONG *pcFetched);
  284. HRESULT ( STDMETHODCALLTYPE *Reset )(
  285. IEnumRegisterWordA * This);
  286. HRESULT ( STDMETHODCALLTYPE *Skip )(
  287. IEnumRegisterWordA * This,
  288. /* [in] */ ULONG ulCount);
  289. END_INTERFACE
  290. } IEnumRegisterWordAVtbl;
  291. interface IEnumRegisterWordA
  292. {
  293. CONST_VTBL struct IEnumRegisterWordAVtbl *lpVtbl;
  294. };
  295. #ifdef COBJMACROS
  296. #define IEnumRegisterWordA_QueryInterface(This,riid,ppvObject) \
  297. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  298. #define IEnumRegisterWordA_AddRef(This) \
  299. (This)->lpVtbl -> AddRef(This)
  300. #define IEnumRegisterWordA_Release(This) \
  301. (This)->lpVtbl -> Release(This)
  302. #define IEnumRegisterWordA_Clone(This,ppEnum) \
  303. (This)->lpVtbl -> Clone(This,ppEnum)
  304. #define IEnumRegisterWordA_Next(This,ulCount,rgRegisterWord,pcFetched) \
  305. (This)->lpVtbl -> Next(This,ulCount,rgRegisterWord,pcFetched)
  306. #define IEnumRegisterWordA_Reset(This) \
  307. (This)->lpVtbl -> Reset(This)
  308. #define IEnumRegisterWordA_Skip(This,ulCount) \
  309. (This)->lpVtbl -> Skip(This,ulCount)
  310. #endif /* COBJMACROS */
  311. #endif /* C style interface */
  312. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Clone_Proxy(
  313. IEnumRegisterWordA * This,
  314. /* [out] */ IEnumRegisterWordA **ppEnum);
  315. void __RPC_STUB IEnumRegisterWordA_Clone_Stub(
  316. IRpcStubBuffer *This,
  317. IRpcChannelBuffer *_pRpcChannelBuffer,
  318. PRPC_MESSAGE _pRpcMessage,
  319. DWORD *_pdwStubPhase);
  320. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Next_Proxy(
  321. IEnumRegisterWordA * This,
  322. /* [in] */ ULONG ulCount,
  323. /* [out] */ REGISTERWORDA *rgRegisterWord,
  324. /* [out] */ ULONG *pcFetched);
  325. void __RPC_STUB IEnumRegisterWordA_Next_Stub(
  326. IRpcStubBuffer *This,
  327. IRpcChannelBuffer *_pRpcChannelBuffer,
  328. PRPC_MESSAGE _pRpcMessage,
  329. DWORD *_pdwStubPhase);
  330. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Reset_Proxy(
  331. IEnumRegisterWordA * This);
  332. void __RPC_STUB IEnumRegisterWordA_Reset_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Skip_Proxy(
  338. IEnumRegisterWordA * This,
  339. /* [in] */ ULONG ulCount);
  340. void __RPC_STUB IEnumRegisterWordA_Skip_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. #endif /* __IEnumRegisterWordA_INTERFACE_DEFINED__ */
  346. #ifndef __IEnumRegisterWordW_INTERFACE_DEFINED__
  347. #define __IEnumRegisterWordW_INTERFACE_DEFINED__
  348. /* interface IEnumRegisterWordW */
  349. /* [unique][uuid][object] */
  350. EXTERN_C const IID IID_IEnumRegisterWordW;
  351. #if defined(__cplusplus) && !defined(CINTERFACE)
  352. MIDL_INTERFACE("4955DD31-B159-11d0-8FCF-00AA006BCC59")
  353. IEnumRegisterWordW : public IUnknown
  354. {
  355. public:
  356. virtual HRESULT STDMETHODCALLTYPE Clone(
  357. /* [out] */ IEnumRegisterWordW **ppEnum) = 0;
  358. virtual HRESULT STDMETHODCALLTYPE Next(
  359. /* [in] */ ULONG ulCount,
  360. /* [out] */ REGISTERWORDW *rgRegisterWord,
  361. /* [out] */ ULONG *pcFetched) = 0;
  362. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  363. virtual HRESULT STDMETHODCALLTYPE Skip(
  364. /* [in] */ ULONG ulCount) = 0;
  365. };
  366. #else /* C style interface */
  367. typedef struct IEnumRegisterWordWVtbl
  368. {
  369. BEGIN_INTERFACE
  370. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  371. IEnumRegisterWordW * This,
  372. /* [in] */ REFIID riid,
  373. /* [iid_is][out] */ void **ppvObject);
  374. ULONG ( STDMETHODCALLTYPE *AddRef )(
  375. IEnumRegisterWordW * This);
  376. ULONG ( STDMETHODCALLTYPE *Release )(
  377. IEnumRegisterWordW * This);
  378. HRESULT ( STDMETHODCALLTYPE *Clone )(
  379. IEnumRegisterWordW * This,
  380. /* [out] */ IEnumRegisterWordW **ppEnum);
  381. HRESULT ( STDMETHODCALLTYPE *Next )(
  382. IEnumRegisterWordW * This,
  383. /* [in] */ ULONG ulCount,
  384. /* [out] */ REGISTERWORDW *rgRegisterWord,
  385. /* [out] */ ULONG *pcFetched);
  386. HRESULT ( STDMETHODCALLTYPE *Reset )(
  387. IEnumRegisterWordW * This);
  388. HRESULT ( STDMETHODCALLTYPE *Skip )(
  389. IEnumRegisterWordW * This,
  390. /* [in] */ ULONG ulCount);
  391. END_INTERFACE
  392. } IEnumRegisterWordWVtbl;
  393. interface IEnumRegisterWordW
  394. {
  395. CONST_VTBL struct IEnumRegisterWordWVtbl *lpVtbl;
  396. };
  397. #ifdef COBJMACROS
  398. #define IEnumRegisterWordW_QueryInterface(This,riid,ppvObject) \
  399. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  400. #define IEnumRegisterWordW_AddRef(This) \
  401. (This)->lpVtbl -> AddRef(This)
  402. #define IEnumRegisterWordW_Release(This) \
  403. (This)->lpVtbl -> Release(This)
  404. #define IEnumRegisterWordW_Clone(This,ppEnum) \
  405. (This)->lpVtbl -> Clone(This,ppEnum)
  406. #define IEnumRegisterWordW_Next(This,ulCount,rgRegisterWord,pcFetched) \
  407. (This)->lpVtbl -> Next(This,ulCount,rgRegisterWord,pcFetched)
  408. #define IEnumRegisterWordW_Reset(This) \
  409. (This)->lpVtbl -> Reset(This)
  410. #define IEnumRegisterWordW_Skip(This,ulCount) \
  411. (This)->lpVtbl -> Skip(This,ulCount)
  412. #endif /* COBJMACROS */
  413. #endif /* C style interface */
  414. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Clone_Proxy(
  415. IEnumRegisterWordW * This,
  416. /* [out] */ IEnumRegisterWordW **ppEnum);
  417. void __RPC_STUB IEnumRegisterWordW_Clone_Stub(
  418. IRpcStubBuffer *This,
  419. IRpcChannelBuffer *_pRpcChannelBuffer,
  420. PRPC_MESSAGE _pRpcMessage,
  421. DWORD *_pdwStubPhase);
  422. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Next_Proxy(
  423. IEnumRegisterWordW * This,
  424. /* [in] */ ULONG ulCount,
  425. /* [out] */ REGISTERWORDW *rgRegisterWord,
  426. /* [out] */ ULONG *pcFetched);
  427. void __RPC_STUB IEnumRegisterWordW_Next_Stub(
  428. IRpcStubBuffer *This,
  429. IRpcChannelBuffer *_pRpcChannelBuffer,
  430. PRPC_MESSAGE _pRpcMessage,
  431. DWORD *_pdwStubPhase);
  432. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Reset_Proxy(
  433. IEnumRegisterWordW * This);
  434. void __RPC_STUB IEnumRegisterWordW_Reset_Stub(
  435. IRpcStubBuffer *This,
  436. IRpcChannelBuffer *_pRpcChannelBuffer,
  437. PRPC_MESSAGE _pRpcMessage,
  438. DWORD *_pdwStubPhase);
  439. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Skip_Proxy(
  440. IEnumRegisterWordW * This,
  441. /* [in] */ ULONG ulCount);
  442. void __RPC_STUB IEnumRegisterWordW_Skip_Stub(
  443. IRpcStubBuffer *This,
  444. IRpcChannelBuffer *_pRpcChannelBuffer,
  445. PRPC_MESSAGE _pRpcMessage,
  446. DWORD *_pdwStubPhase);
  447. #endif /* __IEnumRegisterWordW_INTERFACE_DEFINED__ */
  448. #ifndef __IEnumInputContext_INTERFACE_DEFINED__
  449. #define __IEnumInputContext_INTERFACE_DEFINED__
  450. /* interface IEnumInputContext */
  451. /* [unique][uuid][object] */
  452. EXTERN_C const IID IID_IEnumInputContext;
  453. #if defined(__cplusplus) && !defined(CINTERFACE)
  454. MIDL_INTERFACE("09b5eab0-f997-11d1-93d4-0060b067b86e")
  455. IEnumInputContext : public IUnknown
  456. {
  457. public:
  458. virtual HRESULT STDMETHODCALLTYPE Clone(
  459. /* [out] */ IEnumInputContext **ppEnum) = 0;
  460. virtual HRESULT STDMETHODCALLTYPE Next(
  461. /* [in] */ ULONG ulCount,
  462. /* [out] */ HIMC *rgInputContext,
  463. /* [out] */ ULONG *pcFetched) = 0;
  464. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  465. virtual HRESULT STDMETHODCALLTYPE Skip(
  466. /* [in] */ ULONG ulCount) = 0;
  467. };
  468. #else /* C style interface */
  469. typedef struct IEnumInputContextVtbl
  470. {
  471. BEGIN_INTERFACE
  472. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  473. IEnumInputContext * This,
  474. /* [in] */ REFIID riid,
  475. /* [iid_is][out] */ void **ppvObject);
  476. ULONG ( STDMETHODCALLTYPE *AddRef )(
  477. IEnumInputContext * This);
  478. ULONG ( STDMETHODCALLTYPE *Release )(
  479. IEnumInputContext * This);
  480. HRESULT ( STDMETHODCALLTYPE *Clone )(
  481. IEnumInputContext * This,
  482. /* [out] */ IEnumInputContext **ppEnum);
  483. HRESULT ( STDMETHODCALLTYPE *Next )(
  484. IEnumInputContext * This,
  485. /* [in] */ ULONG ulCount,
  486. /* [out] */ HIMC *rgInputContext,
  487. /* [out] */ ULONG *pcFetched);
  488. HRESULT ( STDMETHODCALLTYPE *Reset )(
  489. IEnumInputContext * This);
  490. HRESULT ( STDMETHODCALLTYPE *Skip )(
  491. IEnumInputContext * This,
  492. /* [in] */ ULONG ulCount);
  493. END_INTERFACE
  494. } IEnumInputContextVtbl;
  495. interface IEnumInputContext
  496. {
  497. CONST_VTBL struct IEnumInputContextVtbl *lpVtbl;
  498. };
  499. #ifdef COBJMACROS
  500. #define IEnumInputContext_QueryInterface(This,riid,ppvObject) \
  501. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  502. #define IEnumInputContext_AddRef(This) \
  503. (This)->lpVtbl -> AddRef(This)
  504. #define IEnumInputContext_Release(This) \
  505. (This)->lpVtbl -> Release(This)
  506. #define IEnumInputContext_Clone(This,ppEnum) \
  507. (This)->lpVtbl -> Clone(This,ppEnum)
  508. #define IEnumInputContext_Next(This,ulCount,rgInputContext,pcFetched) \
  509. (This)->lpVtbl -> Next(This,ulCount,rgInputContext,pcFetched)
  510. #define IEnumInputContext_Reset(This) \
  511. (This)->lpVtbl -> Reset(This)
  512. #define IEnumInputContext_Skip(This,ulCount) \
  513. (This)->lpVtbl -> Skip(This,ulCount)
  514. #endif /* COBJMACROS */
  515. #endif /* C style interface */
  516. HRESULT STDMETHODCALLTYPE IEnumInputContext_Clone_Proxy(
  517. IEnumInputContext * This,
  518. /* [out] */ IEnumInputContext **ppEnum);
  519. void __RPC_STUB IEnumInputContext_Clone_Stub(
  520. IRpcStubBuffer *This,
  521. IRpcChannelBuffer *_pRpcChannelBuffer,
  522. PRPC_MESSAGE _pRpcMessage,
  523. DWORD *_pdwStubPhase);
  524. HRESULT STDMETHODCALLTYPE IEnumInputContext_Next_Proxy(
  525. IEnumInputContext * This,
  526. /* [in] */ ULONG ulCount,
  527. /* [out] */ HIMC *rgInputContext,
  528. /* [out] */ ULONG *pcFetched);
  529. void __RPC_STUB IEnumInputContext_Next_Stub(
  530. IRpcStubBuffer *This,
  531. IRpcChannelBuffer *_pRpcChannelBuffer,
  532. PRPC_MESSAGE _pRpcMessage,
  533. DWORD *_pdwStubPhase);
  534. HRESULT STDMETHODCALLTYPE IEnumInputContext_Reset_Proxy(
  535. IEnumInputContext * This);
  536. void __RPC_STUB IEnumInputContext_Reset_Stub(
  537. IRpcStubBuffer *This,
  538. IRpcChannelBuffer *_pRpcChannelBuffer,
  539. PRPC_MESSAGE _pRpcMessage,
  540. DWORD *_pdwStubPhase);
  541. HRESULT STDMETHODCALLTYPE IEnumInputContext_Skip_Proxy(
  542. IEnumInputContext * This,
  543. /* [in] */ ULONG ulCount);
  544. void __RPC_STUB IEnumInputContext_Skip_Stub(
  545. IRpcStubBuffer *This,
  546. IRpcChannelBuffer *_pRpcChannelBuffer,
  547. PRPC_MESSAGE _pRpcMessage,
  548. DWORD *_pdwStubPhase);
  549. #endif /* __IEnumInputContext_INTERFACE_DEFINED__ */
  550. #ifndef __IActiveIMMRegistrar_INTERFACE_DEFINED__
  551. #define __IActiveIMMRegistrar_INTERFACE_DEFINED__
  552. /* interface IActiveIMMRegistrar */
  553. /* [unique][uuid][object] */
  554. EXTERN_C const IID IID_IActiveIMMRegistrar;
  555. #if defined(__cplusplus) && !defined(CINTERFACE)
  556. MIDL_INTERFACE("b3458082-bd00-11d1-939b-0060b067b86e")
  557. IActiveIMMRegistrar : public IUnknown
  558. {
  559. public:
  560. virtual HRESULT STDMETHODCALLTYPE RegisterIME(
  561. /* [in] */ REFCLSID rclsid,
  562. /* [in] */ LANGID lgid,
  563. /* [in] */ LPCWSTR pszIconFile,
  564. /* [in] */ LPCWSTR pszDesc) = 0;
  565. virtual HRESULT STDMETHODCALLTYPE UnregisterIME(
  566. /* [in] */ REFCLSID rclsid) = 0;
  567. };
  568. #else /* C style interface */
  569. typedef struct IActiveIMMRegistrarVtbl
  570. {
  571. BEGIN_INTERFACE
  572. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  573. IActiveIMMRegistrar * This,
  574. /* [in] */ REFIID riid,
  575. /* [iid_is][out] */ void **ppvObject);
  576. ULONG ( STDMETHODCALLTYPE *AddRef )(
  577. IActiveIMMRegistrar * This);
  578. ULONG ( STDMETHODCALLTYPE *Release )(
  579. IActiveIMMRegistrar * This);
  580. HRESULT ( STDMETHODCALLTYPE *RegisterIME )(
  581. IActiveIMMRegistrar * This,
  582. /* [in] */ REFCLSID rclsid,
  583. /* [in] */ LANGID lgid,
  584. /* [in] */ LPCWSTR pszIconFile,
  585. /* [in] */ LPCWSTR pszDesc);
  586. HRESULT ( STDMETHODCALLTYPE *UnregisterIME )(
  587. IActiveIMMRegistrar * This,
  588. /* [in] */ REFCLSID rclsid);
  589. END_INTERFACE
  590. } IActiveIMMRegistrarVtbl;
  591. interface IActiveIMMRegistrar
  592. {
  593. CONST_VTBL struct IActiveIMMRegistrarVtbl *lpVtbl;
  594. };
  595. #ifdef COBJMACROS
  596. #define IActiveIMMRegistrar_QueryInterface(This,riid,ppvObject) \
  597. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  598. #define IActiveIMMRegistrar_AddRef(This) \
  599. (This)->lpVtbl -> AddRef(This)
  600. #define IActiveIMMRegistrar_Release(This) \
  601. (This)->lpVtbl -> Release(This)
  602. #define IActiveIMMRegistrar_RegisterIME(This,rclsid,lgid,pszIconFile,pszDesc) \
  603. (This)->lpVtbl -> RegisterIME(This,rclsid,lgid,pszIconFile,pszDesc)
  604. #define IActiveIMMRegistrar_UnregisterIME(This,rclsid) \
  605. (This)->lpVtbl -> UnregisterIME(This,rclsid)
  606. #endif /* COBJMACROS */
  607. #endif /* C style interface */
  608. HRESULT STDMETHODCALLTYPE IActiveIMMRegistrar_RegisterIME_Proxy(
  609. IActiveIMMRegistrar * This,
  610. /* [in] */ REFCLSID rclsid,
  611. /* [in] */ LANGID lgid,
  612. /* [in] */ LPCWSTR pszIconFile,
  613. /* [in] */ LPCWSTR pszDesc);
  614. void __RPC_STUB IActiveIMMRegistrar_RegisterIME_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. HRESULT STDMETHODCALLTYPE IActiveIMMRegistrar_UnregisterIME_Proxy(
  620. IActiveIMMRegistrar * This,
  621. /* [in] */ REFCLSID rclsid);
  622. void __RPC_STUB IActiveIMMRegistrar_UnregisterIME_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. #endif /* __IActiveIMMRegistrar_INTERFACE_DEFINED__ */
  628. #ifndef __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__
  629. #define __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__
  630. /* interface IActiveIMMMessagePumpOwner */
  631. /* [unique][uuid][object] */
  632. EXTERN_C const IID IID_IActiveIMMMessagePumpOwner;
  633. #if defined(__cplusplus) && !defined(CINTERFACE)
  634. MIDL_INTERFACE("b5cf2cfa-8aeb-11d1-9364-0060b067b86e")
  635. IActiveIMMMessagePumpOwner : public IUnknown
  636. {
  637. public:
  638. virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
  639. virtual HRESULT STDMETHODCALLTYPE End( void) = 0;
  640. virtual HRESULT STDMETHODCALLTYPE OnTranslateMessage(
  641. /* [in] */ const MSG *pMsg) = 0;
  642. virtual HRESULT STDMETHODCALLTYPE Pause(
  643. /* [out] */ DWORD *pdwCookie) = 0;
  644. virtual HRESULT STDMETHODCALLTYPE Resume(
  645. /* [in] */ DWORD dwCookie) = 0;
  646. };
  647. #else /* C style interface */
  648. typedef struct IActiveIMMMessagePumpOwnerVtbl
  649. {
  650. BEGIN_INTERFACE
  651. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  652. IActiveIMMMessagePumpOwner * This,
  653. /* [in] */ REFIID riid,
  654. /* [iid_is][out] */ void **ppvObject);
  655. ULONG ( STDMETHODCALLTYPE *AddRef )(
  656. IActiveIMMMessagePumpOwner * This);
  657. ULONG ( STDMETHODCALLTYPE *Release )(
  658. IActiveIMMMessagePumpOwner * This);
  659. HRESULT ( STDMETHODCALLTYPE *Start )(
  660. IActiveIMMMessagePumpOwner * This);
  661. HRESULT ( STDMETHODCALLTYPE *End )(
  662. IActiveIMMMessagePumpOwner * This);
  663. HRESULT ( STDMETHODCALLTYPE *OnTranslateMessage )(
  664. IActiveIMMMessagePumpOwner * This,
  665. /* [in] */ const MSG *pMsg);
  666. HRESULT ( STDMETHODCALLTYPE *Pause )(
  667. IActiveIMMMessagePumpOwner * This,
  668. /* [out] */ DWORD *pdwCookie);
  669. HRESULT ( STDMETHODCALLTYPE *Resume )(
  670. IActiveIMMMessagePumpOwner * This,
  671. /* [in] */ DWORD dwCookie);
  672. END_INTERFACE
  673. } IActiveIMMMessagePumpOwnerVtbl;
  674. interface IActiveIMMMessagePumpOwner
  675. {
  676. CONST_VTBL struct IActiveIMMMessagePumpOwnerVtbl *lpVtbl;
  677. };
  678. #ifdef COBJMACROS
  679. #define IActiveIMMMessagePumpOwner_QueryInterface(This,riid,ppvObject) \
  680. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  681. #define IActiveIMMMessagePumpOwner_AddRef(This) \
  682. (This)->lpVtbl -> AddRef(This)
  683. #define IActiveIMMMessagePumpOwner_Release(This) \
  684. (This)->lpVtbl -> Release(This)
  685. #define IActiveIMMMessagePumpOwner_Start(This) \
  686. (This)->lpVtbl -> Start(This)
  687. #define IActiveIMMMessagePumpOwner_End(This) \
  688. (This)->lpVtbl -> End(This)
  689. #define IActiveIMMMessagePumpOwner_OnTranslateMessage(This,pMsg) \
  690. (This)->lpVtbl -> OnTranslateMessage(This,pMsg)
  691. #define IActiveIMMMessagePumpOwner_Pause(This,pdwCookie) \
  692. (This)->lpVtbl -> Pause(This,pdwCookie)
  693. #define IActiveIMMMessagePumpOwner_Resume(This,dwCookie) \
  694. (This)->lpVtbl -> Resume(This,dwCookie)
  695. #endif /* COBJMACROS */
  696. #endif /* C style interface */
  697. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_Start_Proxy(
  698. IActiveIMMMessagePumpOwner * This);
  699. void __RPC_STUB IActiveIMMMessagePumpOwner_Start_Stub(
  700. IRpcStubBuffer *This,
  701. IRpcChannelBuffer *_pRpcChannelBuffer,
  702. PRPC_MESSAGE _pRpcMessage,
  703. DWORD *_pdwStubPhase);
  704. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_End_Proxy(
  705. IActiveIMMMessagePumpOwner * This);
  706. void __RPC_STUB IActiveIMMMessagePumpOwner_End_Stub(
  707. IRpcStubBuffer *This,
  708. IRpcChannelBuffer *_pRpcChannelBuffer,
  709. PRPC_MESSAGE _pRpcMessage,
  710. DWORD *_pdwStubPhase);
  711. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_OnTranslateMessage_Proxy(
  712. IActiveIMMMessagePumpOwner * This,
  713. /* [in] */ const MSG *pMsg);
  714. void __RPC_STUB IActiveIMMMessagePumpOwner_OnTranslateMessage_Stub(
  715. IRpcStubBuffer *This,
  716. IRpcChannelBuffer *_pRpcChannelBuffer,
  717. PRPC_MESSAGE _pRpcMessage,
  718. DWORD *_pdwStubPhase);
  719. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_Pause_Proxy(
  720. IActiveIMMMessagePumpOwner * This,
  721. /* [out] */ DWORD *pdwCookie);
  722. void __RPC_STUB IActiveIMMMessagePumpOwner_Pause_Stub(
  723. IRpcStubBuffer *This,
  724. IRpcChannelBuffer *_pRpcChannelBuffer,
  725. PRPC_MESSAGE _pRpcMessage,
  726. DWORD *_pdwStubPhase);
  727. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_Resume_Proxy(
  728. IActiveIMMMessagePumpOwner * This,
  729. /* [in] */ DWORD dwCookie);
  730. void __RPC_STUB IActiveIMMMessagePumpOwner_Resume_Stub(
  731. IRpcStubBuffer *This,
  732. IRpcChannelBuffer *_pRpcChannelBuffer,
  733. PRPC_MESSAGE _pRpcMessage,
  734. DWORD *_pdwStubPhase);
  735. #endif /* __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__ */
  736. #ifndef __IActiveIMMApp_INTERFACE_DEFINED__
  737. #define __IActiveIMMApp_INTERFACE_DEFINED__
  738. /* interface IActiveIMMApp */
  739. /* [unique][uuid][object] */
  740. EXTERN_C const IID IID_IActiveIMMApp;
  741. #if defined(__cplusplus) && !defined(CINTERFACE)
  742. MIDL_INTERFACE("08c0e040-62d1-11d1-9326-0060b067b86e")
  743. IActiveIMMApp : public IUnknown
  744. {
  745. public:
  746. virtual HRESULT STDMETHODCALLTYPE AssociateContext(
  747. /* [in] */ HWND hWnd,
  748. /* [in] */ HIMC hIME,
  749. /* [out] */ HIMC *phPrev) = 0;
  750. virtual HRESULT STDMETHODCALLTYPE ConfigureIMEA(
  751. /* [in] */ HKL hKL,
  752. /* [in] */ HWND hWnd,
  753. /* [in] */ DWORD dwMode,
  754. /* [in] */ REGISTERWORDA *pData) = 0;
  755. virtual HRESULT STDMETHODCALLTYPE ConfigureIMEW(
  756. /* [in] */ HKL hKL,
  757. /* [in] */ HWND hWnd,
  758. /* [in] */ DWORD dwMode,
  759. /* [in] */ REGISTERWORDW *pData) = 0;
  760. virtual HRESULT STDMETHODCALLTYPE CreateContext(
  761. /* [out] */ HIMC *phIMC) = 0;
  762. virtual HRESULT STDMETHODCALLTYPE DestroyContext(
  763. /* [in] */ HIMC hIME) = 0;
  764. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordA(
  765. /* [in] */ HKL hKL,
  766. /* [in] */ LPSTR szReading,
  767. /* [in] */ DWORD dwStyle,
  768. /* [in] */ LPSTR szRegister,
  769. /* [in] */ LPVOID pData,
  770. /* [out] */ IEnumRegisterWordA **pEnum) = 0;
  771. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordW(
  772. /* [in] */ HKL hKL,
  773. /* [in] */ LPWSTR szReading,
  774. /* [in] */ DWORD dwStyle,
  775. /* [in] */ LPWSTR szRegister,
  776. /* [in] */ LPVOID pData,
  777. /* [out] */ IEnumRegisterWordW **pEnum) = 0;
  778. virtual HRESULT STDMETHODCALLTYPE EscapeA(
  779. /* [in] */ HKL hKL,
  780. /* [in] */ HIMC hIMC,
  781. /* [in] */ UINT uEscape,
  782. /* [out][in] */ LPVOID pData,
  783. /* [out] */ LRESULT *plResult) = 0;
  784. virtual HRESULT STDMETHODCALLTYPE EscapeW(
  785. /* [in] */ HKL hKL,
  786. /* [in] */ HIMC hIMC,
  787. /* [in] */ UINT uEscape,
  788. /* [out][in] */ LPVOID pData,
  789. /* [out] */ LRESULT *plResult) = 0;
  790. virtual HRESULT STDMETHODCALLTYPE GetCandidateListA(
  791. /* [in] */ HIMC hIMC,
  792. /* [in] */ DWORD dwIndex,
  793. /* [in] */ UINT uBufLen,
  794. /* [out] */ CANDIDATELIST *pCandList,
  795. /* [out] */ UINT *puCopied) = 0;
  796. virtual HRESULT STDMETHODCALLTYPE GetCandidateListW(
  797. /* [in] */ HIMC hIMC,
  798. /* [in] */ DWORD dwIndex,
  799. /* [in] */ UINT uBufLen,
  800. /* [out] */ CANDIDATELIST *pCandList,
  801. /* [out] */ UINT *puCopied) = 0;
  802. virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountA(
  803. /* [in] */ HIMC hIMC,
  804. /* [out] */ DWORD *pdwListSize,
  805. /* [out] */ DWORD *pdwBufLen) = 0;
  806. virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountW(
  807. /* [in] */ HIMC hIMC,
  808. /* [out] */ DWORD *pdwListSize,
  809. /* [out] */ DWORD *pdwBufLen) = 0;
  810. virtual HRESULT STDMETHODCALLTYPE GetCandidateWindow(
  811. /* [in] */ HIMC hIMC,
  812. /* [in] */ DWORD dwIndex,
  813. /* [out] */ CANDIDATEFORM *pCandidate) = 0;
  814. virtual HRESULT STDMETHODCALLTYPE GetCompositionFontA(
  815. /* [in] */ HIMC hIMC,
  816. /* [out] */ LOGFONTA *plf) = 0;
  817. virtual HRESULT STDMETHODCALLTYPE GetCompositionFontW(
  818. /* [in] */ HIMC hIMC,
  819. /* [out] */ LOGFONTW *plf) = 0;
  820. virtual HRESULT STDMETHODCALLTYPE GetCompositionStringA(
  821. /* [in] */ HIMC hIMC,
  822. /* [in] */ DWORD dwIndex,
  823. /* [in] */ DWORD dwBufLen,
  824. /* [out] */ LONG *plCopied,
  825. /* [out] */ LPVOID pBuf) = 0;
  826. virtual HRESULT STDMETHODCALLTYPE GetCompositionStringW(
  827. /* [in] */ HIMC hIMC,
  828. /* [in] */ DWORD dwIndex,
  829. /* [in] */ DWORD dwBufLen,
  830. /* [out] */ LONG *plCopied,
  831. /* [out] */ LPVOID pBuf) = 0;
  832. virtual HRESULT STDMETHODCALLTYPE GetCompositionWindow(
  833. /* [in] */ HIMC hIMC,
  834. /* [out] */ COMPOSITIONFORM *pCompForm) = 0;
  835. virtual HRESULT STDMETHODCALLTYPE GetContext(
  836. /* [in] */ HWND hWnd,
  837. /* [out] */ HIMC *phIMC) = 0;
  838. virtual HRESULT STDMETHODCALLTYPE GetConversionListA(
  839. /* [in] */ HKL hKL,
  840. /* [in] */ HIMC hIMC,
  841. /* [in] */ LPSTR pSrc,
  842. /* [in] */ UINT uBufLen,
  843. /* [in] */ UINT uFlag,
  844. /* [out] */ CANDIDATELIST *pDst,
  845. /* [out] */ UINT *puCopied) = 0;
  846. virtual HRESULT STDMETHODCALLTYPE GetConversionListW(
  847. /* [in] */ HKL hKL,
  848. /* [in] */ HIMC hIMC,
  849. /* [in] */ LPWSTR pSrc,
  850. /* [in] */ UINT uBufLen,
  851. /* [in] */ UINT uFlag,
  852. /* [out] */ CANDIDATELIST *pDst,
  853. /* [out] */ UINT *puCopied) = 0;
  854. virtual HRESULT STDMETHODCALLTYPE GetConversionStatus(
  855. /* [in] */ HIMC hIMC,
  856. /* [out] */ DWORD *pfdwConversion,
  857. /* [out] */ DWORD *pfdwSentence) = 0;
  858. virtual HRESULT STDMETHODCALLTYPE GetDefaultIMEWnd(
  859. /* [in] */ HWND hWnd,
  860. /* [out] */ HWND *phDefWnd) = 0;
  861. virtual HRESULT STDMETHODCALLTYPE GetDescriptionA(
  862. /* [in] */ HKL hKL,
  863. /* [in] */ UINT uBufLen,
  864. /* [out] */ LPSTR szDescription,
  865. /* [out] */ UINT *puCopied) = 0;
  866. virtual HRESULT STDMETHODCALLTYPE GetDescriptionW(
  867. /* [in] */ HKL hKL,
  868. /* [in] */ UINT uBufLen,
  869. /* [out] */ LPWSTR szDescription,
  870. /* [out] */ UINT *puCopied) = 0;
  871. virtual HRESULT STDMETHODCALLTYPE GetGuideLineA(
  872. /* [in] */ HIMC hIMC,
  873. /* [in] */ DWORD dwIndex,
  874. /* [in] */ DWORD dwBufLen,
  875. /* [out] */ LPSTR pBuf,
  876. /* [out] */ DWORD *pdwResult) = 0;
  877. virtual HRESULT STDMETHODCALLTYPE GetGuideLineW(
  878. /* [in] */ HIMC hIMC,
  879. /* [in] */ DWORD dwIndex,
  880. /* [in] */ DWORD dwBufLen,
  881. /* [out] */ LPWSTR pBuf,
  882. /* [out] */ DWORD *pdwResult) = 0;
  883. virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameA(
  884. /* [in] */ HKL hKL,
  885. /* [in] */ UINT uBufLen,
  886. /* [out] */ LPSTR szFileName,
  887. /* [out] */ UINT *puCopied) = 0;
  888. virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameW(
  889. /* [in] */ HKL hKL,
  890. /* [in] */ UINT uBufLen,
  891. /* [out] */ LPWSTR szFileName,
  892. /* [out] */ UINT *puCopied) = 0;
  893. virtual HRESULT STDMETHODCALLTYPE GetOpenStatus(
  894. /* [in] */ HIMC hIMC) = 0;
  895. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  896. /* [in] */ HKL hKL,
  897. /* [in] */ DWORD fdwIndex,
  898. /* [out] */ DWORD *pdwProperty) = 0;
  899. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleA(
  900. /* [in] */ HKL hKL,
  901. /* [in] */ UINT nItem,
  902. /* [out] */ STYLEBUFA *pStyleBuf,
  903. /* [out] */ UINT *puCopied) = 0;
  904. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleW(
  905. /* [in] */ HKL hKL,
  906. /* [in] */ UINT nItem,
  907. /* [out] */ STYLEBUFW *pStyleBuf,
  908. /* [out] */ UINT *puCopied) = 0;
  909. virtual HRESULT STDMETHODCALLTYPE GetStatusWindowPos(
  910. /* [in] */ HIMC hIMC,
  911. /* [out] */ POINT *pptPos) = 0;
  912. virtual HRESULT STDMETHODCALLTYPE GetVirtualKey(
  913. /* [in] */ HWND hWnd,
  914. /* [out] */ UINT *puVirtualKey) = 0;
  915. virtual HRESULT STDMETHODCALLTYPE InstallIMEA(
  916. /* [in] */ LPSTR szIMEFileName,
  917. /* [in] */ LPSTR szLayoutText,
  918. /* [out] */ HKL *phKL) = 0;
  919. virtual HRESULT STDMETHODCALLTYPE InstallIMEW(
  920. /* [in] */ LPWSTR szIMEFileName,
  921. /* [in] */ LPWSTR szLayoutText,
  922. /* [out] */ HKL *phKL) = 0;
  923. virtual HRESULT STDMETHODCALLTYPE IsIME(
  924. /* [in] */ HKL hKL) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE IsUIMessageA(
  926. /* [in] */ HWND hWndIME,
  927. /* [in] */ UINT msg,
  928. /* [in] */ WPARAM wParam,
  929. /* [in] */ LPARAM lParam) = 0;
  930. virtual HRESULT STDMETHODCALLTYPE IsUIMessageW(
  931. /* [in] */ HWND hWndIME,
  932. /* [in] */ UINT msg,
  933. /* [in] */ WPARAM wParam,
  934. /* [in] */ LPARAM lParam) = 0;
  935. virtual HRESULT STDMETHODCALLTYPE NotifyIME(
  936. /* [in] */ HIMC hIMC,
  937. /* [in] */ DWORD dwAction,
  938. /* [in] */ DWORD dwIndex,
  939. /* [in] */ DWORD dwValue) = 0;
  940. virtual HRESULT STDMETHODCALLTYPE RegisterWordA(
  941. /* [in] */ HKL hKL,
  942. /* [in] */ LPSTR szReading,
  943. /* [in] */ DWORD dwStyle,
  944. /* [in] */ LPSTR szRegister) = 0;
  945. virtual HRESULT STDMETHODCALLTYPE RegisterWordW(
  946. /* [in] */ HKL hKL,
  947. /* [in] */ LPWSTR szReading,
  948. /* [in] */ DWORD dwStyle,
  949. /* [in] */ LPWSTR szRegister) = 0;
  950. virtual HRESULT STDMETHODCALLTYPE ReleaseContext(
  951. /* [in] */ HWND hWnd,
  952. /* [in] */ HIMC hIMC) = 0;
  953. virtual HRESULT STDMETHODCALLTYPE SetCandidateWindow(
  954. /* [in] */ HIMC hIMC,
  955. /* [in] */ CANDIDATEFORM *pCandidate) = 0;
  956. virtual HRESULT STDMETHODCALLTYPE SetCompositionFontA(
  957. /* [in] */ HIMC hIMC,
  958. /* [in] */ LOGFONTA *plf) = 0;
  959. virtual HRESULT STDMETHODCALLTYPE SetCompositionFontW(
  960. /* [in] */ HIMC hIMC,
  961. /* [in] */ LOGFONTW *plf) = 0;
  962. virtual HRESULT STDMETHODCALLTYPE SetCompositionStringA(
  963. /* [in] */ HIMC hIMC,
  964. /* [in] */ DWORD dwIndex,
  965. /* [in] */ LPVOID pComp,
  966. /* [in] */ DWORD dwCompLen,
  967. /* [in] */ LPVOID pRead,
  968. /* [in] */ DWORD dwReadLen) = 0;
  969. virtual HRESULT STDMETHODCALLTYPE SetCompositionStringW(
  970. /* [in] */ HIMC hIMC,
  971. /* [in] */ DWORD dwIndex,
  972. /* [in] */ LPVOID pComp,
  973. /* [in] */ DWORD dwCompLen,
  974. /* [in] */ LPVOID pRead,
  975. /* [in] */ DWORD dwReadLen) = 0;
  976. virtual HRESULT STDMETHODCALLTYPE SetCompositionWindow(
  977. /* [in] */ HIMC hIMC,
  978. /* [in] */ COMPOSITIONFORM *pCompForm) = 0;
  979. virtual HRESULT STDMETHODCALLTYPE SetConversionStatus(
  980. /* [in] */ HIMC hIMC,
  981. /* [in] */ DWORD fdwConversion,
  982. /* [in] */ DWORD fdwSentence) = 0;
  983. virtual HRESULT STDMETHODCALLTYPE SetOpenStatus(
  984. /* [in] */ HIMC hIMC,
  985. /* [in] */ BOOL fOpen) = 0;
  986. virtual HRESULT STDMETHODCALLTYPE SetStatusWindowPos(
  987. /* [in] */ HIMC hIMC,
  988. /* [in] */ POINT *pptPos) = 0;
  989. virtual HRESULT STDMETHODCALLTYPE SimulateHotKey(
  990. /* [in] */ HWND hWnd,
  991. /* [in] */ DWORD dwHotKeyID) = 0;
  992. virtual HRESULT STDMETHODCALLTYPE UnregisterWordA(
  993. /* [in] */ HKL hKL,
  994. /* [in] */ LPSTR szReading,
  995. /* [in] */ DWORD dwStyle,
  996. /* [in] */ LPSTR szUnregister) = 0;
  997. virtual HRESULT STDMETHODCALLTYPE UnregisterWordW(
  998. /* [in] */ HKL hKL,
  999. /* [in] */ LPWSTR szReading,
  1000. /* [in] */ DWORD dwStyle,
  1001. /* [in] */ LPWSTR szUnregister) = 0;
  1002. virtual HRESULT STDMETHODCALLTYPE Activate(
  1003. /* [in] */ BOOL fRestoreLayout) = 0;
  1004. virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
  1005. virtual HRESULT STDMETHODCALLTYPE OnDefWindowProc(
  1006. /* [in] */ HWND hWnd,
  1007. /* [in] */ UINT Msg,
  1008. /* [in] */ WPARAM wParam,
  1009. /* [in] */ LPARAM lParam,
  1010. /* [out] */ LRESULT *plResult) = 0;
  1011. virtual HRESULT STDMETHODCALLTYPE FilterClientWindows(
  1012. /* [in] */ ATOM *aaClassList,
  1013. /* [in] */ UINT uSize) = 0;
  1014. virtual HRESULT STDMETHODCALLTYPE GetCodePageA(
  1015. /* [in] */ HKL hKL,
  1016. /* [out] */ UINT *uCodePage) = 0;
  1017. virtual HRESULT STDMETHODCALLTYPE GetLangId(
  1018. /* [in] */ HKL hKL,
  1019. /* [out] */ LANGID *plid) = 0;
  1020. virtual HRESULT STDMETHODCALLTYPE AssociateContextEx(
  1021. /* [in] */ HWND hWnd,
  1022. /* [in] */ HIMC hIMC,
  1023. /* [in] */ DWORD dwFlags) = 0;
  1024. virtual HRESULT STDMETHODCALLTYPE DisableIME(
  1025. /* [in] */ DWORD idThread) = 0;
  1026. virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsA(
  1027. /* [in] */ HIMC hIMC,
  1028. /* [in] */ DWORD dwFlags,
  1029. /* [in] */ DWORD dwType,
  1030. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  1031. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  1032. /* [in] */ DWORD dwSize,
  1033. /* [out] */ DWORD *pdwResult) = 0;
  1034. virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsW(
  1035. /* [in] */ HIMC hIMC,
  1036. /* [in] */ DWORD dwFlags,
  1037. /* [in] */ DWORD dwType,
  1038. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  1039. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  1040. /* [in] */ DWORD dwSize,
  1041. /* [out] */ DWORD *pdwResult) = 0;
  1042. virtual HRESULT STDMETHODCALLTYPE EnumInputContext(
  1043. /* [in] */ DWORD idThread,
  1044. /* [out] */ IEnumInputContext **ppEnum) = 0;
  1045. };
  1046. #else /* C style interface */
  1047. typedef struct IActiveIMMAppVtbl
  1048. {
  1049. BEGIN_INTERFACE
  1050. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1051. IActiveIMMApp * This,
  1052. /* [in] */ REFIID riid,
  1053. /* [iid_is][out] */ void **ppvObject);
  1054. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1055. IActiveIMMApp * This);
  1056. ULONG ( STDMETHODCALLTYPE *Release )(
  1057. IActiveIMMApp * This);
  1058. HRESULT ( STDMETHODCALLTYPE *AssociateContext )(
  1059. IActiveIMMApp * This,
  1060. /* [in] */ HWND hWnd,
  1061. /* [in] */ HIMC hIME,
  1062. /* [out] */ HIMC *phPrev);
  1063. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEA )(
  1064. IActiveIMMApp * This,
  1065. /* [in] */ HKL hKL,
  1066. /* [in] */ HWND hWnd,
  1067. /* [in] */ DWORD dwMode,
  1068. /* [in] */ REGISTERWORDA *pData);
  1069. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEW )(
  1070. IActiveIMMApp * This,
  1071. /* [in] */ HKL hKL,
  1072. /* [in] */ HWND hWnd,
  1073. /* [in] */ DWORD dwMode,
  1074. /* [in] */ REGISTERWORDW *pData);
  1075. HRESULT ( STDMETHODCALLTYPE *CreateContext )(
  1076. IActiveIMMApp * This,
  1077. /* [out] */ HIMC *phIMC);
  1078. HRESULT ( STDMETHODCALLTYPE *DestroyContext )(
  1079. IActiveIMMApp * This,
  1080. /* [in] */ HIMC hIME);
  1081. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordA )(
  1082. IActiveIMMApp * This,
  1083. /* [in] */ HKL hKL,
  1084. /* [in] */ LPSTR szReading,
  1085. /* [in] */ DWORD dwStyle,
  1086. /* [in] */ LPSTR szRegister,
  1087. /* [in] */ LPVOID pData,
  1088. /* [out] */ IEnumRegisterWordA **pEnum);
  1089. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordW )(
  1090. IActiveIMMApp * This,
  1091. /* [in] */ HKL hKL,
  1092. /* [in] */ LPWSTR szReading,
  1093. /* [in] */ DWORD dwStyle,
  1094. /* [in] */ LPWSTR szRegister,
  1095. /* [in] */ LPVOID pData,
  1096. /* [out] */ IEnumRegisterWordW **pEnum);
  1097. HRESULT ( STDMETHODCALLTYPE *EscapeA )(
  1098. IActiveIMMApp * This,
  1099. /* [in] */ HKL hKL,
  1100. /* [in] */ HIMC hIMC,
  1101. /* [in] */ UINT uEscape,
  1102. /* [out][in] */ LPVOID pData,
  1103. /* [out] */ LRESULT *plResult);
  1104. HRESULT ( STDMETHODCALLTYPE *EscapeW )(
  1105. IActiveIMMApp * This,
  1106. /* [in] */ HKL hKL,
  1107. /* [in] */ HIMC hIMC,
  1108. /* [in] */ UINT uEscape,
  1109. /* [out][in] */ LPVOID pData,
  1110. /* [out] */ LRESULT *plResult);
  1111. HRESULT ( STDMETHODCALLTYPE *GetCandidateListA )(
  1112. IActiveIMMApp * This,
  1113. /* [in] */ HIMC hIMC,
  1114. /* [in] */ DWORD dwIndex,
  1115. /* [in] */ UINT uBufLen,
  1116. /* [out] */ CANDIDATELIST *pCandList,
  1117. /* [out] */ UINT *puCopied);
  1118. HRESULT ( STDMETHODCALLTYPE *GetCandidateListW )(
  1119. IActiveIMMApp * This,
  1120. /* [in] */ HIMC hIMC,
  1121. /* [in] */ DWORD dwIndex,
  1122. /* [in] */ UINT uBufLen,
  1123. /* [out] */ CANDIDATELIST *pCandList,
  1124. /* [out] */ UINT *puCopied);
  1125. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountA )(
  1126. IActiveIMMApp * This,
  1127. /* [in] */ HIMC hIMC,
  1128. /* [out] */ DWORD *pdwListSize,
  1129. /* [out] */ DWORD *pdwBufLen);
  1130. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountW )(
  1131. IActiveIMMApp * This,
  1132. /* [in] */ HIMC hIMC,
  1133. /* [out] */ DWORD *pdwListSize,
  1134. /* [out] */ DWORD *pdwBufLen);
  1135. HRESULT ( STDMETHODCALLTYPE *GetCandidateWindow )(
  1136. IActiveIMMApp * This,
  1137. /* [in] */ HIMC hIMC,
  1138. /* [in] */ DWORD dwIndex,
  1139. /* [out] */ CANDIDATEFORM *pCandidate);
  1140. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontA )(
  1141. IActiveIMMApp * This,
  1142. /* [in] */ HIMC hIMC,
  1143. /* [out] */ LOGFONTA *plf);
  1144. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontW )(
  1145. IActiveIMMApp * This,
  1146. /* [in] */ HIMC hIMC,
  1147. /* [out] */ LOGFONTW *plf);
  1148. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringA )(
  1149. IActiveIMMApp * This,
  1150. /* [in] */ HIMC hIMC,
  1151. /* [in] */ DWORD dwIndex,
  1152. /* [in] */ DWORD dwBufLen,
  1153. /* [out] */ LONG *plCopied,
  1154. /* [out] */ LPVOID pBuf);
  1155. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringW )(
  1156. IActiveIMMApp * This,
  1157. /* [in] */ HIMC hIMC,
  1158. /* [in] */ DWORD dwIndex,
  1159. /* [in] */ DWORD dwBufLen,
  1160. /* [out] */ LONG *plCopied,
  1161. /* [out] */ LPVOID pBuf);
  1162. HRESULT ( STDMETHODCALLTYPE *GetCompositionWindow )(
  1163. IActiveIMMApp * This,
  1164. /* [in] */ HIMC hIMC,
  1165. /* [out] */ COMPOSITIONFORM *pCompForm);
  1166. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  1167. IActiveIMMApp * This,
  1168. /* [in] */ HWND hWnd,
  1169. /* [out] */ HIMC *phIMC);
  1170. HRESULT ( STDMETHODCALLTYPE *GetConversionListA )(
  1171. IActiveIMMApp * This,
  1172. /* [in] */ HKL hKL,
  1173. /* [in] */ HIMC hIMC,
  1174. /* [in] */ LPSTR pSrc,
  1175. /* [in] */ UINT uBufLen,
  1176. /* [in] */ UINT uFlag,
  1177. /* [out] */ CANDIDATELIST *pDst,
  1178. /* [out] */ UINT *puCopied);
  1179. HRESULT ( STDMETHODCALLTYPE *GetConversionListW )(
  1180. IActiveIMMApp * This,
  1181. /* [in] */ HKL hKL,
  1182. /* [in] */ HIMC hIMC,
  1183. /* [in] */ LPWSTR pSrc,
  1184. /* [in] */ UINT uBufLen,
  1185. /* [in] */ UINT uFlag,
  1186. /* [out] */ CANDIDATELIST *pDst,
  1187. /* [out] */ UINT *puCopied);
  1188. HRESULT ( STDMETHODCALLTYPE *GetConversionStatus )(
  1189. IActiveIMMApp * This,
  1190. /* [in] */ HIMC hIMC,
  1191. /* [out] */ DWORD *pfdwConversion,
  1192. /* [out] */ DWORD *pfdwSentence);
  1193. HRESULT ( STDMETHODCALLTYPE *GetDefaultIMEWnd )(
  1194. IActiveIMMApp * This,
  1195. /* [in] */ HWND hWnd,
  1196. /* [out] */ HWND *phDefWnd);
  1197. HRESULT ( STDMETHODCALLTYPE *GetDescriptionA )(
  1198. IActiveIMMApp * This,
  1199. /* [in] */ HKL hKL,
  1200. /* [in] */ UINT uBufLen,
  1201. /* [out] */ LPSTR szDescription,
  1202. /* [out] */ UINT *puCopied);
  1203. HRESULT ( STDMETHODCALLTYPE *GetDescriptionW )(
  1204. IActiveIMMApp * This,
  1205. /* [in] */ HKL hKL,
  1206. /* [in] */ UINT uBufLen,
  1207. /* [out] */ LPWSTR szDescription,
  1208. /* [out] */ UINT *puCopied);
  1209. HRESULT ( STDMETHODCALLTYPE *GetGuideLineA )(
  1210. IActiveIMMApp * This,
  1211. /* [in] */ HIMC hIMC,
  1212. /* [in] */ DWORD dwIndex,
  1213. /* [in] */ DWORD dwBufLen,
  1214. /* [out] */ LPSTR pBuf,
  1215. /* [out] */ DWORD *pdwResult);
  1216. HRESULT ( STDMETHODCALLTYPE *GetGuideLineW )(
  1217. IActiveIMMApp * This,
  1218. /* [in] */ HIMC hIMC,
  1219. /* [in] */ DWORD dwIndex,
  1220. /* [in] */ DWORD dwBufLen,
  1221. /* [out] */ LPWSTR pBuf,
  1222. /* [out] */ DWORD *pdwResult);
  1223. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameA )(
  1224. IActiveIMMApp * This,
  1225. /* [in] */ HKL hKL,
  1226. /* [in] */ UINT uBufLen,
  1227. /* [out] */ LPSTR szFileName,
  1228. /* [out] */ UINT *puCopied);
  1229. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameW )(
  1230. IActiveIMMApp * This,
  1231. /* [in] */ HKL hKL,
  1232. /* [in] */ UINT uBufLen,
  1233. /* [out] */ LPWSTR szFileName,
  1234. /* [out] */ UINT *puCopied);
  1235. HRESULT ( STDMETHODCALLTYPE *GetOpenStatus )(
  1236. IActiveIMMApp * This,
  1237. /* [in] */ HIMC hIMC);
  1238. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  1239. IActiveIMMApp * This,
  1240. /* [in] */ HKL hKL,
  1241. /* [in] */ DWORD fdwIndex,
  1242. /* [out] */ DWORD *pdwProperty);
  1243. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleA )(
  1244. IActiveIMMApp * This,
  1245. /* [in] */ HKL hKL,
  1246. /* [in] */ UINT nItem,
  1247. /* [out] */ STYLEBUFA *pStyleBuf,
  1248. /* [out] */ UINT *puCopied);
  1249. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleW )(
  1250. IActiveIMMApp * This,
  1251. /* [in] */ HKL hKL,
  1252. /* [in] */ UINT nItem,
  1253. /* [out] */ STYLEBUFW *pStyleBuf,
  1254. /* [out] */ UINT *puCopied);
  1255. HRESULT ( STDMETHODCALLTYPE *GetStatusWindowPos )(
  1256. IActiveIMMApp * This,
  1257. /* [in] */ HIMC hIMC,
  1258. /* [out] */ POINT *pptPos);
  1259. HRESULT ( STDMETHODCALLTYPE *GetVirtualKey )(
  1260. IActiveIMMApp * This,
  1261. /* [in] */ HWND hWnd,
  1262. /* [out] */ UINT *puVirtualKey);
  1263. HRESULT ( STDMETHODCALLTYPE *InstallIMEA )(
  1264. IActiveIMMApp * This,
  1265. /* [in] */ LPSTR szIMEFileName,
  1266. /* [in] */ LPSTR szLayoutText,
  1267. /* [out] */ HKL *phKL);
  1268. HRESULT ( STDMETHODCALLTYPE *InstallIMEW )(
  1269. IActiveIMMApp * This,
  1270. /* [in] */ LPWSTR szIMEFileName,
  1271. /* [in] */ LPWSTR szLayoutText,
  1272. /* [out] */ HKL *phKL);
  1273. HRESULT ( STDMETHODCALLTYPE *IsIME )(
  1274. IActiveIMMApp * This,
  1275. /* [in] */ HKL hKL);
  1276. HRESULT ( STDMETHODCALLTYPE *IsUIMessageA )(
  1277. IActiveIMMApp * This,
  1278. /* [in] */ HWND hWndIME,
  1279. /* [in] */ UINT msg,
  1280. /* [in] */ WPARAM wParam,
  1281. /* [in] */ LPARAM lParam);
  1282. HRESULT ( STDMETHODCALLTYPE *IsUIMessageW )(
  1283. IActiveIMMApp * This,
  1284. /* [in] */ HWND hWndIME,
  1285. /* [in] */ UINT msg,
  1286. /* [in] */ WPARAM wParam,
  1287. /* [in] */ LPARAM lParam);
  1288. HRESULT ( STDMETHODCALLTYPE *NotifyIME )(
  1289. IActiveIMMApp * This,
  1290. /* [in] */ HIMC hIMC,
  1291. /* [in] */ DWORD dwAction,
  1292. /* [in] */ DWORD dwIndex,
  1293. /* [in] */ DWORD dwValue);
  1294. HRESULT ( STDMETHODCALLTYPE *RegisterWordA )(
  1295. IActiveIMMApp * This,
  1296. /* [in] */ HKL hKL,
  1297. /* [in] */ LPSTR szReading,
  1298. /* [in] */ DWORD dwStyle,
  1299. /* [in] */ LPSTR szRegister);
  1300. HRESULT ( STDMETHODCALLTYPE *RegisterWordW )(
  1301. IActiveIMMApp * This,
  1302. /* [in] */ HKL hKL,
  1303. /* [in] */ LPWSTR szReading,
  1304. /* [in] */ DWORD dwStyle,
  1305. /* [in] */ LPWSTR szRegister);
  1306. HRESULT ( STDMETHODCALLTYPE *ReleaseContext )(
  1307. IActiveIMMApp * This,
  1308. /* [in] */ HWND hWnd,
  1309. /* [in] */ HIMC hIMC);
  1310. HRESULT ( STDMETHODCALLTYPE *SetCandidateWindow )(
  1311. IActiveIMMApp * This,
  1312. /* [in] */ HIMC hIMC,
  1313. /* [in] */ CANDIDATEFORM *pCandidate);
  1314. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontA )(
  1315. IActiveIMMApp * This,
  1316. /* [in] */ HIMC hIMC,
  1317. /* [in] */ LOGFONTA *plf);
  1318. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontW )(
  1319. IActiveIMMApp * This,
  1320. /* [in] */ HIMC hIMC,
  1321. /* [in] */ LOGFONTW *plf);
  1322. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringA )(
  1323. IActiveIMMApp * This,
  1324. /* [in] */ HIMC hIMC,
  1325. /* [in] */ DWORD dwIndex,
  1326. /* [in] */ LPVOID pComp,
  1327. /* [in] */ DWORD dwCompLen,
  1328. /* [in] */ LPVOID pRead,
  1329. /* [in] */ DWORD dwReadLen);
  1330. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringW )(
  1331. IActiveIMMApp * This,
  1332. /* [in] */ HIMC hIMC,
  1333. /* [in] */ DWORD dwIndex,
  1334. /* [in] */ LPVOID pComp,
  1335. /* [in] */ DWORD dwCompLen,
  1336. /* [in] */ LPVOID pRead,
  1337. /* [in] */ DWORD dwReadLen);
  1338. HRESULT ( STDMETHODCALLTYPE *SetCompositionWindow )(
  1339. IActiveIMMApp * This,
  1340. /* [in] */ HIMC hIMC,
  1341. /* [in] */ COMPOSITIONFORM *pCompForm);
  1342. HRESULT ( STDMETHODCALLTYPE *SetConversionStatus )(
  1343. IActiveIMMApp * This,
  1344. /* [in] */ HIMC hIMC,
  1345. /* [in] */ DWORD fdwConversion,
  1346. /* [in] */ DWORD fdwSentence);
  1347. HRESULT ( STDMETHODCALLTYPE *SetOpenStatus )(
  1348. IActiveIMMApp * This,
  1349. /* [in] */ HIMC hIMC,
  1350. /* [in] */ BOOL fOpen);
  1351. HRESULT ( STDMETHODCALLTYPE *SetStatusWindowPos )(
  1352. IActiveIMMApp * This,
  1353. /* [in] */ HIMC hIMC,
  1354. /* [in] */ POINT *pptPos);
  1355. HRESULT ( STDMETHODCALLTYPE *SimulateHotKey )(
  1356. IActiveIMMApp * This,
  1357. /* [in] */ HWND hWnd,
  1358. /* [in] */ DWORD dwHotKeyID);
  1359. HRESULT ( STDMETHODCALLTYPE *UnregisterWordA )(
  1360. IActiveIMMApp * This,
  1361. /* [in] */ HKL hKL,
  1362. /* [in] */ LPSTR szReading,
  1363. /* [in] */ DWORD dwStyle,
  1364. /* [in] */ LPSTR szUnregister);
  1365. HRESULT ( STDMETHODCALLTYPE *UnregisterWordW )(
  1366. IActiveIMMApp * This,
  1367. /* [in] */ HKL hKL,
  1368. /* [in] */ LPWSTR szReading,
  1369. /* [in] */ DWORD dwStyle,
  1370. /* [in] */ LPWSTR szUnregister);
  1371. HRESULT ( STDMETHODCALLTYPE *Activate )(
  1372. IActiveIMMApp * This,
  1373. /* [in] */ BOOL fRestoreLayout);
  1374. HRESULT ( STDMETHODCALLTYPE *Deactivate )(
  1375. IActiveIMMApp * This);
  1376. HRESULT ( STDMETHODCALLTYPE *OnDefWindowProc )(
  1377. IActiveIMMApp * This,
  1378. /* [in] */ HWND hWnd,
  1379. /* [in] */ UINT Msg,
  1380. /* [in] */ WPARAM wParam,
  1381. /* [in] */ LPARAM lParam,
  1382. /* [out] */ LRESULT *plResult);
  1383. HRESULT ( STDMETHODCALLTYPE *FilterClientWindows )(
  1384. IActiveIMMApp * This,
  1385. /* [in] */ ATOM *aaClassList,
  1386. /* [in] */ UINT uSize);
  1387. HRESULT ( STDMETHODCALLTYPE *GetCodePageA )(
  1388. IActiveIMMApp * This,
  1389. /* [in] */ HKL hKL,
  1390. /* [out] */ UINT *uCodePage);
  1391. HRESULT ( STDMETHODCALLTYPE *GetLangId )(
  1392. IActiveIMMApp * This,
  1393. /* [in] */ HKL hKL,
  1394. /* [out] */ LANGID *plid);
  1395. HRESULT ( STDMETHODCALLTYPE *AssociateContextEx )(
  1396. IActiveIMMApp * This,
  1397. /* [in] */ HWND hWnd,
  1398. /* [in] */ HIMC hIMC,
  1399. /* [in] */ DWORD dwFlags);
  1400. HRESULT ( STDMETHODCALLTYPE *DisableIME )(
  1401. IActiveIMMApp * This,
  1402. /* [in] */ DWORD idThread);
  1403. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsA )(
  1404. IActiveIMMApp * This,
  1405. /* [in] */ HIMC hIMC,
  1406. /* [in] */ DWORD dwFlags,
  1407. /* [in] */ DWORD dwType,
  1408. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  1409. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  1410. /* [in] */ DWORD dwSize,
  1411. /* [out] */ DWORD *pdwResult);
  1412. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsW )(
  1413. IActiveIMMApp * This,
  1414. /* [in] */ HIMC hIMC,
  1415. /* [in] */ DWORD dwFlags,
  1416. /* [in] */ DWORD dwType,
  1417. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  1418. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  1419. /* [in] */ DWORD dwSize,
  1420. /* [out] */ DWORD *pdwResult);
  1421. HRESULT ( STDMETHODCALLTYPE *EnumInputContext )(
  1422. IActiveIMMApp * This,
  1423. /* [in] */ DWORD idThread,
  1424. /* [out] */ IEnumInputContext **ppEnum);
  1425. END_INTERFACE
  1426. } IActiveIMMAppVtbl;
  1427. interface IActiveIMMApp
  1428. {
  1429. CONST_VTBL struct IActiveIMMAppVtbl *lpVtbl;
  1430. };
  1431. #ifdef COBJMACROS
  1432. #define IActiveIMMApp_QueryInterface(This,riid,ppvObject) \
  1433. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1434. #define IActiveIMMApp_AddRef(This) \
  1435. (This)->lpVtbl -> AddRef(This)
  1436. #define IActiveIMMApp_Release(This) \
  1437. (This)->lpVtbl -> Release(This)
  1438. #define IActiveIMMApp_AssociateContext(This,hWnd,hIME,phPrev) \
  1439. (This)->lpVtbl -> AssociateContext(This,hWnd,hIME,phPrev)
  1440. #define IActiveIMMApp_ConfigureIMEA(This,hKL,hWnd,dwMode,pData) \
  1441. (This)->lpVtbl -> ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  1442. #define IActiveIMMApp_ConfigureIMEW(This,hKL,hWnd,dwMode,pData) \
  1443. (This)->lpVtbl -> ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  1444. #define IActiveIMMApp_CreateContext(This,phIMC) \
  1445. (This)->lpVtbl -> CreateContext(This,phIMC)
  1446. #define IActiveIMMApp_DestroyContext(This,hIME) \
  1447. (This)->lpVtbl -> DestroyContext(This,hIME)
  1448. #define IActiveIMMApp_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  1449. (This)->lpVtbl -> EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1450. #define IActiveIMMApp_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  1451. (This)->lpVtbl -> EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1452. #define IActiveIMMApp_EscapeA(This,hKL,hIMC,uEscape,pData,plResult) \
  1453. (This)->lpVtbl -> EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  1454. #define IActiveIMMApp_EscapeW(This,hKL,hIMC,uEscape,pData,plResult) \
  1455. (This)->lpVtbl -> EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  1456. #define IActiveIMMApp_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  1457. (This)->lpVtbl -> GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1458. #define IActiveIMMApp_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  1459. (This)->lpVtbl -> GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1460. #define IActiveIMMApp_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen) \
  1461. (This)->lpVtbl -> GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  1462. #define IActiveIMMApp_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen) \
  1463. (This)->lpVtbl -> GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  1464. #define IActiveIMMApp_GetCandidateWindow(This,hIMC,dwIndex,pCandidate) \
  1465. (This)->lpVtbl -> GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  1466. #define IActiveIMMApp_GetCompositionFontA(This,hIMC,plf) \
  1467. (This)->lpVtbl -> GetCompositionFontA(This,hIMC,plf)
  1468. #define IActiveIMMApp_GetCompositionFontW(This,hIMC,plf) \
  1469. (This)->lpVtbl -> GetCompositionFontW(This,hIMC,plf)
  1470. #define IActiveIMMApp_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  1471. (This)->lpVtbl -> GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1472. #define IActiveIMMApp_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  1473. (This)->lpVtbl -> GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1474. #define IActiveIMMApp_GetCompositionWindow(This,hIMC,pCompForm) \
  1475. (This)->lpVtbl -> GetCompositionWindow(This,hIMC,pCompForm)
  1476. #define IActiveIMMApp_GetContext(This,hWnd,phIMC) \
  1477. (This)->lpVtbl -> GetContext(This,hWnd,phIMC)
  1478. #define IActiveIMMApp_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  1479. (This)->lpVtbl -> GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1480. #define IActiveIMMApp_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  1481. (This)->lpVtbl -> GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1482. #define IActiveIMMApp_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence) \
  1483. (This)->lpVtbl -> GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  1484. #define IActiveIMMApp_GetDefaultIMEWnd(This,hWnd,phDefWnd) \
  1485. (This)->lpVtbl -> GetDefaultIMEWnd(This,hWnd,phDefWnd)
  1486. #define IActiveIMMApp_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied) \
  1487. (This)->lpVtbl -> GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  1488. #define IActiveIMMApp_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied) \
  1489. (This)->lpVtbl -> GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  1490. #define IActiveIMMApp_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  1491. (This)->lpVtbl -> GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1492. #define IActiveIMMApp_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  1493. (This)->lpVtbl -> GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1494. #define IActiveIMMApp_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied) \
  1495. (This)->lpVtbl -> GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  1496. #define IActiveIMMApp_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied) \
  1497. (This)->lpVtbl -> GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  1498. #define IActiveIMMApp_GetOpenStatus(This,hIMC) \
  1499. (This)->lpVtbl -> GetOpenStatus(This,hIMC)
  1500. #define IActiveIMMApp_GetProperty(This,hKL,fdwIndex,pdwProperty) \
  1501. (This)->lpVtbl -> GetProperty(This,hKL,fdwIndex,pdwProperty)
  1502. #define IActiveIMMApp_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied) \
  1503. (This)->lpVtbl -> GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  1504. #define IActiveIMMApp_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied) \
  1505. (This)->lpVtbl -> GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  1506. #define IActiveIMMApp_GetStatusWindowPos(This,hIMC,pptPos) \
  1507. (This)->lpVtbl -> GetStatusWindowPos(This,hIMC,pptPos)
  1508. #define IActiveIMMApp_GetVirtualKey(This,hWnd,puVirtualKey) \
  1509. (This)->lpVtbl -> GetVirtualKey(This,hWnd,puVirtualKey)
  1510. #define IActiveIMMApp_InstallIMEA(This,szIMEFileName,szLayoutText,phKL) \
  1511. (This)->lpVtbl -> InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  1512. #define IActiveIMMApp_InstallIMEW(This,szIMEFileName,szLayoutText,phKL) \
  1513. (This)->lpVtbl -> InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  1514. #define IActiveIMMApp_IsIME(This,hKL) \
  1515. (This)->lpVtbl -> IsIME(This,hKL)
  1516. #define IActiveIMMApp_IsUIMessageA(This,hWndIME,msg,wParam,lParam) \
  1517. (This)->lpVtbl -> IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  1518. #define IActiveIMMApp_IsUIMessageW(This,hWndIME,msg,wParam,lParam) \
  1519. (This)->lpVtbl -> IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  1520. #define IActiveIMMApp_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue) \
  1521. (This)->lpVtbl -> NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  1522. #define IActiveIMMApp_RegisterWordA(This,hKL,szReading,dwStyle,szRegister) \
  1523. (This)->lpVtbl -> RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  1524. #define IActiveIMMApp_RegisterWordW(This,hKL,szReading,dwStyle,szRegister) \
  1525. (This)->lpVtbl -> RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  1526. #define IActiveIMMApp_ReleaseContext(This,hWnd,hIMC) \
  1527. (This)->lpVtbl -> ReleaseContext(This,hWnd,hIMC)
  1528. #define IActiveIMMApp_SetCandidateWindow(This,hIMC,pCandidate) \
  1529. (This)->lpVtbl -> SetCandidateWindow(This,hIMC,pCandidate)
  1530. #define IActiveIMMApp_SetCompositionFontA(This,hIMC,plf) \
  1531. (This)->lpVtbl -> SetCompositionFontA(This,hIMC,plf)
  1532. #define IActiveIMMApp_SetCompositionFontW(This,hIMC,plf) \
  1533. (This)->lpVtbl -> SetCompositionFontW(This,hIMC,plf)
  1534. #define IActiveIMMApp_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  1535. (This)->lpVtbl -> SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1536. #define IActiveIMMApp_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  1537. (This)->lpVtbl -> SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1538. #define IActiveIMMApp_SetCompositionWindow(This,hIMC,pCompForm) \
  1539. (This)->lpVtbl -> SetCompositionWindow(This,hIMC,pCompForm)
  1540. #define IActiveIMMApp_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence) \
  1541. (This)->lpVtbl -> SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  1542. #define IActiveIMMApp_SetOpenStatus(This,hIMC,fOpen) \
  1543. (This)->lpVtbl -> SetOpenStatus(This,hIMC,fOpen)
  1544. #define IActiveIMMApp_SetStatusWindowPos(This,hIMC,pptPos) \
  1545. (This)->lpVtbl -> SetStatusWindowPos(This,hIMC,pptPos)
  1546. #define IActiveIMMApp_SimulateHotKey(This,hWnd,dwHotKeyID) \
  1547. (This)->lpVtbl -> SimulateHotKey(This,hWnd,dwHotKeyID)
  1548. #define IActiveIMMApp_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister) \
  1549. (This)->lpVtbl -> UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  1550. #define IActiveIMMApp_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister) \
  1551. (This)->lpVtbl -> UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  1552. #define IActiveIMMApp_Activate(This,fRestoreLayout) \
  1553. (This)->lpVtbl -> Activate(This,fRestoreLayout)
  1554. #define IActiveIMMApp_Deactivate(This) \
  1555. (This)->lpVtbl -> Deactivate(This)
  1556. #define IActiveIMMApp_OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult) \
  1557. (This)->lpVtbl -> OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult)
  1558. #define IActiveIMMApp_FilterClientWindows(This,aaClassList,uSize) \
  1559. (This)->lpVtbl -> FilterClientWindows(This,aaClassList,uSize)
  1560. #define IActiveIMMApp_GetCodePageA(This,hKL,uCodePage) \
  1561. (This)->lpVtbl -> GetCodePageA(This,hKL,uCodePage)
  1562. #define IActiveIMMApp_GetLangId(This,hKL,plid) \
  1563. (This)->lpVtbl -> GetLangId(This,hKL,plid)
  1564. #define IActiveIMMApp_AssociateContextEx(This,hWnd,hIMC,dwFlags) \
  1565. (This)->lpVtbl -> AssociateContextEx(This,hWnd,hIMC,dwFlags)
  1566. #define IActiveIMMApp_DisableIME(This,idThread) \
  1567. (This)->lpVtbl -> DisableIME(This,idThread)
  1568. #define IActiveIMMApp_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  1569. (This)->lpVtbl -> GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1570. #define IActiveIMMApp_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  1571. (This)->lpVtbl -> GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1572. #define IActiveIMMApp_EnumInputContext(This,idThread,ppEnum) \
  1573. (This)->lpVtbl -> EnumInputContext(This,idThread,ppEnum)
  1574. #endif /* COBJMACROS */
  1575. #endif /* C style interface */
  1576. HRESULT STDMETHODCALLTYPE IActiveIMMApp_AssociateContext_Proxy(
  1577. IActiveIMMApp * This,
  1578. /* [in] */ HWND hWnd,
  1579. /* [in] */ HIMC hIME,
  1580. /* [out] */ HIMC *phPrev);
  1581. void __RPC_STUB IActiveIMMApp_AssociateContext_Stub(
  1582. IRpcStubBuffer *This,
  1583. IRpcChannelBuffer *_pRpcChannelBuffer,
  1584. PRPC_MESSAGE _pRpcMessage,
  1585. DWORD *_pdwStubPhase);
  1586. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ConfigureIMEA_Proxy(
  1587. IActiveIMMApp * This,
  1588. /* [in] */ HKL hKL,
  1589. /* [in] */ HWND hWnd,
  1590. /* [in] */ DWORD dwMode,
  1591. /* [in] */ REGISTERWORDA *pData);
  1592. void __RPC_STUB IActiveIMMApp_ConfigureIMEA_Stub(
  1593. IRpcStubBuffer *This,
  1594. IRpcChannelBuffer *_pRpcChannelBuffer,
  1595. PRPC_MESSAGE _pRpcMessage,
  1596. DWORD *_pdwStubPhase);
  1597. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ConfigureIMEW_Proxy(
  1598. IActiveIMMApp * This,
  1599. /* [in] */ HKL hKL,
  1600. /* [in] */ HWND hWnd,
  1601. /* [in] */ DWORD dwMode,
  1602. /* [in] */ REGISTERWORDW *pData);
  1603. void __RPC_STUB IActiveIMMApp_ConfigureIMEW_Stub(
  1604. IRpcStubBuffer *This,
  1605. IRpcChannelBuffer *_pRpcChannelBuffer,
  1606. PRPC_MESSAGE _pRpcMessage,
  1607. DWORD *_pdwStubPhase);
  1608. HRESULT STDMETHODCALLTYPE IActiveIMMApp_CreateContext_Proxy(
  1609. IActiveIMMApp * This,
  1610. /* [out] */ HIMC *phIMC);
  1611. void __RPC_STUB IActiveIMMApp_CreateContext_Stub(
  1612. IRpcStubBuffer *This,
  1613. IRpcChannelBuffer *_pRpcChannelBuffer,
  1614. PRPC_MESSAGE _pRpcMessage,
  1615. DWORD *_pdwStubPhase);
  1616. HRESULT STDMETHODCALLTYPE IActiveIMMApp_DestroyContext_Proxy(
  1617. IActiveIMMApp * This,
  1618. /* [in] */ HIMC hIME);
  1619. void __RPC_STUB IActiveIMMApp_DestroyContext_Stub(
  1620. IRpcStubBuffer *This,
  1621. IRpcChannelBuffer *_pRpcChannelBuffer,
  1622. PRPC_MESSAGE _pRpcMessage,
  1623. DWORD *_pdwStubPhase);
  1624. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumRegisterWordA_Proxy(
  1625. IActiveIMMApp * This,
  1626. /* [in] */ HKL hKL,
  1627. /* [in] */ LPSTR szReading,
  1628. /* [in] */ DWORD dwStyle,
  1629. /* [in] */ LPSTR szRegister,
  1630. /* [in] */ LPVOID pData,
  1631. /* [out] */ IEnumRegisterWordA **pEnum);
  1632. void __RPC_STUB IActiveIMMApp_EnumRegisterWordA_Stub(
  1633. IRpcStubBuffer *This,
  1634. IRpcChannelBuffer *_pRpcChannelBuffer,
  1635. PRPC_MESSAGE _pRpcMessage,
  1636. DWORD *_pdwStubPhase);
  1637. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumRegisterWordW_Proxy(
  1638. IActiveIMMApp * This,
  1639. /* [in] */ HKL hKL,
  1640. /* [in] */ LPWSTR szReading,
  1641. /* [in] */ DWORD dwStyle,
  1642. /* [in] */ LPWSTR szRegister,
  1643. /* [in] */ LPVOID pData,
  1644. /* [out] */ IEnumRegisterWordW **pEnum);
  1645. void __RPC_STUB IActiveIMMApp_EnumRegisterWordW_Stub(
  1646. IRpcStubBuffer *This,
  1647. IRpcChannelBuffer *_pRpcChannelBuffer,
  1648. PRPC_MESSAGE _pRpcMessage,
  1649. DWORD *_pdwStubPhase);
  1650. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EscapeA_Proxy(
  1651. IActiveIMMApp * This,
  1652. /* [in] */ HKL hKL,
  1653. /* [in] */ HIMC hIMC,
  1654. /* [in] */ UINT uEscape,
  1655. /* [out][in] */ LPVOID pData,
  1656. /* [out] */ LRESULT *plResult);
  1657. void __RPC_STUB IActiveIMMApp_EscapeA_Stub(
  1658. IRpcStubBuffer *This,
  1659. IRpcChannelBuffer *_pRpcChannelBuffer,
  1660. PRPC_MESSAGE _pRpcMessage,
  1661. DWORD *_pdwStubPhase);
  1662. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EscapeW_Proxy(
  1663. IActiveIMMApp * This,
  1664. /* [in] */ HKL hKL,
  1665. /* [in] */ HIMC hIMC,
  1666. /* [in] */ UINT uEscape,
  1667. /* [out][in] */ LPVOID pData,
  1668. /* [out] */ LRESULT *plResult);
  1669. void __RPC_STUB IActiveIMMApp_EscapeW_Stub(
  1670. IRpcStubBuffer *This,
  1671. IRpcChannelBuffer *_pRpcChannelBuffer,
  1672. PRPC_MESSAGE _pRpcMessage,
  1673. DWORD *_pdwStubPhase);
  1674. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListA_Proxy(
  1675. IActiveIMMApp * This,
  1676. /* [in] */ HIMC hIMC,
  1677. /* [in] */ DWORD dwIndex,
  1678. /* [in] */ UINT uBufLen,
  1679. /* [out] */ CANDIDATELIST *pCandList,
  1680. /* [out] */ UINT *puCopied);
  1681. void __RPC_STUB IActiveIMMApp_GetCandidateListA_Stub(
  1682. IRpcStubBuffer *This,
  1683. IRpcChannelBuffer *_pRpcChannelBuffer,
  1684. PRPC_MESSAGE _pRpcMessage,
  1685. DWORD *_pdwStubPhase);
  1686. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListW_Proxy(
  1687. IActiveIMMApp * This,
  1688. /* [in] */ HIMC hIMC,
  1689. /* [in] */ DWORD dwIndex,
  1690. /* [in] */ UINT uBufLen,
  1691. /* [out] */ CANDIDATELIST *pCandList,
  1692. /* [out] */ UINT *puCopied);
  1693. void __RPC_STUB IActiveIMMApp_GetCandidateListW_Stub(
  1694. IRpcStubBuffer *This,
  1695. IRpcChannelBuffer *_pRpcChannelBuffer,
  1696. PRPC_MESSAGE _pRpcMessage,
  1697. DWORD *_pdwStubPhase);
  1698. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListCountA_Proxy(
  1699. IActiveIMMApp * This,
  1700. /* [in] */ HIMC hIMC,
  1701. /* [out] */ DWORD *pdwListSize,
  1702. /* [out] */ DWORD *pdwBufLen);
  1703. void __RPC_STUB IActiveIMMApp_GetCandidateListCountA_Stub(
  1704. IRpcStubBuffer *This,
  1705. IRpcChannelBuffer *_pRpcChannelBuffer,
  1706. PRPC_MESSAGE _pRpcMessage,
  1707. DWORD *_pdwStubPhase);
  1708. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListCountW_Proxy(
  1709. IActiveIMMApp * This,
  1710. /* [in] */ HIMC hIMC,
  1711. /* [out] */ DWORD *pdwListSize,
  1712. /* [out] */ DWORD *pdwBufLen);
  1713. void __RPC_STUB IActiveIMMApp_GetCandidateListCountW_Stub(
  1714. IRpcStubBuffer *This,
  1715. IRpcChannelBuffer *_pRpcChannelBuffer,
  1716. PRPC_MESSAGE _pRpcMessage,
  1717. DWORD *_pdwStubPhase);
  1718. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateWindow_Proxy(
  1719. IActiveIMMApp * This,
  1720. /* [in] */ HIMC hIMC,
  1721. /* [in] */ DWORD dwIndex,
  1722. /* [out] */ CANDIDATEFORM *pCandidate);
  1723. void __RPC_STUB IActiveIMMApp_GetCandidateWindow_Stub(
  1724. IRpcStubBuffer *This,
  1725. IRpcChannelBuffer *_pRpcChannelBuffer,
  1726. PRPC_MESSAGE _pRpcMessage,
  1727. DWORD *_pdwStubPhase);
  1728. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionFontA_Proxy(
  1729. IActiveIMMApp * This,
  1730. /* [in] */ HIMC hIMC,
  1731. /* [out] */ LOGFONTA *plf);
  1732. void __RPC_STUB IActiveIMMApp_GetCompositionFontA_Stub(
  1733. IRpcStubBuffer *This,
  1734. IRpcChannelBuffer *_pRpcChannelBuffer,
  1735. PRPC_MESSAGE _pRpcMessage,
  1736. DWORD *_pdwStubPhase);
  1737. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionFontW_Proxy(
  1738. IActiveIMMApp * This,
  1739. /* [in] */ HIMC hIMC,
  1740. /* [out] */ LOGFONTW *plf);
  1741. void __RPC_STUB IActiveIMMApp_GetCompositionFontW_Stub(
  1742. IRpcStubBuffer *This,
  1743. IRpcChannelBuffer *_pRpcChannelBuffer,
  1744. PRPC_MESSAGE _pRpcMessage,
  1745. DWORD *_pdwStubPhase);
  1746. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionStringA_Proxy(
  1747. IActiveIMMApp * This,
  1748. /* [in] */ HIMC hIMC,
  1749. /* [in] */ DWORD dwIndex,
  1750. /* [in] */ DWORD dwBufLen,
  1751. /* [out] */ LONG *plCopied,
  1752. /* [out] */ LPVOID pBuf);
  1753. void __RPC_STUB IActiveIMMApp_GetCompositionStringA_Stub(
  1754. IRpcStubBuffer *This,
  1755. IRpcChannelBuffer *_pRpcChannelBuffer,
  1756. PRPC_MESSAGE _pRpcMessage,
  1757. DWORD *_pdwStubPhase);
  1758. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionStringW_Proxy(
  1759. IActiveIMMApp * This,
  1760. /* [in] */ HIMC hIMC,
  1761. /* [in] */ DWORD dwIndex,
  1762. /* [in] */ DWORD dwBufLen,
  1763. /* [out] */ LONG *plCopied,
  1764. /* [out] */ LPVOID pBuf);
  1765. void __RPC_STUB IActiveIMMApp_GetCompositionStringW_Stub(
  1766. IRpcStubBuffer *This,
  1767. IRpcChannelBuffer *_pRpcChannelBuffer,
  1768. PRPC_MESSAGE _pRpcMessage,
  1769. DWORD *_pdwStubPhase);
  1770. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionWindow_Proxy(
  1771. IActiveIMMApp * This,
  1772. /* [in] */ HIMC hIMC,
  1773. /* [out] */ COMPOSITIONFORM *pCompForm);
  1774. void __RPC_STUB IActiveIMMApp_GetCompositionWindow_Stub(
  1775. IRpcStubBuffer *This,
  1776. IRpcChannelBuffer *_pRpcChannelBuffer,
  1777. PRPC_MESSAGE _pRpcMessage,
  1778. DWORD *_pdwStubPhase);
  1779. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetContext_Proxy(
  1780. IActiveIMMApp * This,
  1781. /* [in] */ HWND hWnd,
  1782. /* [out] */ HIMC *phIMC);
  1783. void __RPC_STUB IActiveIMMApp_GetContext_Stub(
  1784. IRpcStubBuffer *This,
  1785. IRpcChannelBuffer *_pRpcChannelBuffer,
  1786. PRPC_MESSAGE _pRpcMessage,
  1787. DWORD *_pdwStubPhase);
  1788. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionListA_Proxy(
  1789. IActiveIMMApp * This,
  1790. /* [in] */ HKL hKL,
  1791. /* [in] */ HIMC hIMC,
  1792. /* [in] */ LPSTR pSrc,
  1793. /* [in] */ UINT uBufLen,
  1794. /* [in] */ UINT uFlag,
  1795. /* [out] */ CANDIDATELIST *pDst,
  1796. /* [out] */ UINT *puCopied);
  1797. void __RPC_STUB IActiveIMMApp_GetConversionListA_Stub(
  1798. IRpcStubBuffer *This,
  1799. IRpcChannelBuffer *_pRpcChannelBuffer,
  1800. PRPC_MESSAGE _pRpcMessage,
  1801. DWORD *_pdwStubPhase);
  1802. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionListW_Proxy(
  1803. IActiveIMMApp * This,
  1804. /* [in] */ HKL hKL,
  1805. /* [in] */ HIMC hIMC,
  1806. /* [in] */ LPWSTR pSrc,
  1807. /* [in] */ UINT uBufLen,
  1808. /* [in] */ UINT uFlag,
  1809. /* [out] */ CANDIDATELIST *pDst,
  1810. /* [out] */ UINT *puCopied);
  1811. void __RPC_STUB IActiveIMMApp_GetConversionListW_Stub(
  1812. IRpcStubBuffer *This,
  1813. IRpcChannelBuffer *_pRpcChannelBuffer,
  1814. PRPC_MESSAGE _pRpcMessage,
  1815. DWORD *_pdwStubPhase);
  1816. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionStatus_Proxy(
  1817. IActiveIMMApp * This,
  1818. /* [in] */ HIMC hIMC,
  1819. /* [out] */ DWORD *pfdwConversion,
  1820. /* [out] */ DWORD *pfdwSentence);
  1821. void __RPC_STUB IActiveIMMApp_GetConversionStatus_Stub(
  1822. IRpcStubBuffer *This,
  1823. IRpcChannelBuffer *_pRpcChannelBuffer,
  1824. PRPC_MESSAGE _pRpcMessage,
  1825. DWORD *_pdwStubPhase);
  1826. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDefaultIMEWnd_Proxy(
  1827. IActiveIMMApp * This,
  1828. /* [in] */ HWND hWnd,
  1829. /* [out] */ HWND *phDefWnd);
  1830. void __RPC_STUB IActiveIMMApp_GetDefaultIMEWnd_Stub(
  1831. IRpcStubBuffer *This,
  1832. IRpcChannelBuffer *_pRpcChannelBuffer,
  1833. PRPC_MESSAGE _pRpcMessage,
  1834. DWORD *_pdwStubPhase);
  1835. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDescriptionA_Proxy(
  1836. IActiveIMMApp * This,
  1837. /* [in] */ HKL hKL,
  1838. /* [in] */ UINT uBufLen,
  1839. /* [out] */ LPSTR szDescription,
  1840. /* [out] */ UINT *puCopied);
  1841. void __RPC_STUB IActiveIMMApp_GetDescriptionA_Stub(
  1842. IRpcStubBuffer *This,
  1843. IRpcChannelBuffer *_pRpcChannelBuffer,
  1844. PRPC_MESSAGE _pRpcMessage,
  1845. DWORD *_pdwStubPhase);
  1846. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDescriptionW_Proxy(
  1847. IActiveIMMApp * This,
  1848. /* [in] */ HKL hKL,
  1849. /* [in] */ UINT uBufLen,
  1850. /* [out] */ LPWSTR szDescription,
  1851. /* [out] */ UINT *puCopied);
  1852. void __RPC_STUB IActiveIMMApp_GetDescriptionW_Stub(
  1853. IRpcStubBuffer *This,
  1854. IRpcChannelBuffer *_pRpcChannelBuffer,
  1855. PRPC_MESSAGE _pRpcMessage,
  1856. DWORD *_pdwStubPhase);
  1857. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetGuideLineA_Proxy(
  1858. IActiveIMMApp * This,
  1859. /* [in] */ HIMC hIMC,
  1860. /* [in] */ DWORD dwIndex,
  1861. /* [in] */ DWORD dwBufLen,
  1862. /* [out] */ LPSTR pBuf,
  1863. /* [out] */ DWORD *pdwResult);
  1864. void __RPC_STUB IActiveIMMApp_GetGuideLineA_Stub(
  1865. IRpcStubBuffer *This,
  1866. IRpcChannelBuffer *_pRpcChannelBuffer,
  1867. PRPC_MESSAGE _pRpcMessage,
  1868. DWORD *_pdwStubPhase);
  1869. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetGuideLineW_Proxy(
  1870. IActiveIMMApp * This,
  1871. /* [in] */ HIMC hIMC,
  1872. /* [in] */ DWORD dwIndex,
  1873. /* [in] */ DWORD dwBufLen,
  1874. /* [out] */ LPWSTR pBuf,
  1875. /* [out] */ DWORD *pdwResult);
  1876. void __RPC_STUB IActiveIMMApp_GetGuideLineW_Stub(
  1877. IRpcStubBuffer *This,
  1878. IRpcChannelBuffer *_pRpcChannelBuffer,
  1879. PRPC_MESSAGE _pRpcMessage,
  1880. DWORD *_pdwStubPhase);
  1881. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetIMEFileNameA_Proxy(
  1882. IActiveIMMApp * This,
  1883. /* [in] */ HKL hKL,
  1884. /* [in] */ UINT uBufLen,
  1885. /* [out] */ LPSTR szFileName,
  1886. /* [out] */ UINT *puCopied);
  1887. void __RPC_STUB IActiveIMMApp_GetIMEFileNameA_Stub(
  1888. IRpcStubBuffer *This,
  1889. IRpcChannelBuffer *_pRpcChannelBuffer,
  1890. PRPC_MESSAGE _pRpcMessage,
  1891. DWORD *_pdwStubPhase);
  1892. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetIMEFileNameW_Proxy(
  1893. IActiveIMMApp * This,
  1894. /* [in] */ HKL hKL,
  1895. /* [in] */ UINT uBufLen,
  1896. /* [out] */ LPWSTR szFileName,
  1897. /* [out] */ UINT *puCopied);
  1898. void __RPC_STUB IActiveIMMApp_GetIMEFileNameW_Stub(
  1899. IRpcStubBuffer *This,
  1900. IRpcChannelBuffer *_pRpcChannelBuffer,
  1901. PRPC_MESSAGE _pRpcMessage,
  1902. DWORD *_pdwStubPhase);
  1903. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetOpenStatus_Proxy(
  1904. IActiveIMMApp * This,
  1905. /* [in] */ HIMC hIMC);
  1906. void __RPC_STUB IActiveIMMApp_GetOpenStatus_Stub(
  1907. IRpcStubBuffer *This,
  1908. IRpcChannelBuffer *_pRpcChannelBuffer,
  1909. PRPC_MESSAGE _pRpcMessage,
  1910. DWORD *_pdwStubPhase);
  1911. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetProperty_Proxy(
  1912. IActiveIMMApp * This,
  1913. /* [in] */ HKL hKL,
  1914. /* [in] */ DWORD fdwIndex,
  1915. /* [out] */ DWORD *pdwProperty);
  1916. void __RPC_STUB IActiveIMMApp_GetProperty_Stub(
  1917. IRpcStubBuffer *This,
  1918. IRpcChannelBuffer *_pRpcChannelBuffer,
  1919. PRPC_MESSAGE _pRpcMessage,
  1920. DWORD *_pdwStubPhase);
  1921. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetRegisterWordStyleA_Proxy(
  1922. IActiveIMMApp * This,
  1923. /* [in] */ HKL hKL,
  1924. /* [in] */ UINT nItem,
  1925. /* [out] */ STYLEBUFA *pStyleBuf,
  1926. /* [out] */ UINT *puCopied);
  1927. void __RPC_STUB IActiveIMMApp_GetRegisterWordStyleA_Stub(
  1928. IRpcStubBuffer *This,
  1929. IRpcChannelBuffer *_pRpcChannelBuffer,
  1930. PRPC_MESSAGE _pRpcMessage,
  1931. DWORD *_pdwStubPhase);
  1932. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetRegisterWordStyleW_Proxy(
  1933. IActiveIMMApp * This,
  1934. /* [in] */ HKL hKL,
  1935. /* [in] */ UINT nItem,
  1936. /* [out] */ STYLEBUFW *pStyleBuf,
  1937. /* [out] */ UINT *puCopied);
  1938. void __RPC_STUB IActiveIMMApp_GetRegisterWordStyleW_Stub(
  1939. IRpcStubBuffer *This,
  1940. IRpcChannelBuffer *_pRpcChannelBuffer,
  1941. PRPC_MESSAGE _pRpcMessage,
  1942. DWORD *_pdwStubPhase);
  1943. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetStatusWindowPos_Proxy(
  1944. IActiveIMMApp * This,
  1945. /* [in] */ HIMC hIMC,
  1946. /* [out] */ POINT *pptPos);
  1947. void __RPC_STUB IActiveIMMApp_GetStatusWindowPos_Stub(
  1948. IRpcStubBuffer *This,
  1949. IRpcChannelBuffer *_pRpcChannelBuffer,
  1950. PRPC_MESSAGE _pRpcMessage,
  1951. DWORD *_pdwStubPhase);
  1952. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetVirtualKey_Proxy(
  1953. IActiveIMMApp * This,
  1954. /* [in] */ HWND hWnd,
  1955. /* [out] */ UINT *puVirtualKey);
  1956. void __RPC_STUB IActiveIMMApp_GetVirtualKey_Stub(
  1957. IRpcStubBuffer *This,
  1958. IRpcChannelBuffer *_pRpcChannelBuffer,
  1959. PRPC_MESSAGE _pRpcMessage,
  1960. DWORD *_pdwStubPhase);
  1961. HRESULT STDMETHODCALLTYPE IActiveIMMApp_InstallIMEA_Proxy(
  1962. IActiveIMMApp * This,
  1963. /* [in] */ LPSTR szIMEFileName,
  1964. /* [in] */ LPSTR szLayoutText,
  1965. /* [out] */ HKL *phKL);
  1966. void __RPC_STUB IActiveIMMApp_InstallIMEA_Stub(
  1967. IRpcStubBuffer *This,
  1968. IRpcChannelBuffer *_pRpcChannelBuffer,
  1969. PRPC_MESSAGE _pRpcMessage,
  1970. DWORD *_pdwStubPhase);
  1971. HRESULT STDMETHODCALLTYPE IActiveIMMApp_InstallIMEW_Proxy(
  1972. IActiveIMMApp * This,
  1973. /* [in] */ LPWSTR szIMEFileName,
  1974. /* [in] */ LPWSTR szLayoutText,
  1975. /* [out] */ HKL *phKL);
  1976. void __RPC_STUB IActiveIMMApp_InstallIMEW_Stub(
  1977. IRpcStubBuffer *This,
  1978. IRpcChannelBuffer *_pRpcChannelBuffer,
  1979. PRPC_MESSAGE _pRpcMessage,
  1980. DWORD *_pdwStubPhase);
  1981. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsIME_Proxy(
  1982. IActiveIMMApp * This,
  1983. /* [in] */ HKL hKL);
  1984. void __RPC_STUB IActiveIMMApp_IsIME_Stub(
  1985. IRpcStubBuffer *This,
  1986. IRpcChannelBuffer *_pRpcChannelBuffer,
  1987. PRPC_MESSAGE _pRpcMessage,
  1988. DWORD *_pdwStubPhase);
  1989. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsUIMessageA_Proxy(
  1990. IActiveIMMApp * This,
  1991. /* [in] */ HWND hWndIME,
  1992. /* [in] */ UINT msg,
  1993. /* [in] */ WPARAM wParam,
  1994. /* [in] */ LPARAM lParam);
  1995. void __RPC_STUB IActiveIMMApp_IsUIMessageA_Stub(
  1996. IRpcStubBuffer *This,
  1997. IRpcChannelBuffer *_pRpcChannelBuffer,
  1998. PRPC_MESSAGE _pRpcMessage,
  1999. DWORD *_pdwStubPhase);
  2000. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsUIMessageW_Proxy(
  2001. IActiveIMMApp * This,
  2002. /* [in] */ HWND hWndIME,
  2003. /* [in] */ UINT msg,
  2004. /* [in] */ WPARAM wParam,
  2005. /* [in] */ LPARAM lParam);
  2006. void __RPC_STUB IActiveIMMApp_IsUIMessageW_Stub(
  2007. IRpcStubBuffer *This,
  2008. IRpcChannelBuffer *_pRpcChannelBuffer,
  2009. PRPC_MESSAGE _pRpcMessage,
  2010. DWORD *_pdwStubPhase);
  2011. HRESULT STDMETHODCALLTYPE IActiveIMMApp_NotifyIME_Proxy(
  2012. IActiveIMMApp * This,
  2013. /* [in] */ HIMC hIMC,
  2014. /* [in] */ DWORD dwAction,
  2015. /* [in] */ DWORD dwIndex,
  2016. /* [in] */ DWORD dwValue);
  2017. void __RPC_STUB IActiveIMMApp_NotifyIME_Stub(
  2018. IRpcStubBuffer *This,
  2019. IRpcChannelBuffer *_pRpcChannelBuffer,
  2020. PRPC_MESSAGE _pRpcMessage,
  2021. DWORD *_pdwStubPhase);
  2022. HRESULT STDMETHODCALLTYPE IActiveIMMApp_RegisterWordA_Proxy(
  2023. IActiveIMMApp * This,
  2024. /* [in] */ HKL hKL,
  2025. /* [in] */ LPSTR szReading,
  2026. /* [in] */ DWORD dwStyle,
  2027. /* [in] */ LPSTR szRegister);
  2028. void __RPC_STUB IActiveIMMApp_RegisterWordA_Stub(
  2029. IRpcStubBuffer *This,
  2030. IRpcChannelBuffer *_pRpcChannelBuffer,
  2031. PRPC_MESSAGE _pRpcMessage,
  2032. DWORD *_pdwStubPhase);
  2033. HRESULT STDMETHODCALLTYPE IActiveIMMApp_RegisterWordW_Proxy(
  2034. IActiveIMMApp * This,
  2035. /* [in] */ HKL hKL,
  2036. /* [in] */ LPWSTR szReading,
  2037. /* [in] */ DWORD dwStyle,
  2038. /* [in] */ LPWSTR szRegister);
  2039. void __RPC_STUB IActiveIMMApp_RegisterWordW_Stub(
  2040. IRpcStubBuffer *This,
  2041. IRpcChannelBuffer *_pRpcChannelBuffer,
  2042. PRPC_MESSAGE _pRpcMessage,
  2043. DWORD *_pdwStubPhase);
  2044. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ReleaseContext_Proxy(
  2045. IActiveIMMApp * This,
  2046. /* [in] */ HWND hWnd,
  2047. /* [in] */ HIMC hIMC);
  2048. void __RPC_STUB IActiveIMMApp_ReleaseContext_Stub(
  2049. IRpcStubBuffer *This,
  2050. IRpcChannelBuffer *_pRpcChannelBuffer,
  2051. PRPC_MESSAGE _pRpcMessage,
  2052. DWORD *_pdwStubPhase);
  2053. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCandidateWindow_Proxy(
  2054. IActiveIMMApp * This,
  2055. /* [in] */ HIMC hIMC,
  2056. /* [in] */ CANDIDATEFORM *pCandidate);
  2057. void __RPC_STUB IActiveIMMApp_SetCandidateWindow_Stub(
  2058. IRpcStubBuffer *This,
  2059. IRpcChannelBuffer *_pRpcChannelBuffer,
  2060. PRPC_MESSAGE _pRpcMessage,
  2061. DWORD *_pdwStubPhase);
  2062. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionFontA_Proxy(
  2063. IActiveIMMApp * This,
  2064. /* [in] */ HIMC hIMC,
  2065. /* [in] */ LOGFONTA *plf);
  2066. void __RPC_STUB IActiveIMMApp_SetCompositionFontA_Stub(
  2067. IRpcStubBuffer *This,
  2068. IRpcChannelBuffer *_pRpcChannelBuffer,
  2069. PRPC_MESSAGE _pRpcMessage,
  2070. DWORD *_pdwStubPhase);
  2071. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionFontW_Proxy(
  2072. IActiveIMMApp * This,
  2073. /* [in] */ HIMC hIMC,
  2074. /* [in] */ LOGFONTW *plf);
  2075. void __RPC_STUB IActiveIMMApp_SetCompositionFontW_Stub(
  2076. IRpcStubBuffer *This,
  2077. IRpcChannelBuffer *_pRpcChannelBuffer,
  2078. PRPC_MESSAGE _pRpcMessage,
  2079. DWORD *_pdwStubPhase);
  2080. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionStringA_Proxy(
  2081. IActiveIMMApp * This,
  2082. /* [in] */ HIMC hIMC,
  2083. /* [in] */ DWORD dwIndex,
  2084. /* [in] */ LPVOID pComp,
  2085. /* [in] */ DWORD dwCompLen,
  2086. /* [in] */ LPVOID pRead,
  2087. /* [in] */ DWORD dwReadLen);
  2088. void __RPC_STUB IActiveIMMApp_SetCompositionStringA_Stub(
  2089. IRpcStubBuffer *This,
  2090. IRpcChannelBuffer *_pRpcChannelBuffer,
  2091. PRPC_MESSAGE _pRpcMessage,
  2092. DWORD *_pdwStubPhase);
  2093. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionStringW_Proxy(
  2094. IActiveIMMApp * This,
  2095. /* [in] */ HIMC hIMC,
  2096. /* [in] */ DWORD dwIndex,
  2097. /* [in] */ LPVOID pComp,
  2098. /* [in] */ DWORD dwCompLen,
  2099. /* [in] */ LPVOID pRead,
  2100. /* [in] */ DWORD dwReadLen);
  2101. void __RPC_STUB IActiveIMMApp_SetCompositionStringW_Stub(
  2102. IRpcStubBuffer *This,
  2103. IRpcChannelBuffer *_pRpcChannelBuffer,
  2104. PRPC_MESSAGE _pRpcMessage,
  2105. DWORD *_pdwStubPhase);
  2106. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionWindow_Proxy(
  2107. IActiveIMMApp * This,
  2108. /* [in] */ HIMC hIMC,
  2109. /* [in] */ COMPOSITIONFORM *pCompForm);
  2110. void __RPC_STUB IActiveIMMApp_SetCompositionWindow_Stub(
  2111. IRpcStubBuffer *This,
  2112. IRpcChannelBuffer *_pRpcChannelBuffer,
  2113. PRPC_MESSAGE _pRpcMessage,
  2114. DWORD *_pdwStubPhase);
  2115. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetConversionStatus_Proxy(
  2116. IActiveIMMApp * This,
  2117. /* [in] */ HIMC hIMC,
  2118. /* [in] */ DWORD fdwConversion,
  2119. /* [in] */ DWORD fdwSentence);
  2120. void __RPC_STUB IActiveIMMApp_SetConversionStatus_Stub(
  2121. IRpcStubBuffer *This,
  2122. IRpcChannelBuffer *_pRpcChannelBuffer,
  2123. PRPC_MESSAGE _pRpcMessage,
  2124. DWORD *_pdwStubPhase);
  2125. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetOpenStatus_Proxy(
  2126. IActiveIMMApp * This,
  2127. /* [in] */ HIMC hIMC,
  2128. /* [in] */ BOOL fOpen);
  2129. void __RPC_STUB IActiveIMMApp_SetOpenStatus_Stub(
  2130. IRpcStubBuffer *This,
  2131. IRpcChannelBuffer *_pRpcChannelBuffer,
  2132. PRPC_MESSAGE _pRpcMessage,
  2133. DWORD *_pdwStubPhase);
  2134. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetStatusWindowPos_Proxy(
  2135. IActiveIMMApp * This,
  2136. /* [in] */ HIMC hIMC,
  2137. /* [in] */ POINT *pptPos);
  2138. void __RPC_STUB IActiveIMMApp_SetStatusWindowPos_Stub(
  2139. IRpcStubBuffer *This,
  2140. IRpcChannelBuffer *_pRpcChannelBuffer,
  2141. PRPC_MESSAGE _pRpcMessage,
  2142. DWORD *_pdwStubPhase);
  2143. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SimulateHotKey_Proxy(
  2144. IActiveIMMApp * This,
  2145. /* [in] */ HWND hWnd,
  2146. /* [in] */ DWORD dwHotKeyID);
  2147. void __RPC_STUB IActiveIMMApp_SimulateHotKey_Stub(
  2148. IRpcStubBuffer *This,
  2149. IRpcChannelBuffer *_pRpcChannelBuffer,
  2150. PRPC_MESSAGE _pRpcMessage,
  2151. DWORD *_pdwStubPhase);
  2152. HRESULT STDMETHODCALLTYPE IActiveIMMApp_UnregisterWordA_Proxy(
  2153. IActiveIMMApp * This,
  2154. /* [in] */ HKL hKL,
  2155. /* [in] */ LPSTR szReading,
  2156. /* [in] */ DWORD dwStyle,
  2157. /* [in] */ LPSTR szUnregister);
  2158. void __RPC_STUB IActiveIMMApp_UnregisterWordA_Stub(
  2159. IRpcStubBuffer *This,
  2160. IRpcChannelBuffer *_pRpcChannelBuffer,
  2161. PRPC_MESSAGE _pRpcMessage,
  2162. DWORD *_pdwStubPhase);
  2163. HRESULT STDMETHODCALLTYPE IActiveIMMApp_UnregisterWordW_Proxy(
  2164. IActiveIMMApp * This,
  2165. /* [in] */ HKL hKL,
  2166. /* [in] */ LPWSTR szReading,
  2167. /* [in] */ DWORD dwStyle,
  2168. /* [in] */ LPWSTR szUnregister);
  2169. void __RPC_STUB IActiveIMMApp_UnregisterWordW_Stub(
  2170. IRpcStubBuffer *This,
  2171. IRpcChannelBuffer *_pRpcChannelBuffer,
  2172. PRPC_MESSAGE _pRpcMessage,
  2173. DWORD *_pdwStubPhase);
  2174. HRESULT STDMETHODCALLTYPE IActiveIMMApp_Activate_Proxy(
  2175. IActiveIMMApp * This,
  2176. /* [in] */ BOOL fRestoreLayout);
  2177. void __RPC_STUB IActiveIMMApp_Activate_Stub(
  2178. IRpcStubBuffer *This,
  2179. IRpcChannelBuffer *_pRpcChannelBuffer,
  2180. PRPC_MESSAGE _pRpcMessage,
  2181. DWORD *_pdwStubPhase);
  2182. HRESULT STDMETHODCALLTYPE IActiveIMMApp_Deactivate_Proxy(
  2183. IActiveIMMApp * This);
  2184. void __RPC_STUB IActiveIMMApp_Deactivate_Stub(
  2185. IRpcStubBuffer *This,
  2186. IRpcChannelBuffer *_pRpcChannelBuffer,
  2187. PRPC_MESSAGE _pRpcMessage,
  2188. DWORD *_pdwStubPhase);
  2189. HRESULT STDMETHODCALLTYPE IActiveIMMApp_OnDefWindowProc_Proxy(
  2190. IActiveIMMApp * This,
  2191. /* [in] */ HWND hWnd,
  2192. /* [in] */ UINT Msg,
  2193. /* [in] */ WPARAM wParam,
  2194. /* [in] */ LPARAM lParam,
  2195. /* [out] */ LRESULT *plResult);
  2196. void __RPC_STUB IActiveIMMApp_OnDefWindowProc_Stub(
  2197. IRpcStubBuffer *This,
  2198. IRpcChannelBuffer *_pRpcChannelBuffer,
  2199. PRPC_MESSAGE _pRpcMessage,
  2200. DWORD *_pdwStubPhase);
  2201. HRESULT STDMETHODCALLTYPE IActiveIMMApp_FilterClientWindows_Proxy(
  2202. IActiveIMMApp * This,
  2203. /* [in] */ ATOM *aaClassList,
  2204. /* [in] */ UINT uSize);
  2205. void __RPC_STUB IActiveIMMApp_FilterClientWindows_Stub(
  2206. IRpcStubBuffer *This,
  2207. IRpcChannelBuffer *_pRpcChannelBuffer,
  2208. PRPC_MESSAGE _pRpcMessage,
  2209. DWORD *_pdwStubPhase);
  2210. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCodePageA_Proxy(
  2211. IActiveIMMApp * This,
  2212. /* [in] */ HKL hKL,
  2213. /* [out] */ UINT *uCodePage);
  2214. void __RPC_STUB IActiveIMMApp_GetCodePageA_Stub(
  2215. IRpcStubBuffer *This,
  2216. IRpcChannelBuffer *_pRpcChannelBuffer,
  2217. PRPC_MESSAGE _pRpcMessage,
  2218. DWORD *_pdwStubPhase);
  2219. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetLangId_Proxy(
  2220. IActiveIMMApp * This,
  2221. /* [in] */ HKL hKL,
  2222. /* [out] */ LANGID *plid);
  2223. void __RPC_STUB IActiveIMMApp_GetLangId_Stub(
  2224. IRpcStubBuffer *This,
  2225. IRpcChannelBuffer *_pRpcChannelBuffer,
  2226. PRPC_MESSAGE _pRpcMessage,
  2227. DWORD *_pdwStubPhase);
  2228. HRESULT STDMETHODCALLTYPE IActiveIMMApp_AssociateContextEx_Proxy(
  2229. IActiveIMMApp * This,
  2230. /* [in] */ HWND hWnd,
  2231. /* [in] */ HIMC hIMC,
  2232. /* [in] */ DWORD dwFlags);
  2233. void __RPC_STUB IActiveIMMApp_AssociateContextEx_Stub(
  2234. IRpcStubBuffer *This,
  2235. IRpcChannelBuffer *_pRpcChannelBuffer,
  2236. PRPC_MESSAGE _pRpcMessage,
  2237. DWORD *_pdwStubPhase);
  2238. HRESULT STDMETHODCALLTYPE IActiveIMMApp_DisableIME_Proxy(
  2239. IActiveIMMApp * This,
  2240. /* [in] */ DWORD idThread);
  2241. void __RPC_STUB IActiveIMMApp_DisableIME_Stub(
  2242. IRpcStubBuffer *This,
  2243. IRpcChannelBuffer *_pRpcChannelBuffer,
  2244. PRPC_MESSAGE _pRpcMessage,
  2245. DWORD *_pdwStubPhase);
  2246. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetImeMenuItemsA_Proxy(
  2247. IActiveIMMApp * This,
  2248. /* [in] */ HIMC hIMC,
  2249. /* [in] */ DWORD dwFlags,
  2250. /* [in] */ DWORD dwType,
  2251. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  2252. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  2253. /* [in] */ DWORD dwSize,
  2254. /* [out] */ DWORD *pdwResult);
  2255. void __RPC_STUB IActiveIMMApp_GetImeMenuItemsA_Stub(
  2256. IRpcStubBuffer *This,
  2257. IRpcChannelBuffer *_pRpcChannelBuffer,
  2258. PRPC_MESSAGE _pRpcMessage,
  2259. DWORD *_pdwStubPhase);
  2260. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetImeMenuItemsW_Proxy(
  2261. IActiveIMMApp * This,
  2262. /* [in] */ HIMC hIMC,
  2263. /* [in] */ DWORD dwFlags,
  2264. /* [in] */ DWORD dwType,
  2265. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  2266. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  2267. /* [in] */ DWORD dwSize,
  2268. /* [out] */ DWORD *pdwResult);
  2269. void __RPC_STUB IActiveIMMApp_GetImeMenuItemsW_Stub(
  2270. IRpcStubBuffer *This,
  2271. IRpcChannelBuffer *_pRpcChannelBuffer,
  2272. PRPC_MESSAGE _pRpcMessage,
  2273. DWORD *_pdwStubPhase);
  2274. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumInputContext_Proxy(
  2275. IActiveIMMApp * This,
  2276. /* [in] */ DWORD idThread,
  2277. /* [out] */ IEnumInputContext **ppEnum);
  2278. void __RPC_STUB IActiveIMMApp_EnumInputContext_Stub(
  2279. IRpcStubBuffer *This,
  2280. IRpcChannelBuffer *_pRpcChannelBuffer,
  2281. PRPC_MESSAGE _pRpcMessage,
  2282. DWORD *_pdwStubPhase);
  2283. #endif /* __IActiveIMMApp_INTERFACE_DEFINED__ */
  2284. #ifndef __IActiveIMMIME_INTERFACE_DEFINED__
  2285. #define __IActiveIMMIME_INTERFACE_DEFINED__
  2286. /* interface IActiveIMMIME */
  2287. /* [unique][uuid][object] */
  2288. EXTERN_C const IID IID_IActiveIMMIME;
  2289. #if defined(__cplusplus) && !defined(CINTERFACE)
  2290. MIDL_INTERFACE("08C03411-F96B-11d0-A475-00AA006BCC59")
  2291. IActiveIMMIME : public IUnknown
  2292. {
  2293. public:
  2294. virtual HRESULT STDMETHODCALLTYPE AssociateContext(
  2295. /* [in] */ HWND hWnd,
  2296. /* [in] */ HIMC hIME,
  2297. /* [out] */ HIMC *phPrev) = 0;
  2298. virtual HRESULT STDMETHODCALLTYPE ConfigureIMEA(
  2299. /* [in] */ HKL hKL,
  2300. /* [in] */ HWND hWnd,
  2301. /* [in] */ DWORD dwMode,
  2302. /* [in] */ REGISTERWORDA *pData) = 0;
  2303. virtual HRESULT STDMETHODCALLTYPE ConfigureIMEW(
  2304. /* [in] */ HKL hKL,
  2305. /* [in] */ HWND hWnd,
  2306. /* [in] */ DWORD dwMode,
  2307. /* [in] */ REGISTERWORDW *pData) = 0;
  2308. virtual HRESULT STDMETHODCALLTYPE CreateContext(
  2309. /* [out] */ HIMC *phIMC) = 0;
  2310. virtual HRESULT STDMETHODCALLTYPE DestroyContext(
  2311. /* [in] */ HIMC hIME) = 0;
  2312. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordA(
  2313. /* [in] */ HKL hKL,
  2314. /* [in] */ LPSTR szReading,
  2315. /* [in] */ DWORD dwStyle,
  2316. /* [in] */ LPSTR szRegister,
  2317. /* [in] */ LPVOID pData,
  2318. /* [out] */ IEnumRegisterWordA **pEnum) = 0;
  2319. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordW(
  2320. /* [in] */ HKL hKL,
  2321. /* [in] */ LPWSTR szReading,
  2322. /* [in] */ DWORD dwStyle,
  2323. /* [in] */ LPWSTR szRegister,
  2324. /* [in] */ LPVOID pData,
  2325. /* [out] */ IEnumRegisterWordW **pEnum) = 0;
  2326. virtual HRESULT STDMETHODCALLTYPE EscapeA(
  2327. /* [in] */ HKL hKL,
  2328. /* [in] */ HIMC hIMC,
  2329. /* [in] */ UINT uEscape,
  2330. /* [out][in] */ LPVOID pData,
  2331. /* [out] */ LRESULT *plResult) = 0;
  2332. virtual HRESULT STDMETHODCALLTYPE EscapeW(
  2333. /* [in] */ HKL hKL,
  2334. /* [in] */ HIMC hIMC,
  2335. /* [in] */ UINT uEscape,
  2336. /* [out][in] */ LPVOID pData,
  2337. /* [out] */ LRESULT *plResult) = 0;
  2338. virtual HRESULT STDMETHODCALLTYPE GetCandidateListA(
  2339. /* [in] */ HIMC hIMC,
  2340. /* [in] */ DWORD dwIndex,
  2341. /* [in] */ UINT uBufLen,
  2342. /* [out] */ CANDIDATELIST *pCandList,
  2343. /* [out] */ UINT *puCopied) = 0;
  2344. virtual HRESULT STDMETHODCALLTYPE GetCandidateListW(
  2345. /* [in] */ HIMC hIMC,
  2346. /* [in] */ DWORD dwIndex,
  2347. /* [in] */ UINT uBufLen,
  2348. /* [out] */ CANDIDATELIST *pCandList,
  2349. /* [out] */ UINT *puCopied) = 0;
  2350. virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountA(
  2351. /* [in] */ HIMC hIMC,
  2352. /* [out] */ DWORD *pdwListSize,
  2353. /* [out] */ DWORD *pdwBufLen) = 0;
  2354. virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountW(
  2355. /* [in] */ HIMC hIMC,
  2356. /* [out] */ DWORD *pdwListSize,
  2357. /* [out] */ DWORD *pdwBufLen) = 0;
  2358. virtual HRESULT STDMETHODCALLTYPE GetCandidateWindow(
  2359. /* [in] */ HIMC hIMC,
  2360. /* [in] */ DWORD dwIndex,
  2361. /* [out] */ CANDIDATEFORM *pCandidate) = 0;
  2362. virtual HRESULT STDMETHODCALLTYPE GetCompositionFontA(
  2363. /* [in] */ HIMC hIMC,
  2364. /* [out] */ LOGFONTA *plf) = 0;
  2365. virtual HRESULT STDMETHODCALLTYPE GetCompositionFontW(
  2366. /* [in] */ HIMC hIMC,
  2367. /* [out] */ LOGFONTW *plf) = 0;
  2368. virtual HRESULT STDMETHODCALLTYPE GetCompositionStringA(
  2369. /* [in] */ HIMC hIMC,
  2370. /* [in] */ DWORD dwIndex,
  2371. /* [in] */ DWORD dwBufLen,
  2372. /* [out] */ LONG *plCopied,
  2373. /* [out] */ LPVOID pBuf) = 0;
  2374. virtual HRESULT STDMETHODCALLTYPE GetCompositionStringW(
  2375. /* [in] */ HIMC hIMC,
  2376. /* [in] */ DWORD dwIndex,
  2377. /* [in] */ DWORD dwBufLen,
  2378. /* [out] */ LONG *plCopied,
  2379. /* [out] */ LPVOID pBuf) = 0;
  2380. virtual HRESULT STDMETHODCALLTYPE GetCompositionWindow(
  2381. /* [in] */ HIMC hIMC,
  2382. /* [out] */ COMPOSITIONFORM *pCompForm) = 0;
  2383. virtual HRESULT STDMETHODCALLTYPE GetContext(
  2384. /* [in] */ HWND hWnd,
  2385. /* [out] */ HIMC *phIMC) = 0;
  2386. virtual HRESULT STDMETHODCALLTYPE GetConversionListA(
  2387. /* [in] */ HKL hKL,
  2388. /* [in] */ HIMC hIMC,
  2389. /* [in] */ LPSTR pSrc,
  2390. /* [in] */ UINT uBufLen,
  2391. /* [in] */ UINT uFlag,
  2392. /* [out] */ CANDIDATELIST *pDst,
  2393. /* [out] */ UINT *puCopied) = 0;
  2394. virtual HRESULT STDMETHODCALLTYPE GetConversionListW(
  2395. /* [in] */ HKL hKL,
  2396. /* [in] */ HIMC hIMC,
  2397. /* [in] */ LPWSTR pSrc,
  2398. /* [in] */ UINT uBufLen,
  2399. /* [in] */ UINT uFlag,
  2400. /* [out] */ CANDIDATELIST *pDst,
  2401. /* [out] */ UINT *puCopied) = 0;
  2402. virtual HRESULT STDMETHODCALLTYPE GetConversionStatus(
  2403. /* [in] */ HIMC hIMC,
  2404. /* [out] */ DWORD *pfdwConversion,
  2405. /* [out] */ DWORD *pfdwSentence) = 0;
  2406. virtual HRESULT STDMETHODCALLTYPE GetDefaultIMEWnd(
  2407. /* [in] */ HWND hWnd,
  2408. /* [out] */ HWND *phDefWnd) = 0;
  2409. virtual HRESULT STDMETHODCALLTYPE GetDescriptionA(
  2410. /* [in] */ HKL hKL,
  2411. /* [in] */ UINT uBufLen,
  2412. /* [out] */ LPSTR szDescription,
  2413. /* [out] */ UINT *puCopied) = 0;
  2414. virtual HRESULT STDMETHODCALLTYPE GetDescriptionW(
  2415. /* [in] */ HKL hKL,
  2416. /* [in] */ UINT uBufLen,
  2417. /* [out] */ LPWSTR szDescription,
  2418. /* [out] */ UINT *puCopied) = 0;
  2419. virtual HRESULT STDMETHODCALLTYPE GetGuideLineA(
  2420. /* [in] */ HIMC hIMC,
  2421. /* [in] */ DWORD dwIndex,
  2422. /* [in] */ DWORD dwBufLen,
  2423. /* [out] */ LPSTR pBuf,
  2424. /* [out] */ DWORD *pdwResult) = 0;
  2425. virtual HRESULT STDMETHODCALLTYPE GetGuideLineW(
  2426. /* [in] */ HIMC hIMC,
  2427. /* [in] */ DWORD dwIndex,
  2428. /* [in] */ DWORD dwBufLen,
  2429. /* [out] */ LPWSTR pBuf,
  2430. /* [out] */ DWORD *pdwResult) = 0;
  2431. virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameA(
  2432. /* [in] */ HKL hKL,
  2433. /* [in] */ UINT uBufLen,
  2434. /* [out] */ LPSTR szFileName,
  2435. /* [out] */ UINT *puCopied) = 0;
  2436. virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameW(
  2437. /* [in] */ HKL hKL,
  2438. /* [in] */ UINT uBufLen,
  2439. /* [out] */ LPWSTR szFileName,
  2440. /* [out] */ UINT *puCopied) = 0;
  2441. virtual HRESULT STDMETHODCALLTYPE GetOpenStatus(
  2442. /* [in] */ HIMC hIMC) = 0;
  2443. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  2444. /* [in] */ HKL hKL,
  2445. /* [in] */ DWORD fdwIndex,
  2446. /* [out] */ DWORD *pdwProperty) = 0;
  2447. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleA(
  2448. /* [in] */ HKL hKL,
  2449. /* [in] */ UINT nItem,
  2450. /* [out] */ STYLEBUFA *pStyleBuf,
  2451. /* [out] */ UINT *puCopied) = 0;
  2452. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleW(
  2453. /* [in] */ HKL hKL,
  2454. /* [in] */ UINT nItem,
  2455. /* [out] */ STYLEBUFW *pStyleBuf,
  2456. /* [out] */ UINT *puCopied) = 0;
  2457. virtual HRESULT STDMETHODCALLTYPE GetStatusWindowPos(
  2458. /* [in] */ HIMC hIMC,
  2459. /* [out] */ POINT *pptPos) = 0;
  2460. virtual HRESULT STDMETHODCALLTYPE GetVirtualKey(
  2461. /* [in] */ HWND hWnd,
  2462. /* [out] */ UINT *puVirtualKey) = 0;
  2463. virtual HRESULT STDMETHODCALLTYPE InstallIMEA(
  2464. /* [in] */ LPSTR szIMEFileName,
  2465. /* [in] */ LPSTR szLayoutText,
  2466. /* [out] */ HKL *phKL) = 0;
  2467. virtual HRESULT STDMETHODCALLTYPE InstallIMEW(
  2468. /* [in] */ LPWSTR szIMEFileName,
  2469. /* [in] */ LPWSTR szLayoutText,
  2470. /* [out] */ HKL *phKL) = 0;
  2471. virtual HRESULT STDMETHODCALLTYPE IsIME(
  2472. /* [in] */ HKL hKL) = 0;
  2473. virtual HRESULT STDMETHODCALLTYPE IsUIMessageA(
  2474. /* [in] */ HWND hWndIME,
  2475. /* [in] */ UINT msg,
  2476. /* [in] */ WPARAM wParam,
  2477. /* [in] */ LPARAM lParam) = 0;
  2478. virtual HRESULT STDMETHODCALLTYPE IsUIMessageW(
  2479. /* [in] */ HWND hWndIME,
  2480. /* [in] */ UINT msg,
  2481. /* [in] */ WPARAM wParam,
  2482. /* [in] */ LPARAM lParam) = 0;
  2483. virtual HRESULT STDMETHODCALLTYPE NotifyIME(
  2484. /* [in] */ HIMC hIMC,
  2485. /* [in] */ DWORD dwAction,
  2486. /* [in] */ DWORD dwIndex,
  2487. /* [in] */ DWORD dwValue) = 0;
  2488. virtual HRESULT STDMETHODCALLTYPE RegisterWordA(
  2489. /* [in] */ HKL hKL,
  2490. /* [in] */ LPSTR szReading,
  2491. /* [in] */ DWORD dwStyle,
  2492. /* [in] */ LPSTR szRegister) = 0;
  2493. virtual HRESULT STDMETHODCALLTYPE RegisterWordW(
  2494. /* [in] */ HKL hKL,
  2495. /* [in] */ LPWSTR szReading,
  2496. /* [in] */ DWORD dwStyle,
  2497. /* [in] */ LPWSTR szRegister) = 0;
  2498. virtual HRESULT STDMETHODCALLTYPE ReleaseContext(
  2499. /* [in] */ HWND hWnd,
  2500. /* [in] */ HIMC hIMC) = 0;
  2501. virtual HRESULT STDMETHODCALLTYPE SetCandidateWindow(
  2502. /* [in] */ HIMC hIMC,
  2503. /* [in] */ CANDIDATEFORM *pCandidate) = 0;
  2504. virtual HRESULT STDMETHODCALLTYPE SetCompositionFontA(
  2505. /* [in] */ HIMC hIMC,
  2506. /* [in] */ LOGFONTA *plf) = 0;
  2507. virtual HRESULT STDMETHODCALLTYPE SetCompositionFontW(
  2508. /* [in] */ HIMC hIMC,
  2509. /* [in] */ LOGFONTW *plf) = 0;
  2510. virtual HRESULT STDMETHODCALLTYPE SetCompositionStringA(
  2511. /* [in] */ HIMC hIMC,
  2512. /* [in] */ DWORD dwIndex,
  2513. /* [in] */ LPVOID pComp,
  2514. /* [in] */ DWORD dwCompLen,
  2515. /* [in] */ LPVOID pRead,
  2516. /* [in] */ DWORD dwReadLen) = 0;
  2517. virtual HRESULT STDMETHODCALLTYPE SetCompositionStringW(
  2518. /* [in] */ HIMC hIMC,
  2519. /* [in] */ DWORD dwIndex,
  2520. /* [in] */ LPVOID pComp,
  2521. /* [in] */ DWORD dwCompLen,
  2522. /* [in] */ LPVOID pRead,
  2523. /* [in] */ DWORD dwReadLen) = 0;
  2524. virtual HRESULT STDMETHODCALLTYPE SetCompositionWindow(
  2525. /* [in] */ HIMC hIMC,
  2526. /* [in] */ COMPOSITIONFORM *pCompForm) = 0;
  2527. virtual HRESULT STDMETHODCALLTYPE SetConversionStatus(
  2528. /* [in] */ HIMC hIMC,
  2529. /* [in] */ DWORD fdwConversion,
  2530. /* [in] */ DWORD fdwSentence) = 0;
  2531. virtual HRESULT STDMETHODCALLTYPE SetOpenStatus(
  2532. /* [in] */ HIMC hIMC,
  2533. /* [in] */ BOOL fOpen) = 0;
  2534. virtual HRESULT STDMETHODCALLTYPE SetStatusWindowPos(
  2535. /* [in] */ HIMC hIMC,
  2536. /* [in] */ POINT *pptPos) = 0;
  2537. virtual HRESULT STDMETHODCALLTYPE SimulateHotKey(
  2538. /* [in] */ HWND hWnd,
  2539. /* [in] */ DWORD dwHotKeyID) = 0;
  2540. virtual HRESULT STDMETHODCALLTYPE UnregisterWordA(
  2541. /* [in] */ HKL hKL,
  2542. /* [in] */ LPSTR szReading,
  2543. /* [in] */ DWORD dwStyle,
  2544. /* [in] */ LPSTR szUnregister) = 0;
  2545. virtual HRESULT STDMETHODCALLTYPE UnregisterWordW(
  2546. /* [in] */ HKL hKL,
  2547. /* [in] */ LPWSTR szReading,
  2548. /* [in] */ DWORD dwStyle,
  2549. /* [in] */ LPWSTR szUnregister) = 0;
  2550. virtual HRESULT STDMETHODCALLTYPE GenerateMessage(
  2551. /* [in] */ HIMC hIMC) = 0;
  2552. virtual HRESULT STDMETHODCALLTYPE LockIMC(
  2553. /* [in] */ HIMC hIMC,
  2554. /* [out] */ INPUTCONTEXT **ppIMC) = 0;
  2555. virtual HRESULT STDMETHODCALLTYPE UnlockIMC(
  2556. /* [in] */ HIMC hIMC) = 0;
  2557. virtual HRESULT STDMETHODCALLTYPE GetIMCLockCount(
  2558. /* [in] */ HIMC hIMC,
  2559. /* [out] */ DWORD *pdwLockCount) = 0;
  2560. virtual HRESULT STDMETHODCALLTYPE CreateIMCC(
  2561. /* [in] */ DWORD dwSize,
  2562. /* [out] */ HIMCC *phIMCC) = 0;
  2563. virtual HRESULT STDMETHODCALLTYPE DestroyIMCC(
  2564. /* [in] */ HIMCC hIMCC) = 0;
  2565. virtual HRESULT STDMETHODCALLTYPE LockIMCC(
  2566. /* [in] */ HIMCC hIMCC,
  2567. /* [out] */ void **ppv) = 0;
  2568. virtual HRESULT STDMETHODCALLTYPE UnlockIMCC(
  2569. /* [in] */ HIMCC hIMCC) = 0;
  2570. virtual HRESULT STDMETHODCALLTYPE ReSizeIMCC(
  2571. /* [in] */ HIMCC hIMCC,
  2572. /* [in] */ DWORD dwSize,
  2573. /* [out] */ HIMCC *phIMCC) = 0;
  2574. virtual HRESULT STDMETHODCALLTYPE GetIMCCSize(
  2575. /* [in] */ HIMCC hIMCC,
  2576. /* [out] */ DWORD *pdwSize) = 0;
  2577. virtual HRESULT STDMETHODCALLTYPE GetIMCCLockCount(
  2578. /* [in] */ HIMCC hIMCC,
  2579. /* [out] */ DWORD *pdwLockCount) = 0;
  2580. virtual HRESULT STDMETHODCALLTYPE GetHotKey(
  2581. /* [in] */ DWORD dwHotKeyID,
  2582. /* [out] */ UINT *puModifiers,
  2583. /* [out] */ UINT *puVKey,
  2584. /* [out] */ HKL *phKL) = 0;
  2585. virtual HRESULT STDMETHODCALLTYPE SetHotKey(
  2586. /* [in] */ DWORD dwHotKeyID,
  2587. /* [in] */ UINT uModifiers,
  2588. /* [in] */ UINT uVKey,
  2589. /* [in] */ HKL hKL) = 0;
  2590. virtual HRESULT STDMETHODCALLTYPE CreateSoftKeyboard(
  2591. /* [in] */ UINT uType,
  2592. /* [in] */ HWND hOwner,
  2593. /* [in] */ int x,
  2594. /* [in] */ int y,
  2595. /* [out] */ HWND *phSoftKbdWnd) = 0;
  2596. virtual HRESULT STDMETHODCALLTYPE DestroySoftKeyboard(
  2597. /* [in] */ HWND hSoftKbdWnd) = 0;
  2598. virtual HRESULT STDMETHODCALLTYPE ShowSoftKeyboard(
  2599. /* [in] */ HWND hSoftKbdWnd,
  2600. /* [in] */ int nCmdShow) = 0;
  2601. virtual HRESULT STDMETHODCALLTYPE GetCodePageA(
  2602. /* [in] */ HKL hKL,
  2603. /* [out] */ UINT *uCodePage) = 0;
  2604. virtual HRESULT STDMETHODCALLTYPE GetLangId(
  2605. /* [in] */ HKL hKL,
  2606. /* [out] */ LANGID *plid) = 0;
  2607. virtual HRESULT STDMETHODCALLTYPE KeybdEvent(
  2608. /* [in] */ LANGID lgidIME,
  2609. /* [in] */ BYTE bVk,
  2610. /* [in] */ BYTE bScan,
  2611. /* [in] */ DWORD dwFlags,
  2612. /* [in] */ DWORD dwExtraInfo) = 0;
  2613. virtual HRESULT STDMETHODCALLTYPE LockModal( void) = 0;
  2614. virtual HRESULT STDMETHODCALLTYPE UnlockModal( void) = 0;
  2615. virtual HRESULT STDMETHODCALLTYPE AssociateContextEx(
  2616. /* [in] */ HWND hWnd,
  2617. /* [in] */ HIMC hIMC,
  2618. /* [in] */ DWORD dwFlags) = 0;
  2619. virtual HRESULT STDMETHODCALLTYPE DisableIME(
  2620. /* [in] */ DWORD idThread) = 0;
  2621. virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsA(
  2622. /* [in] */ HIMC hIMC,
  2623. /* [in] */ DWORD dwFlags,
  2624. /* [in] */ DWORD dwType,
  2625. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  2626. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  2627. /* [in] */ DWORD dwSize,
  2628. /* [out] */ DWORD *pdwResult) = 0;
  2629. virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsW(
  2630. /* [in] */ HIMC hIMC,
  2631. /* [in] */ DWORD dwFlags,
  2632. /* [in] */ DWORD dwType,
  2633. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  2634. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  2635. /* [in] */ DWORD dwSize,
  2636. /* [out] */ DWORD *pdwResult) = 0;
  2637. virtual HRESULT STDMETHODCALLTYPE EnumInputContext(
  2638. /* [in] */ DWORD idThread,
  2639. /* [out] */ IEnumInputContext **ppEnum) = 0;
  2640. virtual HRESULT STDMETHODCALLTYPE RequestMessageA(
  2641. /* [in] */ HIMC hIMC,
  2642. /* [in] */ WPARAM wParam,
  2643. /* [in] */ LPARAM lParam,
  2644. /* [out] */ LRESULT *plResult) = 0;
  2645. virtual HRESULT STDMETHODCALLTYPE RequestMessageW(
  2646. /* [in] */ HIMC hIMC,
  2647. /* [in] */ WPARAM wParam,
  2648. /* [in] */ LPARAM lParam,
  2649. /* [out] */ LRESULT *plResult) = 0;
  2650. virtual HRESULT STDMETHODCALLTYPE SendIMCA(
  2651. /* [in] */ HWND hWnd,
  2652. /* [in] */ UINT uMsg,
  2653. /* [in] */ WPARAM wParam,
  2654. /* [in] */ LPARAM lParam,
  2655. /* [out] */ LRESULT *plResult) = 0;
  2656. virtual HRESULT STDMETHODCALLTYPE SendIMCW(
  2657. /* [in] */ HWND hWnd,
  2658. /* [in] */ UINT uMsg,
  2659. /* [in] */ WPARAM wParam,
  2660. /* [in] */ LPARAM lParam,
  2661. /* [out] */ LRESULT *plResult) = 0;
  2662. virtual HRESULT STDMETHODCALLTYPE IsSleeping( void) = 0;
  2663. };
  2664. #else /* C style interface */
  2665. typedef struct IActiveIMMIMEVtbl
  2666. {
  2667. BEGIN_INTERFACE
  2668. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2669. IActiveIMMIME * This,
  2670. /* [in] */ REFIID riid,
  2671. /* [iid_is][out] */ void **ppvObject);
  2672. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2673. IActiveIMMIME * This);
  2674. ULONG ( STDMETHODCALLTYPE *Release )(
  2675. IActiveIMMIME * This);
  2676. HRESULT ( STDMETHODCALLTYPE *AssociateContext )(
  2677. IActiveIMMIME * This,
  2678. /* [in] */ HWND hWnd,
  2679. /* [in] */ HIMC hIME,
  2680. /* [out] */ HIMC *phPrev);
  2681. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEA )(
  2682. IActiveIMMIME * This,
  2683. /* [in] */ HKL hKL,
  2684. /* [in] */ HWND hWnd,
  2685. /* [in] */ DWORD dwMode,
  2686. /* [in] */ REGISTERWORDA *pData);
  2687. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEW )(
  2688. IActiveIMMIME * This,
  2689. /* [in] */ HKL hKL,
  2690. /* [in] */ HWND hWnd,
  2691. /* [in] */ DWORD dwMode,
  2692. /* [in] */ REGISTERWORDW *pData);
  2693. HRESULT ( STDMETHODCALLTYPE *CreateContext )(
  2694. IActiveIMMIME * This,
  2695. /* [out] */ HIMC *phIMC);
  2696. HRESULT ( STDMETHODCALLTYPE *DestroyContext )(
  2697. IActiveIMMIME * This,
  2698. /* [in] */ HIMC hIME);
  2699. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordA )(
  2700. IActiveIMMIME * This,
  2701. /* [in] */ HKL hKL,
  2702. /* [in] */ LPSTR szReading,
  2703. /* [in] */ DWORD dwStyle,
  2704. /* [in] */ LPSTR szRegister,
  2705. /* [in] */ LPVOID pData,
  2706. /* [out] */ IEnumRegisterWordA **pEnum);
  2707. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordW )(
  2708. IActiveIMMIME * This,
  2709. /* [in] */ HKL hKL,
  2710. /* [in] */ LPWSTR szReading,
  2711. /* [in] */ DWORD dwStyle,
  2712. /* [in] */ LPWSTR szRegister,
  2713. /* [in] */ LPVOID pData,
  2714. /* [out] */ IEnumRegisterWordW **pEnum);
  2715. HRESULT ( STDMETHODCALLTYPE *EscapeA )(
  2716. IActiveIMMIME * This,
  2717. /* [in] */ HKL hKL,
  2718. /* [in] */ HIMC hIMC,
  2719. /* [in] */ UINT uEscape,
  2720. /* [out][in] */ LPVOID pData,
  2721. /* [out] */ LRESULT *plResult);
  2722. HRESULT ( STDMETHODCALLTYPE *EscapeW )(
  2723. IActiveIMMIME * This,
  2724. /* [in] */ HKL hKL,
  2725. /* [in] */ HIMC hIMC,
  2726. /* [in] */ UINT uEscape,
  2727. /* [out][in] */ LPVOID pData,
  2728. /* [out] */ LRESULT *plResult);
  2729. HRESULT ( STDMETHODCALLTYPE *GetCandidateListA )(
  2730. IActiveIMMIME * This,
  2731. /* [in] */ HIMC hIMC,
  2732. /* [in] */ DWORD dwIndex,
  2733. /* [in] */ UINT uBufLen,
  2734. /* [out] */ CANDIDATELIST *pCandList,
  2735. /* [out] */ UINT *puCopied);
  2736. HRESULT ( STDMETHODCALLTYPE *GetCandidateListW )(
  2737. IActiveIMMIME * This,
  2738. /* [in] */ HIMC hIMC,
  2739. /* [in] */ DWORD dwIndex,
  2740. /* [in] */ UINT uBufLen,
  2741. /* [out] */ CANDIDATELIST *pCandList,
  2742. /* [out] */ UINT *puCopied);
  2743. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountA )(
  2744. IActiveIMMIME * This,
  2745. /* [in] */ HIMC hIMC,
  2746. /* [out] */ DWORD *pdwListSize,
  2747. /* [out] */ DWORD *pdwBufLen);
  2748. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountW )(
  2749. IActiveIMMIME * This,
  2750. /* [in] */ HIMC hIMC,
  2751. /* [out] */ DWORD *pdwListSize,
  2752. /* [out] */ DWORD *pdwBufLen);
  2753. HRESULT ( STDMETHODCALLTYPE *GetCandidateWindow )(
  2754. IActiveIMMIME * This,
  2755. /* [in] */ HIMC hIMC,
  2756. /* [in] */ DWORD dwIndex,
  2757. /* [out] */ CANDIDATEFORM *pCandidate);
  2758. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontA )(
  2759. IActiveIMMIME * This,
  2760. /* [in] */ HIMC hIMC,
  2761. /* [out] */ LOGFONTA *plf);
  2762. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontW )(
  2763. IActiveIMMIME * This,
  2764. /* [in] */ HIMC hIMC,
  2765. /* [out] */ LOGFONTW *plf);
  2766. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringA )(
  2767. IActiveIMMIME * This,
  2768. /* [in] */ HIMC hIMC,
  2769. /* [in] */ DWORD dwIndex,
  2770. /* [in] */ DWORD dwBufLen,
  2771. /* [out] */ LONG *plCopied,
  2772. /* [out] */ LPVOID pBuf);
  2773. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringW )(
  2774. IActiveIMMIME * This,
  2775. /* [in] */ HIMC hIMC,
  2776. /* [in] */ DWORD dwIndex,
  2777. /* [in] */ DWORD dwBufLen,
  2778. /* [out] */ LONG *plCopied,
  2779. /* [out] */ LPVOID pBuf);
  2780. HRESULT ( STDMETHODCALLTYPE *GetCompositionWindow )(
  2781. IActiveIMMIME * This,
  2782. /* [in] */ HIMC hIMC,
  2783. /* [out] */ COMPOSITIONFORM *pCompForm);
  2784. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  2785. IActiveIMMIME * This,
  2786. /* [in] */ HWND hWnd,
  2787. /* [out] */ HIMC *phIMC);
  2788. HRESULT ( STDMETHODCALLTYPE *GetConversionListA )(
  2789. IActiveIMMIME * This,
  2790. /* [in] */ HKL hKL,
  2791. /* [in] */ HIMC hIMC,
  2792. /* [in] */ LPSTR pSrc,
  2793. /* [in] */ UINT uBufLen,
  2794. /* [in] */ UINT uFlag,
  2795. /* [out] */ CANDIDATELIST *pDst,
  2796. /* [out] */ UINT *puCopied);
  2797. HRESULT ( STDMETHODCALLTYPE *GetConversionListW )(
  2798. IActiveIMMIME * This,
  2799. /* [in] */ HKL hKL,
  2800. /* [in] */ HIMC hIMC,
  2801. /* [in] */ LPWSTR pSrc,
  2802. /* [in] */ UINT uBufLen,
  2803. /* [in] */ UINT uFlag,
  2804. /* [out] */ CANDIDATELIST *pDst,
  2805. /* [out] */ UINT *puCopied);
  2806. HRESULT ( STDMETHODCALLTYPE *GetConversionStatus )(
  2807. IActiveIMMIME * This,
  2808. /* [in] */ HIMC hIMC,
  2809. /* [out] */ DWORD *pfdwConversion,
  2810. /* [out] */ DWORD *pfdwSentence);
  2811. HRESULT ( STDMETHODCALLTYPE *GetDefaultIMEWnd )(
  2812. IActiveIMMIME * This,
  2813. /* [in] */ HWND hWnd,
  2814. /* [out] */ HWND *phDefWnd);
  2815. HRESULT ( STDMETHODCALLTYPE *GetDescriptionA )(
  2816. IActiveIMMIME * This,
  2817. /* [in] */ HKL hKL,
  2818. /* [in] */ UINT uBufLen,
  2819. /* [out] */ LPSTR szDescription,
  2820. /* [out] */ UINT *puCopied);
  2821. HRESULT ( STDMETHODCALLTYPE *GetDescriptionW )(
  2822. IActiveIMMIME * This,
  2823. /* [in] */ HKL hKL,
  2824. /* [in] */ UINT uBufLen,
  2825. /* [out] */ LPWSTR szDescription,
  2826. /* [out] */ UINT *puCopied);
  2827. HRESULT ( STDMETHODCALLTYPE *GetGuideLineA )(
  2828. IActiveIMMIME * This,
  2829. /* [in] */ HIMC hIMC,
  2830. /* [in] */ DWORD dwIndex,
  2831. /* [in] */ DWORD dwBufLen,
  2832. /* [out] */ LPSTR pBuf,
  2833. /* [out] */ DWORD *pdwResult);
  2834. HRESULT ( STDMETHODCALLTYPE *GetGuideLineW )(
  2835. IActiveIMMIME * This,
  2836. /* [in] */ HIMC hIMC,
  2837. /* [in] */ DWORD dwIndex,
  2838. /* [in] */ DWORD dwBufLen,
  2839. /* [out] */ LPWSTR pBuf,
  2840. /* [out] */ DWORD *pdwResult);
  2841. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameA )(
  2842. IActiveIMMIME * This,
  2843. /* [in] */ HKL hKL,
  2844. /* [in] */ UINT uBufLen,
  2845. /* [out] */ LPSTR szFileName,
  2846. /* [out] */ UINT *puCopied);
  2847. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameW )(
  2848. IActiveIMMIME * This,
  2849. /* [in] */ HKL hKL,
  2850. /* [in] */ UINT uBufLen,
  2851. /* [out] */ LPWSTR szFileName,
  2852. /* [out] */ UINT *puCopied);
  2853. HRESULT ( STDMETHODCALLTYPE *GetOpenStatus )(
  2854. IActiveIMMIME * This,
  2855. /* [in] */ HIMC hIMC);
  2856. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  2857. IActiveIMMIME * This,
  2858. /* [in] */ HKL hKL,
  2859. /* [in] */ DWORD fdwIndex,
  2860. /* [out] */ DWORD *pdwProperty);
  2861. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleA )(
  2862. IActiveIMMIME * This,
  2863. /* [in] */ HKL hKL,
  2864. /* [in] */ UINT nItem,
  2865. /* [out] */ STYLEBUFA *pStyleBuf,
  2866. /* [out] */ UINT *puCopied);
  2867. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleW )(
  2868. IActiveIMMIME * This,
  2869. /* [in] */ HKL hKL,
  2870. /* [in] */ UINT nItem,
  2871. /* [out] */ STYLEBUFW *pStyleBuf,
  2872. /* [out] */ UINT *puCopied);
  2873. HRESULT ( STDMETHODCALLTYPE *GetStatusWindowPos )(
  2874. IActiveIMMIME * This,
  2875. /* [in] */ HIMC hIMC,
  2876. /* [out] */ POINT *pptPos);
  2877. HRESULT ( STDMETHODCALLTYPE *GetVirtualKey )(
  2878. IActiveIMMIME * This,
  2879. /* [in] */ HWND hWnd,
  2880. /* [out] */ UINT *puVirtualKey);
  2881. HRESULT ( STDMETHODCALLTYPE *InstallIMEA )(
  2882. IActiveIMMIME * This,
  2883. /* [in] */ LPSTR szIMEFileName,
  2884. /* [in] */ LPSTR szLayoutText,
  2885. /* [out] */ HKL *phKL);
  2886. HRESULT ( STDMETHODCALLTYPE *InstallIMEW )(
  2887. IActiveIMMIME * This,
  2888. /* [in] */ LPWSTR szIMEFileName,
  2889. /* [in] */ LPWSTR szLayoutText,
  2890. /* [out] */ HKL *phKL);
  2891. HRESULT ( STDMETHODCALLTYPE *IsIME )(
  2892. IActiveIMMIME * This,
  2893. /* [in] */ HKL hKL);
  2894. HRESULT ( STDMETHODCALLTYPE *IsUIMessageA )(
  2895. IActiveIMMIME * This,
  2896. /* [in] */ HWND hWndIME,
  2897. /* [in] */ UINT msg,
  2898. /* [in] */ WPARAM wParam,
  2899. /* [in] */ LPARAM lParam);
  2900. HRESULT ( STDMETHODCALLTYPE *IsUIMessageW )(
  2901. IActiveIMMIME * This,
  2902. /* [in] */ HWND hWndIME,
  2903. /* [in] */ UINT msg,
  2904. /* [in] */ WPARAM wParam,
  2905. /* [in] */ LPARAM lParam);
  2906. HRESULT ( STDMETHODCALLTYPE *NotifyIME )(
  2907. IActiveIMMIME * This,
  2908. /* [in] */ HIMC hIMC,
  2909. /* [in] */ DWORD dwAction,
  2910. /* [in] */ DWORD dwIndex,
  2911. /* [in] */ DWORD dwValue);
  2912. HRESULT ( STDMETHODCALLTYPE *RegisterWordA )(
  2913. IActiveIMMIME * This,
  2914. /* [in] */ HKL hKL,
  2915. /* [in] */ LPSTR szReading,
  2916. /* [in] */ DWORD dwStyle,
  2917. /* [in] */ LPSTR szRegister);
  2918. HRESULT ( STDMETHODCALLTYPE *RegisterWordW )(
  2919. IActiveIMMIME * This,
  2920. /* [in] */ HKL hKL,
  2921. /* [in] */ LPWSTR szReading,
  2922. /* [in] */ DWORD dwStyle,
  2923. /* [in] */ LPWSTR szRegister);
  2924. HRESULT ( STDMETHODCALLTYPE *ReleaseContext )(
  2925. IActiveIMMIME * This,
  2926. /* [in] */ HWND hWnd,
  2927. /* [in] */ HIMC hIMC);
  2928. HRESULT ( STDMETHODCALLTYPE *SetCandidateWindow )(
  2929. IActiveIMMIME * This,
  2930. /* [in] */ HIMC hIMC,
  2931. /* [in] */ CANDIDATEFORM *pCandidate);
  2932. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontA )(
  2933. IActiveIMMIME * This,
  2934. /* [in] */ HIMC hIMC,
  2935. /* [in] */ LOGFONTA *plf);
  2936. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontW )(
  2937. IActiveIMMIME * This,
  2938. /* [in] */ HIMC hIMC,
  2939. /* [in] */ LOGFONTW *plf);
  2940. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringA )(
  2941. IActiveIMMIME * This,
  2942. /* [in] */ HIMC hIMC,
  2943. /* [in] */ DWORD dwIndex,
  2944. /* [in] */ LPVOID pComp,
  2945. /* [in] */ DWORD dwCompLen,
  2946. /* [in] */ LPVOID pRead,
  2947. /* [in] */ DWORD dwReadLen);
  2948. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringW )(
  2949. IActiveIMMIME * This,
  2950. /* [in] */ HIMC hIMC,
  2951. /* [in] */ DWORD dwIndex,
  2952. /* [in] */ LPVOID pComp,
  2953. /* [in] */ DWORD dwCompLen,
  2954. /* [in] */ LPVOID pRead,
  2955. /* [in] */ DWORD dwReadLen);
  2956. HRESULT ( STDMETHODCALLTYPE *SetCompositionWindow )(
  2957. IActiveIMMIME * This,
  2958. /* [in] */ HIMC hIMC,
  2959. /* [in] */ COMPOSITIONFORM *pCompForm);
  2960. HRESULT ( STDMETHODCALLTYPE *SetConversionStatus )(
  2961. IActiveIMMIME * This,
  2962. /* [in] */ HIMC hIMC,
  2963. /* [in] */ DWORD fdwConversion,
  2964. /* [in] */ DWORD fdwSentence);
  2965. HRESULT ( STDMETHODCALLTYPE *SetOpenStatus )(
  2966. IActiveIMMIME * This,
  2967. /* [in] */ HIMC hIMC,
  2968. /* [in] */ BOOL fOpen);
  2969. HRESULT ( STDMETHODCALLTYPE *SetStatusWindowPos )(
  2970. IActiveIMMIME * This,
  2971. /* [in] */ HIMC hIMC,
  2972. /* [in] */ POINT *pptPos);
  2973. HRESULT ( STDMETHODCALLTYPE *SimulateHotKey )(
  2974. IActiveIMMIME * This,
  2975. /* [in] */ HWND hWnd,
  2976. /* [in] */ DWORD dwHotKeyID);
  2977. HRESULT ( STDMETHODCALLTYPE *UnregisterWordA )(
  2978. IActiveIMMIME * This,
  2979. /* [in] */ HKL hKL,
  2980. /* [in] */ LPSTR szReading,
  2981. /* [in] */ DWORD dwStyle,
  2982. /* [in] */ LPSTR szUnregister);
  2983. HRESULT ( STDMETHODCALLTYPE *UnregisterWordW )(
  2984. IActiveIMMIME * This,
  2985. /* [in] */ HKL hKL,
  2986. /* [in] */ LPWSTR szReading,
  2987. /* [in] */ DWORD dwStyle,
  2988. /* [in] */ LPWSTR szUnregister);
  2989. HRESULT ( STDMETHODCALLTYPE *GenerateMessage )(
  2990. IActiveIMMIME * This,
  2991. /* [in] */ HIMC hIMC);
  2992. HRESULT ( STDMETHODCALLTYPE *LockIMC )(
  2993. IActiveIMMIME * This,
  2994. /* [in] */ HIMC hIMC,
  2995. /* [out] */ INPUTCONTEXT **ppIMC);
  2996. HRESULT ( STDMETHODCALLTYPE *UnlockIMC )(
  2997. IActiveIMMIME * This,
  2998. /* [in] */ HIMC hIMC);
  2999. HRESULT ( STDMETHODCALLTYPE *GetIMCLockCount )(
  3000. IActiveIMMIME * This,
  3001. /* [in] */ HIMC hIMC,
  3002. /* [out] */ DWORD *pdwLockCount);
  3003. HRESULT ( STDMETHODCALLTYPE *CreateIMCC )(
  3004. IActiveIMMIME * This,
  3005. /* [in] */ DWORD dwSize,
  3006. /* [out] */ HIMCC *phIMCC);
  3007. HRESULT ( STDMETHODCALLTYPE *DestroyIMCC )(
  3008. IActiveIMMIME * This,
  3009. /* [in] */ HIMCC hIMCC);
  3010. HRESULT ( STDMETHODCALLTYPE *LockIMCC )(
  3011. IActiveIMMIME * This,
  3012. /* [in] */ HIMCC hIMCC,
  3013. /* [out] */ void **ppv);
  3014. HRESULT ( STDMETHODCALLTYPE *UnlockIMCC )(
  3015. IActiveIMMIME * This,
  3016. /* [in] */ HIMCC hIMCC);
  3017. HRESULT ( STDMETHODCALLTYPE *ReSizeIMCC )(
  3018. IActiveIMMIME * This,
  3019. /* [in] */ HIMCC hIMCC,
  3020. /* [in] */ DWORD dwSize,
  3021. /* [out] */ HIMCC *phIMCC);
  3022. HRESULT ( STDMETHODCALLTYPE *GetIMCCSize )(
  3023. IActiveIMMIME * This,
  3024. /* [in] */ HIMCC hIMCC,
  3025. /* [out] */ DWORD *pdwSize);
  3026. HRESULT ( STDMETHODCALLTYPE *GetIMCCLockCount )(
  3027. IActiveIMMIME * This,
  3028. /* [in] */ HIMCC hIMCC,
  3029. /* [out] */ DWORD *pdwLockCount);
  3030. HRESULT ( STDMETHODCALLTYPE *GetHotKey )(
  3031. IActiveIMMIME * This,
  3032. /* [in] */ DWORD dwHotKeyID,
  3033. /* [out] */ UINT *puModifiers,
  3034. /* [out] */ UINT *puVKey,
  3035. /* [out] */ HKL *phKL);
  3036. HRESULT ( STDMETHODCALLTYPE *SetHotKey )(
  3037. IActiveIMMIME * This,
  3038. /* [in] */ DWORD dwHotKeyID,
  3039. /* [in] */ UINT uModifiers,
  3040. /* [in] */ UINT uVKey,
  3041. /* [in] */ HKL hKL);
  3042. HRESULT ( STDMETHODCALLTYPE *CreateSoftKeyboard )(
  3043. IActiveIMMIME * This,
  3044. /* [in] */ UINT uType,
  3045. /* [in] */ HWND hOwner,
  3046. /* [in] */ int x,
  3047. /* [in] */ int y,
  3048. /* [out] */ HWND *phSoftKbdWnd);
  3049. HRESULT ( STDMETHODCALLTYPE *DestroySoftKeyboard )(
  3050. IActiveIMMIME * This,
  3051. /* [in] */ HWND hSoftKbdWnd);
  3052. HRESULT ( STDMETHODCALLTYPE *ShowSoftKeyboard )(
  3053. IActiveIMMIME * This,
  3054. /* [in] */ HWND hSoftKbdWnd,
  3055. /* [in] */ int nCmdShow);
  3056. HRESULT ( STDMETHODCALLTYPE *GetCodePageA )(
  3057. IActiveIMMIME * This,
  3058. /* [in] */ HKL hKL,
  3059. /* [out] */ UINT *uCodePage);
  3060. HRESULT ( STDMETHODCALLTYPE *GetLangId )(
  3061. IActiveIMMIME * This,
  3062. /* [in] */ HKL hKL,
  3063. /* [out] */ LANGID *plid);
  3064. HRESULT ( STDMETHODCALLTYPE *KeybdEvent )(
  3065. IActiveIMMIME * This,
  3066. /* [in] */ LANGID lgidIME,
  3067. /* [in] */ BYTE bVk,
  3068. /* [in] */ BYTE bScan,
  3069. /* [in] */ DWORD dwFlags,
  3070. /* [in] */ DWORD dwExtraInfo);
  3071. HRESULT ( STDMETHODCALLTYPE *LockModal )(
  3072. IActiveIMMIME * This);
  3073. HRESULT ( STDMETHODCALLTYPE *UnlockModal )(
  3074. IActiveIMMIME * This);
  3075. HRESULT ( STDMETHODCALLTYPE *AssociateContextEx )(
  3076. IActiveIMMIME * This,
  3077. /* [in] */ HWND hWnd,
  3078. /* [in] */ HIMC hIMC,
  3079. /* [in] */ DWORD dwFlags);
  3080. HRESULT ( STDMETHODCALLTYPE *DisableIME )(
  3081. IActiveIMMIME * This,
  3082. /* [in] */ DWORD idThread);
  3083. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsA )(
  3084. IActiveIMMIME * This,
  3085. /* [in] */ HIMC hIMC,
  3086. /* [in] */ DWORD dwFlags,
  3087. /* [in] */ DWORD dwType,
  3088. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  3089. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  3090. /* [in] */ DWORD dwSize,
  3091. /* [out] */ DWORD *pdwResult);
  3092. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsW )(
  3093. IActiveIMMIME * This,
  3094. /* [in] */ HIMC hIMC,
  3095. /* [in] */ DWORD dwFlags,
  3096. /* [in] */ DWORD dwType,
  3097. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  3098. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  3099. /* [in] */ DWORD dwSize,
  3100. /* [out] */ DWORD *pdwResult);
  3101. HRESULT ( STDMETHODCALLTYPE *EnumInputContext )(
  3102. IActiveIMMIME * This,
  3103. /* [in] */ DWORD idThread,
  3104. /* [out] */ IEnumInputContext **ppEnum);
  3105. HRESULT ( STDMETHODCALLTYPE *RequestMessageA )(
  3106. IActiveIMMIME * This,
  3107. /* [in] */ HIMC hIMC,
  3108. /* [in] */ WPARAM wParam,
  3109. /* [in] */ LPARAM lParam,
  3110. /* [out] */ LRESULT *plResult);
  3111. HRESULT ( STDMETHODCALLTYPE *RequestMessageW )(
  3112. IActiveIMMIME * This,
  3113. /* [in] */ HIMC hIMC,
  3114. /* [in] */ WPARAM wParam,
  3115. /* [in] */ LPARAM lParam,
  3116. /* [out] */ LRESULT *plResult);
  3117. HRESULT ( STDMETHODCALLTYPE *SendIMCA )(
  3118. IActiveIMMIME * This,
  3119. /* [in] */ HWND hWnd,
  3120. /* [in] */ UINT uMsg,
  3121. /* [in] */ WPARAM wParam,
  3122. /* [in] */ LPARAM lParam,
  3123. /* [out] */ LRESULT *plResult);
  3124. HRESULT ( STDMETHODCALLTYPE *SendIMCW )(
  3125. IActiveIMMIME * This,
  3126. /* [in] */ HWND hWnd,
  3127. /* [in] */ UINT uMsg,
  3128. /* [in] */ WPARAM wParam,
  3129. /* [in] */ LPARAM lParam,
  3130. /* [out] */ LRESULT *plResult);
  3131. HRESULT ( STDMETHODCALLTYPE *IsSleeping )(
  3132. IActiveIMMIME * This);
  3133. END_INTERFACE
  3134. } IActiveIMMIMEVtbl;
  3135. interface IActiveIMMIME
  3136. {
  3137. CONST_VTBL struct IActiveIMMIMEVtbl *lpVtbl;
  3138. };
  3139. #ifdef COBJMACROS
  3140. #define IActiveIMMIME_QueryInterface(This,riid,ppvObject) \
  3141. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3142. #define IActiveIMMIME_AddRef(This) \
  3143. (This)->lpVtbl -> AddRef(This)
  3144. #define IActiveIMMIME_Release(This) \
  3145. (This)->lpVtbl -> Release(This)
  3146. #define IActiveIMMIME_AssociateContext(This,hWnd,hIME,phPrev) \
  3147. (This)->lpVtbl -> AssociateContext(This,hWnd,hIME,phPrev)
  3148. #define IActiveIMMIME_ConfigureIMEA(This,hKL,hWnd,dwMode,pData) \
  3149. (This)->lpVtbl -> ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  3150. #define IActiveIMMIME_ConfigureIMEW(This,hKL,hWnd,dwMode,pData) \
  3151. (This)->lpVtbl -> ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  3152. #define IActiveIMMIME_CreateContext(This,phIMC) \
  3153. (This)->lpVtbl -> CreateContext(This,phIMC)
  3154. #define IActiveIMMIME_DestroyContext(This,hIME) \
  3155. (This)->lpVtbl -> DestroyContext(This,hIME)
  3156. #define IActiveIMMIME_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  3157. (This)->lpVtbl -> EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  3158. #define IActiveIMMIME_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  3159. (This)->lpVtbl -> EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  3160. #define IActiveIMMIME_EscapeA(This,hKL,hIMC,uEscape,pData,plResult) \
  3161. (This)->lpVtbl -> EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  3162. #define IActiveIMMIME_EscapeW(This,hKL,hIMC,uEscape,pData,plResult) \
  3163. (This)->lpVtbl -> EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  3164. #define IActiveIMMIME_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  3165. (This)->lpVtbl -> GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  3166. #define IActiveIMMIME_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  3167. (This)->lpVtbl -> GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  3168. #define IActiveIMMIME_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen) \
  3169. (This)->lpVtbl -> GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  3170. #define IActiveIMMIME_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen) \
  3171. (This)->lpVtbl -> GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  3172. #define IActiveIMMIME_GetCandidateWindow(This,hIMC,dwIndex,pCandidate) \
  3173. (This)->lpVtbl -> GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  3174. #define IActiveIMMIME_GetCompositionFontA(This,hIMC,plf) \
  3175. (This)->lpVtbl -> GetCompositionFontA(This,hIMC,plf)
  3176. #define IActiveIMMIME_GetCompositionFontW(This,hIMC,plf) \
  3177. (This)->lpVtbl -> GetCompositionFontW(This,hIMC,plf)
  3178. #define IActiveIMMIME_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  3179. (This)->lpVtbl -> GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  3180. #define IActiveIMMIME_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  3181. (This)->lpVtbl -> GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  3182. #define IActiveIMMIME_GetCompositionWindow(This,hIMC,pCompForm) \
  3183. (This)->lpVtbl -> GetCompositionWindow(This,hIMC,pCompForm)
  3184. #define IActiveIMMIME_GetContext(This,hWnd,phIMC) \
  3185. (This)->lpVtbl -> GetContext(This,hWnd,phIMC)
  3186. #define IActiveIMMIME_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  3187. (This)->lpVtbl -> GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  3188. #define IActiveIMMIME_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  3189. (This)->lpVtbl -> GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  3190. #define IActiveIMMIME_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence) \
  3191. (This)->lpVtbl -> GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  3192. #define IActiveIMMIME_GetDefaultIMEWnd(This,hWnd,phDefWnd) \
  3193. (This)->lpVtbl -> GetDefaultIMEWnd(This,hWnd,phDefWnd)
  3194. #define IActiveIMMIME_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied) \
  3195. (This)->lpVtbl -> GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  3196. #define IActiveIMMIME_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied) \
  3197. (This)->lpVtbl -> GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  3198. #define IActiveIMMIME_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  3199. (This)->lpVtbl -> GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  3200. #define IActiveIMMIME_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  3201. (This)->lpVtbl -> GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  3202. #define IActiveIMMIME_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied) \
  3203. (This)->lpVtbl -> GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  3204. #define IActiveIMMIME_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied) \
  3205. (This)->lpVtbl -> GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  3206. #define IActiveIMMIME_GetOpenStatus(This,hIMC) \
  3207. (This)->lpVtbl -> GetOpenStatus(This,hIMC)
  3208. #define IActiveIMMIME_GetProperty(This,hKL,fdwIndex,pdwProperty) \
  3209. (This)->lpVtbl -> GetProperty(This,hKL,fdwIndex,pdwProperty)
  3210. #define IActiveIMMIME_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied) \
  3211. (This)->lpVtbl -> GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  3212. #define IActiveIMMIME_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied) \
  3213. (This)->lpVtbl -> GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  3214. #define IActiveIMMIME_GetStatusWindowPos(This,hIMC,pptPos) \
  3215. (This)->lpVtbl -> GetStatusWindowPos(This,hIMC,pptPos)
  3216. #define IActiveIMMIME_GetVirtualKey(This,hWnd,puVirtualKey) \
  3217. (This)->lpVtbl -> GetVirtualKey(This,hWnd,puVirtualKey)
  3218. #define IActiveIMMIME_InstallIMEA(This,szIMEFileName,szLayoutText,phKL) \
  3219. (This)->lpVtbl -> InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  3220. #define IActiveIMMIME_InstallIMEW(This,szIMEFileName,szLayoutText,phKL) \
  3221. (This)->lpVtbl -> InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  3222. #define IActiveIMMIME_IsIME(This,hKL) \
  3223. (This)->lpVtbl -> IsIME(This,hKL)
  3224. #define IActiveIMMIME_IsUIMessageA(This,hWndIME,msg,wParam,lParam) \
  3225. (This)->lpVtbl -> IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  3226. #define IActiveIMMIME_IsUIMessageW(This,hWndIME,msg,wParam,lParam) \
  3227. (This)->lpVtbl -> IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  3228. #define IActiveIMMIME_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue) \
  3229. (This)->lpVtbl -> NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  3230. #define IActiveIMMIME_RegisterWordA(This,hKL,szReading,dwStyle,szRegister) \
  3231. (This)->lpVtbl -> RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  3232. #define IActiveIMMIME_RegisterWordW(This,hKL,szReading,dwStyle,szRegister) \
  3233. (This)->lpVtbl -> RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  3234. #define IActiveIMMIME_ReleaseContext(This,hWnd,hIMC) \
  3235. (This)->lpVtbl -> ReleaseContext(This,hWnd,hIMC)
  3236. #define IActiveIMMIME_SetCandidateWindow(This,hIMC,pCandidate) \
  3237. (This)->lpVtbl -> SetCandidateWindow(This,hIMC,pCandidate)
  3238. #define IActiveIMMIME_SetCompositionFontA(This,hIMC,plf) \
  3239. (This)->lpVtbl -> SetCompositionFontA(This,hIMC,plf)
  3240. #define IActiveIMMIME_SetCompositionFontW(This,hIMC,plf) \
  3241. (This)->lpVtbl -> SetCompositionFontW(This,hIMC,plf)
  3242. #define IActiveIMMIME_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  3243. (This)->lpVtbl -> SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  3244. #define IActiveIMMIME_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  3245. (This)->lpVtbl -> SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  3246. #define IActiveIMMIME_SetCompositionWindow(This,hIMC,pCompForm) \
  3247. (This)->lpVtbl -> SetCompositionWindow(This,hIMC,pCompForm)
  3248. #define IActiveIMMIME_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence) \
  3249. (This)->lpVtbl -> SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  3250. #define IActiveIMMIME_SetOpenStatus(This,hIMC,fOpen) \
  3251. (This)->lpVtbl -> SetOpenStatus(This,hIMC,fOpen)
  3252. #define IActiveIMMIME_SetStatusWindowPos(This,hIMC,pptPos) \
  3253. (This)->lpVtbl -> SetStatusWindowPos(This,hIMC,pptPos)
  3254. #define IActiveIMMIME_SimulateHotKey(This,hWnd,dwHotKeyID) \
  3255. (This)->lpVtbl -> SimulateHotKey(This,hWnd,dwHotKeyID)
  3256. #define IActiveIMMIME_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister) \
  3257. (This)->lpVtbl -> UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  3258. #define IActiveIMMIME_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister) \
  3259. (This)->lpVtbl -> UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  3260. #define IActiveIMMIME_GenerateMessage(This,hIMC) \
  3261. (This)->lpVtbl -> GenerateMessage(This,hIMC)
  3262. #define IActiveIMMIME_LockIMC(This,hIMC,ppIMC) \
  3263. (This)->lpVtbl -> LockIMC(This,hIMC,ppIMC)
  3264. #define IActiveIMMIME_UnlockIMC(This,hIMC) \
  3265. (This)->lpVtbl -> UnlockIMC(This,hIMC)
  3266. #define IActiveIMMIME_GetIMCLockCount(This,hIMC,pdwLockCount) \
  3267. (This)->lpVtbl -> GetIMCLockCount(This,hIMC,pdwLockCount)
  3268. #define IActiveIMMIME_CreateIMCC(This,dwSize,phIMCC) \
  3269. (This)->lpVtbl -> CreateIMCC(This,dwSize,phIMCC)
  3270. #define IActiveIMMIME_DestroyIMCC(This,hIMCC) \
  3271. (This)->lpVtbl -> DestroyIMCC(This,hIMCC)
  3272. #define IActiveIMMIME_LockIMCC(This,hIMCC,ppv) \
  3273. (This)->lpVtbl -> LockIMCC(This,hIMCC,ppv)
  3274. #define IActiveIMMIME_UnlockIMCC(This,hIMCC) \
  3275. (This)->lpVtbl -> UnlockIMCC(This,hIMCC)
  3276. #define IActiveIMMIME_ReSizeIMCC(This,hIMCC,dwSize,phIMCC) \
  3277. (This)->lpVtbl -> ReSizeIMCC(This,hIMCC,dwSize,phIMCC)
  3278. #define IActiveIMMIME_GetIMCCSize(This,hIMCC,pdwSize) \
  3279. (This)->lpVtbl -> GetIMCCSize(This,hIMCC,pdwSize)
  3280. #define IActiveIMMIME_GetIMCCLockCount(This,hIMCC,pdwLockCount) \
  3281. (This)->lpVtbl -> GetIMCCLockCount(This,hIMCC,pdwLockCount)
  3282. #define IActiveIMMIME_GetHotKey(This,dwHotKeyID,puModifiers,puVKey,phKL) \
  3283. (This)->lpVtbl -> GetHotKey(This,dwHotKeyID,puModifiers,puVKey,phKL)
  3284. #define IActiveIMMIME_SetHotKey(This,dwHotKeyID,uModifiers,uVKey,hKL) \
  3285. (This)->lpVtbl -> SetHotKey(This,dwHotKeyID,uModifiers,uVKey,hKL)
  3286. #define IActiveIMMIME_CreateSoftKeyboard(This,uType,hOwner,x,y,phSoftKbdWnd) \
  3287. (This)->lpVtbl -> CreateSoftKeyboard(This,uType,hOwner,x,y,phSoftKbdWnd)
  3288. #define IActiveIMMIME_DestroySoftKeyboard(This,hSoftKbdWnd) \
  3289. (This)->lpVtbl -> DestroySoftKeyboard(This,hSoftKbdWnd)
  3290. #define IActiveIMMIME_ShowSoftKeyboard(This,hSoftKbdWnd,nCmdShow) \
  3291. (This)->lpVtbl -> ShowSoftKeyboard(This,hSoftKbdWnd,nCmdShow)
  3292. #define IActiveIMMIME_GetCodePageA(This,hKL,uCodePage) \
  3293. (This)->lpVtbl -> GetCodePageA(This,hKL,uCodePage)
  3294. #define IActiveIMMIME_GetLangId(This,hKL,plid) \
  3295. (This)->lpVtbl -> GetLangId(This,hKL,plid)
  3296. #define IActiveIMMIME_KeybdEvent(This,lgidIME,bVk,bScan,dwFlags,dwExtraInfo) \
  3297. (This)->lpVtbl -> KeybdEvent(This,lgidIME,bVk,bScan,dwFlags,dwExtraInfo)
  3298. #define IActiveIMMIME_LockModal(This) \
  3299. (This)->lpVtbl -> LockModal(This)
  3300. #define IActiveIMMIME_UnlockModal(This) \
  3301. (This)->lpVtbl -> UnlockModal(This)
  3302. #define IActiveIMMIME_AssociateContextEx(This,hWnd,hIMC,dwFlags) \
  3303. (This)->lpVtbl -> AssociateContextEx(This,hWnd,hIMC,dwFlags)
  3304. #define IActiveIMMIME_DisableIME(This,idThread) \
  3305. (This)->lpVtbl -> DisableIME(This,idThread)
  3306. #define IActiveIMMIME_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  3307. (This)->lpVtbl -> GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  3308. #define IActiveIMMIME_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  3309. (This)->lpVtbl -> GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  3310. #define IActiveIMMIME_EnumInputContext(This,idThread,ppEnum) \
  3311. (This)->lpVtbl -> EnumInputContext(This,idThread,ppEnum)
  3312. #define IActiveIMMIME_RequestMessageA(This,hIMC,wParam,lParam,plResult) \
  3313. (This)->lpVtbl -> RequestMessageA(This,hIMC,wParam,lParam,plResult)
  3314. #define IActiveIMMIME_RequestMessageW(This,hIMC,wParam,lParam,plResult) \
  3315. (This)->lpVtbl -> RequestMessageW(This,hIMC,wParam,lParam,plResult)
  3316. #define IActiveIMMIME_SendIMCA(This,hWnd,uMsg,wParam,lParam,plResult) \
  3317. (This)->lpVtbl -> SendIMCA(This,hWnd,uMsg,wParam,lParam,plResult)
  3318. #define IActiveIMMIME_SendIMCW(This,hWnd,uMsg,wParam,lParam,plResult) \
  3319. (This)->lpVtbl -> SendIMCW(This,hWnd,uMsg,wParam,lParam,plResult)
  3320. #define IActiveIMMIME_IsSleeping(This) \
  3321. (This)->lpVtbl -> IsSleeping(This)
  3322. #endif /* COBJMACROS */
  3323. #endif /* C style interface */
  3324. HRESULT STDMETHODCALLTYPE IActiveIMMIME_AssociateContext_Proxy(
  3325. IActiveIMMIME * This,
  3326. /* [in] */ HWND hWnd,
  3327. /* [in] */ HIMC hIME,
  3328. /* [out] */ HIMC *phPrev);
  3329. void __RPC_STUB IActiveIMMIME_AssociateContext_Stub(
  3330. IRpcStubBuffer *This,
  3331. IRpcChannelBuffer *_pRpcChannelBuffer,
  3332. PRPC_MESSAGE _pRpcMessage,
  3333. DWORD *_pdwStubPhase);
  3334. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ConfigureIMEA_Proxy(
  3335. IActiveIMMIME * This,
  3336. /* [in] */ HKL hKL,
  3337. /* [in] */ HWND hWnd,
  3338. /* [in] */ DWORD dwMode,
  3339. /* [in] */ REGISTERWORDA *pData);
  3340. void __RPC_STUB IActiveIMMIME_ConfigureIMEA_Stub(
  3341. IRpcStubBuffer *This,
  3342. IRpcChannelBuffer *_pRpcChannelBuffer,
  3343. PRPC_MESSAGE _pRpcMessage,
  3344. DWORD *_pdwStubPhase);
  3345. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ConfigureIMEW_Proxy(
  3346. IActiveIMMIME * This,
  3347. /* [in] */ HKL hKL,
  3348. /* [in] */ HWND hWnd,
  3349. /* [in] */ DWORD dwMode,
  3350. /* [in] */ REGISTERWORDW *pData);
  3351. void __RPC_STUB IActiveIMMIME_ConfigureIMEW_Stub(
  3352. IRpcStubBuffer *This,
  3353. IRpcChannelBuffer *_pRpcChannelBuffer,
  3354. PRPC_MESSAGE _pRpcMessage,
  3355. DWORD *_pdwStubPhase);
  3356. HRESULT STDMETHODCALLTYPE IActiveIMMIME_CreateContext_Proxy(
  3357. IActiveIMMIME * This,
  3358. /* [out] */ HIMC *phIMC);
  3359. void __RPC_STUB IActiveIMMIME_CreateContext_Stub(
  3360. IRpcStubBuffer *This,
  3361. IRpcChannelBuffer *_pRpcChannelBuffer,
  3362. PRPC_MESSAGE _pRpcMessage,
  3363. DWORD *_pdwStubPhase);
  3364. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DestroyContext_Proxy(
  3365. IActiveIMMIME * This,
  3366. /* [in] */ HIMC hIME);
  3367. void __RPC_STUB IActiveIMMIME_DestroyContext_Stub(
  3368. IRpcStubBuffer *This,
  3369. IRpcChannelBuffer *_pRpcChannelBuffer,
  3370. PRPC_MESSAGE _pRpcMessage,
  3371. DWORD *_pdwStubPhase);
  3372. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EnumRegisterWordA_Proxy(
  3373. IActiveIMMIME * This,
  3374. /* [in] */ HKL hKL,
  3375. /* [in] */ LPSTR szReading,
  3376. /* [in] */ DWORD dwStyle,
  3377. /* [in] */ LPSTR szRegister,
  3378. /* [in] */ LPVOID pData,
  3379. /* [out] */ IEnumRegisterWordA **pEnum);
  3380. void __RPC_STUB IActiveIMMIME_EnumRegisterWordA_Stub(
  3381. IRpcStubBuffer *This,
  3382. IRpcChannelBuffer *_pRpcChannelBuffer,
  3383. PRPC_MESSAGE _pRpcMessage,
  3384. DWORD *_pdwStubPhase);
  3385. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EnumRegisterWordW_Proxy(
  3386. IActiveIMMIME * This,
  3387. /* [in] */ HKL hKL,
  3388. /* [in] */ LPWSTR szReading,
  3389. /* [in] */ DWORD dwStyle,
  3390. /* [in] */ LPWSTR szRegister,
  3391. /* [in] */ LPVOID pData,
  3392. /* [out] */ IEnumRegisterWordW **pEnum);
  3393. void __RPC_STUB IActiveIMMIME_EnumRegisterWordW_Stub(
  3394. IRpcStubBuffer *This,
  3395. IRpcChannelBuffer *_pRpcChannelBuffer,
  3396. PRPC_MESSAGE _pRpcMessage,
  3397. DWORD *_pdwStubPhase);
  3398. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EscapeA_Proxy(
  3399. IActiveIMMIME * This,
  3400. /* [in] */ HKL hKL,
  3401. /* [in] */ HIMC hIMC,
  3402. /* [in] */ UINT uEscape,
  3403. /* [out][in] */ LPVOID pData,
  3404. /* [out] */ LRESULT *plResult);
  3405. void __RPC_STUB IActiveIMMIME_EscapeA_Stub(
  3406. IRpcStubBuffer *This,
  3407. IRpcChannelBuffer *_pRpcChannelBuffer,
  3408. PRPC_MESSAGE _pRpcMessage,
  3409. DWORD *_pdwStubPhase);
  3410. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EscapeW_Proxy(
  3411. IActiveIMMIME * This,
  3412. /* [in] */ HKL hKL,
  3413. /* [in] */ HIMC hIMC,
  3414. /* [in] */ UINT uEscape,
  3415. /* [out][in] */ LPVOID pData,
  3416. /* [out] */ LRESULT *plResult);
  3417. void __RPC_STUB IActiveIMMIME_EscapeW_Stub(
  3418. IRpcStubBuffer *This,
  3419. IRpcChannelBuffer *_pRpcChannelBuffer,
  3420. PRPC_MESSAGE _pRpcMessage,
  3421. DWORD *_pdwStubPhase);
  3422. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListA_Proxy(
  3423. IActiveIMMIME * This,
  3424. /* [in] */ HIMC hIMC,
  3425. /* [in] */ DWORD dwIndex,
  3426. /* [in] */ UINT uBufLen,
  3427. /* [out] */ CANDIDATELIST *pCandList,
  3428. /* [out] */ UINT *puCopied);
  3429. void __RPC_STUB IActiveIMMIME_GetCandidateListA_Stub(
  3430. IRpcStubBuffer *This,
  3431. IRpcChannelBuffer *_pRpcChannelBuffer,
  3432. PRPC_MESSAGE _pRpcMessage,
  3433. DWORD *_pdwStubPhase);
  3434. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListW_Proxy(
  3435. IActiveIMMIME * This,
  3436. /* [in] */ HIMC hIMC,
  3437. /* [in] */ DWORD dwIndex,
  3438. /* [in] */ UINT uBufLen,
  3439. /* [out] */ CANDIDATELIST *pCandList,
  3440. /* [out] */ UINT *puCopied);
  3441. void __RPC_STUB IActiveIMMIME_GetCandidateListW_Stub(
  3442. IRpcStubBuffer *This,
  3443. IRpcChannelBuffer *_pRpcChannelBuffer,
  3444. PRPC_MESSAGE _pRpcMessage,
  3445. DWORD *_pdwStubPhase);
  3446. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListCountA_Proxy(
  3447. IActiveIMMIME * This,
  3448. /* [in] */ HIMC hIMC,
  3449. /* [out] */ DWORD *pdwListSize,
  3450. /* [out] */ DWORD *pdwBufLen);
  3451. void __RPC_STUB IActiveIMMIME_GetCandidateListCountA_Stub(
  3452. IRpcStubBuffer *This,
  3453. IRpcChannelBuffer *_pRpcChannelBuffer,
  3454. PRPC_MESSAGE _pRpcMessage,
  3455. DWORD *_pdwStubPhase);
  3456. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListCountW_Proxy(
  3457. IActiveIMMIME * This,
  3458. /* [in] */ HIMC hIMC,
  3459. /* [out] */ DWORD *pdwListSize,
  3460. /* [out] */ DWORD *pdwBufLen);
  3461. void __RPC_STUB IActiveIMMIME_GetCandidateListCountW_Stub(
  3462. IRpcStubBuffer *This,
  3463. IRpcChannelBuffer *_pRpcChannelBuffer,
  3464. PRPC_MESSAGE _pRpcMessage,
  3465. DWORD *_pdwStubPhase);
  3466. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateWindow_Proxy(
  3467. IActiveIMMIME * This,
  3468. /* [in] */ HIMC hIMC,
  3469. /* [in] */ DWORD dwIndex,
  3470. /* [out] */ CANDIDATEFORM *pCandidate);
  3471. void __RPC_STUB IActiveIMMIME_GetCandidateWindow_Stub(
  3472. IRpcStubBuffer *This,
  3473. IRpcChannelBuffer *_pRpcChannelBuffer,
  3474. PRPC_MESSAGE _pRpcMessage,
  3475. DWORD *_pdwStubPhase);
  3476. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionFontA_Proxy(
  3477. IActiveIMMIME * This,
  3478. /* [in] */ HIMC hIMC,
  3479. /* [out] */ LOGFONTA *plf);
  3480. void __RPC_STUB IActiveIMMIME_GetCompositionFontA_Stub(
  3481. IRpcStubBuffer *This,
  3482. IRpcChannelBuffer *_pRpcChannelBuffer,
  3483. PRPC_MESSAGE _pRpcMessage,
  3484. DWORD *_pdwStubPhase);
  3485. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionFontW_Proxy(
  3486. IActiveIMMIME * This,
  3487. /* [in] */ HIMC hIMC,
  3488. /* [out] */ LOGFONTW *plf);
  3489. void __RPC_STUB IActiveIMMIME_GetCompositionFontW_Stub(
  3490. IRpcStubBuffer *This,
  3491. IRpcChannelBuffer *_pRpcChannelBuffer,
  3492. PRPC_MESSAGE _pRpcMessage,
  3493. DWORD *_pdwStubPhase);
  3494. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionStringA_Proxy(
  3495. IActiveIMMIME * This,
  3496. /* [in] */ HIMC hIMC,
  3497. /* [in] */ DWORD dwIndex,
  3498. /* [in] */ DWORD dwBufLen,
  3499. /* [out] */ LONG *plCopied,
  3500. /* [out] */ LPVOID pBuf);
  3501. void __RPC_STUB IActiveIMMIME_GetCompositionStringA_Stub(
  3502. IRpcStubBuffer *This,
  3503. IRpcChannelBuffer *_pRpcChannelBuffer,
  3504. PRPC_MESSAGE _pRpcMessage,
  3505. DWORD *_pdwStubPhase);
  3506. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionStringW_Proxy(
  3507. IActiveIMMIME * This,
  3508. /* [in] */ HIMC hIMC,
  3509. /* [in] */ DWORD dwIndex,
  3510. /* [in] */ DWORD dwBufLen,
  3511. /* [out] */ LONG *plCopied,
  3512. /* [out] */ LPVOID pBuf);
  3513. void __RPC_STUB IActiveIMMIME_GetCompositionStringW_Stub(
  3514. IRpcStubBuffer *This,
  3515. IRpcChannelBuffer *_pRpcChannelBuffer,
  3516. PRPC_MESSAGE _pRpcMessage,
  3517. DWORD *_pdwStubPhase);
  3518. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionWindow_Proxy(
  3519. IActiveIMMIME * This,
  3520. /* [in] */ HIMC hIMC,
  3521. /* [out] */ COMPOSITIONFORM *pCompForm);
  3522. void __RPC_STUB IActiveIMMIME_GetCompositionWindow_Stub(
  3523. IRpcStubBuffer *This,
  3524. IRpcChannelBuffer *_pRpcChannelBuffer,
  3525. PRPC_MESSAGE _pRpcMessage,
  3526. DWORD *_pdwStubPhase);
  3527. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetContext_Proxy(
  3528. IActiveIMMIME * This,
  3529. /* [in] */ HWND hWnd,
  3530. /* [out] */ HIMC *phIMC);
  3531. void __RPC_STUB IActiveIMMIME_GetContext_Stub(
  3532. IRpcStubBuffer *This,
  3533. IRpcChannelBuffer *_pRpcChannelBuffer,
  3534. PRPC_MESSAGE _pRpcMessage,
  3535. DWORD *_pdwStubPhase);
  3536. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetConversionListA_Proxy(
  3537. IActiveIMMIME * This,
  3538. /* [in] */ HKL hKL,
  3539. /* [in] */ HIMC hIMC,
  3540. /* [in] */ LPSTR pSrc,
  3541. /* [in] */ UINT uBufLen,
  3542. /* [in] */ UINT uFlag,
  3543. /* [out] */ CANDIDATELIST *pDst,
  3544. /* [out] */ UINT *puCopied);
  3545. void __RPC_STUB IActiveIMMIME_GetConversionListA_Stub(
  3546. IRpcStubBuffer *This,
  3547. IRpcChannelBuffer *_pRpcChannelBuffer,
  3548. PRPC_MESSAGE _pRpcMessage,
  3549. DWORD *_pdwStubPhase);
  3550. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetConversionListW_Proxy(
  3551. IActiveIMMIME * This,
  3552. /* [in] */ HKL hKL,
  3553. /* [in] */ HIMC hIMC,
  3554. /* [in] */ LPWSTR pSrc,
  3555. /* [in] */ UINT uBufLen,
  3556. /* [in] */ UINT uFlag,
  3557. /* [out] */ CANDIDATELIST *pDst,
  3558. /* [out] */ UINT *puCopied);
  3559. void __RPC_STUB IActiveIMMIME_GetConversionListW_Stub(
  3560. IRpcStubBuffer *This,
  3561. IRpcChannelBuffer *_pRpcChannelBuffer,
  3562. PRPC_MESSAGE _pRpcMessage,
  3563. DWORD *_pdwStubPhase);
  3564. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetConversionStatus_Proxy(
  3565. IActiveIMMIME * This,
  3566. /* [in] */ HIMC hIMC,
  3567. /* [out] */ DWORD *pfdwConversion,
  3568. /* [out] */ DWORD *pfdwSentence);
  3569. void __RPC_STUB IActiveIMMIME_GetConversionStatus_Stub(
  3570. IRpcStubBuffer *This,
  3571. IRpcChannelBuffer *_pRpcChannelBuffer,
  3572. PRPC_MESSAGE _pRpcMessage,
  3573. DWORD *_pdwStubPhase);
  3574. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetDefaultIMEWnd_Proxy(
  3575. IActiveIMMIME * This,
  3576. /* [in] */ HWND hWnd,
  3577. /* [out] */ HWND *phDefWnd);
  3578. void __RPC_STUB IActiveIMMIME_GetDefaultIMEWnd_Stub(
  3579. IRpcStubBuffer *This,
  3580. IRpcChannelBuffer *_pRpcChannelBuffer,
  3581. PRPC_MESSAGE _pRpcMessage,
  3582. DWORD *_pdwStubPhase);
  3583. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetDescriptionA_Proxy(
  3584. IActiveIMMIME * This,
  3585. /* [in] */ HKL hKL,
  3586. /* [in] */ UINT uBufLen,
  3587. /* [out] */ LPSTR szDescription,
  3588. /* [out] */ UINT *puCopied);
  3589. void __RPC_STUB IActiveIMMIME_GetDescriptionA_Stub(
  3590. IRpcStubBuffer *This,
  3591. IRpcChannelBuffer *_pRpcChannelBuffer,
  3592. PRPC_MESSAGE _pRpcMessage,
  3593. DWORD *_pdwStubPhase);
  3594. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetDescriptionW_Proxy(
  3595. IActiveIMMIME * This,
  3596. /* [in] */ HKL hKL,
  3597. /* [in] */ UINT uBufLen,
  3598. /* [out] */ LPWSTR szDescription,
  3599. /* [out] */ UINT *puCopied);
  3600. void __RPC_STUB IActiveIMMIME_GetDescriptionW_Stub(
  3601. IRpcStubBuffer *This,
  3602. IRpcChannelBuffer *_pRpcChannelBuffer,
  3603. PRPC_MESSAGE _pRpcMessage,
  3604. DWORD *_pdwStubPhase);
  3605. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetGuideLineA_Proxy(
  3606. IActiveIMMIME * This,
  3607. /* [in] */ HIMC hIMC,
  3608. /* [in] */ DWORD dwIndex,
  3609. /* [in] */ DWORD dwBufLen,
  3610. /* [out] */ LPSTR pBuf,
  3611. /* [out] */ DWORD *pdwResult);
  3612. void __RPC_STUB IActiveIMMIME_GetGuideLineA_Stub(
  3613. IRpcStubBuffer *This,
  3614. IRpcChannelBuffer *_pRpcChannelBuffer,
  3615. PRPC_MESSAGE _pRpcMessage,
  3616. DWORD *_pdwStubPhase);
  3617. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetGuideLineW_Proxy(
  3618. IActiveIMMIME * This,
  3619. /* [in] */ HIMC hIMC,
  3620. /* [in] */ DWORD dwIndex,
  3621. /* [in] */ DWORD dwBufLen,
  3622. /* [out] */ LPWSTR pBuf,
  3623. /* [out] */ DWORD *pdwResult);
  3624. void __RPC_STUB IActiveIMMIME_GetGuideLineW_Stub(
  3625. IRpcStubBuffer *This,
  3626. IRpcChannelBuffer *_pRpcChannelBuffer,
  3627. PRPC_MESSAGE _pRpcMessage,
  3628. DWORD *_pdwStubPhase);
  3629. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMEFileNameA_Proxy(
  3630. IActiveIMMIME * This,
  3631. /* [in] */ HKL hKL,
  3632. /* [in] */ UINT uBufLen,
  3633. /* [out] */ LPSTR szFileName,
  3634. /* [out] */ UINT *puCopied);
  3635. void __RPC_STUB IActiveIMMIME_GetIMEFileNameA_Stub(
  3636. IRpcStubBuffer *This,
  3637. IRpcChannelBuffer *_pRpcChannelBuffer,
  3638. PRPC_MESSAGE _pRpcMessage,
  3639. DWORD *_pdwStubPhase);
  3640. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMEFileNameW_Proxy(
  3641. IActiveIMMIME * This,
  3642. /* [in] */ HKL hKL,
  3643. /* [in] */ UINT uBufLen,
  3644. /* [out] */ LPWSTR szFileName,
  3645. /* [out] */ UINT *puCopied);
  3646. void __RPC_STUB IActiveIMMIME_GetIMEFileNameW_Stub(
  3647. IRpcStubBuffer *This,
  3648. IRpcChannelBuffer *_pRpcChannelBuffer,
  3649. PRPC_MESSAGE _pRpcMessage,
  3650. DWORD *_pdwStubPhase);
  3651. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetOpenStatus_Proxy(
  3652. IActiveIMMIME * This,
  3653. /* [in] */ HIMC hIMC);
  3654. void __RPC_STUB IActiveIMMIME_GetOpenStatus_Stub(
  3655. IRpcStubBuffer *This,
  3656. IRpcChannelBuffer *_pRpcChannelBuffer,
  3657. PRPC_MESSAGE _pRpcMessage,
  3658. DWORD *_pdwStubPhase);
  3659. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetProperty_Proxy(
  3660. IActiveIMMIME * This,
  3661. /* [in] */ HKL hKL,
  3662. /* [in] */ DWORD fdwIndex,
  3663. /* [out] */ DWORD *pdwProperty);
  3664. void __RPC_STUB IActiveIMMIME_GetProperty_Stub(
  3665. IRpcStubBuffer *This,
  3666. IRpcChannelBuffer *_pRpcChannelBuffer,
  3667. PRPC_MESSAGE _pRpcMessage,
  3668. DWORD *_pdwStubPhase);
  3669. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetRegisterWordStyleA_Proxy(
  3670. IActiveIMMIME * This,
  3671. /* [in] */ HKL hKL,
  3672. /* [in] */ UINT nItem,
  3673. /* [out] */ STYLEBUFA *pStyleBuf,
  3674. /* [out] */ UINT *puCopied);
  3675. void __RPC_STUB IActiveIMMIME_GetRegisterWordStyleA_Stub(
  3676. IRpcStubBuffer *This,
  3677. IRpcChannelBuffer *_pRpcChannelBuffer,
  3678. PRPC_MESSAGE _pRpcMessage,
  3679. DWORD *_pdwStubPhase);
  3680. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetRegisterWordStyleW_Proxy(
  3681. IActiveIMMIME * This,
  3682. /* [in] */ HKL hKL,
  3683. /* [in] */ UINT nItem,
  3684. /* [out] */ STYLEBUFW *pStyleBuf,
  3685. /* [out] */ UINT *puCopied);
  3686. void __RPC_STUB IActiveIMMIME_GetRegisterWordStyleW_Stub(
  3687. IRpcStubBuffer *This,
  3688. IRpcChannelBuffer *_pRpcChannelBuffer,
  3689. PRPC_MESSAGE _pRpcMessage,
  3690. DWORD *_pdwStubPhase);
  3691. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetStatusWindowPos_Proxy(
  3692. IActiveIMMIME * This,
  3693. /* [in] */ HIMC hIMC,
  3694. /* [out] */ POINT *pptPos);
  3695. void __RPC_STUB IActiveIMMIME_GetStatusWindowPos_Stub(
  3696. IRpcStubBuffer *This,
  3697. IRpcChannelBuffer *_pRpcChannelBuffer,
  3698. PRPC_MESSAGE _pRpcMessage,
  3699. DWORD *_pdwStubPhase);
  3700. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetVirtualKey_Proxy(
  3701. IActiveIMMIME * This,
  3702. /* [in] */ HWND hWnd,
  3703. /* [out] */ UINT *puVirtualKey);
  3704. void __RPC_STUB IActiveIMMIME_GetVirtualKey_Stub(
  3705. IRpcStubBuffer *This,
  3706. IRpcChannelBuffer *_pRpcChannelBuffer,
  3707. PRPC_MESSAGE _pRpcMessage,
  3708. DWORD *_pdwStubPhase);
  3709. HRESULT STDMETHODCALLTYPE IActiveIMMIME_InstallIMEA_Proxy(
  3710. IActiveIMMIME * This,
  3711. /* [in] */ LPSTR szIMEFileName,
  3712. /* [in] */ LPSTR szLayoutText,
  3713. /* [out] */ HKL *phKL);
  3714. void __RPC_STUB IActiveIMMIME_InstallIMEA_Stub(
  3715. IRpcStubBuffer *This,
  3716. IRpcChannelBuffer *_pRpcChannelBuffer,
  3717. PRPC_MESSAGE _pRpcMessage,
  3718. DWORD *_pdwStubPhase);
  3719. HRESULT STDMETHODCALLTYPE IActiveIMMIME_InstallIMEW_Proxy(
  3720. IActiveIMMIME * This,
  3721. /* [in] */ LPWSTR szIMEFileName,
  3722. /* [in] */ LPWSTR szLayoutText,
  3723. /* [out] */ HKL *phKL);
  3724. void __RPC_STUB IActiveIMMIME_InstallIMEW_Stub(
  3725. IRpcStubBuffer *This,
  3726. IRpcChannelBuffer *_pRpcChannelBuffer,
  3727. PRPC_MESSAGE _pRpcMessage,
  3728. DWORD *_pdwStubPhase);
  3729. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsIME_Proxy(
  3730. IActiveIMMIME * This,
  3731. /* [in] */ HKL hKL);
  3732. void __RPC_STUB IActiveIMMIME_IsIME_Stub(
  3733. IRpcStubBuffer *This,
  3734. IRpcChannelBuffer *_pRpcChannelBuffer,
  3735. PRPC_MESSAGE _pRpcMessage,
  3736. DWORD *_pdwStubPhase);
  3737. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsUIMessageA_Proxy(
  3738. IActiveIMMIME * This,
  3739. /* [in] */ HWND hWndIME,
  3740. /* [in] */ UINT msg,
  3741. /* [in] */ WPARAM wParam,
  3742. /* [in] */ LPARAM lParam);
  3743. void __RPC_STUB IActiveIMMIME_IsUIMessageA_Stub(
  3744. IRpcStubBuffer *This,
  3745. IRpcChannelBuffer *_pRpcChannelBuffer,
  3746. PRPC_MESSAGE _pRpcMessage,
  3747. DWORD *_pdwStubPhase);
  3748. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsUIMessageW_Proxy(
  3749. IActiveIMMIME * This,
  3750. /* [in] */ HWND hWndIME,
  3751. /* [in] */ UINT msg,
  3752. /* [in] */ WPARAM wParam,
  3753. /* [in] */ LPARAM lParam);
  3754. void __RPC_STUB IActiveIMMIME_IsUIMessageW_Stub(
  3755. IRpcStubBuffer *This,
  3756. IRpcChannelBuffer *_pRpcChannelBuffer,
  3757. PRPC_MESSAGE _pRpcMessage,
  3758. DWORD *_pdwStubPhase);
  3759. HRESULT STDMETHODCALLTYPE IActiveIMMIME_NotifyIME_Proxy(
  3760. IActiveIMMIME * This,
  3761. /* [in] */ HIMC hIMC,
  3762. /* [in] */ DWORD dwAction,
  3763. /* [in] */ DWORD dwIndex,
  3764. /* [in] */ DWORD dwValue);
  3765. void __RPC_STUB IActiveIMMIME_NotifyIME_Stub(
  3766. IRpcStubBuffer *This,
  3767. IRpcChannelBuffer *_pRpcChannelBuffer,
  3768. PRPC_MESSAGE _pRpcMessage,
  3769. DWORD *_pdwStubPhase);
  3770. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RegisterWordA_Proxy(
  3771. IActiveIMMIME * This,
  3772. /* [in] */ HKL hKL,
  3773. /* [in] */ LPSTR szReading,
  3774. /* [in] */ DWORD dwStyle,
  3775. /* [in] */ LPSTR szRegister);
  3776. void __RPC_STUB IActiveIMMIME_RegisterWordA_Stub(
  3777. IRpcStubBuffer *This,
  3778. IRpcChannelBuffer *_pRpcChannelBuffer,
  3779. PRPC_MESSAGE _pRpcMessage,
  3780. DWORD *_pdwStubPhase);
  3781. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RegisterWordW_Proxy(
  3782. IActiveIMMIME * This,
  3783. /* [in] */ HKL hKL,
  3784. /* [in] */ LPWSTR szReading,
  3785. /* [in] */ DWORD dwStyle,
  3786. /* [in] */ LPWSTR szRegister);
  3787. void __RPC_STUB IActiveIMMIME_RegisterWordW_Stub(
  3788. IRpcStubBuffer *This,
  3789. IRpcChannelBuffer *_pRpcChannelBuffer,
  3790. PRPC_MESSAGE _pRpcMessage,
  3791. DWORD *_pdwStubPhase);
  3792. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ReleaseContext_Proxy(
  3793. IActiveIMMIME * This,
  3794. /* [in] */ HWND hWnd,
  3795. /* [in] */ HIMC hIMC);
  3796. void __RPC_STUB IActiveIMMIME_ReleaseContext_Stub(
  3797. IRpcStubBuffer *This,
  3798. IRpcChannelBuffer *_pRpcChannelBuffer,
  3799. PRPC_MESSAGE _pRpcMessage,
  3800. DWORD *_pdwStubPhase);
  3801. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCandidateWindow_Proxy(
  3802. IActiveIMMIME * This,
  3803. /* [in] */ HIMC hIMC,
  3804. /* [in] */ CANDIDATEFORM *pCandidate);
  3805. void __RPC_STUB IActiveIMMIME_SetCandidateWindow_Stub(
  3806. IRpcStubBuffer *This,
  3807. IRpcChannelBuffer *_pRpcChannelBuffer,
  3808. PRPC_MESSAGE _pRpcMessage,
  3809. DWORD *_pdwStubPhase);
  3810. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionFontA_Proxy(
  3811. IActiveIMMIME * This,
  3812. /* [in] */ HIMC hIMC,
  3813. /* [in] */ LOGFONTA *plf);
  3814. void __RPC_STUB IActiveIMMIME_SetCompositionFontA_Stub(
  3815. IRpcStubBuffer *This,
  3816. IRpcChannelBuffer *_pRpcChannelBuffer,
  3817. PRPC_MESSAGE _pRpcMessage,
  3818. DWORD *_pdwStubPhase);
  3819. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionFontW_Proxy(
  3820. IActiveIMMIME * This,
  3821. /* [in] */ HIMC hIMC,
  3822. /* [in] */ LOGFONTW *plf);
  3823. void __RPC_STUB IActiveIMMIME_SetCompositionFontW_Stub(
  3824. IRpcStubBuffer *This,
  3825. IRpcChannelBuffer *_pRpcChannelBuffer,
  3826. PRPC_MESSAGE _pRpcMessage,
  3827. DWORD *_pdwStubPhase);
  3828. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionStringA_Proxy(
  3829. IActiveIMMIME * This,
  3830. /* [in] */ HIMC hIMC,
  3831. /* [in] */ DWORD dwIndex,
  3832. /* [in] */ LPVOID pComp,
  3833. /* [in] */ DWORD dwCompLen,
  3834. /* [in] */ LPVOID pRead,
  3835. /* [in] */ DWORD dwReadLen);
  3836. void __RPC_STUB IActiveIMMIME_SetCompositionStringA_Stub(
  3837. IRpcStubBuffer *This,
  3838. IRpcChannelBuffer *_pRpcChannelBuffer,
  3839. PRPC_MESSAGE _pRpcMessage,
  3840. DWORD *_pdwStubPhase);
  3841. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionStringW_Proxy(
  3842. IActiveIMMIME * This,
  3843. /* [in] */ HIMC hIMC,
  3844. /* [in] */ DWORD dwIndex,
  3845. /* [in] */ LPVOID pComp,
  3846. /* [in] */ DWORD dwCompLen,
  3847. /* [in] */ LPVOID pRead,
  3848. /* [in] */ DWORD dwReadLen);
  3849. void __RPC_STUB IActiveIMMIME_SetCompositionStringW_Stub(
  3850. IRpcStubBuffer *This,
  3851. IRpcChannelBuffer *_pRpcChannelBuffer,
  3852. PRPC_MESSAGE _pRpcMessage,
  3853. DWORD *_pdwStubPhase);
  3854. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionWindow_Proxy(
  3855. IActiveIMMIME * This,
  3856. /* [in] */ HIMC hIMC,
  3857. /* [in] */ COMPOSITIONFORM *pCompForm);
  3858. void __RPC_STUB IActiveIMMIME_SetCompositionWindow_Stub(
  3859. IRpcStubBuffer *This,
  3860. IRpcChannelBuffer *_pRpcChannelBuffer,
  3861. PRPC_MESSAGE _pRpcMessage,
  3862. DWORD *_pdwStubPhase);
  3863. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetConversionStatus_Proxy(
  3864. IActiveIMMIME * This,
  3865. /* [in] */ HIMC hIMC,
  3866. /* [in] */ DWORD fdwConversion,
  3867. /* [in] */ DWORD fdwSentence);
  3868. void __RPC_STUB IActiveIMMIME_SetConversionStatus_Stub(
  3869. IRpcStubBuffer *This,
  3870. IRpcChannelBuffer *_pRpcChannelBuffer,
  3871. PRPC_MESSAGE _pRpcMessage,
  3872. DWORD *_pdwStubPhase);
  3873. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetOpenStatus_Proxy(
  3874. IActiveIMMIME * This,
  3875. /* [in] */ HIMC hIMC,
  3876. /* [in] */ BOOL fOpen);
  3877. void __RPC_STUB IActiveIMMIME_SetOpenStatus_Stub(
  3878. IRpcStubBuffer *This,
  3879. IRpcChannelBuffer *_pRpcChannelBuffer,
  3880. PRPC_MESSAGE _pRpcMessage,
  3881. DWORD *_pdwStubPhase);
  3882. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetStatusWindowPos_Proxy(
  3883. IActiveIMMIME * This,
  3884. /* [in] */ HIMC hIMC,
  3885. /* [in] */ POINT *pptPos);
  3886. void __RPC_STUB IActiveIMMIME_SetStatusWindowPos_Stub(
  3887. IRpcStubBuffer *This,
  3888. IRpcChannelBuffer *_pRpcChannelBuffer,
  3889. PRPC_MESSAGE _pRpcMessage,
  3890. DWORD *_pdwStubPhase);
  3891. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SimulateHotKey_Proxy(
  3892. IActiveIMMIME * This,
  3893. /* [in] */ HWND hWnd,
  3894. /* [in] */ DWORD dwHotKeyID);
  3895. void __RPC_STUB IActiveIMMIME_SimulateHotKey_Stub(
  3896. IRpcStubBuffer *This,
  3897. IRpcChannelBuffer *_pRpcChannelBuffer,
  3898. PRPC_MESSAGE _pRpcMessage,
  3899. DWORD *_pdwStubPhase);
  3900. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnregisterWordA_Proxy(
  3901. IActiveIMMIME * This,
  3902. /* [in] */ HKL hKL,
  3903. /* [in] */ LPSTR szReading,
  3904. /* [in] */ DWORD dwStyle,
  3905. /* [in] */ LPSTR szUnregister);
  3906. void __RPC_STUB IActiveIMMIME_UnregisterWordA_Stub(
  3907. IRpcStubBuffer *This,
  3908. IRpcChannelBuffer *_pRpcChannelBuffer,
  3909. PRPC_MESSAGE _pRpcMessage,
  3910. DWORD *_pdwStubPhase);
  3911. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnregisterWordW_Proxy(
  3912. IActiveIMMIME * This,
  3913. /* [in] */ HKL hKL,
  3914. /* [in] */ LPWSTR szReading,
  3915. /* [in] */ DWORD dwStyle,
  3916. /* [in] */ LPWSTR szUnregister);
  3917. void __RPC_STUB IActiveIMMIME_UnregisterWordW_Stub(
  3918. IRpcStubBuffer *This,
  3919. IRpcChannelBuffer *_pRpcChannelBuffer,
  3920. PRPC_MESSAGE _pRpcMessage,
  3921. DWORD *_pdwStubPhase);
  3922. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GenerateMessage_Proxy(
  3923. IActiveIMMIME * This,
  3924. /* [in] */ HIMC hIMC);
  3925. void __RPC_STUB IActiveIMMIME_GenerateMessage_Stub(
  3926. IRpcStubBuffer *This,
  3927. IRpcChannelBuffer *_pRpcChannelBuffer,
  3928. PRPC_MESSAGE _pRpcMessage,
  3929. DWORD *_pdwStubPhase);
  3930. HRESULT STDMETHODCALLTYPE IActiveIMMIME_LockIMC_Proxy(
  3931. IActiveIMMIME * This,
  3932. /* [in] */ HIMC hIMC,
  3933. /* [out] */ INPUTCONTEXT **ppIMC);
  3934. void __RPC_STUB IActiveIMMIME_LockIMC_Stub(
  3935. IRpcStubBuffer *This,
  3936. IRpcChannelBuffer *_pRpcChannelBuffer,
  3937. PRPC_MESSAGE _pRpcMessage,
  3938. DWORD *_pdwStubPhase);
  3939. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnlockIMC_Proxy(
  3940. IActiveIMMIME * This,
  3941. /* [in] */ HIMC hIMC);
  3942. void __RPC_STUB IActiveIMMIME_UnlockIMC_Stub(
  3943. IRpcStubBuffer *This,
  3944. IRpcChannelBuffer *_pRpcChannelBuffer,
  3945. PRPC_MESSAGE _pRpcMessage,
  3946. DWORD *_pdwStubPhase);
  3947. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMCLockCount_Proxy(
  3948. IActiveIMMIME * This,
  3949. /* [in] */ HIMC hIMC,
  3950. /* [out] */ DWORD *pdwLockCount);
  3951. void __RPC_STUB IActiveIMMIME_GetIMCLockCount_Stub(
  3952. IRpcStubBuffer *This,
  3953. IRpcChannelBuffer *_pRpcChannelBuffer,
  3954. PRPC_MESSAGE _pRpcMessage,
  3955. DWORD *_pdwStubPhase);
  3956. HRESULT STDMETHODCALLTYPE IActiveIMMIME_CreateIMCC_Proxy(
  3957. IActiveIMMIME * This,
  3958. /* [in] */ DWORD dwSize,
  3959. /* [out] */ HIMCC *phIMCC);
  3960. void __RPC_STUB IActiveIMMIME_CreateIMCC_Stub(
  3961. IRpcStubBuffer *This,
  3962. IRpcChannelBuffer *_pRpcChannelBuffer,
  3963. PRPC_MESSAGE _pRpcMessage,
  3964. DWORD *_pdwStubPhase);
  3965. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DestroyIMCC_Proxy(
  3966. IActiveIMMIME * This,
  3967. /* [in] */ HIMCC hIMCC);
  3968. void __RPC_STUB IActiveIMMIME_DestroyIMCC_Stub(
  3969. IRpcStubBuffer *This,
  3970. IRpcChannelBuffer *_pRpcChannelBuffer,
  3971. PRPC_MESSAGE _pRpcMessage,
  3972. DWORD *_pdwStubPhase);
  3973. HRESULT STDMETHODCALLTYPE IActiveIMMIME_LockIMCC_Proxy(
  3974. IActiveIMMIME * This,
  3975. /* [in] */ HIMCC hIMCC,
  3976. /* [out] */ void **ppv);
  3977. void __RPC_STUB IActiveIMMIME_LockIMCC_Stub(
  3978. IRpcStubBuffer *This,
  3979. IRpcChannelBuffer *_pRpcChannelBuffer,
  3980. PRPC_MESSAGE _pRpcMessage,
  3981. DWORD *_pdwStubPhase);
  3982. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnlockIMCC_Proxy(
  3983. IActiveIMMIME * This,
  3984. /* [in] */ HIMCC hIMCC);
  3985. void __RPC_STUB IActiveIMMIME_UnlockIMCC_Stub(
  3986. IRpcStubBuffer *This,
  3987. IRpcChannelBuffer *_pRpcChannelBuffer,
  3988. PRPC_MESSAGE _pRpcMessage,
  3989. DWORD *_pdwStubPhase);
  3990. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ReSizeIMCC_Proxy(
  3991. IActiveIMMIME * This,
  3992. /* [in] */ HIMCC hIMCC,
  3993. /* [in] */ DWORD dwSize,
  3994. /* [out] */ HIMCC *phIMCC);
  3995. void __RPC_STUB IActiveIMMIME_ReSizeIMCC_Stub(
  3996. IRpcStubBuffer *This,
  3997. IRpcChannelBuffer *_pRpcChannelBuffer,
  3998. PRPC_MESSAGE _pRpcMessage,
  3999. DWORD *_pdwStubPhase);
  4000. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMCCSize_Proxy(
  4001. IActiveIMMIME * This,
  4002. /* [in] */ HIMCC hIMCC,
  4003. /* [out] */ DWORD *pdwSize);
  4004. void __RPC_STUB IActiveIMMIME_GetIMCCSize_Stub(
  4005. IRpcStubBuffer *This,
  4006. IRpcChannelBuffer *_pRpcChannelBuffer,
  4007. PRPC_MESSAGE _pRpcMessage,
  4008. DWORD *_pdwStubPhase);
  4009. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMCCLockCount_Proxy(
  4010. IActiveIMMIME * This,
  4011. /* [in] */ HIMCC hIMCC,
  4012. /* [out] */ DWORD *pdwLockCount);
  4013. void __RPC_STUB IActiveIMMIME_GetIMCCLockCount_Stub(
  4014. IRpcStubBuffer *This,
  4015. IRpcChannelBuffer *_pRpcChannelBuffer,
  4016. PRPC_MESSAGE _pRpcMessage,
  4017. DWORD *_pdwStubPhase);
  4018. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetHotKey_Proxy(
  4019. IActiveIMMIME * This,
  4020. /* [in] */ DWORD dwHotKeyID,
  4021. /* [out] */ UINT *puModifiers,
  4022. /* [out] */ UINT *puVKey,
  4023. /* [out] */ HKL *phKL);
  4024. void __RPC_STUB IActiveIMMIME_GetHotKey_Stub(
  4025. IRpcStubBuffer *This,
  4026. IRpcChannelBuffer *_pRpcChannelBuffer,
  4027. PRPC_MESSAGE _pRpcMessage,
  4028. DWORD *_pdwStubPhase);
  4029. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetHotKey_Proxy(
  4030. IActiveIMMIME * This,
  4031. /* [in] */ DWORD dwHotKeyID,
  4032. /* [in] */ UINT uModifiers,
  4033. /* [in] */ UINT uVKey,
  4034. /* [in] */ HKL hKL);
  4035. void __RPC_STUB IActiveIMMIME_SetHotKey_Stub(
  4036. IRpcStubBuffer *This,
  4037. IRpcChannelBuffer *_pRpcChannelBuffer,
  4038. PRPC_MESSAGE _pRpcMessage,
  4039. DWORD *_pdwStubPhase);
  4040. HRESULT STDMETHODCALLTYPE IActiveIMMIME_CreateSoftKeyboard_Proxy(
  4041. IActiveIMMIME * This,
  4042. /* [in] */ UINT uType,
  4043. /* [in] */ HWND hOwner,
  4044. /* [in] */ int x,
  4045. /* [in] */ int y,
  4046. /* [out] */ HWND *phSoftKbdWnd);
  4047. void __RPC_STUB IActiveIMMIME_CreateSoftKeyboard_Stub(
  4048. IRpcStubBuffer *This,
  4049. IRpcChannelBuffer *_pRpcChannelBuffer,
  4050. PRPC_MESSAGE _pRpcMessage,
  4051. DWORD *_pdwStubPhase);
  4052. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DestroySoftKeyboard_Proxy(
  4053. IActiveIMMIME * This,
  4054. /* [in] */ HWND hSoftKbdWnd);
  4055. void __RPC_STUB IActiveIMMIME_DestroySoftKeyboard_Stub(
  4056. IRpcStubBuffer *This,
  4057. IRpcChannelBuffer *_pRpcChannelBuffer,
  4058. PRPC_MESSAGE _pRpcMessage,
  4059. DWORD *_pdwStubPhase);
  4060. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ShowSoftKeyboard_Proxy(
  4061. IActiveIMMIME * This,
  4062. /* [in] */ HWND hSoftKbdWnd,
  4063. /* [in] */ int nCmdShow);
  4064. void __RPC_STUB IActiveIMMIME_ShowSoftKeyboard_Stub(
  4065. IRpcStubBuffer *This,
  4066. IRpcChannelBuffer *_pRpcChannelBuffer,
  4067. PRPC_MESSAGE _pRpcMessage,
  4068. DWORD *_pdwStubPhase);
  4069. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCodePageA_Proxy(
  4070. IActiveIMMIME * This,
  4071. /* [in] */ HKL hKL,
  4072. /* [out] */ UINT *uCodePage);
  4073. void __RPC_STUB IActiveIMMIME_GetCodePageA_Stub(
  4074. IRpcStubBuffer *This,
  4075. IRpcChannelBuffer *_pRpcChannelBuffer,
  4076. PRPC_MESSAGE _pRpcMessage,
  4077. DWORD *_pdwStubPhase);
  4078. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetLangId_Proxy(
  4079. IActiveIMMIME * This,
  4080. /* [in] */ HKL hKL,
  4081. /* [out] */ LANGID *plid);
  4082. void __RPC_STUB IActiveIMMIME_GetLangId_Stub(
  4083. IRpcStubBuffer *This,
  4084. IRpcChannelBuffer *_pRpcChannelBuffer,
  4085. PRPC_MESSAGE _pRpcMessage,
  4086. DWORD *_pdwStubPhase);
  4087. HRESULT STDMETHODCALLTYPE IActiveIMMIME_KeybdEvent_Proxy(
  4088. IActiveIMMIME * This,
  4089. /* [in] */ LANGID lgidIME,
  4090. /* [in] */ BYTE bVk,
  4091. /* [in] */ BYTE bScan,
  4092. /* [in] */ DWORD dwFlags,
  4093. /* [in] */ DWORD dwExtraInfo);
  4094. void __RPC_STUB IActiveIMMIME_KeybdEvent_Stub(
  4095. IRpcStubBuffer *This,
  4096. IRpcChannelBuffer *_pRpcChannelBuffer,
  4097. PRPC_MESSAGE _pRpcMessage,
  4098. DWORD *_pdwStubPhase);
  4099. HRESULT STDMETHODCALLTYPE IActiveIMMIME_LockModal_Proxy(
  4100. IActiveIMMIME * This);
  4101. void __RPC_STUB IActiveIMMIME_LockModal_Stub(
  4102. IRpcStubBuffer *This,
  4103. IRpcChannelBuffer *_pRpcChannelBuffer,
  4104. PRPC_MESSAGE _pRpcMessage,
  4105. DWORD *_pdwStubPhase);
  4106. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnlockModal_Proxy(
  4107. IActiveIMMIME * This);
  4108. void __RPC_STUB IActiveIMMIME_UnlockModal_Stub(
  4109. IRpcStubBuffer *This,
  4110. IRpcChannelBuffer *_pRpcChannelBuffer,
  4111. PRPC_MESSAGE _pRpcMessage,
  4112. DWORD *_pdwStubPhase);
  4113. HRESULT STDMETHODCALLTYPE IActiveIMMIME_AssociateContextEx_Proxy(
  4114. IActiveIMMIME * This,
  4115. /* [in] */ HWND hWnd,
  4116. /* [in] */ HIMC hIMC,
  4117. /* [in] */ DWORD dwFlags);
  4118. void __RPC_STUB IActiveIMMIME_AssociateContextEx_Stub(
  4119. IRpcStubBuffer *This,
  4120. IRpcChannelBuffer *_pRpcChannelBuffer,
  4121. PRPC_MESSAGE _pRpcMessage,
  4122. DWORD *_pdwStubPhase);
  4123. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DisableIME_Proxy(
  4124. IActiveIMMIME * This,
  4125. /* [in] */ DWORD idThread);
  4126. void __RPC_STUB IActiveIMMIME_DisableIME_Stub(
  4127. IRpcStubBuffer *This,
  4128. IRpcChannelBuffer *_pRpcChannelBuffer,
  4129. PRPC_MESSAGE _pRpcMessage,
  4130. DWORD *_pdwStubPhase);
  4131. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetImeMenuItemsA_Proxy(
  4132. IActiveIMMIME * This,
  4133. /* [in] */ HIMC hIMC,
  4134. /* [in] */ DWORD dwFlags,
  4135. /* [in] */ DWORD dwType,
  4136. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  4137. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  4138. /* [in] */ DWORD dwSize,
  4139. /* [out] */ DWORD *pdwResult);
  4140. void __RPC_STUB IActiveIMMIME_GetImeMenuItemsA_Stub(
  4141. IRpcStubBuffer *This,
  4142. IRpcChannelBuffer *_pRpcChannelBuffer,
  4143. PRPC_MESSAGE _pRpcMessage,
  4144. DWORD *_pdwStubPhase);
  4145. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetImeMenuItemsW_Proxy(
  4146. IActiveIMMIME * This,
  4147. /* [in] */ HIMC hIMC,
  4148. /* [in] */ DWORD dwFlags,
  4149. /* [in] */ DWORD dwType,
  4150. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  4151. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  4152. /* [in] */ DWORD dwSize,
  4153. /* [out] */ DWORD *pdwResult);
  4154. void __RPC_STUB IActiveIMMIME_GetImeMenuItemsW_Stub(
  4155. IRpcStubBuffer *This,
  4156. IRpcChannelBuffer *_pRpcChannelBuffer,
  4157. PRPC_MESSAGE _pRpcMessage,
  4158. DWORD *_pdwStubPhase);
  4159. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EnumInputContext_Proxy(
  4160. IActiveIMMIME * This,
  4161. /* [in] */ DWORD idThread,
  4162. /* [out] */ IEnumInputContext **ppEnum);
  4163. void __RPC_STUB IActiveIMMIME_EnumInputContext_Stub(
  4164. IRpcStubBuffer *This,
  4165. IRpcChannelBuffer *_pRpcChannelBuffer,
  4166. PRPC_MESSAGE _pRpcMessage,
  4167. DWORD *_pdwStubPhase);
  4168. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RequestMessageA_Proxy(
  4169. IActiveIMMIME * This,
  4170. /* [in] */ HIMC hIMC,
  4171. /* [in] */ WPARAM wParam,
  4172. /* [in] */ LPARAM lParam,
  4173. /* [out] */ LRESULT *plResult);
  4174. void __RPC_STUB IActiveIMMIME_RequestMessageA_Stub(
  4175. IRpcStubBuffer *This,
  4176. IRpcChannelBuffer *_pRpcChannelBuffer,
  4177. PRPC_MESSAGE _pRpcMessage,
  4178. DWORD *_pdwStubPhase);
  4179. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RequestMessageW_Proxy(
  4180. IActiveIMMIME * This,
  4181. /* [in] */ HIMC hIMC,
  4182. /* [in] */ WPARAM wParam,
  4183. /* [in] */ LPARAM lParam,
  4184. /* [out] */ LRESULT *plResult);
  4185. void __RPC_STUB IActiveIMMIME_RequestMessageW_Stub(
  4186. IRpcStubBuffer *This,
  4187. IRpcChannelBuffer *_pRpcChannelBuffer,
  4188. PRPC_MESSAGE _pRpcMessage,
  4189. DWORD *_pdwStubPhase);
  4190. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SendIMCA_Proxy(
  4191. IActiveIMMIME * This,
  4192. /* [in] */ HWND hWnd,
  4193. /* [in] */ UINT uMsg,
  4194. /* [in] */ WPARAM wParam,
  4195. /* [in] */ LPARAM lParam,
  4196. /* [out] */ LRESULT *plResult);
  4197. void __RPC_STUB IActiveIMMIME_SendIMCA_Stub(
  4198. IRpcStubBuffer *This,
  4199. IRpcChannelBuffer *_pRpcChannelBuffer,
  4200. PRPC_MESSAGE _pRpcMessage,
  4201. DWORD *_pdwStubPhase);
  4202. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SendIMCW_Proxy(
  4203. IActiveIMMIME * This,
  4204. /* [in] */ HWND hWnd,
  4205. /* [in] */ UINT uMsg,
  4206. /* [in] */ WPARAM wParam,
  4207. /* [in] */ LPARAM lParam,
  4208. /* [out] */ LRESULT *plResult);
  4209. void __RPC_STUB IActiveIMMIME_SendIMCW_Stub(
  4210. IRpcStubBuffer *This,
  4211. IRpcChannelBuffer *_pRpcChannelBuffer,
  4212. PRPC_MESSAGE _pRpcMessage,
  4213. DWORD *_pdwStubPhase);
  4214. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsSleeping_Proxy(
  4215. IActiveIMMIME * This);
  4216. void __RPC_STUB IActiveIMMIME_IsSleeping_Stub(
  4217. IRpcStubBuffer *This,
  4218. IRpcChannelBuffer *_pRpcChannelBuffer,
  4219. PRPC_MESSAGE _pRpcMessage,
  4220. DWORD *_pdwStubPhase);
  4221. #endif /* __IActiveIMMIME_INTERFACE_DEFINED__ */
  4222. #ifndef __IActiveIME_INTERFACE_DEFINED__
  4223. #define __IActiveIME_INTERFACE_DEFINED__
  4224. /* interface IActiveIME */
  4225. /* [unique][uuid][object] */
  4226. EXTERN_C const IID IID_IActiveIME;
  4227. #if defined(__cplusplus) && !defined(CINTERFACE)
  4228. MIDL_INTERFACE("6FE20962-D077-11d0-8FE7-00AA006BCC59")
  4229. IActiveIME : public IUnknown
  4230. {
  4231. public:
  4232. virtual HRESULT STDMETHODCALLTYPE Inquire(
  4233. /* [in] */ DWORD dwSystemInfoFlags,
  4234. /* [out] */ IMEINFO *pIMEInfo,
  4235. /* [out] */ LPWSTR szWndClass,
  4236. /* [out] */ DWORD *pdwPrivate) = 0;
  4237. virtual HRESULT STDMETHODCALLTYPE ConversionList(
  4238. /* [in] */ HIMC hIMC,
  4239. /* [in] */ LPWSTR szSource,
  4240. /* [in] */ UINT uFlag,
  4241. /* [in] */ UINT uBufLen,
  4242. /* [out] */ CANDIDATELIST *pDest,
  4243. /* [out] */ UINT *puCopied) = 0;
  4244. virtual HRESULT STDMETHODCALLTYPE Configure(
  4245. /* [in] */ HKL hKL,
  4246. /* [in] */ HWND hWnd,
  4247. /* [in] */ DWORD dwMode,
  4248. /* [in] */ REGISTERWORDW *pRegisterWord) = 0;
  4249. virtual HRESULT STDMETHODCALLTYPE Destroy(
  4250. /* [in] */ UINT uReserved) = 0;
  4251. virtual HRESULT STDMETHODCALLTYPE Escape(
  4252. /* [in] */ HIMC hIMC,
  4253. /* [in] */ UINT uEscape,
  4254. /* [out][in] */ void *pData,
  4255. /* [out] */ LRESULT *plResult) = 0;
  4256. virtual HRESULT STDMETHODCALLTYPE SetActiveContext(
  4257. /* [in] */ HIMC hIMC,
  4258. /* [in] */ BOOL fFlag) = 0;
  4259. virtual HRESULT STDMETHODCALLTYPE ProcessKey(
  4260. /* [in] */ HIMC hIMC,
  4261. /* [in] */ UINT uVirKey,
  4262. /* [in] */ DWORD lParam,
  4263. /* [in] */ BYTE *pbKeyState) = 0;
  4264. virtual HRESULT STDMETHODCALLTYPE Notify(
  4265. /* [in] */ HIMC hIMC,
  4266. /* [in] */ DWORD dwAction,
  4267. /* [in] */ DWORD dwIndex,
  4268. /* [in] */ DWORD dwValue) = 0;
  4269. virtual HRESULT STDMETHODCALLTYPE Select(
  4270. /* [in] */ HIMC hIMC,
  4271. /* [in] */ BOOL fSelect) = 0;
  4272. virtual HRESULT STDMETHODCALLTYPE SetCompositionString(
  4273. /* [in] */ HIMC hIMC,
  4274. /* [in] */ DWORD dwIndex,
  4275. /* [in] */ void *pComp,
  4276. /* [in] */ DWORD dwCompLen,
  4277. /* [in] */ void *pRead,
  4278. /* [in] */ DWORD dwReadLen) = 0;
  4279. virtual HRESULT STDMETHODCALLTYPE ToAsciiEx(
  4280. /* [in] */ UINT uVirKey,
  4281. /* [in] */ UINT uScanCode,
  4282. /* [in] */ BYTE *pbKeyState,
  4283. /* [in] */ UINT fuState,
  4284. /* [in] */ HIMC hIMC,
  4285. /* [out] */ DWORD *pdwTransBuf,
  4286. /* [out] */ UINT *puSize) = 0;
  4287. virtual HRESULT STDMETHODCALLTYPE RegisterWord(
  4288. /* [in] */ LPWSTR szReading,
  4289. /* [in] */ DWORD dwStyle,
  4290. /* [in] */ LPWSTR szString) = 0;
  4291. virtual HRESULT STDMETHODCALLTYPE UnregisterWord(
  4292. /* [in] */ LPWSTR szReading,
  4293. /* [in] */ DWORD dwStyle,
  4294. /* [in] */ LPWSTR szString) = 0;
  4295. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyle(
  4296. /* [in] */ UINT nItem,
  4297. /* [out] */ STYLEBUFW *pStyleBuf,
  4298. /* [out] */ UINT *puBufSize) = 0;
  4299. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWord(
  4300. /* [in] */ LPWSTR szReading,
  4301. /* [in] */ DWORD dwStyle,
  4302. /* [in] */ LPWSTR szRegister,
  4303. /* [in] */ LPVOID pData,
  4304. /* [out] */ IEnumRegisterWordW **ppEnum) = 0;
  4305. virtual HRESULT STDMETHODCALLTYPE GetCodePageA(
  4306. /* [out] */ UINT *uCodePage) = 0;
  4307. virtual HRESULT STDMETHODCALLTYPE GetLangId(
  4308. /* [out] */ LANGID *plid) = 0;
  4309. };
  4310. #else /* C style interface */
  4311. typedef struct IActiveIMEVtbl
  4312. {
  4313. BEGIN_INTERFACE
  4314. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4315. IActiveIME * This,
  4316. /* [in] */ REFIID riid,
  4317. /* [iid_is][out] */ void **ppvObject);
  4318. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4319. IActiveIME * This);
  4320. ULONG ( STDMETHODCALLTYPE *Release )(
  4321. IActiveIME * This);
  4322. HRESULT ( STDMETHODCALLTYPE *Inquire )(
  4323. IActiveIME * This,
  4324. /* [in] */ DWORD dwSystemInfoFlags,
  4325. /* [out] */ IMEINFO *pIMEInfo,
  4326. /* [out] */ LPWSTR szWndClass,
  4327. /* [out] */ DWORD *pdwPrivate);
  4328. HRESULT ( STDMETHODCALLTYPE *ConversionList )(
  4329. IActiveIME * This,
  4330. /* [in] */ HIMC hIMC,
  4331. /* [in] */ LPWSTR szSource,
  4332. /* [in] */ UINT uFlag,
  4333. /* [in] */ UINT uBufLen,
  4334. /* [out] */ CANDIDATELIST *pDest,
  4335. /* [out] */ UINT *puCopied);
  4336. HRESULT ( STDMETHODCALLTYPE *Configure )(
  4337. IActiveIME * This,
  4338. /* [in] */ HKL hKL,
  4339. /* [in] */ HWND hWnd,
  4340. /* [in] */ DWORD dwMode,
  4341. /* [in] */ REGISTERWORDW *pRegisterWord);
  4342. HRESULT ( STDMETHODCALLTYPE *Destroy )(
  4343. IActiveIME * This,
  4344. /* [in] */ UINT uReserved);
  4345. HRESULT ( STDMETHODCALLTYPE *Escape )(
  4346. IActiveIME * This,
  4347. /* [in] */ HIMC hIMC,
  4348. /* [in] */ UINT uEscape,
  4349. /* [out][in] */ void *pData,
  4350. /* [out] */ LRESULT *plResult);
  4351. HRESULT ( STDMETHODCALLTYPE *SetActiveContext )(
  4352. IActiveIME * This,
  4353. /* [in] */ HIMC hIMC,
  4354. /* [in] */ BOOL fFlag);
  4355. HRESULT ( STDMETHODCALLTYPE *ProcessKey )(
  4356. IActiveIME * This,
  4357. /* [in] */ HIMC hIMC,
  4358. /* [in] */ UINT uVirKey,
  4359. /* [in] */ DWORD lParam,
  4360. /* [in] */ BYTE *pbKeyState);
  4361. HRESULT ( STDMETHODCALLTYPE *Notify )(
  4362. IActiveIME * This,
  4363. /* [in] */ HIMC hIMC,
  4364. /* [in] */ DWORD dwAction,
  4365. /* [in] */ DWORD dwIndex,
  4366. /* [in] */ DWORD dwValue);
  4367. HRESULT ( STDMETHODCALLTYPE *Select )(
  4368. IActiveIME * This,
  4369. /* [in] */ HIMC hIMC,
  4370. /* [in] */ BOOL fSelect);
  4371. HRESULT ( STDMETHODCALLTYPE *SetCompositionString )(
  4372. IActiveIME * This,
  4373. /* [in] */ HIMC hIMC,
  4374. /* [in] */ DWORD dwIndex,
  4375. /* [in] */ void *pComp,
  4376. /* [in] */ DWORD dwCompLen,
  4377. /* [in] */ void *pRead,
  4378. /* [in] */ DWORD dwReadLen);
  4379. HRESULT ( STDMETHODCALLTYPE *ToAsciiEx )(
  4380. IActiveIME * This,
  4381. /* [in] */ UINT uVirKey,
  4382. /* [in] */ UINT uScanCode,
  4383. /* [in] */ BYTE *pbKeyState,
  4384. /* [in] */ UINT fuState,
  4385. /* [in] */ HIMC hIMC,
  4386. /* [out] */ DWORD *pdwTransBuf,
  4387. /* [out] */ UINT *puSize);
  4388. HRESULT ( STDMETHODCALLTYPE *RegisterWord )(
  4389. IActiveIME * This,
  4390. /* [in] */ LPWSTR szReading,
  4391. /* [in] */ DWORD dwStyle,
  4392. /* [in] */ LPWSTR szString);
  4393. HRESULT ( STDMETHODCALLTYPE *UnregisterWord )(
  4394. IActiveIME * This,
  4395. /* [in] */ LPWSTR szReading,
  4396. /* [in] */ DWORD dwStyle,
  4397. /* [in] */ LPWSTR szString);
  4398. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyle )(
  4399. IActiveIME * This,
  4400. /* [in] */ UINT nItem,
  4401. /* [out] */ STYLEBUFW *pStyleBuf,
  4402. /* [out] */ UINT *puBufSize);
  4403. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWord )(
  4404. IActiveIME * This,
  4405. /* [in] */ LPWSTR szReading,
  4406. /* [in] */ DWORD dwStyle,
  4407. /* [in] */ LPWSTR szRegister,
  4408. /* [in] */ LPVOID pData,
  4409. /* [out] */ IEnumRegisterWordW **ppEnum);
  4410. HRESULT ( STDMETHODCALLTYPE *GetCodePageA )(
  4411. IActiveIME * This,
  4412. /* [out] */ UINT *uCodePage);
  4413. HRESULT ( STDMETHODCALLTYPE *GetLangId )(
  4414. IActiveIME * This,
  4415. /* [out] */ LANGID *plid);
  4416. END_INTERFACE
  4417. } IActiveIMEVtbl;
  4418. interface IActiveIME
  4419. {
  4420. CONST_VTBL struct IActiveIMEVtbl *lpVtbl;
  4421. };
  4422. #ifdef COBJMACROS
  4423. #define IActiveIME_QueryInterface(This,riid,ppvObject) \
  4424. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4425. #define IActiveIME_AddRef(This) \
  4426. (This)->lpVtbl -> AddRef(This)
  4427. #define IActiveIME_Release(This) \
  4428. (This)->lpVtbl -> Release(This)
  4429. #define IActiveIME_Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate) \
  4430. (This)->lpVtbl -> Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate)
  4431. #define IActiveIME_ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied) \
  4432. (This)->lpVtbl -> ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied)
  4433. #define IActiveIME_Configure(This,hKL,hWnd,dwMode,pRegisterWord) \
  4434. (This)->lpVtbl -> Configure(This,hKL,hWnd,dwMode,pRegisterWord)
  4435. #define IActiveIME_Destroy(This,uReserved) \
  4436. (This)->lpVtbl -> Destroy(This,uReserved)
  4437. #define IActiveIME_Escape(This,hIMC,uEscape,pData,plResult) \
  4438. (This)->lpVtbl -> Escape(This,hIMC,uEscape,pData,plResult)
  4439. #define IActiveIME_SetActiveContext(This,hIMC,fFlag) \
  4440. (This)->lpVtbl -> SetActiveContext(This,hIMC,fFlag)
  4441. #define IActiveIME_ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState) \
  4442. (This)->lpVtbl -> ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState)
  4443. #define IActiveIME_Notify(This,hIMC,dwAction,dwIndex,dwValue) \
  4444. (This)->lpVtbl -> Notify(This,hIMC,dwAction,dwIndex,dwValue)
  4445. #define IActiveIME_Select(This,hIMC,fSelect) \
  4446. (This)->lpVtbl -> Select(This,hIMC,fSelect)
  4447. #define IActiveIME_SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  4448. (This)->lpVtbl -> SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  4449. #define IActiveIME_ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize) \
  4450. (This)->lpVtbl -> ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize)
  4451. #define IActiveIME_RegisterWord(This,szReading,dwStyle,szString) \
  4452. (This)->lpVtbl -> RegisterWord(This,szReading,dwStyle,szString)
  4453. #define IActiveIME_UnregisterWord(This,szReading,dwStyle,szString) \
  4454. (This)->lpVtbl -> UnregisterWord(This,szReading,dwStyle,szString)
  4455. #define IActiveIME_GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize) \
  4456. (This)->lpVtbl -> GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize)
  4457. #define IActiveIME_EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum) \
  4458. (This)->lpVtbl -> EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum)
  4459. #define IActiveIME_GetCodePageA(This,uCodePage) \
  4460. (This)->lpVtbl -> GetCodePageA(This,uCodePage)
  4461. #define IActiveIME_GetLangId(This,plid) \
  4462. (This)->lpVtbl -> GetLangId(This,plid)
  4463. #endif /* COBJMACROS */
  4464. #endif /* C style interface */
  4465. HRESULT STDMETHODCALLTYPE IActiveIME_Inquire_Proxy(
  4466. IActiveIME * This,
  4467. /* [in] */ DWORD dwSystemInfoFlags,
  4468. /* [out] */ IMEINFO *pIMEInfo,
  4469. /* [out] */ LPWSTR szWndClass,
  4470. /* [out] */ DWORD *pdwPrivate);
  4471. void __RPC_STUB IActiveIME_Inquire_Stub(
  4472. IRpcStubBuffer *This,
  4473. IRpcChannelBuffer *_pRpcChannelBuffer,
  4474. PRPC_MESSAGE _pRpcMessage,
  4475. DWORD *_pdwStubPhase);
  4476. HRESULT STDMETHODCALLTYPE IActiveIME_ConversionList_Proxy(
  4477. IActiveIME * This,
  4478. /* [in] */ HIMC hIMC,
  4479. /* [in] */ LPWSTR szSource,
  4480. /* [in] */ UINT uFlag,
  4481. /* [in] */ UINT uBufLen,
  4482. /* [out] */ CANDIDATELIST *pDest,
  4483. /* [out] */ UINT *puCopied);
  4484. void __RPC_STUB IActiveIME_ConversionList_Stub(
  4485. IRpcStubBuffer *This,
  4486. IRpcChannelBuffer *_pRpcChannelBuffer,
  4487. PRPC_MESSAGE _pRpcMessage,
  4488. DWORD *_pdwStubPhase);
  4489. HRESULT STDMETHODCALLTYPE IActiveIME_Configure_Proxy(
  4490. IActiveIME * This,
  4491. /* [in] */ HKL hKL,
  4492. /* [in] */ HWND hWnd,
  4493. /* [in] */ DWORD dwMode,
  4494. /* [in] */ REGISTERWORDW *pRegisterWord);
  4495. void __RPC_STUB IActiveIME_Configure_Stub(
  4496. IRpcStubBuffer *This,
  4497. IRpcChannelBuffer *_pRpcChannelBuffer,
  4498. PRPC_MESSAGE _pRpcMessage,
  4499. DWORD *_pdwStubPhase);
  4500. HRESULT STDMETHODCALLTYPE IActiveIME_Destroy_Proxy(
  4501. IActiveIME * This,
  4502. /* [in] */ UINT uReserved);
  4503. void __RPC_STUB IActiveIME_Destroy_Stub(
  4504. IRpcStubBuffer *This,
  4505. IRpcChannelBuffer *_pRpcChannelBuffer,
  4506. PRPC_MESSAGE _pRpcMessage,
  4507. DWORD *_pdwStubPhase);
  4508. HRESULT STDMETHODCALLTYPE IActiveIME_Escape_Proxy(
  4509. IActiveIME * This,
  4510. /* [in] */ HIMC hIMC,
  4511. /* [in] */ UINT uEscape,
  4512. /* [out][in] */ void *pData,
  4513. /* [out] */ LRESULT *plResult);
  4514. void __RPC_STUB IActiveIME_Escape_Stub(
  4515. IRpcStubBuffer *This,
  4516. IRpcChannelBuffer *_pRpcChannelBuffer,
  4517. PRPC_MESSAGE _pRpcMessage,
  4518. DWORD *_pdwStubPhase);
  4519. HRESULT STDMETHODCALLTYPE IActiveIME_SetActiveContext_Proxy(
  4520. IActiveIME * This,
  4521. /* [in] */ HIMC hIMC,
  4522. /* [in] */ BOOL fFlag);
  4523. void __RPC_STUB IActiveIME_SetActiveContext_Stub(
  4524. IRpcStubBuffer *This,
  4525. IRpcChannelBuffer *_pRpcChannelBuffer,
  4526. PRPC_MESSAGE _pRpcMessage,
  4527. DWORD *_pdwStubPhase);
  4528. HRESULT STDMETHODCALLTYPE IActiveIME_ProcessKey_Proxy(
  4529. IActiveIME * This,
  4530. /* [in] */ HIMC hIMC,
  4531. /* [in] */ UINT uVirKey,
  4532. /* [in] */ DWORD lParam,
  4533. /* [in] */ BYTE *pbKeyState);
  4534. void __RPC_STUB IActiveIME_ProcessKey_Stub(
  4535. IRpcStubBuffer *This,
  4536. IRpcChannelBuffer *_pRpcChannelBuffer,
  4537. PRPC_MESSAGE _pRpcMessage,
  4538. DWORD *_pdwStubPhase);
  4539. HRESULT STDMETHODCALLTYPE IActiveIME_Notify_Proxy(
  4540. IActiveIME * This,
  4541. /* [in] */ HIMC hIMC,
  4542. /* [in] */ DWORD dwAction,
  4543. /* [in] */ DWORD dwIndex,
  4544. /* [in] */ DWORD dwValue);
  4545. void __RPC_STUB IActiveIME_Notify_Stub(
  4546. IRpcStubBuffer *This,
  4547. IRpcChannelBuffer *_pRpcChannelBuffer,
  4548. PRPC_MESSAGE _pRpcMessage,
  4549. DWORD *_pdwStubPhase);
  4550. HRESULT STDMETHODCALLTYPE IActiveIME_Select_Proxy(
  4551. IActiveIME * This,
  4552. /* [in] */ HIMC hIMC,
  4553. /* [in] */ BOOL fSelect);
  4554. void __RPC_STUB IActiveIME_Select_Stub(
  4555. IRpcStubBuffer *This,
  4556. IRpcChannelBuffer *_pRpcChannelBuffer,
  4557. PRPC_MESSAGE _pRpcMessage,
  4558. DWORD *_pdwStubPhase);
  4559. HRESULT STDMETHODCALLTYPE IActiveIME_SetCompositionString_Proxy(
  4560. IActiveIME * This,
  4561. /* [in] */ HIMC hIMC,
  4562. /* [in] */ DWORD dwIndex,
  4563. /* [in] */ void *pComp,
  4564. /* [in] */ DWORD dwCompLen,
  4565. /* [in] */ void *pRead,
  4566. /* [in] */ DWORD dwReadLen);
  4567. void __RPC_STUB IActiveIME_SetCompositionString_Stub(
  4568. IRpcStubBuffer *This,
  4569. IRpcChannelBuffer *_pRpcChannelBuffer,
  4570. PRPC_MESSAGE _pRpcMessage,
  4571. DWORD *_pdwStubPhase);
  4572. HRESULT STDMETHODCALLTYPE IActiveIME_ToAsciiEx_Proxy(
  4573. IActiveIME * This,
  4574. /* [in] */ UINT uVirKey,
  4575. /* [in] */ UINT uScanCode,
  4576. /* [in] */ BYTE *pbKeyState,
  4577. /* [in] */ UINT fuState,
  4578. /* [in] */ HIMC hIMC,
  4579. /* [out] */ DWORD *pdwTransBuf,
  4580. /* [out] */ UINT *puSize);
  4581. void __RPC_STUB IActiveIME_ToAsciiEx_Stub(
  4582. IRpcStubBuffer *This,
  4583. IRpcChannelBuffer *_pRpcChannelBuffer,
  4584. PRPC_MESSAGE _pRpcMessage,
  4585. DWORD *_pdwStubPhase);
  4586. HRESULT STDMETHODCALLTYPE IActiveIME_RegisterWord_Proxy(
  4587. IActiveIME * This,
  4588. /* [in] */ LPWSTR szReading,
  4589. /* [in] */ DWORD dwStyle,
  4590. /* [in] */ LPWSTR szString);
  4591. void __RPC_STUB IActiveIME_RegisterWord_Stub(
  4592. IRpcStubBuffer *This,
  4593. IRpcChannelBuffer *_pRpcChannelBuffer,
  4594. PRPC_MESSAGE _pRpcMessage,
  4595. DWORD *_pdwStubPhase);
  4596. HRESULT STDMETHODCALLTYPE IActiveIME_UnregisterWord_Proxy(
  4597. IActiveIME * This,
  4598. /* [in] */ LPWSTR szReading,
  4599. /* [in] */ DWORD dwStyle,
  4600. /* [in] */ LPWSTR szString);
  4601. void __RPC_STUB IActiveIME_UnregisterWord_Stub(
  4602. IRpcStubBuffer *This,
  4603. IRpcChannelBuffer *_pRpcChannelBuffer,
  4604. PRPC_MESSAGE _pRpcMessage,
  4605. DWORD *_pdwStubPhase);
  4606. HRESULT STDMETHODCALLTYPE IActiveIME_GetRegisterWordStyle_Proxy(
  4607. IActiveIME * This,
  4608. /* [in] */ UINT nItem,
  4609. /* [out] */ STYLEBUFW *pStyleBuf,
  4610. /* [out] */ UINT *puBufSize);
  4611. void __RPC_STUB IActiveIME_GetRegisterWordStyle_Stub(
  4612. IRpcStubBuffer *This,
  4613. IRpcChannelBuffer *_pRpcChannelBuffer,
  4614. PRPC_MESSAGE _pRpcMessage,
  4615. DWORD *_pdwStubPhase);
  4616. HRESULT STDMETHODCALLTYPE IActiveIME_EnumRegisterWord_Proxy(
  4617. IActiveIME * This,
  4618. /* [in] */ LPWSTR szReading,
  4619. /* [in] */ DWORD dwStyle,
  4620. /* [in] */ LPWSTR szRegister,
  4621. /* [in] */ LPVOID pData,
  4622. /* [out] */ IEnumRegisterWordW **ppEnum);
  4623. void __RPC_STUB IActiveIME_EnumRegisterWord_Stub(
  4624. IRpcStubBuffer *This,
  4625. IRpcChannelBuffer *_pRpcChannelBuffer,
  4626. PRPC_MESSAGE _pRpcMessage,
  4627. DWORD *_pdwStubPhase);
  4628. HRESULT STDMETHODCALLTYPE IActiveIME_GetCodePageA_Proxy(
  4629. IActiveIME * This,
  4630. /* [out] */ UINT *uCodePage);
  4631. void __RPC_STUB IActiveIME_GetCodePageA_Stub(
  4632. IRpcStubBuffer *This,
  4633. IRpcChannelBuffer *_pRpcChannelBuffer,
  4634. PRPC_MESSAGE _pRpcMessage,
  4635. DWORD *_pdwStubPhase);
  4636. HRESULT STDMETHODCALLTYPE IActiveIME_GetLangId_Proxy(
  4637. IActiveIME * This,
  4638. /* [out] */ LANGID *plid);
  4639. void __RPC_STUB IActiveIME_GetLangId_Stub(
  4640. IRpcStubBuffer *This,
  4641. IRpcChannelBuffer *_pRpcChannelBuffer,
  4642. PRPC_MESSAGE _pRpcMessage,
  4643. DWORD *_pdwStubPhase);
  4644. #endif /* __IActiveIME_INTERFACE_DEFINED__ */
  4645. #ifndef __IActiveIME2_INTERFACE_DEFINED__
  4646. #define __IActiveIME2_INTERFACE_DEFINED__
  4647. /* interface IActiveIME2 */
  4648. /* [unique][uuid][object] */
  4649. EXTERN_C const IID IID_IActiveIME2;
  4650. #if defined(__cplusplus) && !defined(CINTERFACE)
  4651. MIDL_INTERFACE("e1c4bf0e-2d53-11d2-93e1-0060b067b86e")
  4652. IActiveIME2 : public IActiveIME
  4653. {
  4654. public:
  4655. virtual HRESULT STDMETHODCALLTYPE Sleep( void) = 0;
  4656. virtual HRESULT STDMETHODCALLTYPE Unsleep(
  4657. /* [in] */ BOOL fDead) = 0;
  4658. };
  4659. #else /* C style interface */
  4660. typedef struct IActiveIME2Vtbl
  4661. {
  4662. BEGIN_INTERFACE
  4663. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4664. IActiveIME2 * This,
  4665. /* [in] */ REFIID riid,
  4666. /* [iid_is][out] */ void **ppvObject);
  4667. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4668. IActiveIME2 * This);
  4669. ULONG ( STDMETHODCALLTYPE *Release )(
  4670. IActiveIME2 * This);
  4671. HRESULT ( STDMETHODCALLTYPE *Inquire )(
  4672. IActiveIME2 * This,
  4673. /* [in] */ DWORD dwSystemInfoFlags,
  4674. /* [out] */ IMEINFO *pIMEInfo,
  4675. /* [out] */ LPWSTR szWndClass,
  4676. /* [out] */ DWORD *pdwPrivate);
  4677. HRESULT ( STDMETHODCALLTYPE *ConversionList )(
  4678. IActiveIME2 * This,
  4679. /* [in] */ HIMC hIMC,
  4680. /* [in] */ LPWSTR szSource,
  4681. /* [in] */ UINT uFlag,
  4682. /* [in] */ UINT uBufLen,
  4683. /* [out] */ CANDIDATELIST *pDest,
  4684. /* [out] */ UINT *puCopied);
  4685. HRESULT ( STDMETHODCALLTYPE *Configure )(
  4686. IActiveIME2 * This,
  4687. /* [in] */ HKL hKL,
  4688. /* [in] */ HWND hWnd,
  4689. /* [in] */ DWORD dwMode,
  4690. /* [in] */ REGISTERWORDW *pRegisterWord);
  4691. HRESULT ( STDMETHODCALLTYPE *Destroy )(
  4692. IActiveIME2 * This,
  4693. /* [in] */ UINT uReserved);
  4694. HRESULT ( STDMETHODCALLTYPE *Escape )(
  4695. IActiveIME2 * This,
  4696. /* [in] */ HIMC hIMC,
  4697. /* [in] */ UINT uEscape,
  4698. /* [out][in] */ void *pData,
  4699. /* [out] */ LRESULT *plResult);
  4700. HRESULT ( STDMETHODCALLTYPE *SetActiveContext )(
  4701. IActiveIME2 * This,
  4702. /* [in] */ HIMC hIMC,
  4703. /* [in] */ BOOL fFlag);
  4704. HRESULT ( STDMETHODCALLTYPE *ProcessKey )(
  4705. IActiveIME2 * This,
  4706. /* [in] */ HIMC hIMC,
  4707. /* [in] */ UINT uVirKey,
  4708. /* [in] */ DWORD lParam,
  4709. /* [in] */ BYTE *pbKeyState);
  4710. HRESULT ( STDMETHODCALLTYPE *Notify )(
  4711. IActiveIME2 * This,
  4712. /* [in] */ HIMC hIMC,
  4713. /* [in] */ DWORD dwAction,
  4714. /* [in] */ DWORD dwIndex,
  4715. /* [in] */ DWORD dwValue);
  4716. HRESULT ( STDMETHODCALLTYPE *Select )(
  4717. IActiveIME2 * This,
  4718. /* [in] */ HIMC hIMC,
  4719. /* [in] */ BOOL fSelect);
  4720. HRESULT ( STDMETHODCALLTYPE *SetCompositionString )(
  4721. IActiveIME2 * This,
  4722. /* [in] */ HIMC hIMC,
  4723. /* [in] */ DWORD dwIndex,
  4724. /* [in] */ void *pComp,
  4725. /* [in] */ DWORD dwCompLen,
  4726. /* [in] */ void *pRead,
  4727. /* [in] */ DWORD dwReadLen);
  4728. HRESULT ( STDMETHODCALLTYPE *ToAsciiEx )(
  4729. IActiveIME2 * This,
  4730. /* [in] */ UINT uVirKey,
  4731. /* [in] */ UINT uScanCode,
  4732. /* [in] */ BYTE *pbKeyState,
  4733. /* [in] */ UINT fuState,
  4734. /* [in] */ HIMC hIMC,
  4735. /* [out] */ DWORD *pdwTransBuf,
  4736. /* [out] */ UINT *puSize);
  4737. HRESULT ( STDMETHODCALLTYPE *RegisterWord )(
  4738. IActiveIME2 * This,
  4739. /* [in] */ LPWSTR szReading,
  4740. /* [in] */ DWORD dwStyle,
  4741. /* [in] */ LPWSTR szString);
  4742. HRESULT ( STDMETHODCALLTYPE *UnregisterWord )(
  4743. IActiveIME2 * This,
  4744. /* [in] */ LPWSTR szReading,
  4745. /* [in] */ DWORD dwStyle,
  4746. /* [in] */ LPWSTR szString);
  4747. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyle )(
  4748. IActiveIME2 * This,
  4749. /* [in] */ UINT nItem,
  4750. /* [out] */ STYLEBUFW *pStyleBuf,
  4751. /* [out] */ UINT *puBufSize);
  4752. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWord )(
  4753. IActiveIME2 * This,
  4754. /* [in] */ LPWSTR szReading,
  4755. /* [in] */ DWORD dwStyle,
  4756. /* [in] */ LPWSTR szRegister,
  4757. /* [in] */ LPVOID pData,
  4758. /* [out] */ IEnumRegisterWordW **ppEnum);
  4759. HRESULT ( STDMETHODCALLTYPE *GetCodePageA )(
  4760. IActiveIME2 * This,
  4761. /* [out] */ UINT *uCodePage);
  4762. HRESULT ( STDMETHODCALLTYPE *GetLangId )(
  4763. IActiveIME2 * This,
  4764. /* [out] */ LANGID *plid);
  4765. HRESULT ( STDMETHODCALLTYPE *Sleep )(
  4766. IActiveIME2 * This);
  4767. HRESULT ( STDMETHODCALLTYPE *Unsleep )(
  4768. IActiveIME2 * This,
  4769. /* [in] */ BOOL fDead);
  4770. END_INTERFACE
  4771. } IActiveIME2Vtbl;
  4772. interface IActiveIME2
  4773. {
  4774. CONST_VTBL struct IActiveIME2Vtbl *lpVtbl;
  4775. };
  4776. #ifdef COBJMACROS
  4777. #define IActiveIME2_QueryInterface(This,riid,ppvObject) \
  4778. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4779. #define IActiveIME2_AddRef(This) \
  4780. (This)->lpVtbl -> AddRef(This)
  4781. #define IActiveIME2_Release(This) \
  4782. (This)->lpVtbl -> Release(This)
  4783. #define IActiveIME2_Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate) \
  4784. (This)->lpVtbl -> Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate)
  4785. #define IActiveIME2_ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied) \
  4786. (This)->lpVtbl -> ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied)
  4787. #define IActiveIME2_Configure(This,hKL,hWnd,dwMode,pRegisterWord) \
  4788. (This)->lpVtbl -> Configure(This,hKL,hWnd,dwMode,pRegisterWord)
  4789. #define IActiveIME2_Destroy(This,uReserved) \
  4790. (This)->lpVtbl -> Destroy(This,uReserved)
  4791. #define IActiveIME2_Escape(This,hIMC,uEscape,pData,plResult) \
  4792. (This)->lpVtbl -> Escape(This,hIMC,uEscape,pData,plResult)
  4793. #define IActiveIME2_SetActiveContext(This,hIMC,fFlag) \
  4794. (This)->lpVtbl -> SetActiveContext(This,hIMC,fFlag)
  4795. #define IActiveIME2_ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState) \
  4796. (This)->lpVtbl -> ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState)
  4797. #define IActiveIME2_Notify(This,hIMC,dwAction,dwIndex,dwValue) \
  4798. (This)->lpVtbl -> Notify(This,hIMC,dwAction,dwIndex,dwValue)
  4799. #define IActiveIME2_Select(This,hIMC,fSelect) \
  4800. (This)->lpVtbl -> Select(This,hIMC,fSelect)
  4801. #define IActiveIME2_SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  4802. (This)->lpVtbl -> SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  4803. #define IActiveIME2_ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize) \
  4804. (This)->lpVtbl -> ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize)
  4805. #define IActiveIME2_RegisterWord(This,szReading,dwStyle,szString) \
  4806. (This)->lpVtbl -> RegisterWord(This,szReading,dwStyle,szString)
  4807. #define IActiveIME2_UnregisterWord(This,szReading,dwStyle,szString) \
  4808. (This)->lpVtbl -> UnregisterWord(This,szReading,dwStyle,szString)
  4809. #define IActiveIME2_GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize) \
  4810. (This)->lpVtbl -> GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize)
  4811. #define IActiveIME2_EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum) \
  4812. (This)->lpVtbl -> EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum)
  4813. #define IActiveIME2_GetCodePageA(This,uCodePage) \
  4814. (This)->lpVtbl -> GetCodePageA(This,uCodePage)
  4815. #define IActiveIME2_GetLangId(This,plid) \
  4816. (This)->lpVtbl -> GetLangId(This,plid)
  4817. #define IActiveIME2_Sleep(This) \
  4818. (This)->lpVtbl -> Sleep(This)
  4819. #define IActiveIME2_Unsleep(This,fDead) \
  4820. (This)->lpVtbl -> Unsleep(This,fDead)
  4821. #endif /* COBJMACROS */
  4822. #endif /* C style interface */
  4823. HRESULT STDMETHODCALLTYPE IActiveIME2_Sleep_Proxy(
  4824. IActiveIME2 * This);
  4825. void __RPC_STUB IActiveIME2_Sleep_Stub(
  4826. IRpcStubBuffer *This,
  4827. IRpcChannelBuffer *_pRpcChannelBuffer,
  4828. PRPC_MESSAGE _pRpcMessage,
  4829. DWORD *_pdwStubPhase);
  4830. HRESULT STDMETHODCALLTYPE IActiveIME2_Unsleep_Proxy(
  4831. IActiveIME2 * This,
  4832. /* [in] */ BOOL fDead);
  4833. void __RPC_STUB IActiveIME2_Unsleep_Stub(
  4834. IRpcStubBuffer *This,
  4835. IRpcChannelBuffer *_pRpcChannelBuffer,
  4836. PRPC_MESSAGE _pRpcMessage,
  4837. DWORD *_pdwStubPhase);
  4838. #endif /* __IActiveIME2_INTERFACE_DEFINED__ */
  4839. EXTERN_C const CLSID CLSID_CActiveIMM;
  4840. #ifdef __cplusplus
  4841. class DECLSPEC_UUID("4955DD33-B159-11d0-8FCF-00AA006BCC59")
  4842. CActiveIMM;
  4843. #endif
  4844. #endif /* __ActiveIMM_LIBRARY_DEFINED__ */
  4845. /* Additional Prototypes for ALL interfaces */
  4846. /* end of Additional Prototypes */
  4847. #ifdef __cplusplus
  4848. }
  4849. #endif
  4850. #endif