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.

5619 lines
185 KiB

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