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.

1193 lines
41 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 aimmex.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 __aimmex_h__
  27. #define __aimmex_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IActiveIMMAppEx_FWD_DEFINED__
  33. #define __IActiveIMMAppEx_FWD_DEFINED__
  34. typedef interface IActiveIMMAppEx IActiveIMMAppEx;
  35. #endif /* __IActiveIMMAppEx_FWD_DEFINED__ */
  36. #ifndef __IAImmFnDocFeed_FWD_DEFINED__
  37. #define __IAImmFnDocFeed_FWD_DEFINED__
  38. typedef interface IAImmFnDocFeed IAImmFnDocFeed;
  39. #endif /* __IAImmFnDocFeed_FWD_DEFINED__ */
  40. #ifndef __IAImmThreadCompartment_FWD_DEFINED__
  41. #define __IAImmThreadCompartment_FWD_DEFINED__
  42. typedef interface IAImmThreadCompartment IAImmThreadCompartment;
  43. #endif /* __IAImmThreadCompartment_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "unknwn.h"
  46. #include "oaidl.h"
  47. #include "aimm12.h"
  48. #include "msctf.h"
  49. #ifdef __cplusplus
  50. extern "C"{
  51. #endif
  52. void * __RPC_USER MIDL_user_allocate(size_t);
  53. void __RPC_USER MIDL_user_free( void * );
  54. /* interface __MIDL_itf_aimmex_0000 */
  55. /* [local] */
  56. //=--------------------------------------------------------------------------=
  57. // aimmex.h
  58. //=--------------------------------------------------------------------------=
  59. // (C) Copyright 1995-1999 Microsoft Corporation. All Rights Reserved.
  60. //
  61. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  62. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  63. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  64. // PARTICULAR PURPOSE.
  65. //=--------------------------------------------------------------------------=
  66. #pragma comment(lib,"uuid.lib")
  67. //--------------------------------------------------------------------------
  68. // IActiveIMMEx Interfaces.
  69. extern RPC_IF_HANDLE __MIDL_itf_aimmex_0000_v0_0_c_ifspec;
  70. extern RPC_IF_HANDLE __MIDL_itf_aimmex_0000_v0_0_s_ifspec;
  71. #ifndef __IActiveIMMAppEx_INTERFACE_DEFINED__
  72. #define __IActiveIMMAppEx_INTERFACE_DEFINED__
  73. /* interface IActiveIMMAppEx */
  74. /* [unique][uuid][object][local] */
  75. EXTERN_C const IID IID_IActiveIMMAppEx;
  76. #if defined(__cplusplus) && !defined(CINTERFACE)
  77. MIDL_INTERFACE("D7A6F58A-D478-44ab-86C9-591C23A26534")
  78. IActiveIMMAppEx : public IActiveIMMApp
  79. {
  80. public:
  81. virtual HRESULT STDMETHODCALLTYPE FilterClientWindowsEx(
  82. /* [in] */ HWND hWnd,
  83. /* [in] */ BOOL fGuidMap) = 0;
  84. virtual HRESULT STDMETHODCALLTYPE FilterClientWindowsGUIDMap(
  85. /* [in] */ ATOM *aaClassList,
  86. /* [in] */ UINT uSize,
  87. /* [in] */ BOOL *aaGildMap) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE GetGuidAtom(
  89. /* [in] */ HIMC hImc,
  90. /* [in] */ BYTE bAttr,
  91. /* [out] */ TfGuidAtom *pGuidAtom) = 0;
  92. virtual HRESULT STDMETHODCALLTYPE UnfilterClientWindowsEx(
  93. /* [in] */ HWND hWnd) = 0;
  94. };
  95. #else /* C style interface */
  96. typedef struct IActiveIMMAppExVtbl
  97. {
  98. BEGIN_INTERFACE
  99. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  100. IActiveIMMAppEx * This,
  101. /* [in] */ REFIID riid,
  102. /* [iid_is][out] */ void **ppvObject);
  103. ULONG ( STDMETHODCALLTYPE *AddRef )(
  104. IActiveIMMAppEx * This);
  105. ULONG ( STDMETHODCALLTYPE *Release )(
  106. IActiveIMMAppEx * This);
  107. HRESULT ( STDMETHODCALLTYPE *AssociateContext )(
  108. IActiveIMMAppEx * This,
  109. /* [in] */ HWND hWnd,
  110. /* [in] */ HIMC hIME,
  111. /* [out] */ HIMC *phPrev);
  112. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEA )(
  113. IActiveIMMAppEx * This,
  114. /* [in] */ HKL hKL,
  115. /* [in] */ HWND hWnd,
  116. /* [in] */ DWORD dwMode,
  117. /* [in] */ REGISTERWORDA *pData);
  118. HRESULT ( STDMETHODCALLTYPE *ConfigureIMEW )(
  119. IActiveIMMAppEx * This,
  120. /* [in] */ HKL hKL,
  121. /* [in] */ HWND hWnd,
  122. /* [in] */ DWORD dwMode,
  123. /* [in] */ REGISTERWORDW *pData);
  124. HRESULT ( STDMETHODCALLTYPE *CreateContext )(
  125. IActiveIMMAppEx * This,
  126. /* [out] */ HIMC *phIMC);
  127. HRESULT ( STDMETHODCALLTYPE *DestroyContext )(
  128. IActiveIMMAppEx * This,
  129. /* [in] */ HIMC hIME);
  130. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordA )(
  131. IActiveIMMAppEx * This,
  132. /* [in] */ HKL hKL,
  133. /* [in] */ LPSTR szReading,
  134. /* [in] */ DWORD dwStyle,
  135. /* [in] */ LPSTR szRegister,
  136. /* [in] */ LPVOID pData,
  137. /* [out] */ IEnumRegisterWordA **pEnum);
  138. HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordW )(
  139. IActiveIMMAppEx * This,
  140. /* [in] */ HKL hKL,
  141. /* [in] */ LPWSTR szReading,
  142. /* [in] */ DWORD dwStyle,
  143. /* [in] */ LPWSTR szRegister,
  144. /* [in] */ LPVOID pData,
  145. /* [out] */ IEnumRegisterWordW **pEnum);
  146. HRESULT ( STDMETHODCALLTYPE *EscapeA )(
  147. IActiveIMMAppEx * This,
  148. /* [in] */ HKL hKL,
  149. /* [in] */ HIMC hIMC,
  150. /* [in] */ UINT uEscape,
  151. /* [out][in] */ LPVOID pData,
  152. /* [out] */ LRESULT *plResult);
  153. HRESULT ( STDMETHODCALLTYPE *EscapeW )(
  154. IActiveIMMAppEx * This,
  155. /* [in] */ HKL hKL,
  156. /* [in] */ HIMC hIMC,
  157. /* [in] */ UINT uEscape,
  158. /* [out][in] */ LPVOID pData,
  159. /* [out] */ LRESULT *plResult);
  160. HRESULT ( STDMETHODCALLTYPE *GetCandidateListA )(
  161. IActiveIMMAppEx * This,
  162. /* [in] */ HIMC hIMC,
  163. /* [in] */ DWORD dwIndex,
  164. /* [in] */ UINT uBufLen,
  165. /* [out] */ CANDIDATELIST *pCandList,
  166. /* [out] */ UINT *puCopied);
  167. HRESULT ( STDMETHODCALLTYPE *GetCandidateListW )(
  168. IActiveIMMAppEx * This,
  169. /* [in] */ HIMC hIMC,
  170. /* [in] */ DWORD dwIndex,
  171. /* [in] */ UINT uBufLen,
  172. /* [out] */ CANDIDATELIST *pCandList,
  173. /* [out] */ UINT *puCopied);
  174. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountA )(
  175. IActiveIMMAppEx * This,
  176. /* [in] */ HIMC hIMC,
  177. /* [out] */ DWORD *pdwListSize,
  178. /* [out] */ DWORD *pdwBufLen);
  179. HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountW )(
  180. IActiveIMMAppEx * This,
  181. /* [in] */ HIMC hIMC,
  182. /* [out] */ DWORD *pdwListSize,
  183. /* [out] */ DWORD *pdwBufLen);
  184. HRESULT ( STDMETHODCALLTYPE *GetCandidateWindow )(
  185. IActiveIMMAppEx * This,
  186. /* [in] */ HIMC hIMC,
  187. /* [in] */ DWORD dwIndex,
  188. /* [out] */ CANDIDATEFORM *pCandidate);
  189. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontA )(
  190. IActiveIMMAppEx * This,
  191. /* [in] */ HIMC hIMC,
  192. /* [out] */ LOGFONTA *plf);
  193. HRESULT ( STDMETHODCALLTYPE *GetCompositionFontW )(
  194. IActiveIMMAppEx * This,
  195. /* [in] */ HIMC hIMC,
  196. /* [out] */ LOGFONTW *plf);
  197. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringA )(
  198. IActiveIMMAppEx * This,
  199. /* [in] */ HIMC hIMC,
  200. /* [in] */ DWORD dwIndex,
  201. /* [in] */ DWORD dwBufLen,
  202. /* [out] */ LONG *plCopied,
  203. /* [out] */ LPVOID pBuf);
  204. HRESULT ( STDMETHODCALLTYPE *GetCompositionStringW )(
  205. IActiveIMMAppEx * This,
  206. /* [in] */ HIMC hIMC,
  207. /* [in] */ DWORD dwIndex,
  208. /* [in] */ DWORD dwBufLen,
  209. /* [out] */ LONG *plCopied,
  210. /* [out] */ LPVOID pBuf);
  211. HRESULT ( STDMETHODCALLTYPE *GetCompositionWindow )(
  212. IActiveIMMAppEx * This,
  213. /* [in] */ HIMC hIMC,
  214. /* [out] */ COMPOSITIONFORM *pCompForm);
  215. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  216. IActiveIMMAppEx * This,
  217. /* [in] */ HWND hWnd,
  218. /* [out] */ HIMC *phIMC);
  219. HRESULT ( STDMETHODCALLTYPE *GetConversionListA )(
  220. IActiveIMMAppEx * This,
  221. /* [in] */ HKL hKL,
  222. /* [in] */ HIMC hIMC,
  223. /* [in] */ LPSTR pSrc,
  224. /* [in] */ UINT uBufLen,
  225. /* [in] */ UINT uFlag,
  226. /* [out] */ CANDIDATELIST *pDst,
  227. /* [out] */ UINT *puCopied);
  228. HRESULT ( STDMETHODCALLTYPE *GetConversionListW )(
  229. IActiveIMMAppEx * This,
  230. /* [in] */ HKL hKL,
  231. /* [in] */ HIMC hIMC,
  232. /* [in] */ LPWSTR pSrc,
  233. /* [in] */ UINT uBufLen,
  234. /* [in] */ UINT uFlag,
  235. /* [out] */ CANDIDATELIST *pDst,
  236. /* [out] */ UINT *puCopied);
  237. HRESULT ( STDMETHODCALLTYPE *GetConversionStatus )(
  238. IActiveIMMAppEx * This,
  239. /* [in] */ HIMC hIMC,
  240. /* [out] */ DWORD *pfdwConversion,
  241. /* [out] */ DWORD *pfdwSentence);
  242. HRESULT ( STDMETHODCALLTYPE *GetDefaultIMEWnd )(
  243. IActiveIMMAppEx * This,
  244. /* [in] */ HWND hWnd,
  245. /* [out] */ HWND *phDefWnd);
  246. HRESULT ( STDMETHODCALLTYPE *GetDescriptionA )(
  247. IActiveIMMAppEx * This,
  248. /* [in] */ HKL hKL,
  249. /* [in] */ UINT uBufLen,
  250. /* [out] */ LPSTR szDescription,
  251. /* [out] */ UINT *puCopied);
  252. HRESULT ( STDMETHODCALLTYPE *GetDescriptionW )(
  253. IActiveIMMAppEx * This,
  254. /* [in] */ HKL hKL,
  255. /* [in] */ UINT uBufLen,
  256. /* [out] */ LPWSTR szDescription,
  257. /* [out] */ UINT *puCopied);
  258. HRESULT ( STDMETHODCALLTYPE *GetGuideLineA )(
  259. IActiveIMMAppEx * This,
  260. /* [in] */ HIMC hIMC,
  261. /* [in] */ DWORD dwIndex,
  262. /* [in] */ DWORD dwBufLen,
  263. /* [out] */ LPSTR pBuf,
  264. /* [out] */ DWORD *pdwResult);
  265. HRESULT ( STDMETHODCALLTYPE *GetGuideLineW )(
  266. IActiveIMMAppEx * This,
  267. /* [in] */ HIMC hIMC,
  268. /* [in] */ DWORD dwIndex,
  269. /* [in] */ DWORD dwBufLen,
  270. /* [out] */ LPWSTR pBuf,
  271. /* [out] */ DWORD *pdwResult);
  272. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameA )(
  273. IActiveIMMAppEx * This,
  274. /* [in] */ HKL hKL,
  275. /* [in] */ UINT uBufLen,
  276. /* [out] */ LPSTR szFileName,
  277. /* [out] */ UINT *puCopied);
  278. HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameW )(
  279. IActiveIMMAppEx * This,
  280. /* [in] */ HKL hKL,
  281. /* [in] */ UINT uBufLen,
  282. /* [out] */ LPWSTR szFileName,
  283. /* [out] */ UINT *puCopied);
  284. HRESULT ( STDMETHODCALLTYPE *GetOpenStatus )(
  285. IActiveIMMAppEx * This,
  286. /* [in] */ HIMC hIMC);
  287. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  288. IActiveIMMAppEx * This,
  289. /* [in] */ HKL hKL,
  290. /* [in] */ DWORD fdwIndex,
  291. /* [out] */ DWORD *pdwProperty);
  292. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleA )(
  293. IActiveIMMAppEx * This,
  294. /* [in] */ HKL hKL,
  295. /* [in] */ UINT nItem,
  296. /* [out] */ STYLEBUFA *pStyleBuf,
  297. /* [out] */ UINT *puCopied);
  298. HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleW )(
  299. IActiveIMMAppEx * This,
  300. /* [in] */ HKL hKL,
  301. /* [in] */ UINT nItem,
  302. /* [out] */ STYLEBUFW *pStyleBuf,
  303. /* [out] */ UINT *puCopied);
  304. HRESULT ( STDMETHODCALLTYPE *GetStatusWindowPos )(
  305. IActiveIMMAppEx * This,
  306. /* [in] */ HIMC hIMC,
  307. /* [out] */ POINT *pptPos);
  308. HRESULT ( STDMETHODCALLTYPE *GetVirtualKey )(
  309. IActiveIMMAppEx * This,
  310. /* [in] */ HWND hWnd,
  311. /* [out] */ UINT *puVirtualKey);
  312. HRESULT ( STDMETHODCALLTYPE *InstallIMEA )(
  313. IActiveIMMAppEx * This,
  314. /* [in] */ LPSTR szIMEFileName,
  315. /* [in] */ LPSTR szLayoutText,
  316. /* [out] */ HKL *phKL);
  317. HRESULT ( STDMETHODCALLTYPE *InstallIMEW )(
  318. IActiveIMMAppEx * This,
  319. /* [in] */ LPWSTR szIMEFileName,
  320. /* [in] */ LPWSTR szLayoutText,
  321. /* [out] */ HKL *phKL);
  322. HRESULT ( STDMETHODCALLTYPE *IsIME )(
  323. IActiveIMMAppEx * This,
  324. /* [in] */ HKL hKL);
  325. HRESULT ( STDMETHODCALLTYPE *IsUIMessageA )(
  326. IActiveIMMAppEx * This,
  327. /* [in] */ HWND hWndIME,
  328. /* [in] */ UINT msg,
  329. /* [in] */ WPARAM wParam,
  330. /* [in] */ LPARAM lParam);
  331. HRESULT ( STDMETHODCALLTYPE *IsUIMessageW )(
  332. IActiveIMMAppEx * This,
  333. /* [in] */ HWND hWndIME,
  334. /* [in] */ UINT msg,
  335. /* [in] */ WPARAM wParam,
  336. /* [in] */ LPARAM lParam);
  337. HRESULT ( STDMETHODCALLTYPE *NotifyIME )(
  338. IActiveIMMAppEx * This,
  339. /* [in] */ HIMC hIMC,
  340. /* [in] */ DWORD dwAction,
  341. /* [in] */ DWORD dwIndex,
  342. /* [in] */ DWORD dwValue);
  343. HRESULT ( STDMETHODCALLTYPE *RegisterWordA )(
  344. IActiveIMMAppEx * This,
  345. /* [in] */ HKL hKL,
  346. /* [in] */ LPSTR szReading,
  347. /* [in] */ DWORD dwStyle,
  348. /* [in] */ LPSTR szRegister);
  349. HRESULT ( STDMETHODCALLTYPE *RegisterWordW )(
  350. IActiveIMMAppEx * This,
  351. /* [in] */ HKL hKL,
  352. /* [in] */ LPWSTR szReading,
  353. /* [in] */ DWORD dwStyle,
  354. /* [in] */ LPWSTR szRegister);
  355. HRESULT ( STDMETHODCALLTYPE *ReleaseContext )(
  356. IActiveIMMAppEx * This,
  357. /* [in] */ HWND hWnd,
  358. /* [in] */ HIMC hIMC);
  359. HRESULT ( STDMETHODCALLTYPE *SetCandidateWindow )(
  360. IActiveIMMAppEx * This,
  361. /* [in] */ HIMC hIMC,
  362. /* [in] */ CANDIDATEFORM *pCandidate);
  363. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontA )(
  364. IActiveIMMAppEx * This,
  365. /* [in] */ HIMC hIMC,
  366. /* [in] */ LOGFONTA *plf);
  367. HRESULT ( STDMETHODCALLTYPE *SetCompositionFontW )(
  368. IActiveIMMAppEx * This,
  369. /* [in] */ HIMC hIMC,
  370. /* [in] */ LOGFONTW *plf);
  371. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringA )(
  372. IActiveIMMAppEx * This,
  373. /* [in] */ HIMC hIMC,
  374. /* [in] */ DWORD dwIndex,
  375. /* [in] */ LPVOID pComp,
  376. /* [in] */ DWORD dwCompLen,
  377. /* [in] */ LPVOID pRead,
  378. /* [in] */ DWORD dwReadLen);
  379. HRESULT ( STDMETHODCALLTYPE *SetCompositionStringW )(
  380. IActiveIMMAppEx * This,
  381. /* [in] */ HIMC hIMC,
  382. /* [in] */ DWORD dwIndex,
  383. /* [in] */ LPVOID pComp,
  384. /* [in] */ DWORD dwCompLen,
  385. /* [in] */ LPVOID pRead,
  386. /* [in] */ DWORD dwReadLen);
  387. HRESULT ( STDMETHODCALLTYPE *SetCompositionWindow )(
  388. IActiveIMMAppEx * This,
  389. /* [in] */ HIMC hIMC,
  390. /* [in] */ COMPOSITIONFORM *pCompForm);
  391. HRESULT ( STDMETHODCALLTYPE *SetConversionStatus )(
  392. IActiveIMMAppEx * This,
  393. /* [in] */ HIMC hIMC,
  394. /* [in] */ DWORD fdwConversion,
  395. /* [in] */ DWORD fdwSentence);
  396. HRESULT ( STDMETHODCALLTYPE *SetOpenStatus )(
  397. IActiveIMMAppEx * This,
  398. /* [in] */ HIMC hIMC,
  399. /* [in] */ BOOL fOpen);
  400. HRESULT ( STDMETHODCALLTYPE *SetStatusWindowPos )(
  401. IActiveIMMAppEx * This,
  402. /* [in] */ HIMC hIMC,
  403. /* [in] */ POINT *pptPos);
  404. HRESULT ( STDMETHODCALLTYPE *SimulateHotKey )(
  405. IActiveIMMAppEx * This,
  406. /* [in] */ HWND hWnd,
  407. /* [in] */ DWORD dwHotKeyID);
  408. HRESULT ( STDMETHODCALLTYPE *UnregisterWordA )(
  409. IActiveIMMAppEx * This,
  410. /* [in] */ HKL hKL,
  411. /* [in] */ LPSTR szReading,
  412. /* [in] */ DWORD dwStyle,
  413. /* [in] */ LPSTR szUnregister);
  414. HRESULT ( STDMETHODCALLTYPE *UnregisterWordW )(
  415. IActiveIMMAppEx * This,
  416. /* [in] */ HKL hKL,
  417. /* [in] */ LPWSTR szReading,
  418. /* [in] */ DWORD dwStyle,
  419. /* [in] */ LPWSTR szUnregister);
  420. HRESULT ( STDMETHODCALLTYPE *Activate )(
  421. IActiveIMMAppEx * This,
  422. /* [in] */ BOOL fRestoreLayout);
  423. HRESULT ( STDMETHODCALLTYPE *Deactivate )(
  424. IActiveIMMAppEx * This);
  425. HRESULT ( STDMETHODCALLTYPE *OnDefWindowProc )(
  426. IActiveIMMAppEx * This,
  427. /* [in] */ HWND hWnd,
  428. /* [in] */ UINT Msg,
  429. /* [in] */ WPARAM wParam,
  430. /* [in] */ LPARAM lParam,
  431. /* [out] */ LRESULT *plResult);
  432. HRESULT ( STDMETHODCALLTYPE *FilterClientWindows )(
  433. IActiveIMMAppEx * This,
  434. /* [in] */ ATOM *aaClassList,
  435. /* [in] */ UINT uSize);
  436. HRESULT ( STDMETHODCALLTYPE *GetCodePageA )(
  437. IActiveIMMAppEx * This,
  438. /* [in] */ HKL hKL,
  439. /* [out] */ UINT *uCodePage);
  440. HRESULT ( STDMETHODCALLTYPE *GetLangId )(
  441. IActiveIMMAppEx * This,
  442. /* [in] */ HKL hKL,
  443. /* [out] */ LANGID *plid);
  444. HRESULT ( STDMETHODCALLTYPE *AssociateContextEx )(
  445. IActiveIMMAppEx * This,
  446. /* [in] */ HWND hWnd,
  447. /* [in] */ HIMC hIMC,
  448. /* [in] */ DWORD dwFlags);
  449. HRESULT ( STDMETHODCALLTYPE *DisableIME )(
  450. IActiveIMMAppEx * This,
  451. /* [in] */ DWORD idThread);
  452. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsA )(
  453. IActiveIMMAppEx * This,
  454. /* [in] */ HIMC hIMC,
  455. /* [in] */ DWORD dwFlags,
  456. /* [in] */ DWORD dwType,
  457. /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  458. /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  459. /* [in] */ DWORD dwSize,
  460. /* [out] */ DWORD *pdwResult);
  461. HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsW )(
  462. IActiveIMMAppEx * This,
  463. /* [in] */ HIMC hIMC,
  464. /* [in] */ DWORD dwFlags,
  465. /* [in] */ DWORD dwType,
  466. /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  467. /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  468. /* [in] */ DWORD dwSize,
  469. /* [out] */ DWORD *pdwResult);
  470. HRESULT ( STDMETHODCALLTYPE *EnumInputContext )(
  471. IActiveIMMAppEx * This,
  472. /* [in] */ DWORD idThread,
  473. /* [out] */ IEnumInputContext **ppEnum);
  474. HRESULT ( STDMETHODCALLTYPE *FilterClientWindowsEx )(
  475. IActiveIMMAppEx * This,
  476. /* [in] */ HWND hWnd,
  477. /* [in] */ BOOL fGuidMap);
  478. HRESULT ( STDMETHODCALLTYPE *FilterClientWindowsGUIDMap )(
  479. IActiveIMMAppEx * This,
  480. /* [in] */ ATOM *aaClassList,
  481. /* [in] */ UINT uSize,
  482. /* [in] */ BOOL *aaGildMap);
  483. HRESULT ( STDMETHODCALLTYPE *GetGuidAtom )(
  484. IActiveIMMAppEx * This,
  485. /* [in] */ HIMC hImc,
  486. /* [in] */ BYTE bAttr,
  487. /* [out] */ TfGuidAtom *pGuidAtom);
  488. HRESULT ( STDMETHODCALLTYPE *UnfilterClientWindowsEx )(
  489. IActiveIMMAppEx * This,
  490. /* [in] */ HWND hWnd);
  491. END_INTERFACE
  492. } IActiveIMMAppExVtbl;
  493. interface IActiveIMMAppEx
  494. {
  495. CONST_VTBL struct IActiveIMMAppExVtbl *lpVtbl;
  496. };
  497. #ifdef COBJMACROS
  498. #define IActiveIMMAppEx_QueryInterface(This,riid,ppvObject) \
  499. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  500. #define IActiveIMMAppEx_AddRef(This) \
  501. (This)->lpVtbl -> AddRef(This)
  502. #define IActiveIMMAppEx_Release(This) \
  503. (This)->lpVtbl -> Release(This)
  504. #define IActiveIMMAppEx_AssociateContext(This,hWnd,hIME,phPrev) \
  505. (This)->lpVtbl -> AssociateContext(This,hWnd,hIME,phPrev)
  506. #define IActiveIMMAppEx_ConfigureIMEA(This,hKL,hWnd,dwMode,pData) \
  507. (This)->lpVtbl -> ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  508. #define IActiveIMMAppEx_ConfigureIMEW(This,hKL,hWnd,dwMode,pData) \
  509. (This)->lpVtbl -> ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  510. #define IActiveIMMAppEx_CreateContext(This,phIMC) \
  511. (This)->lpVtbl -> CreateContext(This,phIMC)
  512. #define IActiveIMMAppEx_DestroyContext(This,hIME) \
  513. (This)->lpVtbl -> DestroyContext(This,hIME)
  514. #define IActiveIMMAppEx_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  515. (This)->lpVtbl -> EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  516. #define IActiveIMMAppEx_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum) \
  517. (This)->lpVtbl -> EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  518. #define IActiveIMMAppEx_EscapeA(This,hKL,hIMC,uEscape,pData,plResult) \
  519. (This)->lpVtbl -> EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  520. #define IActiveIMMAppEx_EscapeW(This,hKL,hIMC,uEscape,pData,plResult) \
  521. (This)->lpVtbl -> EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  522. #define IActiveIMMAppEx_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  523. (This)->lpVtbl -> GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  524. #define IActiveIMMAppEx_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied) \
  525. (This)->lpVtbl -> GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  526. #define IActiveIMMAppEx_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen) \
  527. (This)->lpVtbl -> GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  528. #define IActiveIMMAppEx_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen) \
  529. (This)->lpVtbl -> GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  530. #define IActiveIMMAppEx_GetCandidateWindow(This,hIMC,dwIndex,pCandidate) \
  531. (This)->lpVtbl -> GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  532. #define IActiveIMMAppEx_GetCompositionFontA(This,hIMC,plf) \
  533. (This)->lpVtbl -> GetCompositionFontA(This,hIMC,plf)
  534. #define IActiveIMMAppEx_GetCompositionFontW(This,hIMC,plf) \
  535. (This)->lpVtbl -> GetCompositionFontW(This,hIMC,plf)
  536. #define IActiveIMMAppEx_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  537. (This)->lpVtbl -> GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  538. #define IActiveIMMAppEx_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf) \
  539. (This)->lpVtbl -> GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  540. #define IActiveIMMAppEx_GetCompositionWindow(This,hIMC,pCompForm) \
  541. (This)->lpVtbl -> GetCompositionWindow(This,hIMC,pCompForm)
  542. #define IActiveIMMAppEx_GetContext(This,hWnd,phIMC) \
  543. (This)->lpVtbl -> GetContext(This,hWnd,phIMC)
  544. #define IActiveIMMAppEx_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  545. (This)->lpVtbl -> GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  546. #define IActiveIMMAppEx_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied) \
  547. (This)->lpVtbl -> GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  548. #define IActiveIMMAppEx_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence) \
  549. (This)->lpVtbl -> GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  550. #define IActiveIMMAppEx_GetDefaultIMEWnd(This,hWnd,phDefWnd) \
  551. (This)->lpVtbl -> GetDefaultIMEWnd(This,hWnd,phDefWnd)
  552. #define IActiveIMMAppEx_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied) \
  553. (This)->lpVtbl -> GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  554. #define IActiveIMMAppEx_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied) \
  555. (This)->lpVtbl -> GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  556. #define IActiveIMMAppEx_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  557. (This)->lpVtbl -> GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  558. #define IActiveIMMAppEx_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult) \
  559. (This)->lpVtbl -> GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  560. #define IActiveIMMAppEx_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied) \
  561. (This)->lpVtbl -> GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  562. #define IActiveIMMAppEx_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied) \
  563. (This)->lpVtbl -> GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  564. #define IActiveIMMAppEx_GetOpenStatus(This,hIMC) \
  565. (This)->lpVtbl -> GetOpenStatus(This,hIMC)
  566. #define IActiveIMMAppEx_GetProperty(This,hKL,fdwIndex,pdwProperty) \
  567. (This)->lpVtbl -> GetProperty(This,hKL,fdwIndex,pdwProperty)
  568. #define IActiveIMMAppEx_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied) \
  569. (This)->lpVtbl -> GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  570. #define IActiveIMMAppEx_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied) \
  571. (This)->lpVtbl -> GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  572. #define IActiveIMMAppEx_GetStatusWindowPos(This,hIMC,pptPos) \
  573. (This)->lpVtbl -> GetStatusWindowPos(This,hIMC,pptPos)
  574. #define IActiveIMMAppEx_GetVirtualKey(This,hWnd,puVirtualKey) \
  575. (This)->lpVtbl -> GetVirtualKey(This,hWnd,puVirtualKey)
  576. #define IActiveIMMAppEx_InstallIMEA(This,szIMEFileName,szLayoutText,phKL) \
  577. (This)->lpVtbl -> InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  578. #define IActiveIMMAppEx_InstallIMEW(This,szIMEFileName,szLayoutText,phKL) \
  579. (This)->lpVtbl -> InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  580. #define IActiveIMMAppEx_IsIME(This,hKL) \
  581. (This)->lpVtbl -> IsIME(This,hKL)
  582. #define IActiveIMMAppEx_IsUIMessageA(This,hWndIME,msg,wParam,lParam) \
  583. (This)->lpVtbl -> IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  584. #define IActiveIMMAppEx_IsUIMessageW(This,hWndIME,msg,wParam,lParam) \
  585. (This)->lpVtbl -> IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  586. #define IActiveIMMAppEx_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue) \
  587. (This)->lpVtbl -> NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  588. #define IActiveIMMAppEx_RegisterWordA(This,hKL,szReading,dwStyle,szRegister) \
  589. (This)->lpVtbl -> RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  590. #define IActiveIMMAppEx_RegisterWordW(This,hKL,szReading,dwStyle,szRegister) \
  591. (This)->lpVtbl -> RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  592. #define IActiveIMMAppEx_ReleaseContext(This,hWnd,hIMC) \
  593. (This)->lpVtbl -> ReleaseContext(This,hWnd,hIMC)
  594. #define IActiveIMMAppEx_SetCandidateWindow(This,hIMC,pCandidate) \
  595. (This)->lpVtbl -> SetCandidateWindow(This,hIMC,pCandidate)
  596. #define IActiveIMMAppEx_SetCompositionFontA(This,hIMC,plf) \
  597. (This)->lpVtbl -> SetCompositionFontA(This,hIMC,plf)
  598. #define IActiveIMMAppEx_SetCompositionFontW(This,hIMC,plf) \
  599. (This)->lpVtbl -> SetCompositionFontW(This,hIMC,plf)
  600. #define IActiveIMMAppEx_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  601. (This)->lpVtbl -> SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  602. #define IActiveIMMAppEx_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen) \
  603. (This)->lpVtbl -> SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  604. #define IActiveIMMAppEx_SetCompositionWindow(This,hIMC,pCompForm) \
  605. (This)->lpVtbl -> SetCompositionWindow(This,hIMC,pCompForm)
  606. #define IActiveIMMAppEx_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence) \
  607. (This)->lpVtbl -> SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  608. #define IActiveIMMAppEx_SetOpenStatus(This,hIMC,fOpen) \
  609. (This)->lpVtbl -> SetOpenStatus(This,hIMC,fOpen)
  610. #define IActiveIMMAppEx_SetStatusWindowPos(This,hIMC,pptPos) \
  611. (This)->lpVtbl -> SetStatusWindowPos(This,hIMC,pptPos)
  612. #define IActiveIMMAppEx_SimulateHotKey(This,hWnd,dwHotKeyID) \
  613. (This)->lpVtbl -> SimulateHotKey(This,hWnd,dwHotKeyID)
  614. #define IActiveIMMAppEx_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister) \
  615. (This)->lpVtbl -> UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  616. #define IActiveIMMAppEx_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister) \
  617. (This)->lpVtbl -> UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  618. #define IActiveIMMAppEx_Activate(This,fRestoreLayout) \
  619. (This)->lpVtbl -> Activate(This,fRestoreLayout)
  620. #define IActiveIMMAppEx_Deactivate(This) \
  621. (This)->lpVtbl -> Deactivate(This)
  622. #define IActiveIMMAppEx_OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult) \
  623. (This)->lpVtbl -> OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult)
  624. #define IActiveIMMAppEx_FilterClientWindows(This,aaClassList,uSize) \
  625. (This)->lpVtbl -> FilterClientWindows(This,aaClassList,uSize)
  626. #define IActiveIMMAppEx_GetCodePageA(This,hKL,uCodePage) \
  627. (This)->lpVtbl -> GetCodePageA(This,hKL,uCodePage)
  628. #define IActiveIMMAppEx_GetLangId(This,hKL,plid) \
  629. (This)->lpVtbl -> GetLangId(This,hKL,plid)
  630. #define IActiveIMMAppEx_AssociateContextEx(This,hWnd,hIMC,dwFlags) \
  631. (This)->lpVtbl -> AssociateContextEx(This,hWnd,hIMC,dwFlags)
  632. #define IActiveIMMAppEx_DisableIME(This,idThread) \
  633. (This)->lpVtbl -> DisableIME(This,idThread)
  634. #define IActiveIMMAppEx_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  635. (This)->lpVtbl -> GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  636. #define IActiveIMMAppEx_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult) \
  637. (This)->lpVtbl -> GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  638. #define IActiveIMMAppEx_EnumInputContext(This,idThread,ppEnum) \
  639. (This)->lpVtbl -> EnumInputContext(This,idThread,ppEnum)
  640. #define IActiveIMMAppEx_FilterClientWindowsEx(This,hWnd,fGuidMap) \
  641. (This)->lpVtbl -> FilterClientWindowsEx(This,hWnd,fGuidMap)
  642. #define IActiveIMMAppEx_FilterClientWindowsGUIDMap(This,aaClassList,uSize,aaGildMap) \
  643. (This)->lpVtbl -> FilterClientWindowsGUIDMap(This,aaClassList,uSize,aaGildMap)
  644. #define IActiveIMMAppEx_GetGuidAtom(This,hImc,bAttr,pGuidAtom) \
  645. (This)->lpVtbl -> GetGuidAtom(This,hImc,bAttr,pGuidAtom)
  646. #define IActiveIMMAppEx_UnfilterClientWindowsEx(This,hWnd) \
  647. (This)->lpVtbl -> UnfilterClientWindowsEx(This,hWnd)
  648. #endif /* COBJMACROS */
  649. #endif /* C style interface */
  650. HRESULT STDMETHODCALLTYPE IActiveIMMAppEx_FilterClientWindowsEx_Proxy(
  651. IActiveIMMAppEx * This,
  652. /* [in] */ HWND hWnd,
  653. /* [in] */ BOOL fGuidMap);
  654. void __RPC_STUB IActiveIMMAppEx_FilterClientWindowsEx_Stub(
  655. IRpcStubBuffer *This,
  656. IRpcChannelBuffer *_pRpcChannelBuffer,
  657. PRPC_MESSAGE _pRpcMessage,
  658. DWORD *_pdwStubPhase);
  659. HRESULT STDMETHODCALLTYPE IActiveIMMAppEx_FilterClientWindowsGUIDMap_Proxy(
  660. IActiveIMMAppEx * This,
  661. /* [in] */ ATOM *aaClassList,
  662. /* [in] */ UINT uSize,
  663. /* [in] */ BOOL *aaGildMap);
  664. void __RPC_STUB IActiveIMMAppEx_FilterClientWindowsGUIDMap_Stub(
  665. IRpcStubBuffer *This,
  666. IRpcChannelBuffer *_pRpcChannelBuffer,
  667. PRPC_MESSAGE _pRpcMessage,
  668. DWORD *_pdwStubPhase);
  669. HRESULT STDMETHODCALLTYPE IActiveIMMAppEx_GetGuidAtom_Proxy(
  670. IActiveIMMAppEx * This,
  671. /* [in] */ HIMC hImc,
  672. /* [in] */ BYTE bAttr,
  673. /* [out] */ TfGuidAtom *pGuidAtom);
  674. void __RPC_STUB IActiveIMMAppEx_GetGuidAtom_Stub(
  675. IRpcStubBuffer *This,
  676. IRpcChannelBuffer *_pRpcChannelBuffer,
  677. PRPC_MESSAGE _pRpcMessage,
  678. DWORD *_pdwStubPhase);
  679. HRESULT STDMETHODCALLTYPE IActiveIMMAppEx_UnfilterClientWindowsEx_Proxy(
  680. IActiveIMMAppEx * This,
  681. /* [in] */ HWND hWnd);
  682. void __RPC_STUB IActiveIMMAppEx_UnfilterClientWindowsEx_Stub(
  683. IRpcStubBuffer *This,
  684. IRpcChannelBuffer *_pRpcChannelBuffer,
  685. PRPC_MESSAGE _pRpcMessage,
  686. DWORD *_pdwStubPhase);
  687. #endif /* __IActiveIMMAppEx_INTERFACE_DEFINED__ */
  688. /* interface __MIDL_itf_aimmex_0228 */
  689. /* [local] */
  690. EXTERN_C const CLSID CLSID_CAImmLayer;
  691. extern RPC_IF_HANDLE __MIDL_itf_aimmex_0228_v0_0_c_ifspec;
  692. extern RPC_IF_HANDLE __MIDL_itf_aimmex_0228_v0_0_s_ifspec;
  693. #ifndef __IAImmFnDocFeed_INTERFACE_DEFINED__
  694. #define __IAImmFnDocFeed_INTERFACE_DEFINED__
  695. /* interface IAImmFnDocFeed */
  696. /* [unique][uuid][object][local] */
  697. EXTERN_C const IID IID_IAImmFnDocFeed;
  698. #if defined(__cplusplus) && !defined(CINTERFACE)
  699. MIDL_INTERFACE("6e098993-9577-499a-a830-52344f3e200d")
  700. IAImmFnDocFeed : public IUnknown
  701. {
  702. public:
  703. virtual HRESULT STDMETHODCALLTYPE DocFeed( void) = 0;
  704. virtual HRESULT STDMETHODCALLTYPE ClearDocFeedBuffer( void) = 0;
  705. virtual HRESULT STDMETHODCALLTYPE StartReconvert( void) = 0;
  706. virtual HRESULT STDMETHODCALLTYPE StartUndoCompositionString( void) = 0;
  707. };
  708. #else /* C style interface */
  709. typedef struct IAImmFnDocFeedVtbl
  710. {
  711. BEGIN_INTERFACE
  712. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  713. IAImmFnDocFeed * This,
  714. /* [in] */ REFIID riid,
  715. /* [iid_is][out] */ void **ppvObject);
  716. ULONG ( STDMETHODCALLTYPE *AddRef )(
  717. IAImmFnDocFeed * This);
  718. ULONG ( STDMETHODCALLTYPE *Release )(
  719. IAImmFnDocFeed * This);
  720. HRESULT ( STDMETHODCALLTYPE *DocFeed )(
  721. IAImmFnDocFeed * This);
  722. HRESULT ( STDMETHODCALLTYPE *ClearDocFeedBuffer )(
  723. IAImmFnDocFeed * This);
  724. HRESULT ( STDMETHODCALLTYPE *StartReconvert )(
  725. IAImmFnDocFeed * This);
  726. HRESULT ( STDMETHODCALLTYPE *StartUndoCompositionString )(
  727. IAImmFnDocFeed * This);
  728. END_INTERFACE
  729. } IAImmFnDocFeedVtbl;
  730. interface IAImmFnDocFeed
  731. {
  732. CONST_VTBL struct IAImmFnDocFeedVtbl *lpVtbl;
  733. };
  734. #ifdef COBJMACROS
  735. #define IAImmFnDocFeed_QueryInterface(This,riid,ppvObject) \
  736. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  737. #define IAImmFnDocFeed_AddRef(This) \
  738. (This)->lpVtbl -> AddRef(This)
  739. #define IAImmFnDocFeed_Release(This) \
  740. (This)->lpVtbl -> Release(This)
  741. #define IAImmFnDocFeed_DocFeed(This) \
  742. (This)->lpVtbl -> DocFeed(This)
  743. #define IAImmFnDocFeed_ClearDocFeedBuffer(This) \
  744. (This)->lpVtbl -> ClearDocFeedBuffer(This)
  745. #define IAImmFnDocFeed_StartReconvert(This) \
  746. (This)->lpVtbl -> StartReconvert(This)
  747. #define IAImmFnDocFeed_StartUndoCompositionString(This) \
  748. (This)->lpVtbl -> StartUndoCompositionString(This)
  749. #endif /* COBJMACROS */
  750. #endif /* C style interface */
  751. HRESULT STDMETHODCALLTYPE IAImmFnDocFeed_DocFeed_Proxy(
  752. IAImmFnDocFeed * This);
  753. void __RPC_STUB IAImmFnDocFeed_DocFeed_Stub(
  754. IRpcStubBuffer *This,
  755. IRpcChannelBuffer *_pRpcChannelBuffer,
  756. PRPC_MESSAGE _pRpcMessage,
  757. DWORD *_pdwStubPhase);
  758. HRESULT STDMETHODCALLTYPE IAImmFnDocFeed_ClearDocFeedBuffer_Proxy(
  759. IAImmFnDocFeed * This);
  760. void __RPC_STUB IAImmFnDocFeed_ClearDocFeedBuffer_Stub(
  761. IRpcStubBuffer *This,
  762. IRpcChannelBuffer *_pRpcChannelBuffer,
  763. PRPC_MESSAGE _pRpcMessage,
  764. DWORD *_pdwStubPhase);
  765. HRESULT STDMETHODCALLTYPE IAImmFnDocFeed_StartReconvert_Proxy(
  766. IAImmFnDocFeed * This);
  767. void __RPC_STUB IAImmFnDocFeed_StartReconvert_Stub(
  768. IRpcStubBuffer *This,
  769. IRpcChannelBuffer *_pRpcChannelBuffer,
  770. PRPC_MESSAGE _pRpcMessage,
  771. DWORD *_pdwStubPhase);
  772. HRESULT STDMETHODCALLTYPE IAImmFnDocFeed_StartUndoCompositionString_Proxy(
  773. IAImmFnDocFeed * This);
  774. void __RPC_STUB IAImmFnDocFeed_StartUndoCompositionString_Stub(
  775. IRpcStubBuffer *This,
  776. IRpcChannelBuffer *_pRpcChannelBuffer,
  777. PRPC_MESSAGE _pRpcMessage,
  778. DWORD *_pdwStubPhase);
  779. #endif /* __IAImmFnDocFeed_INTERFACE_DEFINED__ */
  780. #ifndef __IAImmThreadCompartment_INTERFACE_DEFINED__
  781. #define __IAImmThreadCompartment_INTERFACE_DEFINED__
  782. /* interface IAImmThreadCompartment */
  783. /* [unique][uuid][object][local] */
  784. EXTERN_C const IID IID_IAImmThreadCompartment;
  785. #if defined(__cplusplus) && !defined(CINTERFACE)
  786. MIDL_INTERFACE("d251a968-2b44-4da5-a549-c1249ef01711")
  787. IAImmThreadCompartment : public IUnknown
  788. {
  789. public:
  790. virtual HRESULT STDMETHODCALLTYPE SetThreadCompartmentValue(
  791. /* [in] */ REFGUID rguid,
  792. /* [in] */ VARIANT *pvar) = 0;
  793. virtual HRESULT STDMETHODCALLTYPE GetThreadCompartmentValue(
  794. /* [in] */ REFGUID rguid,
  795. /* [out] */ VARIANT *pvar) = 0;
  796. };
  797. #else /* C style interface */
  798. typedef struct IAImmThreadCompartmentVtbl
  799. {
  800. BEGIN_INTERFACE
  801. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  802. IAImmThreadCompartment * This,
  803. /* [in] */ REFIID riid,
  804. /* [iid_is][out] */ void **ppvObject);
  805. ULONG ( STDMETHODCALLTYPE *AddRef )(
  806. IAImmThreadCompartment * This);
  807. ULONG ( STDMETHODCALLTYPE *Release )(
  808. IAImmThreadCompartment * This);
  809. HRESULT ( STDMETHODCALLTYPE *SetThreadCompartmentValue )(
  810. IAImmThreadCompartment * This,
  811. /* [in] */ REFGUID rguid,
  812. /* [in] */ VARIANT *pvar);
  813. HRESULT ( STDMETHODCALLTYPE *GetThreadCompartmentValue )(
  814. IAImmThreadCompartment * This,
  815. /* [in] */ REFGUID rguid,
  816. /* [out] */ VARIANT *pvar);
  817. END_INTERFACE
  818. } IAImmThreadCompartmentVtbl;
  819. interface IAImmThreadCompartment
  820. {
  821. CONST_VTBL struct IAImmThreadCompartmentVtbl *lpVtbl;
  822. };
  823. #ifdef COBJMACROS
  824. #define IAImmThreadCompartment_QueryInterface(This,riid,ppvObject) \
  825. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  826. #define IAImmThreadCompartment_AddRef(This) \
  827. (This)->lpVtbl -> AddRef(This)
  828. #define IAImmThreadCompartment_Release(This) \
  829. (This)->lpVtbl -> Release(This)
  830. #define IAImmThreadCompartment_SetThreadCompartmentValue(This,rguid,pvar) \
  831. (This)->lpVtbl -> SetThreadCompartmentValue(This,rguid,pvar)
  832. #define IAImmThreadCompartment_GetThreadCompartmentValue(This,rguid,pvar) \
  833. (This)->lpVtbl -> GetThreadCompartmentValue(This,rguid,pvar)
  834. #endif /* COBJMACROS */
  835. #endif /* C style interface */
  836. HRESULT STDMETHODCALLTYPE IAImmThreadCompartment_SetThreadCompartmentValue_Proxy(
  837. IAImmThreadCompartment * This,
  838. /* [in] */ REFGUID rguid,
  839. /* [in] */ VARIANT *pvar);
  840. void __RPC_STUB IAImmThreadCompartment_SetThreadCompartmentValue_Stub(
  841. IRpcStubBuffer *This,
  842. IRpcChannelBuffer *_pRpcChannelBuffer,
  843. PRPC_MESSAGE _pRpcMessage,
  844. DWORD *_pdwStubPhase);
  845. HRESULT STDMETHODCALLTYPE IAImmThreadCompartment_GetThreadCompartmentValue_Proxy(
  846. IAImmThreadCompartment * This,
  847. /* [in] */ REFGUID rguid,
  848. /* [out] */ VARIANT *pvar);
  849. void __RPC_STUB IAImmThreadCompartment_GetThreadCompartmentValue_Stub(
  850. IRpcStubBuffer *This,
  851. IRpcChannelBuffer *_pRpcChannelBuffer,
  852. PRPC_MESSAGE _pRpcMessage,
  853. DWORD *_pdwStubPhase);
  854. #endif /* __IAImmThreadCompartment_INTERFACE_DEFINED__ */
  855. /* Additional Prototypes for ALL interfaces */
  856. /* end of Additional Prototypes */
  857. #ifdef __cplusplus
  858. }
  859. #endif
  860. #endif