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.

2991 lines
92 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for aimm12.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __aimm12_h__
  27. #define __aimm12_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IEnumRegisterWordA_FWD_DEFINED__
  33. #define __IEnumRegisterWordA_FWD_DEFINED__
  34. typedef interface IEnumRegisterWordA IEnumRegisterWordA;
  35. #endif /* __IEnumRegisterWordA_FWD_DEFINED__ */
  36. #ifndef __IEnumRegisterWordW_FWD_DEFINED__
  37. #define __IEnumRegisterWordW_FWD_DEFINED__
  38. typedef interface IEnumRegisterWordW IEnumRegisterWordW;
  39. #endif /* __IEnumRegisterWordW_FWD_DEFINED__ */
  40. #ifndef __IEnumInputContext_FWD_DEFINED__
  41. #define __IEnumInputContext_FWD_DEFINED__
  42. typedef interface IEnumInputContext IEnumInputContext;
  43. #endif /* __IEnumInputContext_FWD_DEFINED__ */
  44. #ifndef __IActiveIMMMessagePumpOwner_FWD_DEFINED__
  45. #define __IActiveIMMMessagePumpOwner_FWD_DEFINED__
  46. typedef interface IActiveIMMMessagePumpOwner IActiveIMMMessagePumpOwner;
  47. #endif /* __IActiveIMMMessagePumpOwner_FWD_DEFINED__ */
  48. #ifndef __IActiveIMMApp_FWD_DEFINED__
  49. #define __IActiveIMMApp_FWD_DEFINED__
  50. typedef interface IActiveIMMApp IActiveIMMApp;
  51. #endif /* __IActiveIMMApp_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "unknwn.h"
  54. #include "oaidl.h"
  55. #ifdef __cplusplus
  56. extern "C"{
  57. #endif
  58. void * __RPC_USER MIDL_user_allocate(size_t);
  59. void __RPC_USER MIDL_user_free( void * );
  60. /* interface __MIDL_itf_aimm12_0000 */
  61. /* [local] */
  62. //=--------------------------------------------------------------------------=
  63. // aimm12.h
  64. //=--------------------------------------------------------------------------=
  65. // (C) Copyright 1995-1999 Microsoft Corporation. All Rights Reserved.
  66. //
  67. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  68. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  69. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  70. // PARTICULAR PURPOSE.
  71. //=--------------------------------------------------------------------------=
  72. #pragma comment(lib,"uuid.lib")
  73. //--------------------------------------------------------------------------
  74. // IActiveIMM 1.2 Interfaces.
  75. EXTERN_C const CLSID CLSID_CActiveIMM12;
  76. EXTERN_C const CLSID CLSID_CActiveIMM12_Trident;
  77. #define AIMM12_PROCESS_ATOM TEXT("_AIMM12_PROCESS_ATOM_")
  78. #if 0
  79. typedef WORD LANGID;
  80. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0001
  81. {
  82. LPSTR lpReading;
  83. LPSTR lpWord;
  84. } REGISTERWORDA;
  85. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0002
  86. {
  87. LPWSTR lpReading;
  88. LPWSTR lpWord;
  89. } REGISTERWORDW;
  90. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0003
  91. {
  92. LONG lfHeight;
  93. LONG lfWidth;
  94. LONG lfEscapement;
  95. LONG lfOrientation;
  96. LONG lfWeight;
  97. BYTE lfItalic;
  98. BYTE lfUnderline;
  99. BYTE lfStrikeOut;
  100. BYTE lfCharSet;
  101. BYTE lfOutPrecision;
  102. BYTE lfClipPrecision;
  103. BYTE lfQuality;
  104. BYTE lfPitchAndFamily;
  105. CHAR lfFaceName[ 32 ];
  106. } LOGFONTA;
  107. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0004
  108. {
  109. LONG lfHeight;
  110. LONG lfWidth;
  111. LONG lfEscapement;
  112. LONG lfOrientation;
  113. LONG lfWeight;
  114. BYTE lfItalic;
  115. BYTE lfUnderline;
  116. BYTE lfStrikeOut;
  117. BYTE lfCharSet;
  118. BYTE lfOutPrecision;
  119. BYTE lfClipPrecision;
  120. BYTE lfQuality;
  121. BYTE lfPitchAndFamily;
  122. WCHAR lfFaceName[ 32 ];
  123. } LOGFONTW;
  124. typedef DWORD HIMC;
  125. typedef DWORD HIMCC;
  126. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0005
  127. {
  128. DWORD dwIndex;
  129. DWORD dwStyle;
  130. POINT ptCurrentPos;
  131. RECT rcArea;
  132. } CANDIDATEFORM;
  133. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0006
  134. {
  135. DWORD dwStyle;
  136. POINT ptCurrentPos;
  137. RECT rcArea;
  138. } COMPOSITIONFORM;
  139. typedef /* [public][public][public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0007
  140. {
  141. DWORD dwSize;
  142. DWORD dwStyle;
  143. DWORD dwCount;
  144. DWORD dwSelection;
  145. DWORD dwPageStart;
  146. DWORD dwPageSize;
  147. DWORD dwOffset[ 1 ];
  148. } CANDIDATELIST;
  149. typedef /* [public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0008
  150. {
  151. DWORD dwStyle;
  152. CHAR szDescription[ 32 ];
  153. } STYLEBUFA;
  154. typedef /* [public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0009
  155. {
  156. DWORD dwStyle;
  157. WCHAR szDescription[ 32 ];
  158. } STYLEBUFW;
  159. typedef WORD ATOM;
  160. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0010
  161. {
  162. UINT cbSize;
  163. UINT fType;
  164. UINT fState;
  165. UINT wID;
  166. HBITMAP hbmpChecked;
  167. HBITMAP hbmpUnchecked;
  168. DWORD dwItemData;
  169. CHAR szString[ 80 ];
  170. HBITMAP hbmpItem;
  171. } IMEMENUITEMINFOA;
  172. typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_aimm12_0000_0011
  173. {
  174. UINT cbSize;
  175. UINT fType;
  176. UINT fState;
  177. UINT wID;
  178. HBITMAP hbmpChecked;
  179. HBITMAP hbmpUnchecked;
  180. DWORD dwItemData;
  181. WCHAR szString[ 80 ];
  182. HBITMAP hbmpItem;
  183. } IMEMENUITEMINFOW;
  184. #endif
  185. #if !defined(_DDKIMM_H_) && !defined(_IMM_DDK_DEFINED_)
  186. typedef /* [public] */ struct __MIDL___MIDL_itf_aimm12_0000_0012
  187. {
  188. HWND hWnd;
  189. BOOL fOpen;
  190. POINT ptStatusWndPos;
  191. POINT ptSoftKbdPos;
  192. DWORD fdwConversion;
  193. DWORD fdwSentence;
  194. union
  195. {
  196. LOGFONTA A;
  197. LOGFONTW W;
  198. } lfFont;
  199. COMPOSITIONFORM cfCompForm;
  200. CANDIDATEFORM cfCandForm[ 4 ];
  201. HIMCC hCompStr;
  202. HIMCC hCandInfo;
  203. HIMCC hGuideLine;
  204. HIMCC hPrivate;
  205. DWORD dwNumMsgBuf;
  206. HIMCC hMsgBuf;
  207. DWORD fdwInit;
  208. DWORD dwReserve[ 3 ];
  209. } INPUTCONTEXT;
  210. typedef /* [public] */ struct __MIDL___MIDL_itf_aimm12_0000_0014
  211. {
  212. DWORD dwPrivateDataSize;
  213. DWORD fdwProperty;
  214. DWORD fdwConversionCaps;
  215. DWORD fdwSentenceCaps;
  216. DWORD fdwUICaps;
  217. DWORD fdwSCSCaps;
  218. DWORD fdwSelectCaps;
  219. } IMEINFO;
  220. #endif
  221. extern RPC_IF_HANDLE __MIDL_itf_aimm12_0000_v0_0_c_ifspec;
  222. extern RPC_IF_HANDLE __MIDL_itf_aimm12_0000_v0_0_s_ifspec;
  223. #ifndef __IEnumRegisterWordA_INTERFACE_DEFINED__
  224. #define __IEnumRegisterWordA_INTERFACE_DEFINED__
  225. /* interface IEnumRegisterWordA */
  226. /* [unique][uuid][object] */
  227. EXTERN_C const IID IID_IEnumRegisterWordA;
  228. #if defined(__cplusplus) && !defined(CINTERFACE)
  229. MIDL_INTERFACE("08C03412-F96B-11d0-A475-00AA006BCC59")
  230. IEnumRegisterWordA : public IUnknown
  231. {
  232. public:
  233. virtual HRESULT STDMETHODCALLTYPE Clone(
  234. /* [out] */ IEnumRegisterWordA **ppEnum) = 0;
  235. virtual HRESULT STDMETHODCALLTYPE Next(
  236. /* [in] */ ULONG ulCount,
  237. /* [out] */ REGISTERWORDA *rgRegisterWord,
  238. /* [out] */ ULONG *pcFetched) = 0;
  239. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  240. virtual HRESULT STDMETHODCALLTYPE Skip(
  241. /* [in] */ ULONG ulCount) = 0;
  242. };
  243. #else /* C style interface */
  244. typedef struct IEnumRegisterWordAVtbl
  245. {
  246. BEGIN_INTERFACE
  247. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  248. IEnumRegisterWordA * This,
  249. /* [in] */ REFIID riid,
  250. /* [iid_is][out] */ void **ppvObject);
  251. ULONG ( STDMETHODCALLTYPE *AddRef )(
  252. IEnumRegisterWordA * This);
  253. ULONG ( STDMETHODCALLTYPE *Release )(
  254. IEnumRegisterWordA * This);
  255. HRESULT ( STDMETHODCALLTYPE *Clone )(
  256. IEnumRegisterWordA * This,
  257. /* [out] */ IEnumRegisterWordA **ppEnum);
  258. HRESULT ( STDMETHODCALLTYPE *Next )(
  259. IEnumRegisterWordA * This,
  260. /* [in] */ ULONG ulCount,
  261. /* [out] */ REGISTERWORDA *rgRegisterWord,
  262. /* [out] */ ULONG *pcFetched);
  263. HRESULT ( STDMETHODCALLTYPE *Reset )(
  264. IEnumRegisterWordA * This);
  265. HRESULT ( STDMETHODCALLTYPE *Skip )(
  266. IEnumRegisterWordA * This,
  267. /* [in] */ ULONG ulCount);
  268. END_INTERFACE
  269. } IEnumRegisterWordAVtbl;
  270. interface IEnumRegisterWordA
  271. {
  272. CONST_VTBL struct IEnumRegisterWordAVtbl *lpVtbl;
  273. };
  274. #ifdef COBJMACROS
  275. #define IEnumRegisterWordA_QueryInterface(This,riid,ppvObject) \
  276. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  277. #define IEnumRegisterWordA_AddRef(This) \
  278. (This)->lpVtbl -> AddRef(This)
  279. #define IEnumRegisterWordA_Release(This) \
  280. (This)->lpVtbl -> Release(This)
  281. #define IEnumRegisterWordA_Clone(This,ppEnum) \
  282. (This)->lpVtbl -> Clone(This,ppEnum)
  283. #define IEnumRegisterWordA_Next(This,ulCount,rgRegisterWord,pcFetched) \
  284. (This)->lpVtbl -> Next(This,ulCount,rgRegisterWord,pcFetched)
  285. #define IEnumRegisterWordA_Reset(This) \
  286. (This)->lpVtbl -> Reset(This)
  287. #define IEnumRegisterWordA_Skip(This,ulCount) \
  288. (This)->lpVtbl -> Skip(This,ulCount)
  289. #endif /* COBJMACROS */
  290. #endif /* C style interface */
  291. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Clone_Proxy(
  292. IEnumRegisterWordA * This,
  293. /* [out] */ IEnumRegisterWordA **ppEnum);
  294. void __RPC_STUB IEnumRegisterWordA_Clone_Stub(
  295. IRpcStubBuffer *This,
  296. IRpcChannelBuffer *_pRpcChannelBuffer,
  297. PRPC_MESSAGE _pRpcMessage,
  298. DWORD *_pdwStubPhase);
  299. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Next_Proxy(
  300. IEnumRegisterWordA * This,
  301. /* [in] */ ULONG ulCount,
  302. /* [out] */ REGISTERWORDA *rgRegisterWord,
  303. /* [out] */ ULONG *pcFetched);
  304. void __RPC_STUB IEnumRegisterWordA_Next_Stub(
  305. IRpcStubBuffer *This,
  306. IRpcChannelBuffer *_pRpcChannelBuffer,
  307. PRPC_MESSAGE _pRpcMessage,
  308. DWORD *_pdwStubPhase);
  309. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Reset_Proxy(
  310. IEnumRegisterWordA * This);
  311. void __RPC_STUB IEnumRegisterWordA_Reset_Stub(
  312. IRpcStubBuffer *This,
  313. IRpcChannelBuffer *_pRpcChannelBuffer,
  314. PRPC_MESSAGE _pRpcMessage,
  315. DWORD *_pdwStubPhase);
  316. HRESULT STDMETHODCALLTYPE IEnumRegisterWordA_Skip_Proxy(
  317. IEnumRegisterWordA * This,
  318. /* [in] */ ULONG ulCount);
  319. void __RPC_STUB IEnumRegisterWordA_Skip_Stub(
  320. IRpcStubBuffer *This,
  321. IRpcChannelBuffer *_pRpcChannelBuffer,
  322. PRPC_MESSAGE _pRpcMessage,
  323. DWORD *_pdwStubPhase);
  324. #endif /* __IEnumRegisterWordA_INTERFACE_DEFINED__ */
  325. #ifndef __IEnumRegisterWordW_INTERFACE_DEFINED__
  326. #define __IEnumRegisterWordW_INTERFACE_DEFINED__
  327. /* interface IEnumRegisterWordW */
  328. /* [unique][uuid][object] */
  329. EXTERN_C const IID IID_IEnumRegisterWordW;
  330. #if defined(__cplusplus) && !defined(CINTERFACE)
  331. MIDL_INTERFACE("4955DD31-B159-11d0-8FCF-00AA006BCC59")
  332. IEnumRegisterWordW : public IUnknown
  333. {
  334. public:
  335. virtual HRESULT STDMETHODCALLTYPE Clone(
  336. /* [out] */ IEnumRegisterWordW **ppEnum) = 0;
  337. virtual HRESULT STDMETHODCALLTYPE Next(
  338. /* [in] */ ULONG ulCount,
  339. /* [out] */ REGISTERWORDW *rgRegisterWord,
  340. /* [out] */ ULONG *pcFetched) = 0;
  341. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  342. virtual HRESULT STDMETHODCALLTYPE Skip(
  343. /* [in] */ ULONG ulCount) = 0;
  344. };
  345. #else /* C style interface */
  346. typedef struct IEnumRegisterWordWVtbl
  347. {
  348. BEGIN_INTERFACE
  349. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  350. IEnumRegisterWordW * This,
  351. /* [in] */ REFIID riid,
  352. /* [iid_is][out] */ void **ppvObject);
  353. ULONG ( STDMETHODCALLTYPE *AddRef )(
  354. IEnumRegisterWordW * This);
  355. ULONG ( STDMETHODCALLTYPE *Release )(
  356. IEnumRegisterWordW * This);
  357. HRESULT ( STDMETHODCALLTYPE *Clone )(
  358. IEnumRegisterWordW * This,
  359. /* [out] */ IEnumRegisterWordW **ppEnum);
  360. HRESULT ( STDMETHODCALLTYPE *Next )(
  361. IEnumRegisterWordW * This,
  362. /* [in] */ ULONG ulCount,
  363. /* [out] */ REGISTERWORDW *rgRegisterWord,
  364. /* [out] */ ULONG *pcFetched);
  365. HRESULT ( STDMETHODCALLTYPE *Reset )(
  366. IEnumRegisterWordW * This);
  367. HRESULT ( STDMETHODCALLTYPE *Skip )(
  368. IEnumRegisterWordW * This,
  369. /* [in] */ ULONG ulCount);
  370. END_INTERFACE
  371. } IEnumRegisterWordWVtbl;
  372. interface IEnumRegisterWordW
  373. {
  374. CONST_VTBL struct IEnumRegisterWordWVtbl *lpVtbl;
  375. };
  376. #ifdef COBJMACROS
  377. #define IEnumRegisterWordW_QueryInterface(This,riid,ppvObject) \
  378. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  379. #define IEnumRegisterWordW_AddRef(This) \
  380. (This)->lpVtbl -> AddRef(This)
  381. #define IEnumRegisterWordW_Release(This) \
  382. (This)->lpVtbl -> Release(This)
  383. #define IEnumRegisterWordW_Clone(This,ppEnum) \
  384. (This)->lpVtbl -> Clone(This,ppEnum)
  385. #define IEnumRegisterWordW_Next(This,ulCount,rgRegisterWord,pcFetched) \
  386. (This)->lpVtbl -> Next(This,ulCount,rgRegisterWord,pcFetched)
  387. #define IEnumRegisterWordW_Reset(This) \
  388. (This)->lpVtbl -> Reset(This)
  389. #define IEnumRegisterWordW_Skip(This,ulCount) \
  390. (This)->lpVtbl -> Skip(This,ulCount)
  391. #endif /* COBJMACROS */
  392. #endif /* C style interface */
  393. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Clone_Proxy(
  394. IEnumRegisterWordW * This,
  395. /* [out] */ IEnumRegisterWordW **ppEnum);
  396. void __RPC_STUB IEnumRegisterWordW_Clone_Stub(
  397. IRpcStubBuffer *This,
  398. IRpcChannelBuffer *_pRpcChannelBuffer,
  399. PRPC_MESSAGE _pRpcMessage,
  400. DWORD *_pdwStubPhase);
  401. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Next_Proxy(
  402. IEnumRegisterWordW * This,
  403. /* [in] */ ULONG ulCount,
  404. /* [out] */ REGISTERWORDW *rgRegisterWord,
  405. /* [out] */ ULONG *pcFetched);
  406. void __RPC_STUB IEnumRegisterWordW_Next_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Reset_Proxy(
  412. IEnumRegisterWordW * This);
  413. void __RPC_STUB IEnumRegisterWordW_Reset_Stub(
  414. IRpcStubBuffer *This,
  415. IRpcChannelBuffer *_pRpcChannelBuffer,
  416. PRPC_MESSAGE _pRpcMessage,
  417. DWORD *_pdwStubPhase);
  418. HRESULT STDMETHODCALLTYPE IEnumRegisterWordW_Skip_Proxy(
  419. IEnumRegisterWordW * This,
  420. /* [in] */ ULONG ulCount);
  421. void __RPC_STUB IEnumRegisterWordW_Skip_Stub(
  422. IRpcStubBuffer *This,
  423. IRpcChannelBuffer *_pRpcChannelBuffer,
  424. PRPC_MESSAGE _pRpcMessage,
  425. DWORD *_pdwStubPhase);
  426. #endif /* __IEnumRegisterWordW_INTERFACE_DEFINED__ */
  427. #ifndef __IEnumInputContext_INTERFACE_DEFINED__
  428. #define __IEnumInputContext_INTERFACE_DEFINED__
  429. /* interface IEnumInputContext */
  430. /* [unique][uuid][object] */
  431. EXTERN_C const IID IID_IEnumInputContext;
  432. #if defined(__cplusplus) && !defined(CINTERFACE)
  433. MIDL_INTERFACE("09b5eab0-f997-11d1-93d4-0060b067b86e")
  434. IEnumInputContext : public IUnknown
  435. {
  436. public:
  437. virtual HRESULT STDMETHODCALLTYPE Clone(
  438. /* [out] */ IEnumInputContext **ppEnum) = 0;
  439. virtual HRESULT STDMETHODCALLTYPE Next(
  440. /* [in] */ ULONG ulCount,
  441. /* [out] */ HIMC *rgInputContext,
  442. /* [out] */ ULONG *pcFetched) = 0;
  443. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  444. virtual HRESULT STDMETHODCALLTYPE Skip(
  445. /* [in] */ ULONG ulCount) = 0;
  446. };
  447. #else /* C style interface */
  448. typedef struct IEnumInputContextVtbl
  449. {
  450. BEGIN_INTERFACE
  451. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  452. IEnumInputContext * This,
  453. /* [in] */ REFIID riid,
  454. /* [iid_is][out] */ void **ppvObject);
  455. ULONG ( STDMETHODCALLTYPE *AddRef )(
  456. IEnumInputContext * This);
  457. ULONG ( STDMETHODCALLTYPE *Release )(
  458. IEnumInputContext * This);
  459. HRESULT ( STDMETHODCALLTYPE *Clone )(
  460. IEnumInputContext * This,
  461. /* [out] */ IEnumInputContext **ppEnum);
  462. HRESULT ( STDMETHODCALLTYPE *Next )(
  463. IEnumInputContext * This,
  464. /* [in] */ ULONG ulCount,
  465. /* [out] */ HIMC *rgInputContext,
  466. /* [out] */ ULONG *pcFetched);
  467. HRESULT ( STDMETHODCALLTYPE *Reset )(
  468. IEnumInputContext * This);
  469. HRESULT ( STDMETHODCALLTYPE *Skip )(
  470. IEnumInputContext * This,
  471. /* [in] */ ULONG ulCount);
  472. END_INTERFACE
  473. } IEnumInputContextVtbl;
  474. interface IEnumInputContext
  475. {
  476. CONST_VTBL struct IEnumInputContextVtbl *lpVtbl;
  477. };
  478. #ifdef COBJMACROS
  479. #define IEnumInputContext_QueryInterface(This,riid,ppvObject) \
  480. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  481. #define IEnumInputContext_AddRef(This) \
  482. (This)->lpVtbl -> AddRef(This)
  483. #define IEnumInputContext_Release(This) \
  484. (This)->lpVtbl -> Release(This)
  485. #define IEnumInputContext_Clone(This,ppEnum) \
  486. (This)->lpVtbl -> Clone(This,ppEnum)
  487. #define IEnumInputContext_Next(This,ulCount,rgInputContext,pcFetched) \
  488. (This)->lpVtbl -> Next(This,ulCount,rgInputContext,pcFetched)
  489. #define IEnumInputContext_Reset(This) \
  490. (This)->lpVtbl -> Reset(This)
  491. #define IEnumInputContext_Skip(This,ulCount) \
  492. (This)->lpVtbl -> Skip(This,ulCount)
  493. #endif /* COBJMACROS */
  494. #endif /* C style interface */
  495. HRESULT STDMETHODCALLTYPE IEnumInputContext_Clone_Proxy(
  496. IEnumInputContext * This,
  497. /* [out] */ IEnumInputContext **ppEnum);
  498. void __RPC_STUB IEnumInputContext_Clone_Stub(
  499. IRpcStubBuffer *This,
  500. IRpcChannelBuffer *_pRpcChannelBuffer,
  501. PRPC_MESSAGE _pRpcMessage,
  502. DWORD *_pdwStubPhase);
  503. HRESULT STDMETHODCALLTYPE IEnumInputContext_Next_Proxy(
  504. IEnumInputContext * This,
  505. /* [in] */ ULONG ulCount,
  506. /* [out] */ HIMC *rgInputContext,
  507. /* [out] */ ULONG *pcFetched);
  508. void __RPC_STUB IEnumInputContext_Next_Stub(
  509. IRpcStubBuffer *This,
  510. IRpcChannelBuffer *_pRpcChannelBuffer,
  511. PRPC_MESSAGE _pRpcMessage,
  512. DWORD *_pdwStubPhase);
  513. HRESULT STDMETHODCALLTYPE IEnumInputContext_Reset_Proxy(
  514. IEnumInputContext * This);
  515. void __RPC_STUB IEnumInputContext_Reset_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. HRESULT STDMETHODCALLTYPE IEnumInputContext_Skip_Proxy(
  521. IEnumInputContext * This,
  522. /* [in] */ ULONG ulCount);
  523. void __RPC_STUB IEnumInputContext_Skip_Stub(
  524. IRpcStubBuffer *This,
  525. IRpcChannelBuffer *_pRpcChannelBuffer,
  526. PRPC_MESSAGE _pRpcMessage,
  527. DWORD *_pdwStubPhase);
  528. #endif /* __IEnumInputContext_INTERFACE_DEFINED__ */
  529. #ifndef __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__
  530. #define __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__
  531. /* interface IActiveIMMMessagePumpOwner */
  532. /* [unique][uuid][object] */
  533. EXTERN_C const IID IID_IActiveIMMMessagePumpOwner;
  534. #if defined(__cplusplus) && !defined(CINTERFACE)
  535. MIDL_INTERFACE("b5cf2cfa-8aeb-11d1-9364-0060b067b86e")
  536. IActiveIMMMessagePumpOwner : public IUnknown
  537. {
  538. public:
  539. virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
  540. virtual HRESULT STDMETHODCALLTYPE End( void) = 0;
  541. virtual HRESULT STDMETHODCALLTYPE OnTranslateMessage(
  542. /* [in] */ const MSG *pMsg) = 0;
  543. virtual HRESULT STDMETHODCALLTYPE Pause(
  544. /* [out] */ DWORD *pdwCookie) = 0;
  545. virtual HRESULT STDMETHODCALLTYPE Resume(
  546. /* [in] */ DWORD dwCookie) = 0;
  547. };
  548. #else /* C style interface */
  549. typedef struct IActiveIMMMessagePumpOwnerVtbl
  550. {
  551. BEGIN_INTERFACE
  552. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  553. IActiveIMMMessagePumpOwner * This,
  554. /* [in] */ REFIID riid,
  555. /* [iid_is][out] */ void **ppvObject);
  556. ULONG ( STDMETHODCALLTYPE *AddRef )(
  557. IActiveIMMMessagePumpOwner * This);
  558. ULONG ( STDMETHODCALLTYPE *Release )(
  559. IActiveIMMMessagePumpOwner * This);
  560. HRESULT ( STDMETHODCALLTYPE *Start )(
  561. IActiveIMMMessagePumpOwner * This);
  562. HRESULT ( STDMETHODCALLTYPE *End )(
  563. IActiveIMMMessagePumpOwner * This);
  564. HRESULT ( STDMETHODCALLTYPE *OnTranslateMessage )(
  565. IActiveIMMMessagePumpOwner * This,
  566. /* [in] */ const MSG *pMsg);
  567. HRESULT ( STDMETHODCALLTYPE *Pause )(
  568. IActiveIMMMessagePumpOwner * This,
  569. /* [out] */ DWORD *pdwCookie);
  570. HRESULT ( STDMETHODCALLTYPE *Resume )(
  571. IActiveIMMMessagePumpOwner * This,
  572. /* [in] */ DWORD dwCookie);
  573. END_INTERFACE
  574. } IActiveIMMMessagePumpOwnerVtbl;
  575. interface IActiveIMMMessagePumpOwner
  576. {
  577. CONST_VTBL struct IActiveIMMMessagePumpOwnerVtbl *lpVtbl;
  578. };
  579. #ifdef COBJMACROS
  580. #define IActiveIMMMessagePumpOwner_QueryInterface(This,riid,ppvObject) \
  581. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  582. #define IActiveIMMMessagePumpOwner_AddRef(This) \
  583. (This)->lpVtbl -> AddRef(This)
  584. #define IActiveIMMMessagePumpOwner_Release(This) \
  585. (This)->lpVtbl -> Release(This)
  586. #define IActiveIMMMessagePumpOwner_Start(This) \
  587. (This)->lpVtbl -> Start(This)
  588. #define IActiveIMMMessagePumpOwner_End(This) \
  589. (This)->lpVtbl -> End(This)
  590. #define IActiveIMMMessagePumpOwner_OnTranslateMessage(This,pMsg) \
  591. (This)->lpVtbl -> OnTranslateMessage(This,pMsg)
  592. #define IActiveIMMMessagePumpOwner_Pause(This,pdwCookie) \
  593. (This)->lpVtbl -> Pause(This,pdwCookie)
  594. #define IActiveIMMMessagePumpOwner_Resume(This,dwCookie) \
  595. (This)->lpVtbl -> Resume(This,dwCookie)
  596. #endif /* COBJMACROS */
  597. #endif /* C style interface */
  598. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_Start_Proxy(
  599. IActiveIMMMessagePumpOwner * This);
  600. void __RPC_STUB IActiveIMMMessagePumpOwner_Start_Stub(
  601. IRpcStubBuffer *This,
  602. IRpcChannelBuffer *_pRpcChannelBuffer,
  603. PRPC_MESSAGE _pRpcMessage,
  604. DWORD *_pdwStubPhase);
  605. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_End_Proxy(
  606. IActiveIMMMessagePumpOwner * This);
  607. void __RPC_STUB IActiveIMMMessagePumpOwner_End_Stub(
  608. IRpcStubBuffer *This,
  609. IRpcChannelBuffer *_pRpcChannelBuffer,
  610. PRPC_MESSAGE _pRpcMessage,
  611. DWORD *_pdwStubPhase);
  612. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_OnTranslateMessage_Proxy(
  613. IActiveIMMMessagePumpOwner * This,
  614. /* [in] */ const MSG *pMsg);
  615. void __RPC_STUB IActiveIMMMessagePumpOwner_OnTranslateMessage_Stub(
  616. IRpcStubBuffer *This,
  617. IRpcChannelBuffer *_pRpcChannelBuffer,
  618. PRPC_MESSAGE _pRpcMessage,
  619. DWORD *_pdwStubPhase);
  620. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_Pause_Proxy(
  621. IActiveIMMMessagePumpOwner * This,
  622. /* [out] */ DWORD *pdwCookie);
  623. void __RPC_STUB IActiveIMMMessagePumpOwner_Pause_Stub(
  624. IRpcStubBuffer *This,
  625. IRpcChannelBuffer *_pRpcChannelBuffer,
  626. PRPC_MESSAGE _pRpcMessage,
  627. DWORD *_pdwStubPhase);
  628. HRESULT STDMETHODCALLTYPE IActiveIMMMessagePumpOwner_Resume_Proxy(
  629. IActiveIMMMessagePumpOwner * This,
  630. /* [in] */ DWORD dwCookie);
  631. void __RPC_STUB IActiveIMMMessagePumpOwner_Resume_Stub(
  632. IRpcStubBuffer *This,
  633. IRpcChannelBuffer *_pRpcChannelBuffer,
  634. PRPC_MESSAGE _pRpcMessage,
  635. DWORD *_pdwStubPhase);
  636. #endif /* __IActiveIMMMessagePumpOwner_INTERFACE_DEFINED__ */
  637. #ifndef __IActiveIMMApp_INTERFACE_DEFINED__
  638. #define __IActiveIMMApp_INTERFACE_DEFINED__
  639. /* interface IActiveIMMApp */
  640. /* [unique][uuid][object][local] */
  641. EXTERN_C const IID IID_IActiveIMMApp;
  642. #if defined(__cplusplus) && !defined(CINTERFACE)
  643. MIDL_INTERFACE("08c0e040-62d1-11d1-9326-0060b067b86e")
  644. IActiveIMMApp : public IUnknown
  645. {
  646. public:
  647. virtual HRESULT STDMETHODCALLTYPE AssociateContext(
  648. /* [in] */ HWND hWnd,
  649. /* [in] */ HIMC hIME,
  650. /* [out] */ HIMC *phPrev) = 0;
  651. virtual HRESULT STDMETHODCALLTYPE ConfigureIMEA(
  652. /* [in] */ HKL hKL,
  653. /* [in] */ HWND hWnd,
  654. /* [in] */ DWORD dwMode,
  655. /* [in] */ REGISTERWORDA *pData) = 0;
  656. virtual HRESULT STDMETHODCALLTYPE ConfigureIMEW(
  657. /* [in] */ HKL hKL,
  658. /* [in] */ HWND hWnd,
  659. /* [in] */ DWORD dwMode,
  660. /* [in] */ REGISTERWORDW *pData) = 0;
  661. virtual HRESULT STDMETHODCALLTYPE CreateContext(
  662. /* [out] */ HIMC *phIMC) = 0;
  663. virtual HRESULT STDMETHODCALLTYPE DestroyContext(
  664. /* [in] */ HIMC hIME) = 0;
  665. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordA(
  666. /* [in] */ HKL hKL,
  667. /* [in] */ LPSTR szReading,
  668. /* [in] */ DWORD dwStyle,
  669. /* [in] */ LPSTR szRegister,
  670. /* [in] */ LPVOID pData,
  671. /* [out] */ IEnumRegisterWordA **pEnum) = 0;
  672. virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordW(
  673. /* [in] */ HKL hKL,
  674. /* [in] */ LPWSTR szReading,
  675. /* [in] */ DWORD dwStyle,
  676. /* [in] */ LPWSTR szRegister,
  677. /* [in] */ LPVOID pData,
  678. /* [out] */ IEnumRegisterWordW **pEnum) = 0;
  679. virtual HRESULT STDMETHODCALLTYPE EscapeA(
  680. /* [in] */ HKL hKL,
  681. /* [in] */ HIMC hIMC,
  682. /* [in] */ UINT uEscape,
  683. /* [out][in] */ LPVOID pData,
  684. /* [out] */ LRESULT *plResult) = 0;
  685. virtual HRESULT STDMETHODCALLTYPE EscapeW(
  686. /* [in] */ HKL hKL,
  687. /* [in] */ HIMC hIMC,
  688. /* [in] */ UINT uEscape,
  689. /* [out][in] */ LPVOID pData,
  690. /* [out] */ LRESULT *plResult) = 0;
  691. virtual HRESULT STDMETHODCALLTYPE GetCandidateListA(
  692. /* [in] */ HIMC hIMC,
  693. /* [in] */ DWORD dwIndex,
  694. /* [in] */ UINT uBufLen,
  695. /* [out] */ CANDIDATELIST *pCandList,
  696. /* [out] */ UINT *puCopied) = 0;
  697. virtual HRESULT STDMETHODCALLTYPE GetCandidateListW(
  698. /* [in] */ HIMC hIMC,
  699. /* [in] */ DWORD dwIndex,
  700. /* [in] */ UINT uBufLen,
  701. /* [out] */ CANDIDATELIST *pCandList,
  702. /* [out] */ UINT *puCopied) = 0;
  703. virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountA(
  704. /* [in] */ HIMC hIMC,
  705. /* [out] */ DWORD *pdwListSize,
  706. /* [out] */ DWORD *pdwBufLen) = 0;
  707. virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountW(
  708. /* [in] */ HIMC hIMC,
  709. /* [out] */ DWORD *pdwListSize,
  710. /* [out] */ DWORD *pdwBufLen) = 0;
  711. virtual HRESULT STDMETHODCALLTYPE GetCandidateWindow(
  712. /* [in] */ HIMC hIMC,
  713. /* [in] */ DWORD dwIndex,
  714. /* [out] */ CANDIDATEFORM *pCandidate) = 0;
  715. virtual HRESULT STDMETHODCALLTYPE GetCompositionFontA(
  716. /* [in] */ HIMC hIMC,
  717. /* [out] */ LOGFONTA *plf) = 0;
  718. virtual HRESULT STDMETHODCALLTYPE GetCompositionFontW(
  719. /* [in] */ HIMC hIMC,
  720. /* [out] */ LOGFONTW *plf) = 0;
  721. virtual HRESULT STDMETHODCALLTYPE GetCompositionStringA(
  722. /* [in] */ HIMC hIMC,
  723. /* [in] */ DWORD dwIndex,
  724. /* [in] */ DWORD dwBufLen,
  725. /* [out] */ LONG *plCopied,
  726. /* [out] */ LPVOID pBuf) = 0;
  727. virtual HRESULT STDMETHODCALLTYPE GetCompositionStringW(
  728. /* [in] */ HIMC hIMC,
  729. /* [in] */ DWORD dwIndex,
  730. /* [in] */ DWORD dwBufLen,
  731. /* [out] */ LONG *plCopied,
  732. /* [out] */ LPVOID pBuf) = 0;
  733. virtual HRESULT STDMETHODCALLTYPE GetCompositionWindow(
  734. /* [in] */ HIMC hIMC,
  735. /* [out] */ COMPOSITIONFORM *pCompForm) = 0;
  736. virtual HRESULT STDMETHODCALLTYPE GetContext(
  737. /* [in] */ HWND hWnd,
  738. /* [out] */ HIMC *phIMC) = 0;
  739. virtual HRESULT STDMETHODCALLTYPE GetConversionListA(
  740. /* [in] */ HKL hKL,
  741. /* [in] */ HIMC hIMC,
  742. /* [in] */ LPSTR pSrc,
  743. /* [in] */ UINT uBufLen,
  744. /* [in] */ UINT uFlag,
  745. /* [out] */ CANDIDATELIST *pDst,
  746. /* [out] */ UINT *puCopied) = 0;
  747. virtual HRESULT STDMETHODCALLTYPE GetConversionListW(
  748. /* [in] */ HKL hKL,
  749. /* [in] */ HIMC hIMC,
  750. /* [in] */ LPWSTR pSrc,
  751. /* [in] */ UINT uBufLen,
  752. /* [in] */ UINT uFlag,
  753. /* [out] */ CANDIDATELIST *pDst,
  754. /* [out] */ UINT *puCopied) = 0;
  755. virtual HRESULT STDMETHODCALLTYPE GetConversionStatus(
  756. /* [in] */ HIMC hIMC,
  757. /* [out] */ DWORD *pfdwConversion,
  758. /* [out] */ DWORD *pfdwSentence) = 0;
  759. virtual HRESULT STDMETHODCALLTYPE GetDefaultIMEWnd(
  760. /* [in] */ HWND hWnd,
  761. /* [out] */ HWND *phDefWnd) = 0;
  762. virtual HRESULT STDMETHODCALLTYPE GetDescriptionA(
  763. /* [in] */ HKL hKL,
  764. /* [in] */ UINT uBufLen,
  765. /* [out] */ LPSTR szDescription,
  766. /* [out] */ UINT *puCopied) = 0;
  767. virtual HRESULT STDMETHODCALLTYPE GetDescriptionW(
  768. /* [in] */ HKL hKL,
  769. /* [in] */ UINT uBufLen,
  770. /* [out] */ LPWSTR szDescription,
  771. /* [out] */ UINT *puCopied) = 0;
  772. virtual HRESULT STDMETHODCALLTYPE GetGuideLineA(
  773. /* [in] */ HIMC hIMC,
  774. /* [in] */ DWORD dwIndex,
  775. /* [in] */ DWORD dwBufLen,
  776. /* [out] */ LPSTR pBuf,
  777. /* [out] */ DWORD *pdwResult) = 0;
  778. virtual HRESULT STDMETHODCALLTYPE GetGuideLineW(
  779. /* [in] */ HIMC hIMC,
  780. /* [in] */ DWORD dwIndex,
  781. /* [in] */ DWORD dwBufLen,
  782. /* [out] */ LPWSTR pBuf,
  783. /* [out] */ DWORD *pdwResult) = 0;
  784. virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameA(
  785. /* [in] */ HKL hKL,
  786. /* [in] */ UINT uBufLen,
  787. /* [out] */ LPSTR szFileName,
  788. /* [out] */ UINT *puCopied) = 0;
  789. virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameW(
  790. /* [in] */ HKL hKL,
  791. /* [in] */ UINT uBufLen,
  792. /* [out] */ LPWSTR szFileName,
  793. /* [out] */ UINT *puCopied) = 0;
  794. virtual HRESULT STDMETHODCALLTYPE GetOpenStatus(
  795. /* [in] */ HIMC hIMC) = 0;
  796. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  797. /* [in] */ HKL hKL,
  798. /* [in] */ DWORD fdwIndex,
  799. /* [out] */ DWORD *pdwProperty) = 0;
  800. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleA(
  801. /* [in] */ HKL hKL,
  802. /* [in] */ UINT nItem,
  803. /* [out] */ STYLEBUFA *pStyleBuf,
  804. /* [out] */ UINT *puCopied) = 0;
  805. virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleW(
  806. /* [in] */ HKL hKL,
  807. /* [in] */ UINT nItem,
  808. /* [out] */ STYLEBUFW *pStyleBuf,
  809. /* [out] */ UINT *puCopied) = 0;
  810. virtual HRESULT STDMETHODCALLTYPE GetStatusWindowPos(
  811. /* [in] */ HIMC hIMC,
  812. /* [out] */ POINT *pptPos) = 0;
  813. virtual HRESULT STDMETHODCALLTYPE GetVirtualKey(
  814. /* [in] */ HWND hWnd,
  815. /* [out] */ UINT *puVirtualKey) = 0;
  816. virtual HRESULT STDMETHODCALLTYPE InstallIMEA(
  817. /* [in] */ LPSTR szIMEFileName,
  818. /* [in] */ LPSTR szLayoutText,
  819. /* [out] */ HKL *phKL) = 0;
  820. virtual HRESULT STDMETHODCALLTYPE InstallIMEW(
  821. /* [in] */ LPWSTR szIMEFileName,
  822. /* [in] */ LPWSTR szLayoutText,
  823. /* [out] */ HKL *phKL) = 0;
  824. virtual HRESULT STDMETHODCALLTYPE IsIME(
  825. /* [in] */ HKL hKL) = 0;
  826. virtual HRESULT STDMETHODCALLTYPE IsUIMessageA(
  827. /* [in] */ HWND hWndIME,
  828. /* [in] */ UINT msg,
  829. /* [in] */ WPARAM wParam,
  830. /* [in] */ LPARAM lParam) = 0;
  831. virtual HRESULT STDMETHODCALLTYPE IsUIMessageW(
  832. /* [in] */ HWND hWndIME,
  833. /* [in] */ UINT msg,
  834. /* [in] */ WPARAM wParam,
  835. /* [in] */ LPARAM lParam) = 0;
  836. virtual HRESULT STDMETHODCALLTYPE NotifyIME(
  837. /* [in] */ HIMC hIMC,
  838. /* [in] */ DWORD dwAction,
  839. /* [in] */ DWORD dwIndex,
  840. /* [in] */ DWORD dwValue) = 0;
  841. virtual HRESULT STDMETHODCALLTYPE RegisterWordA(
  842. /* [in] */ HKL hKL,
  843. /* [in] */ LPSTR szReading,
  844. /* [in] */ DWORD dwStyle,
  845. /* [in] */ LPSTR szRegister) = 0;
  846. virtual HRESULT STDMETHODCALLTYPE RegisterWordW(
  847. /* [in] */ HKL hKL,
  848. /* [in] */ LPWSTR szReading,
  849. /* [in] */ DWORD dwStyle,
  850. /* [in] */ LPWSTR szRegister) = 0;
  851. virtual HRESULT STDMETHODCALLTYPE ReleaseContext(
  852. /* [in] */ HWND hWnd,
  853. /* [in] */ HIMC hIMC) = 0;
  854. virtual HRESULT STDMETHODCALLTYPE SetCandidateWindow(
  855. /* [in] */ HIMC hIMC,
  856. /* [in] */ CANDIDATEFORM *pCandidate) = 0;
  857. virtual HRESULT STDMETHODCALLTYPE SetCompositionFontA(
  858. /* [in] */ HIMC hIMC,
  859. /* [in] */ LOGFONTA *plf) = 0;
  860. virtual HRESULT STDMETHODCALLTYPE SetCompositionFontW(
  861. /* [in] */ HIMC hIMC,
  862. /* [in] */ LOGFONTW *plf) = 0;
  863. virtual HRESULT STDMETHODCALLTYPE SetCompositionStringA(
  864. /* [in] */ HIMC hIMC,
  865. /* [in] */ DWORD dwIndex,
  866. /* [in] */ LPVOID pComp,
  867. /* [in] */ DWORD dwCompLen,
  868. /* [in] */ LPVOID pRead,
  869. /* [in] */ DWORD dwReadLen) = 0;
  870. virtual HRESULT STDMETHODCALLTYPE SetCompositionStringW(
  871. /* [in] */ HIMC hIMC,
  872. /* [in] */ DWORD dwIndex,
  873. /* [in] */ LPVOID pComp,
  874. /* [in] */ DWORD dwCompLen,
  875. /* [in] */ LPVOID pRead,
  876. /* [in] */ DWORD dwReadLen) = 0;
  877. virtual HRESULT STDMETHODCALLTYPE SetCompositionWindow(
  878. /* [in] */ HIMC hIMC,
  879. /* [in] */ COMPOSITIONFORM *pCompForm) = 0;
  880. virtual HRESULT STDMETHODCALLTYPE SetConversionStatus(
  881. /* [in] */ HIMC hIMC,
  882. /* [in] */ DWORD fdwConversion,
  883. /* [in] */ DWORD fdwSentence) = 0;
  884. virtual HRESULT STDMETHODCALLTYPE SetOpenStatus(
  885. /* [in] */ HIMC hIMC,
  886. /* [in] */ BOOL fOpen) = 0;
  887. virtual HRESULT STDMETHODCALLTYPE SetStatusWindowPos(
  888. /* [in] */ HIMC hIMC,
  889. /* [in] */ POINT *pptPos) = 0;
  890. virtual HRESULT STDMETHODCALLTYPE SimulateHotKey(
  891. /* [in] */ HWND hWnd,
  892. /* [in] */ DWORD dwHotKeyID) = 0;
  893. virtual HRESULT STDMETHODCALLTYPE UnregisterWordA(
  894. /* [in] */ HKL hKL,
  895. /* [in] */ LPSTR szReading,
  896. /* [in] */ DWORD dwStyle,
  897. /* [in] */ LPSTR szUnregister) = 0;
  898. virtual HRESULT STDMETHODCALLTYPE UnregisterWordW(
  899. /* [in] */ HKL hKL,
  900. /* [in] */ LPWSTR szReading,
  901. /* [in] */ DWORD dwStyle,
  902. /* [in] */ LPWSTR szUnregister) = 0;
  903. virtual HRESULT STDMETHODCALLTYPE Activate(
  904. /* [in] */ BOOL fRestoreLayout) = 0;
  905. virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
  906. virtual HRESULT STDMETHODCALLTYPE OnDefWindowProc(
  907. /* [in] */ HWND hWnd,
  908. /* [in] */ UINT Msg,
  909. /* [in] */ WPARAM wParam,
  910. /* [in] */ LPARAM lParam,
  911. /* [out] */ LRESULT *plResult) = 0;
  912. virtual HRESULT STDMETHODCALLTYPE FilterClientWindows(
  913. /* [in] */ ATOM *aaClassList,
  914. /* [in] */ UINT uSize) = 0;
  915. virtual HRESULT STDMETHODCALLTYPE GetCodePageA(
  916. /* [in] */ HKL hKL,
  917. /* [out] */ UINT *uCodePage) = 0;
  918. virtual HRESULT STDMETHODCALLTYPE GetLangId(
  919. /* [in] */ HKL hKL,
  920. /* [out] */ LANGID *plid) = 0;
  921. virtual HRESULT STDMETHODCALLTYPE AssociateContextEx(
  922. /* [in] */ HWND hWnd,
  923. /* [in] */ HIMC hIMC,
  924. /* [in] */ DWORD dwFlags) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE DisableIME(
  926. /* [in] */ DWORD idThread) = 0;
  927. virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsA(
  928. /* [in] */ HIMC hIMC,
  929. /* [in] */ DWORD dwFlags,
  930. /* [in] */ DWORD dwType,
  931. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  932. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  933. /* [in] */ DWORD dwSize,
  934. /* [out] */ DWORD *pdwResult) = 0;
  935. virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsW(
  936. /* [in] */ HIMC hIMC,
  937. /* [in] */ DWORD dwFlags,
  938. /* [in] */ DWORD dwType,
  939. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  940. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  941. /* [in] */ DWORD dwSize,
  942. /* [out] */ DWORD *pdwResult) = 0;
  943. virtual HRESULT STDMETHODCALLTYPE EnumInputContext(
  944. /* [in] */ DWORD idThread,
  945. /* [out] */ IEnumInputContext **ppEnum) = 0;
  946. };
  947. #else /* C style interface */
  948. typedef struct IActiveIMMAppVtbl
  949. {
  950. BEGIN_INTERFACE
  951. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  952. IActiveIMMApp * This,
  953. /* [in] */ REFIID riid,
  954. /* [iid_is][out] */ void **ppvObject);
  955. ULONG ( STDMETHODCALLTYPE *AddRef )(
  956. IActiveIMMApp * This);
  957. ULONG ( STDMETHODCALLTYPE *Release )(
  958. IActiveIMMApp * This);
  959. HRESULT ( STDMETHODCALLTYPE *AssociateContext )(
  960. IActiveIMMApp * This,
  961. /* [in] */ HWND hWnd,
  962. /* [in] */ HIMC hIME,
  963. /* [out] */ HIMC *phPrev);
  964. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEA )(
  965. IActiveIMMApp * This,
  966. /* [in] */ HKL hKL,
  967. /* [in] */ HWND hWnd,
  968. /* [in] */ DWORD dwMode,
  969. /* [in] */ REGISTERWORDA *pData);
  970. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEW )(
  971. IActiveIMMApp * This,
  972. /* [in] */ HKL hKL,
  973. /* [in] */ HWND hWnd,
  974. /* [in] */ DWORD dwMode,
  975. /* [in] */ REGISTERWORDW *pData);
  976. HRESULT ( STDMETHODCALLTYPE *CreateContext )(
  977. IActiveIMMApp * This,
  978. /* [out] */ HIMC *phIMC);
  979. HRESULT ( STDMETHODCALLTYPE *DestroyContext )(
  980. IActiveIMMApp * This,
  981. /* [in] */ HIMC hIME);
  982. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordA )(
  983. IActiveIMMApp * This,
  984. /* [in] */ HKL hKL,
  985. /* [in] */ LPSTR szReading,
  986. /* [in] */ DWORD dwStyle,
  987. /* [in] */ LPSTR szRegister,
  988. /* [in] */ LPVOID pData,
  989. /* [out] */ IEnumRegisterWordA **pEnum);
  990. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordW )(
  991. IActiveIMMApp * This,
  992. /* [in] */ HKL hKL,
  993. /* [in] */ LPWSTR szReading,
  994. /* [in] */ DWORD dwStyle,
  995. /* [in] */ LPWSTR szRegister,
  996. /* [in] */ LPVOID pData,
  997. /* [out] */ IEnumRegisterWordW **pEnum);
  998. HRESULT ( STDMETHODCALLTYPE *EscapeA )(
  999. IActiveIMMApp * This,
  1000. /* [in] */ HKL hKL,
  1001. /* [in] */ HIMC hIMC,
  1002. /* [in] */ UINT uEscape,
  1003. /* [out][in] */ LPVOID pData,
  1004. /* [out] */ LRESULT *plResult);
  1005. HRESULT ( STDMETHODCALLTYPE *EscapeW )(
  1006. IActiveIMMApp * This,
  1007. /* [in] */ HKL hKL,
  1008. /* [in] */ HIMC hIMC,
  1009. /* [in] */ UINT uEscape,
  1010. /* [out][in] */ LPVOID pData,
  1011. /* [out] */ LRESULT *plResult);
  1012. HRESULT ( STDMETHODCALLTYPE *GetCandidateListA )(
  1013. IActiveIMMApp * This,
  1014. /* [in] */ HIMC hIMC,
  1015. /* [in] */ DWORD dwIndex,
  1016. /* [in] */ UINT uBufLen,
  1017. /* [out] */ CANDIDATELIST *pCandList,
  1018. /* [out] */ UINT *puCopied);
  1019. HRESULT ( STDMETHODCALLTYPE *GetCandidateListW )(
  1020. IActiveIMMApp * This,
  1021. /* [in] */ HIMC hIMC,
  1022. /* [in] */ DWORD dwIndex,
  1023. /* [in] */ UINT uBufLen,
  1024. /* [out] */ CANDIDATELIST *pCandList,
  1025. /* [out] */ UINT *puCopied);
  1026. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountA )(
  1027. IActiveIMMApp * This,
  1028. /* [in] */ HIMC hIMC,
  1029. /* [out] */ DWORD *pdwListSize,
  1030. /* [out] */ DWORD *pdwBufLen);
  1031. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountW )(
  1032. IActiveIMMApp * This,
  1033. /* [in] */ HIMC hIMC,
  1034. /* [out] */ DWORD *pdwListSize,
  1035. /* [out] */ DWORD *pdwBufLen);
  1036. HRESULT ( STDMETHODCALLTYPE *GetCandidateWindow )(
  1037. IActiveIMMApp * This,
  1038. /* [in] */ HIMC hIMC,
  1039. /* [in] */ DWORD dwIndex,
  1040. /* [out] */ CANDIDATEFORM *pCandidate);
  1041. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontA )(
  1042. IActiveIMMApp * This,
  1043. /* [in] */ HIMC hIMC,
  1044. /* [out] */ LOGFONTA *plf);
  1045. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontW )(
  1046. IActiveIMMApp * This,
  1047. /* [in] */ HIMC hIMC,
  1048. /* [out] */ LOGFONTW *plf);
  1049. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringA )(
  1050. IActiveIMMApp * This,
  1051. /* [in] */ HIMC hIMC,
  1052. /* [in] */ DWORD dwIndex,
  1053. /* [in] */ DWORD dwBufLen,
  1054. /* [out] */ LONG *plCopied,
  1055. /* [out] */ LPVOID pBuf);
  1056. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringW )(
  1057. IActiveIMMApp * This,
  1058. /* [in] */ HIMC hIMC,
  1059. /* [in] */ DWORD dwIndex,
  1060. /* [in] */ DWORD dwBufLen,
  1061. /* [out] */ LONG *plCopied,
  1062. /* [out] */ LPVOID pBuf);
  1063. HRESULT ( STDMETHODCALLTYPE *GetCompositionWindow )(
  1064. IActiveIMMApp * This,
  1065. /* [in] */ HIMC hIMC,
  1066. /* [out] */ COMPOSITIONFORM *pCompForm);
  1067. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  1068. IActiveIMMApp * This,
  1069. /* [in] */ HWND hWnd,
  1070. /* [out] */ HIMC *phIMC);
  1071. HRESULT ( STDMETHODCALLTYPE *GetConversionListA )(
  1072. IActiveIMMApp * This,
  1073. /* [in] */ HKL hKL,
  1074. /* [in] */ HIMC hIMC,
  1075. /* [in] */ LPSTR pSrc,
  1076. /* [in] */ UINT uBufLen,
  1077. /* [in] */ UINT uFlag,
  1078. /* [out] */ CANDIDATELIST *pDst,
  1079. /* [out] */ UINT *puCopied);
  1080. HRESULT ( STDMETHODCALLTYPE *GetConversionListW )(
  1081. IActiveIMMApp * This,
  1082. /* [in] */ HKL hKL,
  1083. /* [in] */ HIMC hIMC,
  1084. /* [in] */ LPWSTR pSrc,
  1085. /* [in] */ UINT uBufLen,
  1086. /* [in] */ UINT uFlag,
  1087. /* [out] */ CANDIDATELIST *pDst,
  1088. /* [out] */ UINT *puCopied);
  1089. HRESULT ( STDMETHODCALLTYPE *GetConversionStatus )(
  1090. IActiveIMMApp * This,
  1091. /* [in] */ HIMC hIMC,
  1092. /* [out] */ DWORD *pfdwConversion,
  1093. /* [out] */ DWORD *pfdwSentence);
  1094. HRESULT ( STDMETHODCALLTYPE *GetDefaultIMEWnd )(
  1095. IActiveIMMApp * This,
  1096. /* [in] */ HWND hWnd,
  1097. /* [out] */ HWND *phDefWnd);
  1098. HRESULT ( STDMETHODCALLTYPE *GetDescriptionA )(
  1099. IActiveIMMApp * This,
  1100. /* [in] */ HKL hKL,
  1101. /* [in] */ UINT uBufLen,
  1102. /* [out] */ LPSTR szDescription,
  1103. /* [out] */ UINT *puCopied);
  1104. HRESULT ( STDMETHODCALLTYPE *GetDescriptionW )(
  1105. IActiveIMMApp * This,
  1106. /* [in] */ HKL hKL,
  1107. /* [in] */ UINT uBufLen,
  1108. /* [out] */ LPWSTR szDescription,
  1109. /* [out] */ UINT *puCopied);
  1110. HRESULT ( STDMETHODCALLTYPE *GetGuideLineA )(
  1111. IActiveIMMApp * This,
  1112. /* [in] */ HIMC hIMC,
  1113. /* [in] */ DWORD dwIndex,
  1114. /* [in] */ DWORD dwBufLen,
  1115. /* [out] */ LPSTR pBuf,
  1116. /* [out] */ DWORD *pdwResult);
  1117. HRESULT ( STDMETHODCALLTYPE *GetGuideLineW )(
  1118. IActiveIMMApp * This,
  1119. /* [in] */ HIMC hIMC,
  1120. /* [in] */ DWORD dwIndex,
  1121. /* [in] */ DWORD dwBufLen,
  1122. /* [out] */ LPWSTR pBuf,
  1123. /* [out] */ DWORD *pdwResult);
  1124. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameA )(
  1125. IActiveIMMApp * This,
  1126. /* [in] */ HKL hKL,
  1127. /* [in] */ UINT uBufLen,
  1128. /* [out] */ LPSTR szFileName,
  1129. /* [out] */ UINT *puCopied);
  1130. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameW )(
  1131. IActiveIMMApp * This,
  1132. /* [in] */ HKL hKL,
  1133. /* [in] */ UINT uBufLen,
  1134. /* [out] */ LPWSTR szFileName,
  1135. /* [out] */ UINT *puCopied);
  1136. HRESULT ( STDMETHODCALLTYPE *GetOpenStatus )(
  1137. IActiveIMMApp * This,
  1138. /* [in] */ HIMC hIMC);
  1139. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  1140. IActiveIMMApp * This,
  1141. /* [in] */ HKL hKL,
  1142. /* [in] */ DWORD fdwIndex,
  1143. /* [out] */ DWORD *pdwProperty);
  1144. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleA )(
  1145. IActiveIMMApp * This,
  1146. /* [in] */ HKL hKL,
  1147. /* [in] */ UINT nItem,
  1148. /* [out] */ STYLEBUFA *pStyleBuf,
  1149. /* [out] */ UINT *puCopied);
  1150. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleW )(
  1151. IActiveIMMApp * This,
  1152. /* [in] */ HKL hKL,
  1153. /* [in] */ UINT nItem,
  1154. /* [out] */ STYLEBUFW *pStyleBuf,
  1155. /* [out] */ UINT *puCopied);
  1156. HRESULT ( STDMETHODCALLTYPE *GetStatusWindowPos )(
  1157. IActiveIMMApp * This,
  1158. /* [in] */ HIMC hIMC,
  1159. /* [out] */ POINT *pptPos);
  1160. HRESULT ( STDMETHODCALLTYPE *GetVirtualKey )(
  1161. IActiveIMMApp * This,
  1162. /* [in] */ HWND hWnd,
  1163. /* [out] */ UINT *puVirtualKey);
  1164. HRESULT ( STDMETHODCALLTYPE *InstallIMEA )(
  1165. IActiveIMMApp * This,
  1166. /* [in] */ LPSTR szIMEFileName,
  1167. /* [in] */ LPSTR szLayoutText,
  1168. /* [out] */ HKL *phKL);
  1169. HRESULT ( STDMETHODCALLTYPE *InstallIMEW )(
  1170. IActiveIMMApp * This,
  1171. /* [in] */ LPWSTR szIMEFileName,
  1172. /* [in] */ LPWSTR szLayoutText,
  1173. /* [out] */ HKL *phKL);
  1174. HRESULT ( STDMETHODCALLTYPE *IsIME )(
  1175. IActiveIMMApp * This,
  1176. /* [in] */ HKL hKL);
  1177. HRESULT ( STDMETHODCALLTYPE *IsUIMessageA )(
  1178. IActiveIMMApp * This,
  1179. /* [in] */ HWND hWndIME,
  1180. /* [in] */ UINT msg,
  1181. /* [in] */ WPARAM wParam,
  1182. /* [in] */ LPARAM lParam);
  1183. HRESULT ( STDMETHODCALLTYPE *IsUIMessageW )(
  1184. IActiveIMMApp * This,
  1185. /* [in] */ HWND hWndIME,
  1186. /* [in] */ UINT msg,
  1187. /* [in] */ WPARAM wParam,
  1188. /* [in] */ LPARAM lParam);
  1189. HRESULT ( STDMETHODCALLTYPE *NotifyIME )(
  1190. IActiveIMMApp * This,
  1191. /* [in] */ HIMC hIMC,
  1192. /* [in] */ DWORD dwAction,
  1193. /* [in] */ DWORD dwIndex,
  1194. /* [in] */ DWORD dwValue);
  1195. HRESULT ( STDMETHODCALLTYPE *RegisterWordA )(
  1196. IActiveIMMApp * This,
  1197. /* [in] */ HKL hKL,
  1198. /* [in] */ LPSTR szReading,
  1199. /* [in] */ DWORD dwStyle,
  1200. /* [in] */ LPSTR szRegister);
  1201. HRESULT ( STDMETHODCALLTYPE *RegisterWordW )(
  1202. IActiveIMMApp * This,
  1203. /* [in] */ HKL hKL,
  1204. /* [in] */ LPWSTR szReading,
  1205. /* [in] */ DWORD dwStyle,
  1206. /* [in] */ LPWSTR szRegister);
  1207. HRESULT ( STDMETHODCALLTYPE *ReleaseContext )(
  1208. IActiveIMMApp * This,
  1209. /* [in] */ HWND hWnd,
  1210. /* [in] */ HIMC hIMC);
  1211. HRESULT ( STDMETHODCALLTYPE *SetCandidateWindow )(
  1212. IActiveIMMApp * This,
  1213. /* [in] */ HIMC hIMC,
  1214. /* [in] */ CANDIDATEFORM *pCandidate);
  1215. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontA )(
  1216. IActiveIMMApp * This,
  1217. /* [in] */ HIMC hIMC,
  1218. /* [in] */ LOGFONTA *plf);
  1219. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontW )(
  1220. IActiveIMMApp * This,
  1221. /* [in] */ HIMC hIMC,
  1222. /* [in] */ LOGFONTW *plf);
  1223. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringA )(
  1224. IActiveIMMApp * This,
  1225. /* [in] */ HIMC hIMC,
  1226. /* [in] */ DWORD dwIndex,
  1227. /* [in] */ LPVOID pComp,
  1228. /* [in] */ DWORD dwCompLen,
  1229. /* [in] */ LPVOID pRead,
  1230. /* [in] */ DWORD dwReadLen);
  1231. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringW )(
  1232. IActiveIMMApp * This,
  1233. /* [in] */ HIMC hIMC,
  1234. /* [in] */ DWORD dwIndex,
  1235. /* [in] */ LPVOID pComp,
  1236. /* [in] */ DWORD dwCompLen,
  1237. /* [in] */ LPVOID pRead,
  1238. /* [in] */ DWORD dwReadLen);
  1239. HRESULT ( STDMETHODCALLTYPE *SetCompositionWindow )(
  1240. IActiveIMMApp * This,
  1241. /* [in] */ HIMC hIMC,
  1242. /* [in] */ COMPOSITIONFORM *pCompForm);
  1243. HRESULT ( STDMETHODCALLTYPE *SetConversionStatus )(
  1244. IActiveIMMApp * This,
  1245. /* [in] */ HIMC hIMC,
  1246. /* [in] */ DWORD fdwConversion,
  1247. /* [in] */ DWORD fdwSentence);
  1248. HRESULT ( STDMETHODCALLTYPE *SetOpenStatus )(
  1249. IActiveIMMApp * This,
  1250. /* [in] */ HIMC hIMC,
  1251. /* [in] */ BOOL fOpen);
  1252. HRESULT ( STDMETHODCALLTYPE *SetStatusWindowPos )(
  1253. IActiveIMMApp * This,
  1254. /* [in] */ HIMC hIMC,
  1255. /* [in] */ POINT *pptPos);
  1256. HRESULT ( STDMETHODCALLTYPE *SimulateHotKey )(
  1257. IActiveIMMApp * This,
  1258. /* [in] */ HWND hWnd,
  1259. /* [in] */ DWORD dwHotKeyID);
  1260. HRESULT ( STDMETHODCALLTYPE *UnregisterWordA )(
  1261. IActiveIMMApp * This,
  1262. /* [in] */ HKL hKL,
  1263. /* [in] */ LPSTR szReading,
  1264. /* [in] */ DWORD dwStyle,
  1265. /* [in] */ LPSTR szUnregister);
  1266. HRESULT ( STDMETHODCALLTYPE *UnregisterWordW )(
  1267. IActiveIMMApp * This,
  1268. /* [in] */ HKL hKL,
  1269. /* [in] */ LPWSTR szReading,
  1270. /* [in] */ DWORD dwStyle,
  1271. /* [in] */ LPWSTR szUnregister);
  1272. HRESULT ( STDMETHODCALLTYPE *Activate )(
  1273. IActiveIMMApp * This,
  1274. /* [in] */ BOOL fRestoreLayout);
  1275. HRESULT ( STDMETHODCALLTYPE *Deactivate )(
  1276. IActiveIMMApp * This);
  1277. HRESULT ( STDMETHODCALLTYPE *OnDefWindowProc )(
  1278. IActiveIMMApp * This,
  1279. /* [in] */ HWND hWnd,
  1280. /* [in] */ UINT Msg,
  1281. /* [in] */ WPARAM wParam,
  1282. /* [in] */ LPARAM lParam,
  1283. /* [out] */ LRESULT *plResult);
  1284. HRESULT ( STDMETHODCALLTYPE *FilterClientWindows )(
  1285. IActiveIMMApp * This,
  1286. /* [in] */ ATOM *aaClassList,
  1287. /* [in] */ UINT uSize);
  1288. HRESULT ( STDMETHODCALLTYPE *GetCodePageA )(
  1289. IActiveIMMApp * This,
  1290. /* [in] */ HKL hKL,
  1291. /* [out] */ UINT *uCodePage);
  1292. HRESULT ( STDMETHODCALLTYPE *GetLangId )(
  1293. IActiveIMMApp * This,
  1294. /* [in] */ HKL hKL,
  1295. /* [out] */ LANGID *plid);
  1296. HRESULT ( STDMETHODCALLTYPE *AssociateContextEx )(
  1297. IActiveIMMApp * This,
  1298. /* [in] */ HWND hWnd,
  1299. /* [in] */ HIMC hIMC,
  1300. /* [in] */ DWORD dwFlags);
  1301. HRESULT ( STDMETHODCALLTYPE *DisableIME )(
  1302. IActiveIMMApp * This,
  1303. /* [in] */ DWORD idThread);
  1304. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsA )(
  1305. IActiveIMMApp * This,
  1306. /* [in] */ HIMC hIMC,
  1307. /* [in] */ DWORD dwFlags,
  1308. /* [in] */ DWORD dwType,
  1309. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  1310. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  1311. /* [in] */ DWORD dwSize,
  1312. /* [out] */ DWORD *pdwResult);
  1313. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsW )(
  1314. IActiveIMMApp * This,
  1315. /* [in] */ HIMC hIMC,
  1316. /* [in] */ DWORD dwFlags,
  1317. /* [in] */ DWORD dwType,
  1318. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  1319. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  1320. /* [in] */ DWORD dwSize,
  1321. /* [out] */ DWORD *pdwResult);
  1322. HRESULT ( STDMETHODCALLTYPE *EnumInputContext )(
  1323. IActiveIMMApp * This,
  1324. /* [in] */ DWORD idThread,
  1325. /* [out] */ IEnumInputContext **ppEnum);
  1326. END_INTERFACE
  1327. } IActiveIMMAppVtbl;
  1328. interface IActiveIMMApp
  1329. {
  1330. CONST_VTBL struct IActiveIMMAppVtbl *lpVtbl;
  1331. };
  1332. #ifdef COBJMACROS
  1333. #define IActiveIMMApp_QueryInterface(This,riid,ppvObject) \
  1334. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1335. #define IActiveIMMApp_AddRef(This) \
  1336. (This)->lpVtbl -> AddRef(This)
  1337. #define IActiveIMMApp_Release(This) \
  1338. (This)->lpVtbl -> Release(This)
  1339. #define IActiveIMMApp_AssociateContext(This,hWnd,hIME,phPrev) \
  1340. (This)->lpVtbl -> AssociateContext(This,hWnd,hIME,phPrev)
  1341. #define IActiveIMMApp_ConfigureIMEA(This,hKL,hWnd,dwMode,pData) \
  1342. (This)->lpVtbl -> ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  1343. #define IActiveIMMApp_ConfigureIMEW(This,hKL,hWnd,dwMode,pData) \
  1344. (This)->lpVtbl -> ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  1345. #define IActiveIMMApp_CreateContext(This,phIMC) \
  1346. (This)->lpVtbl -> CreateContext(This,phIMC)
  1347. #define IActiveIMMApp_DestroyContext(This,hIME) \
  1348. (This)->lpVtbl -> DestroyContext(This,hIME)
  1349. #define IActiveIMMApp_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  1350. (This)->lpVtbl -> EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1351. #define IActiveIMMApp_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  1352. (This)->lpVtbl -> EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1353. #define IActiveIMMApp_EscapeA(This,hKL,hIMC,uEscape,pData,plResult) \
  1354. (This)->lpVtbl -> EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  1355. #define IActiveIMMApp_EscapeW(This,hKL,hIMC,uEscape,pData,plResult) \
  1356. (This)->lpVtbl -> EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  1357. #define IActiveIMMApp_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  1358. (This)->lpVtbl -> GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1359. #define IActiveIMMApp_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  1360. (This)->lpVtbl -> GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1361. #define IActiveIMMApp_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen) \
  1362. (This)->lpVtbl -> GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  1363. #define IActiveIMMApp_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen) \
  1364. (This)->lpVtbl -> GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  1365. #define IActiveIMMApp_GetCandidateWindow(This,hIMC,dwIndex,pCandidate) \
  1366. (This)->lpVtbl -> GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  1367. #define IActiveIMMApp_GetCompositionFontA(This,hIMC,plf) \
  1368. (This)->lpVtbl -> GetCompositionFontA(This,hIMC,plf)
  1369. #define IActiveIMMApp_GetCompositionFontW(This,hIMC,plf) \
  1370. (This)->lpVtbl -> GetCompositionFontW(This,hIMC,plf)
  1371. #define IActiveIMMApp_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  1372. (This)->lpVtbl -> GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1373. #define IActiveIMMApp_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  1374. (This)->lpVtbl -> GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1375. #define IActiveIMMApp_GetCompositionWindow(This,hIMC,pCompForm) \
  1376. (This)->lpVtbl -> GetCompositionWindow(This,hIMC,pCompForm)
  1377. #define IActiveIMMApp_GetContext(This,hWnd,phIMC) \
  1378. (This)->lpVtbl -> GetContext(This,hWnd,phIMC)
  1379. #define IActiveIMMApp_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  1380. (This)->lpVtbl -> GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1381. #define IActiveIMMApp_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  1382. (This)->lpVtbl -> GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1383. #define IActiveIMMApp_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence) \
  1384. (This)->lpVtbl -> GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  1385. #define IActiveIMMApp_GetDefaultIMEWnd(This,hWnd,phDefWnd) \
  1386. (This)->lpVtbl -> GetDefaultIMEWnd(This,hWnd,phDefWnd)
  1387. #define IActiveIMMApp_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied) \
  1388. (This)->lpVtbl -> GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  1389. #define IActiveIMMApp_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied) \
  1390. (This)->lpVtbl -> GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  1391. #define IActiveIMMApp_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  1392. (This)->lpVtbl -> GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1393. #define IActiveIMMApp_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  1394. (This)->lpVtbl -> GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1395. #define IActiveIMMApp_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied) \
  1396. (This)->lpVtbl -> GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  1397. #define IActiveIMMApp_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied) \
  1398. (This)->lpVtbl -> GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  1399. #define IActiveIMMApp_GetOpenStatus(This,hIMC) \
  1400. (This)->lpVtbl -> GetOpenStatus(This,hIMC)
  1401. #define IActiveIMMApp_GetProperty(This,hKL,fdwIndex,pdwProperty) \
  1402. (This)->lpVtbl -> GetProperty(This,hKL,fdwIndex,pdwProperty)
  1403. #define IActiveIMMApp_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied) \
  1404. (This)->lpVtbl -> GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  1405. #define IActiveIMMApp_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied) \
  1406. (This)->lpVtbl -> GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  1407. #define IActiveIMMApp_GetStatusWindowPos(This,hIMC,pptPos) \
  1408. (This)->lpVtbl -> GetStatusWindowPos(This,hIMC,pptPos)
  1409. #define IActiveIMMApp_GetVirtualKey(This,hWnd,puVirtualKey) \
  1410. (This)->lpVtbl -> GetVirtualKey(This,hWnd,puVirtualKey)
  1411. #define IActiveIMMApp_InstallIMEA(This,szIMEFileName,szLayoutText,phKL) \
  1412. (This)->lpVtbl -> InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  1413. #define IActiveIMMApp_InstallIMEW(This,szIMEFileName,szLayoutText,phKL) \
  1414. (This)->lpVtbl -> InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  1415. #define IActiveIMMApp_IsIME(This,hKL) \
  1416. (This)->lpVtbl -> IsIME(This,hKL)
  1417. #define IActiveIMMApp_IsUIMessageA(This,hWndIME,msg,wParam,lParam) \
  1418. (This)->lpVtbl -> IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  1419. #define IActiveIMMApp_IsUIMessageW(This,hWndIME,msg,wParam,lParam) \
  1420. (This)->lpVtbl -> IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  1421. #define IActiveIMMApp_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue) \
  1422. (This)->lpVtbl -> NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  1423. #define IActiveIMMApp_RegisterWordA(This,hKL,szReading,dwStyle,szRegister) \
  1424. (This)->lpVtbl -> RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  1425. #define IActiveIMMApp_RegisterWordW(This,hKL,szReading,dwStyle,szRegister) \
  1426. (This)->lpVtbl -> RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  1427. #define IActiveIMMApp_ReleaseContext(This,hWnd,hIMC) \
  1428. (This)->lpVtbl -> ReleaseContext(This,hWnd,hIMC)
  1429. #define IActiveIMMApp_SetCandidateWindow(This,hIMC,pCandidate) \
  1430. (This)->lpVtbl -> SetCandidateWindow(This,hIMC,pCandidate)
  1431. #define IActiveIMMApp_SetCompositionFontA(This,hIMC,plf) \
  1432. (This)->lpVtbl -> SetCompositionFontA(This,hIMC,plf)
  1433. #define IActiveIMMApp_SetCompositionFontW(This,hIMC,plf) \
  1434. (This)->lpVtbl -> SetCompositionFontW(This,hIMC,plf)
  1435. #define IActiveIMMApp_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  1436. (This)->lpVtbl -> SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1437. #define IActiveIMMApp_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  1438. (This)->lpVtbl -> SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1439. #define IActiveIMMApp_SetCompositionWindow(This,hIMC,pCompForm) \
  1440. (This)->lpVtbl -> SetCompositionWindow(This,hIMC,pCompForm)
  1441. #define IActiveIMMApp_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence) \
  1442. (This)->lpVtbl -> SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  1443. #define IActiveIMMApp_SetOpenStatus(This,hIMC,fOpen) \
  1444. (This)->lpVtbl -> SetOpenStatus(This,hIMC,fOpen)
  1445. #define IActiveIMMApp_SetStatusWindowPos(This,hIMC,pptPos) \
  1446. (This)->lpVtbl -> SetStatusWindowPos(This,hIMC,pptPos)
  1447. #define IActiveIMMApp_SimulateHotKey(This,hWnd,dwHotKeyID) \
  1448. (This)->lpVtbl -> SimulateHotKey(This,hWnd,dwHotKeyID)
  1449. #define IActiveIMMApp_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister) \
  1450. (This)->lpVtbl -> UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  1451. #define IActiveIMMApp_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister) \
  1452. (This)->lpVtbl -> UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  1453. #define IActiveIMMApp_Activate(This,fRestoreLayout) \
  1454. (This)->lpVtbl -> Activate(This,fRestoreLayout)
  1455. #define IActiveIMMApp_Deactivate(This) \
  1456. (This)->lpVtbl -> Deactivate(This)
  1457. #define IActiveIMMApp_OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult) \
  1458. (This)->lpVtbl -> OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult)
  1459. #define IActiveIMMApp_FilterClientWindows(This,aaClassList,uSize) \
  1460. (This)->lpVtbl -> FilterClientWindows(This,aaClassList,uSize)
  1461. #define IActiveIMMApp_GetCodePageA(This,hKL,uCodePage) \
  1462. (This)->lpVtbl -> GetCodePageA(This,hKL,uCodePage)
  1463. #define IActiveIMMApp_GetLangId(This,hKL,plid) \
  1464. (This)->lpVtbl -> GetLangId(This,hKL,plid)
  1465. #define IActiveIMMApp_AssociateContextEx(This,hWnd,hIMC,dwFlags) \
  1466. (This)->lpVtbl -> AssociateContextEx(This,hWnd,hIMC,dwFlags)
  1467. #define IActiveIMMApp_DisableIME(This,idThread) \
  1468. (This)->lpVtbl -> DisableIME(This,idThread)
  1469. #define IActiveIMMApp_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  1470. (This)->lpVtbl -> GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1471. #define IActiveIMMApp_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  1472. (This)->lpVtbl -> GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1473. #define IActiveIMMApp_EnumInputContext(This,idThread,ppEnum) \
  1474. (This)->lpVtbl -> EnumInputContext(This,idThread,ppEnum)
  1475. #endif /* COBJMACROS */
  1476. #endif /* C style interface */
  1477. HRESULT STDMETHODCALLTYPE IActiveIMMApp_AssociateContext_Proxy(
  1478. IActiveIMMApp * This,
  1479. /* [in] */ HWND hWnd,
  1480. /* [in] */ HIMC hIME,
  1481. /* [out] */ HIMC *phPrev);
  1482. void __RPC_STUB IActiveIMMApp_AssociateContext_Stub(
  1483. IRpcStubBuffer *This,
  1484. IRpcChannelBuffer *_pRpcChannelBuffer,
  1485. PRPC_MESSAGE _pRpcMessage,
  1486. DWORD *_pdwStubPhase);
  1487. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ConfigureIMEA_Proxy(
  1488. IActiveIMMApp * This,
  1489. /* [in] */ HKL hKL,
  1490. /* [in] */ HWND hWnd,
  1491. /* [in] */ DWORD dwMode,
  1492. /* [in] */ REGISTERWORDA *pData);
  1493. void __RPC_STUB IActiveIMMApp_ConfigureIMEA_Stub(
  1494. IRpcStubBuffer *This,
  1495. IRpcChannelBuffer *_pRpcChannelBuffer,
  1496. PRPC_MESSAGE _pRpcMessage,
  1497. DWORD *_pdwStubPhase);
  1498. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ConfigureIMEW_Proxy(
  1499. IActiveIMMApp * This,
  1500. /* [in] */ HKL hKL,
  1501. /* [in] */ HWND hWnd,
  1502. /* [in] */ DWORD dwMode,
  1503. /* [in] */ REGISTERWORDW *pData);
  1504. void __RPC_STUB IActiveIMMApp_ConfigureIMEW_Stub(
  1505. IRpcStubBuffer *This,
  1506. IRpcChannelBuffer *_pRpcChannelBuffer,
  1507. PRPC_MESSAGE _pRpcMessage,
  1508. DWORD *_pdwStubPhase);
  1509. HRESULT STDMETHODCALLTYPE IActiveIMMApp_CreateContext_Proxy(
  1510. IActiveIMMApp * This,
  1511. /* [out] */ HIMC *phIMC);
  1512. void __RPC_STUB IActiveIMMApp_CreateContext_Stub(
  1513. IRpcStubBuffer *This,
  1514. IRpcChannelBuffer *_pRpcChannelBuffer,
  1515. PRPC_MESSAGE _pRpcMessage,
  1516. DWORD *_pdwStubPhase);
  1517. HRESULT STDMETHODCALLTYPE IActiveIMMApp_DestroyContext_Proxy(
  1518. IActiveIMMApp * This,
  1519. /* [in] */ HIMC hIME);
  1520. void __RPC_STUB IActiveIMMApp_DestroyContext_Stub(
  1521. IRpcStubBuffer *This,
  1522. IRpcChannelBuffer *_pRpcChannelBuffer,
  1523. PRPC_MESSAGE _pRpcMessage,
  1524. DWORD *_pdwStubPhase);
  1525. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumRegisterWordA_Proxy(
  1526. IActiveIMMApp * This,
  1527. /* [in] */ HKL hKL,
  1528. /* [in] */ LPSTR szReading,
  1529. /* [in] */ DWORD dwStyle,
  1530. /* [in] */ LPSTR szRegister,
  1531. /* [in] */ LPVOID pData,
  1532. /* [out] */ IEnumRegisterWordA **pEnum);
  1533. void __RPC_STUB IActiveIMMApp_EnumRegisterWordA_Stub(
  1534. IRpcStubBuffer *This,
  1535. IRpcChannelBuffer *_pRpcChannelBuffer,
  1536. PRPC_MESSAGE _pRpcMessage,
  1537. DWORD *_pdwStubPhase);
  1538. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumRegisterWordW_Proxy(
  1539. IActiveIMMApp * This,
  1540. /* [in] */ HKL hKL,
  1541. /* [in] */ LPWSTR szReading,
  1542. /* [in] */ DWORD dwStyle,
  1543. /* [in] */ LPWSTR szRegister,
  1544. /* [in] */ LPVOID pData,
  1545. /* [out] */ IEnumRegisterWordW **pEnum);
  1546. void __RPC_STUB IActiveIMMApp_EnumRegisterWordW_Stub(
  1547. IRpcStubBuffer *This,
  1548. IRpcChannelBuffer *_pRpcChannelBuffer,
  1549. PRPC_MESSAGE _pRpcMessage,
  1550. DWORD *_pdwStubPhase);
  1551. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EscapeA_Proxy(
  1552. IActiveIMMApp * This,
  1553. /* [in] */ HKL hKL,
  1554. /* [in] */ HIMC hIMC,
  1555. /* [in] */ UINT uEscape,
  1556. /* [out][in] */ LPVOID pData,
  1557. /* [out] */ LRESULT *plResult);
  1558. void __RPC_STUB IActiveIMMApp_EscapeA_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EscapeW_Proxy(
  1564. IActiveIMMApp * This,
  1565. /* [in] */ HKL hKL,
  1566. /* [in] */ HIMC hIMC,
  1567. /* [in] */ UINT uEscape,
  1568. /* [out][in] */ LPVOID pData,
  1569. /* [out] */ LRESULT *plResult);
  1570. void __RPC_STUB IActiveIMMApp_EscapeW_Stub(
  1571. IRpcStubBuffer *This,
  1572. IRpcChannelBuffer *_pRpcChannelBuffer,
  1573. PRPC_MESSAGE _pRpcMessage,
  1574. DWORD *_pdwStubPhase);
  1575. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListA_Proxy(
  1576. IActiveIMMApp * This,
  1577. /* [in] */ HIMC hIMC,
  1578. /* [in] */ DWORD dwIndex,
  1579. /* [in] */ UINT uBufLen,
  1580. /* [out] */ CANDIDATELIST *pCandList,
  1581. /* [out] */ UINT *puCopied);
  1582. void __RPC_STUB IActiveIMMApp_GetCandidateListA_Stub(
  1583. IRpcStubBuffer *This,
  1584. IRpcChannelBuffer *_pRpcChannelBuffer,
  1585. PRPC_MESSAGE _pRpcMessage,
  1586. DWORD *_pdwStubPhase);
  1587. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListW_Proxy(
  1588. IActiveIMMApp * This,
  1589. /* [in] */ HIMC hIMC,
  1590. /* [in] */ DWORD dwIndex,
  1591. /* [in] */ UINT uBufLen,
  1592. /* [out] */ CANDIDATELIST *pCandList,
  1593. /* [out] */ UINT *puCopied);
  1594. void __RPC_STUB IActiveIMMApp_GetCandidateListW_Stub(
  1595. IRpcStubBuffer *This,
  1596. IRpcChannelBuffer *_pRpcChannelBuffer,
  1597. PRPC_MESSAGE _pRpcMessage,
  1598. DWORD *_pdwStubPhase);
  1599. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListCountA_Proxy(
  1600. IActiveIMMApp * This,
  1601. /* [in] */ HIMC hIMC,
  1602. /* [out] */ DWORD *pdwListSize,
  1603. /* [out] */ DWORD *pdwBufLen);
  1604. void __RPC_STUB IActiveIMMApp_GetCandidateListCountA_Stub(
  1605. IRpcStubBuffer *This,
  1606. IRpcChannelBuffer *_pRpcChannelBuffer,
  1607. PRPC_MESSAGE _pRpcMessage,
  1608. DWORD *_pdwStubPhase);
  1609. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListCountW_Proxy(
  1610. IActiveIMMApp * This,
  1611. /* [in] */ HIMC hIMC,
  1612. /* [out] */ DWORD *pdwListSize,
  1613. /* [out] */ DWORD *pdwBufLen);
  1614. void __RPC_STUB IActiveIMMApp_GetCandidateListCountW_Stub(
  1615. IRpcStubBuffer *This,
  1616. IRpcChannelBuffer *_pRpcChannelBuffer,
  1617. PRPC_MESSAGE _pRpcMessage,
  1618. DWORD *_pdwStubPhase);
  1619. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateWindow_Proxy(
  1620. IActiveIMMApp * This,
  1621. /* [in] */ HIMC hIMC,
  1622. /* [in] */ DWORD dwIndex,
  1623. /* [out] */ CANDIDATEFORM *pCandidate);
  1624. void __RPC_STUB IActiveIMMApp_GetCandidateWindow_Stub(
  1625. IRpcStubBuffer *This,
  1626. IRpcChannelBuffer *_pRpcChannelBuffer,
  1627. PRPC_MESSAGE _pRpcMessage,
  1628. DWORD *_pdwStubPhase);
  1629. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionFontA_Proxy(
  1630. IActiveIMMApp * This,
  1631. /* [in] */ HIMC hIMC,
  1632. /* [out] */ LOGFONTA *plf);
  1633. void __RPC_STUB IActiveIMMApp_GetCompositionFontA_Stub(
  1634. IRpcStubBuffer *This,
  1635. IRpcChannelBuffer *_pRpcChannelBuffer,
  1636. PRPC_MESSAGE _pRpcMessage,
  1637. DWORD *_pdwStubPhase);
  1638. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionFontW_Proxy(
  1639. IActiveIMMApp * This,
  1640. /* [in] */ HIMC hIMC,
  1641. /* [out] */ LOGFONTW *plf);
  1642. void __RPC_STUB IActiveIMMApp_GetCompositionFontW_Stub(
  1643. IRpcStubBuffer *This,
  1644. IRpcChannelBuffer *_pRpcChannelBuffer,
  1645. PRPC_MESSAGE _pRpcMessage,
  1646. DWORD *_pdwStubPhase);
  1647. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionStringA_Proxy(
  1648. IActiveIMMApp * This,
  1649. /* [in] */ HIMC hIMC,
  1650. /* [in] */ DWORD dwIndex,
  1651. /* [in] */ DWORD dwBufLen,
  1652. /* [out] */ LONG *plCopied,
  1653. /* [out] */ LPVOID pBuf);
  1654. void __RPC_STUB IActiveIMMApp_GetCompositionStringA_Stub(
  1655. IRpcStubBuffer *This,
  1656. IRpcChannelBuffer *_pRpcChannelBuffer,
  1657. PRPC_MESSAGE _pRpcMessage,
  1658. DWORD *_pdwStubPhase);
  1659. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionStringW_Proxy(
  1660. IActiveIMMApp * This,
  1661. /* [in] */ HIMC hIMC,
  1662. /* [in] */ DWORD dwIndex,
  1663. /* [in] */ DWORD dwBufLen,
  1664. /* [out] */ LONG *plCopied,
  1665. /* [out] */ LPVOID pBuf);
  1666. void __RPC_STUB IActiveIMMApp_GetCompositionStringW_Stub(
  1667. IRpcStubBuffer *This,
  1668. IRpcChannelBuffer *_pRpcChannelBuffer,
  1669. PRPC_MESSAGE _pRpcMessage,
  1670. DWORD *_pdwStubPhase);
  1671. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionWindow_Proxy(
  1672. IActiveIMMApp * This,
  1673. /* [in] */ HIMC hIMC,
  1674. /* [out] */ COMPOSITIONFORM *pCompForm);
  1675. void __RPC_STUB IActiveIMMApp_GetCompositionWindow_Stub(
  1676. IRpcStubBuffer *This,
  1677. IRpcChannelBuffer *_pRpcChannelBuffer,
  1678. PRPC_MESSAGE _pRpcMessage,
  1679. DWORD *_pdwStubPhase);
  1680. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetContext_Proxy(
  1681. IActiveIMMApp * This,
  1682. /* [in] */ HWND hWnd,
  1683. /* [out] */ HIMC *phIMC);
  1684. void __RPC_STUB IActiveIMMApp_GetContext_Stub(
  1685. IRpcStubBuffer *This,
  1686. IRpcChannelBuffer *_pRpcChannelBuffer,
  1687. PRPC_MESSAGE _pRpcMessage,
  1688. DWORD *_pdwStubPhase);
  1689. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionListA_Proxy(
  1690. IActiveIMMApp * This,
  1691. /* [in] */ HKL hKL,
  1692. /* [in] */ HIMC hIMC,
  1693. /* [in] */ LPSTR pSrc,
  1694. /* [in] */ UINT uBufLen,
  1695. /* [in] */ UINT uFlag,
  1696. /* [out] */ CANDIDATELIST *pDst,
  1697. /* [out] */ UINT *puCopied);
  1698. void __RPC_STUB IActiveIMMApp_GetConversionListA_Stub(
  1699. IRpcStubBuffer *This,
  1700. IRpcChannelBuffer *_pRpcChannelBuffer,
  1701. PRPC_MESSAGE _pRpcMessage,
  1702. DWORD *_pdwStubPhase);
  1703. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionListW_Proxy(
  1704. IActiveIMMApp * This,
  1705. /* [in] */ HKL hKL,
  1706. /* [in] */ HIMC hIMC,
  1707. /* [in] */ LPWSTR pSrc,
  1708. /* [in] */ UINT uBufLen,
  1709. /* [in] */ UINT uFlag,
  1710. /* [out] */ CANDIDATELIST *pDst,
  1711. /* [out] */ UINT *puCopied);
  1712. void __RPC_STUB IActiveIMMApp_GetConversionListW_Stub(
  1713. IRpcStubBuffer *This,
  1714. IRpcChannelBuffer *_pRpcChannelBuffer,
  1715. PRPC_MESSAGE _pRpcMessage,
  1716. DWORD *_pdwStubPhase);
  1717. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionStatus_Proxy(
  1718. IActiveIMMApp * This,
  1719. /* [in] */ HIMC hIMC,
  1720. /* [out] */ DWORD *pfdwConversion,
  1721. /* [out] */ DWORD *pfdwSentence);
  1722. void __RPC_STUB IActiveIMMApp_GetConversionStatus_Stub(
  1723. IRpcStubBuffer *This,
  1724. IRpcChannelBuffer *_pRpcChannelBuffer,
  1725. PRPC_MESSAGE _pRpcMessage,
  1726. DWORD *_pdwStubPhase);
  1727. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDefaultIMEWnd_Proxy(
  1728. IActiveIMMApp * This,
  1729. /* [in] */ HWND hWnd,
  1730. /* [out] */ HWND *phDefWnd);
  1731. void __RPC_STUB IActiveIMMApp_GetDefaultIMEWnd_Stub(
  1732. IRpcStubBuffer *This,
  1733. IRpcChannelBuffer *_pRpcChannelBuffer,
  1734. PRPC_MESSAGE _pRpcMessage,
  1735. DWORD *_pdwStubPhase);
  1736. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDescriptionA_Proxy(
  1737. IActiveIMMApp * This,
  1738. /* [in] */ HKL hKL,
  1739. /* [in] */ UINT uBufLen,
  1740. /* [out] */ LPSTR szDescription,
  1741. /* [out] */ UINT *puCopied);
  1742. void __RPC_STUB IActiveIMMApp_GetDescriptionA_Stub(
  1743. IRpcStubBuffer *This,
  1744. IRpcChannelBuffer *_pRpcChannelBuffer,
  1745. PRPC_MESSAGE _pRpcMessage,
  1746. DWORD *_pdwStubPhase);
  1747. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDescriptionW_Proxy(
  1748. IActiveIMMApp * This,
  1749. /* [in] */ HKL hKL,
  1750. /* [in] */ UINT uBufLen,
  1751. /* [out] */ LPWSTR szDescription,
  1752. /* [out] */ UINT *puCopied);
  1753. void __RPC_STUB IActiveIMMApp_GetDescriptionW_Stub(
  1754. IRpcStubBuffer *This,
  1755. IRpcChannelBuffer *_pRpcChannelBuffer,
  1756. PRPC_MESSAGE _pRpcMessage,
  1757. DWORD *_pdwStubPhase);
  1758. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetGuideLineA_Proxy(
  1759. IActiveIMMApp * This,
  1760. /* [in] */ HIMC hIMC,
  1761. /* [in] */ DWORD dwIndex,
  1762. /* [in] */ DWORD dwBufLen,
  1763. /* [out] */ LPSTR pBuf,
  1764. /* [out] */ DWORD *pdwResult);
  1765. void __RPC_STUB IActiveIMMApp_GetGuideLineA_Stub(
  1766. IRpcStubBuffer *This,
  1767. IRpcChannelBuffer *_pRpcChannelBuffer,
  1768. PRPC_MESSAGE _pRpcMessage,
  1769. DWORD *_pdwStubPhase);
  1770. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetGuideLineW_Proxy(
  1771. IActiveIMMApp * This,
  1772. /* [in] */ HIMC hIMC,
  1773. /* [in] */ DWORD dwIndex,
  1774. /* [in] */ DWORD dwBufLen,
  1775. /* [out] */ LPWSTR pBuf,
  1776. /* [out] */ DWORD *pdwResult);
  1777. void __RPC_STUB IActiveIMMApp_GetGuideLineW_Stub(
  1778. IRpcStubBuffer *This,
  1779. IRpcChannelBuffer *_pRpcChannelBuffer,
  1780. PRPC_MESSAGE _pRpcMessage,
  1781. DWORD *_pdwStubPhase);
  1782. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetIMEFileNameA_Proxy(
  1783. IActiveIMMApp * This,
  1784. /* [in] */ HKL hKL,
  1785. /* [in] */ UINT uBufLen,
  1786. /* [out] */ LPSTR szFileName,
  1787. /* [out] */ UINT *puCopied);
  1788. void __RPC_STUB IActiveIMMApp_GetIMEFileNameA_Stub(
  1789. IRpcStubBuffer *This,
  1790. IRpcChannelBuffer *_pRpcChannelBuffer,
  1791. PRPC_MESSAGE _pRpcMessage,
  1792. DWORD *_pdwStubPhase);
  1793. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetIMEFileNameW_Proxy(
  1794. IActiveIMMApp * This,
  1795. /* [in] */ HKL hKL,
  1796. /* [in] */ UINT uBufLen,
  1797. /* [out] */ LPWSTR szFileName,
  1798. /* [out] */ UINT *puCopied);
  1799. void __RPC_STUB IActiveIMMApp_GetIMEFileNameW_Stub(
  1800. IRpcStubBuffer *This,
  1801. IRpcChannelBuffer *_pRpcChannelBuffer,
  1802. PRPC_MESSAGE _pRpcMessage,
  1803. DWORD *_pdwStubPhase);
  1804. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetOpenStatus_Proxy(
  1805. IActiveIMMApp * This,
  1806. /* [in] */ HIMC hIMC);
  1807. void __RPC_STUB IActiveIMMApp_GetOpenStatus_Stub(
  1808. IRpcStubBuffer *This,
  1809. IRpcChannelBuffer *_pRpcChannelBuffer,
  1810. PRPC_MESSAGE _pRpcMessage,
  1811. DWORD *_pdwStubPhase);
  1812. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetProperty_Proxy(
  1813. IActiveIMMApp * This,
  1814. /* [in] */ HKL hKL,
  1815. /* [in] */ DWORD fdwIndex,
  1816. /* [out] */ DWORD *pdwProperty);
  1817. void __RPC_STUB IActiveIMMApp_GetProperty_Stub(
  1818. IRpcStubBuffer *This,
  1819. IRpcChannelBuffer *_pRpcChannelBuffer,
  1820. PRPC_MESSAGE _pRpcMessage,
  1821. DWORD *_pdwStubPhase);
  1822. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetRegisterWordStyleA_Proxy(
  1823. IActiveIMMApp * This,
  1824. /* [in] */ HKL hKL,
  1825. /* [in] */ UINT nItem,
  1826. /* [out] */ STYLEBUFA *pStyleBuf,
  1827. /* [out] */ UINT *puCopied);
  1828. void __RPC_STUB IActiveIMMApp_GetRegisterWordStyleA_Stub(
  1829. IRpcStubBuffer *This,
  1830. IRpcChannelBuffer *_pRpcChannelBuffer,
  1831. PRPC_MESSAGE _pRpcMessage,
  1832. DWORD *_pdwStubPhase);
  1833. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetRegisterWordStyleW_Proxy(
  1834. IActiveIMMApp * This,
  1835. /* [in] */ HKL hKL,
  1836. /* [in] */ UINT nItem,
  1837. /* [out] */ STYLEBUFW *pStyleBuf,
  1838. /* [out] */ UINT *puCopied);
  1839. void __RPC_STUB IActiveIMMApp_GetRegisterWordStyleW_Stub(
  1840. IRpcStubBuffer *This,
  1841. IRpcChannelBuffer *_pRpcChannelBuffer,
  1842. PRPC_MESSAGE _pRpcMessage,
  1843. DWORD *_pdwStubPhase);
  1844. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetStatusWindowPos_Proxy(
  1845. IActiveIMMApp * This,
  1846. /* [in] */ HIMC hIMC,
  1847. /* [out] */ POINT *pptPos);
  1848. void __RPC_STUB IActiveIMMApp_GetStatusWindowPos_Stub(
  1849. IRpcStubBuffer *This,
  1850. IRpcChannelBuffer *_pRpcChannelBuffer,
  1851. PRPC_MESSAGE _pRpcMessage,
  1852. DWORD *_pdwStubPhase);
  1853. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetVirtualKey_Proxy(
  1854. IActiveIMMApp * This,
  1855. /* [in] */ HWND hWnd,
  1856. /* [out] */ UINT *puVirtualKey);
  1857. void __RPC_STUB IActiveIMMApp_GetVirtualKey_Stub(
  1858. IRpcStubBuffer *This,
  1859. IRpcChannelBuffer *_pRpcChannelBuffer,
  1860. PRPC_MESSAGE _pRpcMessage,
  1861. DWORD *_pdwStubPhase);
  1862. HRESULT STDMETHODCALLTYPE IActiveIMMApp_InstallIMEA_Proxy(
  1863. IActiveIMMApp * This,
  1864. /* [in] */ LPSTR szIMEFileName,
  1865. /* [in] */ LPSTR szLayoutText,
  1866. /* [out] */ HKL *phKL);
  1867. void __RPC_STUB IActiveIMMApp_InstallIMEA_Stub(
  1868. IRpcStubBuffer *This,
  1869. IRpcChannelBuffer *_pRpcChannelBuffer,
  1870. PRPC_MESSAGE _pRpcMessage,
  1871. DWORD *_pdwStubPhase);
  1872. HRESULT STDMETHODCALLTYPE IActiveIMMApp_InstallIMEW_Proxy(
  1873. IActiveIMMApp * This,
  1874. /* [in] */ LPWSTR szIMEFileName,
  1875. /* [in] */ LPWSTR szLayoutText,
  1876. /* [out] */ HKL *phKL);
  1877. void __RPC_STUB IActiveIMMApp_InstallIMEW_Stub(
  1878. IRpcStubBuffer *This,
  1879. IRpcChannelBuffer *_pRpcChannelBuffer,
  1880. PRPC_MESSAGE _pRpcMessage,
  1881. DWORD *_pdwStubPhase);
  1882. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsIME_Proxy(
  1883. IActiveIMMApp * This,
  1884. /* [in] */ HKL hKL);
  1885. void __RPC_STUB IActiveIMMApp_IsIME_Stub(
  1886. IRpcStubBuffer *This,
  1887. IRpcChannelBuffer *_pRpcChannelBuffer,
  1888. PRPC_MESSAGE _pRpcMessage,
  1889. DWORD *_pdwStubPhase);
  1890. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsUIMessageA_Proxy(
  1891. IActiveIMMApp * This,
  1892. /* [in] */ HWND hWndIME,
  1893. /* [in] */ UINT msg,
  1894. /* [in] */ WPARAM wParam,
  1895. /* [in] */ LPARAM lParam);
  1896. void __RPC_STUB IActiveIMMApp_IsUIMessageA_Stub(
  1897. IRpcStubBuffer *This,
  1898. IRpcChannelBuffer *_pRpcChannelBuffer,
  1899. PRPC_MESSAGE _pRpcMessage,
  1900. DWORD *_pdwStubPhase);
  1901. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsUIMessageW_Proxy(
  1902. IActiveIMMApp * This,
  1903. /* [in] */ HWND hWndIME,
  1904. /* [in] */ UINT msg,
  1905. /* [in] */ WPARAM wParam,
  1906. /* [in] */ LPARAM lParam);
  1907. void __RPC_STUB IActiveIMMApp_IsUIMessageW_Stub(
  1908. IRpcStubBuffer *This,
  1909. IRpcChannelBuffer *_pRpcChannelBuffer,
  1910. PRPC_MESSAGE _pRpcMessage,
  1911. DWORD *_pdwStubPhase);
  1912. HRESULT STDMETHODCALLTYPE IActiveIMMApp_NotifyIME_Proxy(
  1913. IActiveIMMApp * This,
  1914. /* [in] */ HIMC hIMC,
  1915. /* [in] */ DWORD dwAction,
  1916. /* [in] */ DWORD dwIndex,
  1917. /* [in] */ DWORD dwValue);
  1918. void __RPC_STUB IActiveIMMApp_NotifyIME_Stub(
  1919. IRpcStubBuffer *This,
  1920. IRpcChannelBuffer *_pRpcChannelBuffer,
  1921. PRPC_MESSAGE _pRpcMessage,
  1922. DWORD *_pdwStubPhase);
  1923. HRESULT STDMETHODCALLTYPE IActiveIMMApp_RegisterWordA_Proxy(
  1924. IActiveIMMApp * This,
  1925. /* [in] */ HKL hKL,
  1926. /* [in] */ LPSTR szReading,
  1927. /* [in] */ DWORD dwStyle,
  1928. /* [in] */ LPSTR szRegister);
  1929. void __RPC_STUB IActiveIMMApp_RegisterWordA_Stub(
  1930. IRpcStubBuffer *This,
  1931. IRpcChannelBuffer *_pRpcChannelBuffer,
  1932. PRPC_MESSAGE _pRpcMessage,
  1933. DWORD *_pdwStubPhase);
  1934. HRESULT STDMETHODCALLTYPE IActiveIMMApp_RegisterWordW_Proxy(
  1935. IActiveIMMApp * This,
  1936. /* [in] */ HKL hKL,
  1937. /* [in] */ LPWSTR szReading,
  1938. /* [in] */ DWORD dwStyle,
  1939. /* [in] */ LPWSTR szRegister);
  1940. void __RPC_STUB IActiveIMMApp_RegisterWordW_Stub(
  1941. IRpcStubBuffer *This,
  1942. IRpcChannelBuffer *_pRpcChannelBuffer,
  1943. PRPC_MESSAGE _pRpcMessage,
  1944. DWORD *_pdwStubPhase);
  1945. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ReleaseContext_Proxy(
  1946. IActiveIMMApp * This,
  1947. /* [in] */ HWND hWnd,
  1948. /* [in] */ HIMC hIMC);
  1949. void __RPC_STUB IActiveIMMApp_ReleaseContext_Stub(
  1950. IRpcStubBuffer *This,
  1951. IRpcChannelBuffer *_pRpcChannelBuffer,
  1952. PRPC_MESSAGE _pRpcMessage,
  1953. DWORD *_pdwStubPhase);
  1954. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCandidateWindow_Proxy(
  1955. IActiveIMMApp * This,
  1956. /* [in] */ HIMC hIMC,
  1957. /* [in] */ CANDIDATEFORM *pCandidate);
  1958. void __RPC_STUB IActiveIMMApp_SetCandidateWindow_Stub(
  1959. IRpcStubBuffer *This,
  1960. IRpcChannelBuffer *_pRpcChannelBuffer,
  1961. PRPC_MESSAGE _pRpcMessage,
  1962. DWORD *_pdwStubPhase);
  1963. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionFontA_Proxy(
  1964. IActiveIMMApp * This,
  1965. /* [in] */ HIMC hIMC,
  1966. /* [in] */ LOGFONTA *plf);
  1967. void __RPC_STUB IActiveIMMApp_SetCompositionFontA_Stub(
  1968. IRpcStubBuffer *This,
  1969. IRpcChannelBuffer *_pRpcChannelBuffer,
  1970. PRPC_MESSAGE _pRpcMessage,
  1971. DWORD *_pdwStubPhase);
  1972. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionFontW_Proxy(
  1973. IActiveIMMApp * This,
  1974. /* [in] */ HIMC hIMC,
  1975. /* [in] */ LOGFONTW *plf);
  1976. void __RPC_STUB IActiveIMMApp_SetCompositionFontW_Stub(
  1977. IRpcStubBuffer *This,
  1978. IRpcChannelBuffer *_pRpcChannelBuffer,
  1979. PRPC_MESSAGE _pRpcMessage,
  1980. DWORD *_pdwStubPhase);
  1981. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionStringA_Proxy(
  1982. IActiveIMMApp * This,
  1983. /* [in] */ HIMC hIMC,
  1984. /* [in] */ DWORD dwIndex,
  1985. /* [in] */ LPVOID pComp,
  1986. /* [in] */ DWORD dwCompLen,
  1987. /* [in] */ LPVOID pRead,
  1988. /* [in] */ DWORD dwReadLen);
  1989. void __RPC_STUB IActiveIMMApp_SetCompositionStringA_Stub(
  1990. IRpcStubBuffer *This,
  1991. IRpcChannelBuffer *_pRpcChannelBuffer,
  1992. PRPC_MESSAGE _pRpcMessage,
  1993. DWORD *_pdwStubPhase);
  1994. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionStringW_Proxy(
  1995. IActiveIMMApp * This,
  1996. /* [in] */ HIMC hIMC,
  1997. /* [in] */ DWORD dwIndex,
  1998. /* [in] */ LPVOID pComp,
  1999. /* [in] */ DWORD dwCompLen,
  2000. /* [in] */ LPVOID pRead,
  2001. /* [in] */ DWORD dwReadLen);
  2002. void __RPC_STUB IActiveIMMApp_SetCompositionStringW_Stub(
  2003. IRpcStubBuffer *This,
  2004. IRpcChannelBuffer *_pRpcChannelBuffer,
  2005. PRPC_MESSAGE _pRpcMessage,
  2006. DWORD *_pdwStubPhase);
  2007. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionWindow_Proxy(
  2008. IActiveIMMApp * This,
  2009. /* [in] */ HIMC hIMC,
  2010. /* [in] */ COMPOSITIONFORM *pCompForm);
  2011. void __RPC_STUB IActiveIMMApp_SetCompositionWindow_Stub(
  2012. IRpcStubBuffer *This,
  2013. IRpcChannelBuffer *_pRpcChannelBuffer,
  2014. PRPC_MESSAGE _pRpcMessage,
  2015. DWORD *_pdwStubPhase);
  2016. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetConversionStatus_Proxy(
  2017. IActiveIMMApp * This,
  2018. /* [in] */ HIMC hIMC,
  2019. /* [in] */ DWORD fdwConversion,
  2020. /* [in] */ DWORD fdwSentence);
  2021. void __RPC_STUB IActiveIMMApp_SetConversionStatus_Stub(
  2022. IRpcStubBuffer *This,
  2023. IRpcChannelBuffer *_pRpcChannelBuffer,
  2024. PRPC_MESSAGE _pRpcMessage,
  2025. DWORD *_pdwStubPhase);
  2026. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetOpenStatus_Proxy(
  2027. IActiveIMMApp * This,
  2028. /* [in] */ HIMC hIMC,
  2029. /* [in] */ BOOL fOpen);
  2030. void __RPC_STUB IActiveIMMApp_SetOpenStatus_Stub(
  2031. IRpcStubBuffer *This,
  2032. IRpcChannelBuffer *_pRpcChannelBuffer,
  2033. PRPC_MESSAGE _pRpcMessage,
  2034. DWORD *_pdwStubPhase);
  2035. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetStatusWindowPos_Proxy(
  2036. IActiveIMMApp * This,
  2037. /* [in] */ HIMC hIMC,
  2038. /* [in] */ POINT *pptPos);
  2039. void __RPC_STUB IActiveIMMApp_SetStatusWindowPos_Stub(
  2040. IRpcStubBuffer *This,
  2041. IRpcChannelBuffer *_pRpcChannelBuffer,
  2042. PRPC_MESSAGE _pRpcMessage,
  2043. DWORD *_pdwStubPhase);
  2044. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SimulateHotKey_Proxy(
  2045. IActiveIMMApp * This,
  2046. /* [in] */ HWND hWnd,
  2047. /* [in] */ DWORD dwHotKeyID);
  2048. void __RPC_STUB IActiveIMMApp_SimulateHotKey_Stub(
  2049. IRpcStubBuffer *This,
  2050. IRpcChannelBuffer *_pRpcChannelBuffer,
  2051. PRPC_MESSAGE _pRpcMessage,
  2052. DWORD *_pdwStubPhase);
  2053. HRESULT STDMETHODCALLTYPE IActiveIMMApp_UnregisterWordA_Proxy(
  2054. IActiveIMMApp * This,
  2055. /* [in] */ HKL hKL,
  2056. /* [in] */ LPSTR szReading,
  2057. /* [in] */ DWORD dwStyle,
  2058. /* [in] */ LPSTR szUnregister);
  2059. void __RPC_STUB IActiveIMMApp_UnregisterWordA_Stub(
  2060. IRpcStubBuffer *This,
  2061. IRpcChannelBuffer *_pRpcChannelBuffer,
  2062. PRPC_MESSAGE _pRpcMessage,
  2063. DWORD *_pdwStubPhase);
  2064. HRESULT STDMETHODCALLTYPE IActiveIMMApp_UnregisterWordW_Proxy(
  2065. IActiveIMMApp * This,
  2066. /* [in] */ HKL hKL,
  2067. /* [in] */ LPWSTR szReading,
  2068. /* [in] */ DWORD dwStyle,
  2069. /* [in] */ LPWSTR szUnregister);
  2070. void __RPC_STUB IActiveIMMApp_UnregisterWordW_Stub(
  2071. IRpcStubBuffer *This,
  2072. IRpcChannelBuffer *_pRpcChannelBuffer,
  2073. PRPC_MESSAGE _pRpcMessage,
  2074. DWORD *_pdwStubPhase);
  2075. HRESULT STDMETHODCALLTYPE IActiveIMMApp_Activate_Proxy(
  2076. IActiveIMMApp * This,
  2077. /* [in] */ BOOL fRestoreLayout);
  2078. void __RPC_STUB IActiveIMMApp_Activate_Stub(
  2079. IRpcStubBuffer *This,
  2080. IRpcChannelBuffer *_pRpcChannelBuffer,
  2081. PRPC_MESSAGE _pRpcMessage,
  2082. DWORD *_pdwStubPhase);
  2083. HRESULT STDMETHODCALLTYPE IActiveIMMApp_Deactivate_Proxy(
  2084. IActiveIMMApp * This);
  2085. void __RPC_STUB IActiveIMMApp_Deactivate_Stub(
  2086. IRpcStubBuffer *This,
  2087. IRpcChannelBuffer *_pRpcChannelBuffer,
  2088. PRPC_MESSAGE _pRpcMessage,
  2089. DWORD *_pdwStubPhase);
  2090. HRESULT STDMETHODCALLTYPE IActiveIMMApp_OnDefWindowProc_Proxy(
  2091. IActiveIMMApp * This,
  2092. /* [in] */ HWND hWnd,
  2093. /* [in] */ UINT Msg,
  2094. /* [in] */ WPARAM wParam,
  2095. /* [in] */ LPARAM lParam,
  2096. /* [out] */ LRESULT *plResult);
  2097. void __RPC_STUB IActiveIMMApp_OnDefWindowProc_Stub(
  2098. IRpcStubBuffer *This,
  2099. IRpcChannelBuffer *_pRpcChannelBuffer,
  2100. PRPC_MESSAGE _pRpcMessage,
  2101. DWORD *_pdwStubPhase);
  2102. HRESULT STDMETHODCALLTYPE IActiveIMMApp_FilterClientWindows_Proxy(
  2103. IActiveIMMApp * This,
  2104. /* [in] */ ATOM *aaClassList,
  2105. /* [in] */ UINT uSize);
  2106. void __RPC_STUB IActiveIMMApp_FilterClientWindows_Stub(
  2107. IRpcStubBuffer *This,
  2108. IRpcChannelBuffer *_pRpcChannelBuffer,
  2109. PRPC_MESSAGE _pRpcMessage,
  2110. DWORD *_pdwStubPhase);
  2111. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCodePageA_Proxy(
  2112. IActiveIMMApp * This,
  2113. /* [in] */ HKL hKL,
  2114. /* [out] */ UINT *uCodePage);
  2115. void __RPC_STUB IActiveIMMApp_GetCodePageA_Stub(
  2116. IRpcStubBuffer *This,
  2117. IRpcChannelBuffer *_pRpcChannelBuffer,
  2118. PRPC_MESSAGE _pRpcMessage,
  2119. DWORD *_pdwStubPhase);
  2120. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetLangId_Proxy(
  2121. IActiveIMMApp * This,
  2122. /* [in] */ HKL hKL,
  2123. /* [out] */ LANGID *plid);
  2124. void __RPC_STUB IActiveIMMApp_GetLangId_Stub(
  2125. IRpcStubBuffer *This,
  2126. IRpcChannelBuffer *_pRpcChannelBuffer,
  2127. PRPC_MESSAGE _pRpcMessage,
  2128. DWORD *_pdwStubPhase);
  2129. HRESULT STDMETHODCALLTYPE IActiveIMMApp_AssociateContextEx_Proxy(
  2130. IActiveIMMApp * This,
  2131. /* [in] */ HWND hWnd,
  2132. /* [in] */ HIMC hIMC,
  2133. /* [in] */ DWORD dwFlags);
  2134. void __RPC_STUB IActiveIMMApp_AssociateContextEx_Stub(
  2135. IRpcStubBuffer *This,
  2136. IRpcChannelBuffer *_pRpcChannelBuffer,
  2137. PRPC_MESSAGE _pRpcMessage,
  2138. DWORD *_pdwStubPhase);
  2139. HRESULT STDMETHODCALLTYPE IActiveIMMApp_DisableIME_Proxy(
  2140. IActiveIMMApp * This,
  2141. /* [in] */ DWORD idThread);
  2142. void __RPC_STUB IActiveIMMApp_DisableIME_Stub(
  2143. IRpcStubBuffer *This,
  2144. IRpcChannelBuffer *_pRpcChannelBuffer,
  2145. PRPC_MESSAGE _pRpcMessage,
  2146. DWORD *_pdwStubPhase);
  2147. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetImeMenuItemsA_Proxy(
  2148. IActiveIMMApp * This,
  2149. /* [in] */ HIMC hIMC,
  2150. /* [in] */ DWORD dwFlags,
  2151. /* [in] */ DWORD dwType,
  2152. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  2153. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  2154. /* [in] */ DWORD dwSize,
  2155. /* [out] */ DWORD *pdwResult);
  2156. void __RPC_STUB IActiveIMMApp_GetImeMenuItemsA_Stub(
  2157. IRpcStubBuffer *This,
  2158. IRpcChannelBuffer *_pRpcChannelBuffer,
  2159. PRPC_MESSAGE _pRpcMessage,
  2160. DWORD *_pdwStubPhase);
  2161. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetImeMenuItemsW_Proxy(
  2162. IActiveIMMApp * This,
  2163. /* [in] */ HIMC hIMC,
  2164. /* [in] */ DWORD dwFlags,
  2165. /* [in] */ DWORD dwType,
  2166. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  2167. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  2168. /* [in] */ DWORD dwSize,
  2169. /* [out] */ DWORD *pdwResult);
  2170. void __RPC_STUB IActiveIMMApp_GetImeMenuItemsW_Stub(
  2171. IRpcStubBuffer *This,
  2172. IRpcChannelBuffer *_pRpcChannelBuffer,
  2173. PRPC_MESSAGE _pRpcMessage,
  2174. DWORD *_pdwStubPhase);
  2175. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumInputContext_Proxy(
  2176. IActiveIMMApp * This,
  2177. /* [in] */ DWORD idThread,
  2178. /* [out] */ IEnumInputContext **ppEnum);
  2179. void __RPC_STUB IActiveIMMApp_EnumInputContext_Stub(
  2180. IRpcStubBuffer *This,
  2181. IRpcChannelBuffer *_pRpcChannelBuffer,
  2182. PRPC_MESSAGE _pRpcMessage,
  2183. DWORD *_pdwStubPhase);
  2184. #endif /* __IActiveIMMApp_INTERFACE_DEFINED__ */
  2185. /* Additional Prototypes for ALL interfaces */
  2186. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  2187. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  2188. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  2189. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  2190. /* end of Additional Prototypes */
  2191. #ifdef __cplusplus
  2192. }
  2193. #endif
  2194. #endif