Mshtmlc.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:3844k
源码类别:

模拟服务器

开发平台:

C/C++

  1. HRESULT STDMETHODCALLTYPE IMarkupPointer_CurrentScope_Proxy( 
  2.     IMarkupPointer * This,
  3.     /* [out] */ IHTMLElement **ppElemCurrent);
  4. void __RPC_STUB IMarkupPointer_CurrentScope_Stub(
  5.     IRpcStubBuffer *This,
  6.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7.     PRPC_MESSAGE _pRpcMessage,
  8.     DWORD *_pdwStubPhase);
  9. HRESULT STDMETHODCALLTYPE IMarkupPointer_IsLeftOf_Proxy( 
  10.     IMarkupPointer * This,
  11.     /* [in] */ IMarkupPointer *pPointerThat,
  12.     /* [out] */ BOOL *pfResult);
  13. void __RPC_STUB IMarkupPointer_IsLeftOf_Stub(
  14.     IRpcStubBuffer *This,
  15.     IRpcChannelBuffer *_pRpcChannelBuffer,
  16.     PRPC_MESSAGE _pRpcMessage,
  17.     DWORD *_pdwStubPhase);
  18. HRESULT STDMETHODCALLTYPE IMarkupPointer_IsLeftOfOrEqualTo_Proxy( 
  19.     IMarkupPointer * This,
  20.     /* [in] */ IMarkupPointer *pPointerThat,
  21.     /* [out] */ BOOL *pfResult);
  22. void __RPC_STUB IMarkupPointer_IsLeftOfOrEqualTo_Stub(
  23.     IRpcStubBuffer *This,
  24.     IRpcChannelBuffer *_pRpcChannelBuffer,
  25.     PRPC_MESSAGE _pRpcMessage,
  26.     DWORD *_pdwStubPhase);
  27. HRESULT STDMETHODCALLTYPE IMarkupPointer_IsRightOf_Proxy( 
  28.     IMarkupPointer * This,
  29.     /* [in] */ IMarkupPointer *pPointerThat,
  30.     /* [out] */ BOOL *pfResult);
  31. void __RPC_STUB IMarkupPointer_IsRightOf_Stub(
  32.     IRpcStubBuffer *This,
  33.     IRpcChannelBuffer *_pRpcChannelBuffer,
  34.     PRPC_MESSAGE _pRpcMessage,
  35.     DWORD *_pdwStubPhase);
  36. HRESULT STDMETHODCALLTYPE IMarkupPointer_IsRightOfOrEqualTo_Proxy( 
  37.     IMarkupPointer * This,
  38.     /* [in] */ IMarkupPointer *pPointerThat,
  39.     /* [out] */ BOOL *pfResult);
  40. void __RPC_STUB IMarkupPointer_IsRightOfOrEqualTo_Stub(
  41.     IRpcStubBuffer *This,
  42.     IRpcChannelBuffer *_pRpcChannelBuffer,
  43.     PRPC_MESSAGE _pRpcMessage,
  44.     DWORD *_pdwStubPhase);
  45. HRESULT STDMETHODCALLTYPE IMarkupPointer_IsEqualTo_Proxy( 
  46.     IMarkupPointer * This,
  47.     /* [in] */ IMarkupPointer *pPointerThat,
  48.     /* [out] */ BOOL *pfAreEqual);
  49. void __RPC_STUB IMarkupPointer_IsEqualTo_Stub(
  50.     IRpcStubBuffer *This,
  51.     IRpcChannelBuffer *_pRpcChannelBuffer,
  52.     PRPC_MESSAGE _pRpcMessage,
  53.     DWORD *_pdwStubPhase);
  54. HRESULT STDMETHODCALLTYPE IMarkupPointer_MoveUnit_Proxy( 
  55.     IMarkupPointer * This,
  56.     /* [in] */ MOVEUNIT_ACTION muAction);
  57. void __RPC_STUB IMarkupPointer_MoveUnit_Stub(
  58.     IRpcStubBuffer *This,
  59.     IRpcChannelBuffer *_pRpcChannelBuffer,
  60.     PRPC_MESSAGE _pRpcMessage,
  61.     DWORD *_pdwStubPhase);
  62. HRESULT STDMETHODCALLTYPE IMarkupPointer_FindText_Proxy( 
  63.     IMarkupPointer * This,
  64.     /* [in] */ OLECHAR *pchFindText,
  65.     /* [in] */ DWORD dwFlags,
  66.     /* [in] */ IMarkupPointer *pIEndMatch,
  67.     /* [in] */ IMarkupPointer *pIEndSearch);
  68. void __RPC_STUB IMarkupPointer_FindText_Stub(
  69.     IRpcStubBuffer *This,
  70.     IRpcChannelBuffer *_pRpcChannelBuffer,
  71.     PRPC_MESSAGE _pRpcMessage,
  72.     DWORD *_pdwStubPhase);
  73. #endif  /* __IMarkupPointer_INTERFACE_DEFINED__ */
  74. #ifndef __IMarkupContainer_INTERFACE_DEFINED__
  75. #define __IMarkupContainer_INTERFACE_DEFINED__
  76. /* interface IMarkupContainer */
  77. /* [uuid][unique][object] */ 
  78. EXTERN_C const IID IID_IMarkupContainer;
  79. #if defined(__cplusplus) && !defined(CINTERFACE)
  80.     
  81.     MIDL_INTERFACE("3050f5f9-98b5-11cf-bb82-00aa00bdce0b")
  82.     IMarkupContainer : public IUnknown
  83.     {
  84.     public:
  85.         virtual HRESULT STDMETHODCALLTYPE OwningDoc( 
  86.             /* [out] */ IHTMLDocument2 **ppDoc) = 0;
  87.         
  88.     };
  89.     
  90. #else  /* C style interface */
  91.     typedef struct IMarkupContainerVtbl
  92.     {
  93.         BEGIN_INTERFACE
  94.         
  95.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  96.             IMarkupContainer * This,
  97.             /* [in] */ REFIID riid,
  98.             /* [iid_is][out] */ void **ppvObject);
  99.         
  100.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  101.             IMarkupContainer * This);
  102.         
  103.         ULONG ( STDMETHODCALLTYPE *Release )( 
  104.             IMarkupContainer * This);
  105.         
  106.         HRESULT ( STDMETHODCALLTYPE *OwningDoc )( 
  107.             IMarkupContainer * This,
  108.             /* [out] */ IHTMLDocument2 **ppDoc);
  109.         
  110.         END_INTERFACE
  111.     } IMarkupContainerVtbl;
  112.     interface IMarkupContainer
  113.     {
  114.         CONST_VTBL struct IMarkupContainerVtbl *lpVtbl;
  115.     };
  116.     
  117. #ifdef COBJMACROS
  118. #define IMarkupContainer_QueryInterface(This,riid,ppvObject)
  119.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  120. #define IMarkupContainer_AddRef(This)
  121.     (This)->lpVtbl -> AddRef(This)
  122. #define IMarkupContainer_Release(This)
  123.     (This)->lpVtbl -> Release(This)
  124. #define IMarkupContainer_OwningDoc(This,ppDoc)
  125.     (This)->lpVtbl -> OwningDoc(This,ppDoc)
  126. #endif /* COBJMACROS */
  127. #endif  /* C style interface */
  128. HRESULT STDMETHODCALLTYPE IMarkupContainer_OwningDoc_Proxy( 
  129.     IMarkupContainer * This,
  130.     /* [out] */ IHTMLDocument2 **ppDoc);
  131. void __RPC_STUB IMarkupContainer_OwningDoc_Stub(
  132.     IRpcStubBuffer *This,
  133.     IRpcChannelBuffer *_pRpcChannelBuffer,
  134.     PRPC_MESSAGE _pRpcMessage,
  135.     DWORD *_pdwStubPhase);
  136. #endif  /* __IMarkupContainer_INTERFACE_DEFINED__ */
  137. #ifndef __IMarkupContainer2_INTERFACE_DEFINED__
  138. #define __IMarkupContainer2_INTERFACE_DEFINED__
  139. /* interface IMarkupContainer2 */
  140. /* [uuid][unique][object] */ 
  141. EXTERN_C const IID IID_IMarkupContainer2;
  142. #if defined(__cplusplus) && !defined(CINTERFACE)
  143.     
  144.     MIDL_INTERFACE("3050f648-98b5-11cf-bb82-00aa00bdce0b")
  145.     IMarkupContainer2 : public IMarkupContainer
  146.     {
  147.     public:
  148.         virtual HRESULT STDMETHODCALLTYPE CreateChangeLog( 
  149.             /* [in] */ IHTMLChangeSink *pChangeSink,
  150.             /* [out] */ IHTMLChangeLog **ppChangeLog,
  151.             /* [in] */ BOOL fForward,
  152.             /* [in] */ BOOL fBackward) = 0;
  153.         
  154.         virtual HRESULT STDMETHODCALLTYPE RegisterForDirtyRange( 
  155.             /* [in] */ IHTMLChangeSink *pChangeSink,
  156.             /* [out] */ DWORD *pdwCookie) = 0;
  157.         
  158.         virtual HRESULT STDMETHODCALLTYPE UnRegisterForDirtyRange( 
  159.             /* [in] */ DWORD dwCookie) = 0;
  160.         
  161.         virtual HRESULT STDMETHODCALLTYPE GetAndClearDirtyRange( 
  162.             /* [in] */ DWORD dwCookie,
  163.             /* [in] */ IMarkupPointer *pIPointerBegin,
  164.             /* [in] */ IMarkupPointer *pIPointerEnd) = 0;
  165.         
  166.         virtual long STDMETHODCALLTYPE GetVersionNumber( void) = 0;
  167.         
  168.         virtual HRESULT STDMETHODCALLTYPE GetMasterElement( 
  169.             /* [out] */ IHTMLElement **ppElementMaster) = 0;
  170.         
  171.     };
  172.     
  173. #else  /* C style interface */
  174.     typedef struct IMarkupContainer2Vtbl
  175.     {
  176.         BEGIN_INTERFACE
  177.         
  178.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  179.             IMarkupContainer2 * This,
  180.             /* [in] */ REFIID riid,
  181.             /* [iid_is][out] */ void **ppvObject);
  182.         
  183.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  184.             IMarkupContainer2 * This);
  185.         
  186.         ULONG ( STDMETHODCALLTYPE *Release )( 
  187.             IMarkupContainer2 * This);
  188.         
  189.         HRESULT ( STDMETHODCALLTYPE *OwningDoc )( 
  190.             IMarkupContainer2 * This,
  191.             /* [out] */ IHTMLDocument2 **ppDoc);
  192.         
  193.         HRESULT ( STDMETHODCALLTYPE *CreateChangeLog )( 
  194.             IMarkupContainer2 * This,
  195.             /* [in] */ IHTMLChangeSink *pChangeSink,
  196.             /* [out] */ IHTMLChangeLog **ppChangeLog,
  197.             /* [in] */ BOOL fForward,
  198.             /* [in] */ BOOL fBackward);
  199.         
  200.         HRESULT ( STDMETHODCALLTYPE *RegisterForDirtyRange )( 
  201.             IMarkupContainer2 * This,
  202.             /* [in] */ IHTMLChangeSink *pChangeSink,
  203.             /* [out] */ DWORD *pdwCookie);
  204.         
  205.         HRESULT ( STDMETHODCALLTYPE *UnRegisterForDirtyRange )( 
  206.             IMarkupContainer2 * This,
  207.             /* [in] */ DWORD dwCookie);
  208.         
  209.         HRESULT ( STDMETHODCALLTYPE *GetAndClearDirtyRange )( 
  210.             IMarkupContainer2 * This,
  211.             /* [in] */ DWORD dwCookie,
  212.             /* [in] */ IMarkupPointer *pIPointerBegin,
  213.             /* [in] */ IMarkupPointer *pIPointerEnd);
  214.         
  215.         long ( STDMETHODCALLTYPE *GetVersionNumber )( 
  216.             IMarkupContainer2 * This);
  217.         
  218.         HRESULT ( STDMETHODCALLTYPE *GetMasterElement )( 
  219.             IMarkupContainer2 * This,
  220.             /* [out] */ IHTMLElement **ppElementMaster);
  221.         
  222.         END_INTERFACE
  223.     } IMarkupContainer2Vtbl;
  224.     interface IMarkupContainer2
  225.     {
  226.         CONST_VTBL struct IMarkupContainer2Vtbl *lpVtbl;
  227.     };
  228.     
  229. #ifdef COBJMACROS
  230. #define IMarkupContainer2_QueryInterface(This,riid,ppvObject)
  231.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  232. #define IMarkupContainer2_AddRef(This)
  233.     (This)->lpVtbl -> AddRef(This)
  234. #define IMarkupContainer2_Release(This)
  235.     (This)->lpVtbl -> Release(This)
  236. #define IMarkupContainer2_OwningDoc(This,ppDoc)
  237.     (This)->lpVtbl -> OwningDoc(This,ppDoc)
  238. #define IMarkupContainer2_CreateChangeLog(This,pChangeSink,ppChangeLog,fForward,fBackward)
  239.     (This)->lpVtbl -> CreateChangeLog(This,pChangeSink,ppChangeLog,fForward,fBackward)
  240. #define IMarkupContainer2_RegisterForDirtyRange(This,pChangeSink,pdwCookie)
  241.     (This)->lpVtbl -> RegisterForDirtyRange(This,pChangeSink,pdwCookie)
  242. #define IMarkupContainer2_UnRegisterForDirtyRange(This,dwCookie)
  243.     (This)->lpVtbl -> UnRegisterForDirtyRange(This,dwCookie)
  244. #define IMarkupContainer2_GetAndClearDirtyRange(This,dwCookie,pIPointerBegin,pIPointerEnd)
  245.     (This)->lpVtbl -> GetAndClearDirtyRange(This,dwCookie,pIPointerBegin,pIPointerEnd)
  246. #define IMarkupContainer2_GetVersionNumber(This)
  247.     (This)->lpVtbl -> GetVersionNumber(This)
  248. #define IMarkupContainer2_GetMasterElement(This,ppElementMaster)
  249.     (This)->lpVtbl -> GetMasterElement(This,ppElementMaster)
  250. #endif /* COBJMACROS */
  251. #endif  /* C style interface */
  252. HRESULT STDMETHODCALLTYPE IMarkupContainer2_CreateChangeLog_Proxy( 
  253.     IMarkupContainer2 * This,
  254.     /* [in] */ IHTMLChangeSink *pChangeSink,
  255.     /* [out] */ IHTMLChangeLog **ppChangeLog,
  256.     /* [in] */ BOOL fForward,
  257.     /* [in] */ BOOL fBackward);
  258. void __RPC_STUB IMarkupContainer2_CreateChangeLog_Stub(
  259.     IRpcStubBuffer *This,
  260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  261.     PRPC_MESSAGE _pRpcMessage,
  262.     DWORD *_pdwStubPhase);
  263. HRESULT STDMETHODCALLTYPE IMarkupContainer2_RegisterForDirtyRange_Proxy( 
  264.     IMarkupContainer2 * This,
  265.     /* [in] */ IHTMLChangeSink *pChangeSink,
  266.     /* [out] */ DWORD *pdwCookie);
  267. void __RPC_STUB IMarkupContainer2_RegisterForDirtyRange_Stub(
  268.     IRpcStubBuffer *This,
  269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  270.     PRPC_MESSAGE _pRpcMessage,
  271.     DWORD *_pdwStubPhase);
  272. HRESULT STDMETHODCALLTYPE IMarkupContainer2_UnRegisterForDirtyRange_Proxy( 
  273.     IMarkupContainer2 * This,
  274.     /* [in] */ DWORD dwCookie);
  275. void __RPC_STUB IMarkupContainer2_UnRegisterForDirtyRange_Stub(
  276.     IRpcStubBuffer *This,
  277.     IRpcChannelBuffer *_pRpcChannelBuffer,
  278.     PRPC_MESSAGE _pRpcMessage,
  279.     DWORD *_pdwStubPhase);
  280. HRESULT STDMETHODCALLTYPE IMarkupContainer2_GetAndClearDirtyRange_Proxy( 
  281.     IMarkupContainer2 * This,
  282.     /* [in] */ DWORD dwCookie,
  283.     /* [in] */ IMarkupPointer *pIPointerBegin,
  284.     /* [in] */ IMarkupPointer *pIPointerEnd);
  285. void __RPC_STUB IMarkupContainer2_GetAndClearDirtyRange_Stub(
  286.     IRpcStubBuffer *This,
  287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  288.     PRPC_MESSAGE _pRpcMessage,
  289.     DWORD *_pdwStubPhase);
  290. long STDMETHODCALLTYPE IMarkupContainer2_GetVersionNumber_Proxy( 
  291.     IMarkupContainer2 * This);
  292. void __RPC_STUB IMarkupContainer2_GetVersionNumber_Stub(
  293.     IRpcStubBuffer *This,
  294.     IRpcChannelBuffer *_pRpcChannelBuffer,
  295.     PRPC_MESSAGE _pRpcMessage,
  296.     DWORD *_pdwStubPhase);
  297. HRESULT STDMETHODCALLTYPE IMarkupContainer2_GetMasterElement_Proxy( 
  298.     IMarkupContainer2 * This,
  299.     /* [out] */ IHTMLElement **ppElementMaster);
  300. void __RPC_STUB IMarkupContainer2_GetMasterElement_Stub(
  301.     IRpcStubBuffer *This,
  302.     IRpcChannelBuffer *_pRpcChannelBuffer,
  303.     PRPC_MESSAGE _pRpcMessage,
  304.     DWORD *_pdwStubPhase);
  305. #endif  /* __IMarkupContainer2_INTERFACE_DEFINED__ */
  306. #ifndef __IHTMLChangeLog_INTERFACE_DEFINED__
  307. #define __IHTMLChangeLog_INTERFACE_DEFINED__
  308. /* interface IHTMLChangeLog */
  309. /* [uuid][unique][object] */ 
  310. EXTERN_C const IID IID_IHTMLChangeLog;
  311. #if defined(__cplusplus) && !defined(CINTERFACE)
  312.     
  313.     MIDL_INTERFACE("3050f649-98b5-11cf-bb82-00aa00bdce0b")
  314.     IHTMLChangeLog : public IUnknown
  315.     {
  316.     public:
  317.         virtual HRESULT STDMETHODCALLTYPE GetNextChange( 
  318.             /* [in] */ BYTE *pbBuffer,
  319.             /* [in] */ long nBufferSize,
  320.             /* [out] */ long *pnRecordLength) = 0;
  321.         
  322.     };
  323.     
  324. #else  /* C style interface */
  325.     typedef struct IHTMLChangeLogVtbl
  326.     {
  327.         BEGIN_INTERFACE
  328.         
  329.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  330.             IHTMLChangeLog * This,
  331.             /* [in] */ REFIID riid,
  332.             /* [iid_is][out] */ void **ppvObject);
  333.         
  334.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  335.             IHTMLChangeLog * This);
  336.         
  337.         ULONG ( STDMETHODCALLTYPE *Release )( 
  338.             IHTMLChangeLog * This);
  339.         
  340.         HRESULT ( STDMETHODCALLTYPE *GetNextChange )( 
  341.             IHTMLChangeLog * This,
  342.             /* [in] */ BYTE *pbBuffer,
  343.             /* [in] */ long nBufferSize,
  344.             /* [out] */ long *pnRecordLength);
  345.         
  346.         END_INTERFACE
  347.     } IHTMLChangeLogVtbl;
  348.     interface IHTMLChangeLog
  349.     {
  350.         CONST_VTBL struct IHTMLChangeLogVtbl *lpVtbl;
  351.     };
  352.     
  353. #ifdef COBJMACROS
  354. #define IHTMLChangeLog_QueryInterface(This,riid,ppvObject)
  355.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  356. #define IHTMLChangeLog_AddRef(This)
  357.     (This)->lpVtbl -> AddRef(This)
  358. #define IHTMLChangeLog_Release(This)
  359.     (This)->lpVtbl -> Release(This)
  360. #define IHTMLChangeLog_GetNextChange(This,pbBuffer,nBufferSize,pnRecordLength)
  361.     (This)->lpVtbl -> GetNextChange(This,pbBuffer,nBufferSize,pnRecordLength)
  362. #endif /* COBJMACROS */
  363. #endif  /* C style interface */
  364. HRESULT STDMETHODCALLTYPE IHTMLChangeLog_GetNextChange_Proxy( 
  365.     IHTMLChangeLog * This,
  366.     /* [in] */ BYTE *pbBuffer,
  367.     /* [in] */ long nBufferSize,
  368.     /* [out] */ long *pnRecordLength);
  369. void __RPC_STUB IHTMLChangeLog_GetNextChange_Stub(
  370.     IRpcStubBuffer *This,
  371.     IRpcChannelBuffer *_pRpcChannelBuffer,
  372.     PRPC_MESSAGE _pRpcMessage,
  373.     DWORD *_pdwStubPhase);
  374. #endif  /* __IHTMLChangeLog_INTERFACE_DEFINED__ */
  375. #ifndef __IHTMLChangeSink_INTERFACE_DEFINED__
  376. #define __IHTMLChangeSink_INTERFACE_DEFINED__
  377. /* interface IHTMLChangeSink */
  378. /* [uuid][unique][object] */ 
  379. EXTERN_C const IID IID_IHTMLChangeSink;
  380. #if defined(__cplusplus) && !defined(CINTERFACE)
  381.     
  382.     MIDL_INTERFACE("3050f64a-98b5-11cf-bb82-00aa00bdce0b")
  383.     IHTMLChangeSink : public IUnknown
  384.     {
  385.     public:
  386.         virtual HRESULT STDMETHODCALLTYPE Notify( void) = 0;
  387.         
  388.     };
  389.     
  390. #else  /* C style interface */
  391.     typedef struct IHTMLChangeSinkVtbl
  392.     {
  393.         BEGIN_INTERFACE
  394.         
  395.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  396.             IHTMLChangeSink * This,
  397.             /* [in] */ REFIID riid,
  398.             /* [iid_is][out] */ void **ppvObject);
  399.         
  400.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  401.             IHTMLChangeSink * This);
  402.         
  403.         ULONG ( STDMETHODCALLTYPE *Release )( 
  404.             IHTMLChangeSink * This);
  405.         
  406.         HRESULT ( STDMETHODCALLTYPE *Notify )( 
  407.             IHTMLChangeSink * This);
  408.         
  409.         END_INTERFACE
  410.     } IHTMLChangeSinkVtbl;
  411.     interface IHTMLChangeSink
  412.     {
  413.         CONST_VTBL struct IHTMLChangeSinkVtbl *lpVtbl;
  414.     };
  415.     
  416. #ifdef COBJMACROS
  417. #define IHTMLChangeSink_QueryInterface(This,riid,ppvObject)
  418.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  419. #define IHTMLChangeSink_AddRef(This)
  420.     (This)->lpVtbl -> AddRef(This)
  421. #define IHTMLChangeSink_Release(This)
  422.     (This)->lpVtbl -> Release(This)
  423. #define IHTMLChangeSink_Notify(This)
  424.     (This)->lpVtbl -> Notify(This)
  425. #endif /* COBJMACROS */
  426. #endif  /* C style interface */
  427. HRESULT STDMETHODCALLTYPE IHTMLChangeSink_Notify_Proxy( 
  428.     IHTMLChangeSink * This);
  429. void __RPC_STUB IHTMLChangeSink_Notify_Stub(
  430.     IRpcStubBuffer *This,
  431.     IRpcChannelBuffer *_pRpcChannelBuffer,
  432.     PRPC_MESSAGE _pRpcMessage,
  433.     DWORD *_pdwStubPhase);
  434. #endif  /* __IHTMLChangeSink_INTERFACE_DEFINED__ */
  435. #ifndef __IActiveIMMApp_INTERFACE_DEFINED__
  436. #define __IActiveIMMApp_INTERFACE_DEFINED__
  437. /* interface IActiveIMMApp */
  438. /* [unique][uuid][object] */ 
  439. EXTERN_C const IID IID_IActiveIMMApp;
  440. #if defined(__cplusplus) && !defined(CINTERFACE)
  441.     
  442.     MIDL_INTERFACE("08c0e040-62d1-11d1-9326-0060b067b86e")
  443.     IActiveIMMApp : public IUnknown
  444.     {
  445.     public:
  446.         virtual HRESULT STDMETHODCALLTYPE AssociateContext( 
  447.             /* [in] */ HWND hWnd,
  448.             /* [in] */ HIMC hIME,
  449.             /* [out] */ HIMC *phPrev) = 0;
  450.         
  451.         virtual HRESULT STDMETHODCALLTYPE ConfigureIMEA( 
  452.             /* [in] */ HKL hKL,
  453.             /* [in] */ HWND hWnd,
  454.             /* [in] */ DWORD dwMode,
  455.             /* [in] */ REGISTERWORDA *pData) = 0;
  456.         
  457.         virtual HRESULT STDMETHODCALLTYPE ConfigureIMEW( 
  458.             /* [in] */ HKL hKL,
  459.             /* [in] */ HWND hWnd,
  460.             /* [in] */ DWORD dwMode,
  461.             /* [in] */ REGISTERWORDW *pData) = 0;
  462.         
  463.         virtual HRESULT STDMETHODCALLTYPE CreateContext( 
  464.             /* [out] */ HIMC *phIMC) = 0;
  465.         
  466.         virtual HRESULT STDMETHODCALLTYPE DestroyContext( 
  467.             /* [in] */ HIMC hIME) = 0;
  468.         
  469.         virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordA( 
  470.             /* [in] */ HKL hKL,
  471.             /* [in] */ LPSTR szReading,
  472.             /* [in] */ DWORD dwStyle,
  473.             /* [in] */ LPSTR szRegister,
  474.             /* [in] */ LPVOID pData,
  475.             /* [out] */ IEnumRegisterWordA **pEnum) = 0;
  476.         
  477.         virtual HRESULT STDMETHODCALLTYPE EnumRegisterWordW( 
  478.             /* [in] */ HKL hKL,
  479.             /* [in] */ LPWSTR szReading,
  480.             /* [in] */ DWORD dwStyle,
  481.             /* [in] */ LPWSTR szRegister,
  482.             /* [in] */ LPVOID pData,
  483.             /* [out] */ IEnumRegisterWordW **pEnum) = 0;
  484.         
  485.         virtual HRESULT STDMETHODCALLTYPE EscapeA( 
  486.             /* [in] */ HKL hKL,
  487.             /* [in] */ HIMC hIMC,
  488.             /* [in] */ UINT uEscape,
  489.             /* [out][in] */ LPVOID pData,
  490.             /* [out] */ LRESULT *plResult) = 0;
  491.         
  492.         virtual HRESULT STDMETHODCALLTYPE EscapeW( 
  493.             /* [in] */ HKL hKL,
  494.             /* [in] */ HIMC hIMC,
  495.             /* [in] */ UINT uEscape,
  496.             /* [out][in] */ LPVOID pData,
  497.             /* [out] */ LRESULT *plResult) = 0;
  498.         
  499.         virtual HRESULT STDMETHODCALLTYPE GetCandidateListA( 
  500.             /* [in] */ HIMC hIMC,
  501.             /* [in] */ DWORD dwIndex,
  502.             /* [in] */ UINT uBufLen,
  503.             /* [out] */ CANDIDATELIST *pCandList,
  504.             /* [out] */ UINT *puCopied) = 0;
  505.         
  506.         virtual HRESULT STDMETHODCALLTYPE GetCandidateListW( 
  507.             /* [in] */ HIMC hIMC,
  508.             /* [in] */ DWORD dwIndex,
  509.             /* [in] */ UINT uBufLen,
  510.             /* [out] */ CANDIDATELIST *pCandList,
  511.             /* [out] */ UINT *puCopied) = 0;
  512.         
  513.         virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountA( 
  514.             /* [in] */ HIMC hIMC,
  515.             /* [out] */ DWORD *pdwListSize,
  516.             /* [out] */ DWORD *pdwBufLen) = 0;
  517.         
  518.         virtual HRESULT STDMETHODCALLTYPE GetCandidateListCountW( 
  519.             /* [in] */ HIMC hIMC,
  520.             /* [out] */ DWORD *pdwListSize,
  521.             /* [out] */ DWORD *pdwBufLen) = 0;
  522.         
  523.         virtual HRESULT STDMETHODCALLTYPE GetCandidateWindow( 
  524.             /* [in] */ HIMC hIMC,
  525.             /* [in] */ DWORD dwIndex,
  526.             /* [out] */ CANDIDATEFORM *pCandidate) = 0;
  527.         
  528.         virtual HRESULT STDMETHODCALLTYPE GetCompositionFontA( 
  529.             /* [in] */ HIMC hIMC,
  530.             /* [out] */ LOGFONTA *plf) = 0;
  531.         
  532.         virtual HRESULT STDMETHODCALLTYPE GetCompositionFontW( 
  533.             /* [in] */ HIMC hIMC,
  534.             /* [out] */ LOGFONTW *plf) = 0;
  535.         
  536.         virtual HRESULT STDMETHODCALLTYPE GetCompositionStringA( 
  537.             /* [in] */ HIMC hIMC,
  538.             /* [in] */ DWORD dwIndex,
  539.             /* [in] */ DWORD dwBufLen,
  540.             /* [out] */ LONG *plCopied,
  541.             /* [out] */ LPVOID pBuf) = 0;
  542.         
  543.         virtual HRESULT STDMETHODCALLTYPE GetCompositionStringW( 
  544.             /* [in] */ HIMC hIMC,
  545.             /* [in] */ DWORD dwIndex,
  546.             /* [in] */ DWORD dwBufLen,
  547.             /* [out] */ LONG *plCopied,
  548.             /* [out] */ LPVOID pBuf) = 0;
  549.         
  550.         virtual HRESULT STDMETHODCALLTYPE GetCompositionWindow( 
  551.             /* [in] */ HIMC hIMC,
  552.             /* [out] */ COMPOSITIONFORM *pCompForm) = 0;
  553.         
  554.         virtual HRESULT STDMETHODCALLTYPE GetContext( 
  555.             /* [in] */ HWND hWnd,
  556.             /* [out] */ HIMC *phIMC) = 0;
  557.         
  558.         virtual HRESULT STDMETHODCALLTYPE GetConversionListA( 
  559.             /* [in] */ HKL hKL,
  560.             /* [in] */ HIMC hIMC,
  561.             /* [in] */ LPSTR pSrc,
  562.             /* [in] */ UINT uBufLen,
  563.             /* [in] */ UINT uFlag,
  564.             /* [out] */ CANDIDATELIST *pDst,
  565.             /* [out] */ UINT *puCopied) = 0;
  566.         
  567.         virtual HRESULT STDMETHODCALLTYPE GetConversionListW( 
  568.             /* [in] */ HKL hKL,
  569.             /* [in] */ HIMC hIMC,
  570.             /* [in] */ LPWSTR pSrc,
  571.             /* [in] */ UINT uBufLen,
  572.             /* [in] */ UINT uFlag,
  573.             /* [out] */ CANDIDATELIST *pDst,
  574.             /* [out] */ UINT *puCopied) = 0;
  575.         
  576.         virtual HRESULT STDMETHODCALLTYPE GetConversionStatus( 
  577.             /* [in] */ HIMC hIMC,
  578.             /* [out] */ DWORD *pfdwConversion,
  579.             /* [out] */ DWORD *pfdwSentence) = 0;
  580.         
  581.         virtual HRESULT STDMETHODCALLTYPE GetDefaultIMEWnd( 
  582.             /* [in] */ HWND hWnd,
  583.             /* [out] */ HWND *phDefWnd) = 0;
  584.         
  585.         virtual HRESULT STDMETHODCALLTYPE GetDescriptionA( 
  586.             /* [in] */ HKL hKL,
  587.             /* [in] */ UINT uBufLen,
  588.             /* [out] */ LPSTR szDescription,
  589.             /* [out] */ UINT *puCopied) = 0;
  590.         
  591.         virtual HRESULT STDMETHODCALLTYPE GetDescriptionW( 
  592.             /* [in] */ HKL hKL,
  593.             /* [in] */ UINT uBufLen,
  594.             /* [out] */ LPWSTR szDescription,
  595.             /* [out] */ UINT *puCopied) = 0;
  596.         
  597.         virtual HRESULT STDMETHODCALLTYPE GetGuideLineA( 
  598.             /* [in] */ HIMC hIMC,
  599.             /* [in] */ DWORD dwIndex,
  600.             /* [in] */ DWORD dwBufLen,
  601.             /* [out] */ LPSTR pBuf,
  602.             /* [out] */ DWORD *pdwResult) = 0;
  603.         
  604.         virtual HRESULT STDMETHODCALLTYPE GetGuideLineW( 
  605.             /* [in] */ HIMC hIMC,
  606.             /* [in] */ DWORD dwIndex,
  607.             /* [in] */ DWORD dwBufLen,
  608.             /* [out] */ LPWSTR pBuf,
  609.             /* [out] */ DWORD *pdwResult) = 0;
  610.         
  611.         virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameA( 
  612.             /* [in] */ HKL hKL,
  613.             /* [in] */ UINT uBufLen,
  614.             /* [out] */ LPSTR szFileName,
  615.             /* [out] */ UINT *puCopied) = 0;
  616.         
  617.         virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameW( 
  618.             /* [in] */ HKL hKL,
  619.             /* [in] */ UINT uBufLen,
  620.             /* [out] */ LPWSTR szFileName,
  621.             /* [out] */ UINT *puCopied) = 0;
  622.         
  623.         virtual HRESULT STDMETHODCALLTYPE GetOpenStatus( 
  624.             /* [in] */ HIMC hIMC) = 0;
  625.         
  626.         virtual HRESULT STDMETHODCALLTYPE GetProperty( 
  627.             /* [in] */ HKL hKL,
  628.             /* [in] */ DWORD fdwIndex,
  629.             /* [out] */ DWORD *pdwProperty) = 0;
  630.         
  631.         virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleA( 
  632.             /* [in] */ HKL hKL,
  633.             /* [in] */ UINT nItem,
  634.             /* [out] */ STYLEBUFA *pStyleBuf,
  635.             /* [out] */ UINT *puCopied) = 0;
  636.         
  637.         virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleW( 
  638.             /* [in] */ HKL hKL,
  639.             /* [in] */ UINT nItem,
  640.             /* [out] */ STYLEBUFW *pStyleBuf,
  641.             /* [out] */ UINT *puCopied) = 0;
  642.         
  643.         virtual HRESULT STDMETHODCALLTYPE GetStatusWindowPos( 
  644.             /* [in] */ HIMC hIMC,
  645.             /* [out] */ POINT *pptPos) = 0;
  646.         
  647.         virtual HRESULT STDMETHODCALLTYPE GetVirtualKey( 
  648.             /* [in] */ HWND hWnd,
  649.             /* [out] */ UINT *puVirtualKey) = 0;
  650.         
  651.         virtual HRESULT STDMETHODCALLTYPE InstallIMEA( 
  652.             /* [in] */ LPSTR szIMEFileName,
  653.             /* [in] */ LPSTR szLayoutText,
  654.             /* [out] */ HKL *phKL) = 0;
  655.         
  656.         virtual HRESULT STDMETHODCALLTYPE InstallIMEW( 
  657.             /* [in] */ LPWSTR szIMEFileName,
  658.             /* [in] */ LPWSTR szLayoutText,
  659.             /* [out] */ HKL *phKL) = 0;
  660.         
  661.         virtual HRESULT STDMETHODCALLTYPE IsIME( 
  662.             /* [in] */ HKL hKL) = 0;
  663.         
  664.         virtual HRESULT STDMETHODCALLTYPE IsUIMessageA( 
  665.             /* [in] */ HWND hWndIME,
  666.             /* [in] */ UINT msg,
  667.             /* [in] */ WPARAM wParam,
  668.             /* [in] */ LPARAM lParam) = 0;
  669.         
  670.         virtual HRESULT STDMETHODCALLTYPE IsUIMessageW( 
  671.             /* [in] */ HWND hWndIME,
  672.             /* [in] */ UINT msg,
  673.             /* [in] */ WPARAM wParam,
  674.             /* [in] */ LPARAM lParam) = 0;
  675.         
  676.         virtual HRESULT STDMETHODCALLTYPE NotifyIME( 
  677.             /* [in] */ HIMC hIMC,
  678.             /* [in] */ DWORD dwAction,
  679.             /* [in] */ DWORD dwIndex,
  680.             /* [in] */ DWORD dwValue) = 0;
  681.         
  682.         virtual HRESULT STDMETHODCALLTYPE RegisterWordA( 
  683.             /* [in] */ HKL hKL,
  684.             /* [in] */ LPSTR szReading,
  685.             /* [in] */ DWORD dwStyle,
  686.             /* [in] */ LPSTR szRegister) = 0;
  687.         
  688.         virtual HRESULT STDMETHODCALLTYPE RegisterWordW( 
  689.             /* [in] */ HKL hKL,
  690.             /* [in] */ LPWSTR szReading,
  691.             /* [in] */ DWORD dwStyle,
  692.             /* [in] */ LPWSTR szRegister) = 0;
  693.         
  694.         virtual HRESULT STDMETHODCALLTYPE ReleaseContext( 
  695.             /* [in] */ HWND hWnd,
  696.             /* [in] */ HIMC hIMC) = 0;
  697.         
  698.         virtual HRESULT STDMETHODCALLTYPE SetCandidateWindow( 
  699.             /* [in] */ HIMC hIMC,
  700.             /* [in] */ CANDIDATEFORM *pCandidate) = 0;
  701.         
  702.         virtual HRESULT STDMETHODCALLTYPE SetCompositionFontA( 
  703.             /* [in] */ HIMC hIMC,
  704.             /* [in] */ LOGFONTA *plf) = 0;
  705.         
  706.         virtual HRESULT STDMETHODCALLTYPE SetCompositionFontW( 
  707.             /* [in] */ HIMC hIMC,
  708.             /* [in] */ LOGFONTW *plf) = 0;
  709.         
  710.         virtual HRESULT STDMETHODCALLTYPE SetCompositionStringA( 
  711.             /* [in] */ HIMC hIMC,
  712.             /* [in] */ DWORD dwIndex,
  713.             /* [in] */ LPVOID pComp,
  714.             /* [in] */ DWORD dwCompLen,
  715.             /* [in] */ LPVOID pRead,
  716.             /* [in] */ DWORD dwReadLen) = 0;
  717.         
  718.         virtual HRESULT STDMETHODCALLTYPE SetCompositionStringW( 
  719.             /* [in] */ HIMC hIMC,
  720.             /* [in] */ DWORD dwIndex,
  721.             /* [in] */ LPVOID pComp,
  722.             /* [in] */ DWORD dwCompLen,
  723.             /* [in] */ LPVOID pRead,
  724.             /* [in] */ DWORD dwReadLen) = 0;
  725.         
  726.         virtual HRESULT STDMETHODCALLTYPE SetCompositionWindow( 
  727.             /* [in] */ HIMC hIMC,
  728.             /* [in] */ COMPOSITIONFORM *pCompForm) = 0;
  729.         
  730.         virtual HRESULT STDMETHODCALLTYPE SetConversionStatus( 
  731.             /* [in] */ HIMC hIMC,
  732.             /* [in] */ DWORD fdwConversion,
  733.             /* [in] */ DWORD fdwSentence) = 0;
  734.         
  735.         virtual HRESULT STDMETHODCALLTYPE SetOpenStatus( 
  736.             /* [in] */ HIMC hIMC,
  737.             /* [in] */ BOOL fOpen) = 0;
  738.         
  739.         virtual HRESULT STDMETHODCALLTYPE SetStatusWindowPos( 
  740.             /* [in] */ HIMC hIMC,
  741.             /* [in] */ POINT *pptPos) = 0;
  742.         
  743.         virtual HRESULT STDMETHODCALLTYPE SimulateHotKey( 
  744.             /* [in] */ HWND hWnd,
  745.             /* [in] */ DWORD dwHotKeyID) = 0;
  746.         
  747.         virtual HRESULT STDMETHODCALLTYPE UnregisterWordA( 
  748.             /* [in] */ HKL hKL,
  749.             /* [in] */ LPSTR szReading,
  750.             /* [in] */ DWORD dwStyle,
  751.             /* [in] */ LPSTR szUnregister) = 0;
  752.         
  753.         virtual HRESULT STDMETHODCALLTYPE UnregisterWordW( 
  754.             /* [in] */ HKL hKL,
  755.             /* [in] */ LPWSTR szReading,
  756.             /* [in] */ DWORD dwStyle,
  757.             /* [in] */ LPWSTR szUnregister) = 0;
  758.         
  759.         virtual HRESULT STDMETHODCALLTYPE Activate( 
  760.             /* [in] */ BOOL fRestoreLayout) = 0;
  761.         
  762.         virtual HRESULT STDMETHODCALLTYPE Deactivate( void) = 0;
  763.         
  764.         virtual HRESULT STDMETHODCALLTYPE OnDefWindowProc( 
  765.             /* [in] */ HWND hWnd,
  766.             /* [in] */ UINT Msg,
  767.             /* [in] */ WPARAM wParam,
  768.             /* [in] */ LPARAM lParam,
  769.             /* [out] */ LRESULT *plResult) = 0;
  770.         
  771.         virtual HRESULT STDMETHODCALLTYPE FilterClientWindows( 
  772.             /* [in] */ ATOM *aaClassList,
  773.             /* [in] */ UINT uSize) = 0;
  774.         
  775.         virtual HRESULT STDMETHODCALLTYPE GetCodePageA( 
  776.             /* [in] */ HKL hKL,
  777.             /* [out] */ UINT *uCodePage) = 0;
  778.         
  779.         virtual HRESULT STDMETHODCALLTYPE GetLangId( 
  780.             /* [in] */ HKL hKL,
  781.             /* [out] */ LANGID *plid) = 0;
  782.         
  783.         virtual HRESULT STDMETHODCALLTYPE AssociateContextEx( 
  784.             /* [in] */ HWND hWnd,
  785.             /* [in] */ HIMC hIMC,
  786.             /* [in] */ DWORD dwFlags) = 0;
  787.         
  788.         virtual HRESULT STDMETHODCALLTYPE DisableIME( 
  789.             /* [in] */ DWORD idThread) = 0;
  790.         
  791.         virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsA( 
  792.             /* [in] */ HIMC hIMC,
  793.             /* [in] */ DWORD dwFlags,
  794.             /* [in] */ DWORD dwType,
  795.             /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  796.             /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  797.             /* [in] */ DWORD dwSize,
  798.             /* [out] */ DWORD *pdwResult) = 0;
  799.         
  800.         virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsW( 
  801.             /* [in] */ HIMC hIMC,
  802.             /* [in] */ DWORD dwFlags,
  803.             /* [in] */ DWORD dwType,
  804.             /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  805.             /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  806.             /* [in] */ DWORD dwSize,
  807.             /* [out] */ DWORD *pdwResult) = 0;
  808.         
  809.         virtual HRESULT STDMETHODCALLTYPE EnumInputContext( 
  810.             /* [in] */ DWORD idThread,
  811.             /* [out] */ IEnumInputContext **ppEnum) = 0;
  812.         
  813.     };
  814.     
  815. #else  /* C style interface */
  816.     typedef struct IActiveIMMAppVtbl
  817.     {
  818.         BEGIN_INTERFACE
  819.         
  820.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  821.             IActiveIMMApp * This,
  822.             /* [in] */ REFIID riid,
  823.             /* [iid_is][out] */ void **ppvObject);
  824.         
  825.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  826.             IActiveIMMApp * This);
  827.         
  828.         ULONG ( STDMETHODCALLTYPE *Release )( 
  829.             IActiveIMMApp * This);
  830.         
  831.         HRESULT ( STDMETHODCALLTYPE *AssociateContext )( 
  832.             IActiveIMMApp * This,
  833.             /* [in] */ HWND hWnd,
  834.             /* [in] */ HIMC hIME,
  835.             /* [out] */ HIMC *phPrev);
  836.         
  837.         HRESULT ( STDMETHODCALLTYPE *ConfigureIMEA )( 
  838.             IActiveIMMApp * This,
  839.             /* [in] */ HKL hKL,
  840.             /* [in] */ HWND hWnd,
  841.             /* [in] */ DWORD dwMode,
  842.             /* [in] */ REGISTERWORDA *pData);
  843.         
  844.         HRESULT ( STDMETHODCALLTYPE *ConfigureIMEW )( 
  845.             IActiveIMMApp * This,
  846.             /* [in] */ HKL hKL,
  847.             /* [in] */ HWND hWnd,
  848.             /* [in] */ DWORD dwMode,
  849.             /* [in] */ REGISTERWORDW *pData);
  850.         
  851.         HRESULT ( STDMETHODCALLTYPE *CreateContext )( 
  852.             IActiveIMMApp * This,
  853.             /* [out] */ HIMC *phIMC);
  854.         
  855.         HRESULT ( STDMETHODCALLTYPE *DestroyContext )( 
  856.             IActiveIMMApp * This,
  857.             /* [in] */ HIMC hIME);
  858.         
  859.         HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordA )( 
  860.             IActiveIMMApp * This,
  861.             /* [in] */ HKL hKL,
  862.             /* [in] */ LPSTR szReading,
  863.             /* [in] */ DWORD dwStyle,
  864.             /* [in] */ LPSTR szRegister,
  865.             /* [in] */ LPVOID pData,
  866.             /* [out] */ IEnumRegisterWordA **pEnum);
  867.         
  868.         HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordW )( 
  869.             IActiveIMMApp * This,
  870.             /* [in] */ HKL hKL,
  871.             /* [in] */ LPWSTR szReading,
  872.             /* [in] */ DWORD dwStyle,
  873.             /* [in] */ LPWSTR szRegister,
  874.             /* [in] */ LPVOID pData,
  875.             /* [out] */ IEnumRegisterWordW **pEnum);
  876.         
  877.         HRESULT ( STDMETHODCALLTYPE *EscapeA )( 
  878.             IActiveIMMApp * This,
  879.             /* [in] */ HKL hKL,
  880.             /* [in] */ HIMC hIMC,
  881.             /* [in] */ UINT uEscape,
  882.             /* [out][in] */ LPVOID pData,
  883.             /* [out] */ LRESULT *plResult);
  884.         
  885.         HRESULT ( STDMETHODCALLTYPE *EscapeW )( 
  886.             IActiveIMMApp * This,
  887.             /* [in] */ HKL hKL,
  888.             /* [in] */ HIMC hIMC,
  889.             /* [in] */ UINT uEscape,
  890.             /* [out][in] */ LPVOID pData,
  891.             /* [out] */ LRESULT *plResult);
  892.         
  893.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListA )( 
  894.             IActiveIMMApp * This,
  895.             /* [in] */ HIMC hIMC,
  896.             /* [in] */ DWORD dwIndex,
  897.             /* [in] */ UINT uBufLen,
  898.             /* [out] */ CANDIDATELIST *pCandList,
  899.             /* [out] */ UINT *puCopied);
  900.         
  901.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListW )( 
  902.             IActiveIMMApp * This,
  903.             /* [in] */ HIMC hIMC,
  904.             /* [in] */ DWORD dwIndex,
  905.             /* [in] */ UINT uBufLen,
  906.             /* [out] */ CANDIDATELIST *pCandList,
  907.             /* [out] */ UINT *puCopied);
  908.         
  909.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountA )( 
  910.             IActiveIMMApp * This,
  911.             /* [in] */ HIMC hIMC,
  912.             /* [out] */ DWORD *pdwListSize,
  913.             /* [out] */ DWORD *pdwBufLen);
  914.         
  915.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountW )( 
  916.             IActiveIMMApp * This,
  917.             /* [in] */ HIMC hIMC,
  918.             /* [out] */ DWORD *pdwListSize,
  919.             /* [out] */ DWORD *pdwBufLen);
  920.         
  921.         HRESULT ( STDMETHODCALLTYPE *GetCandidateWindow )( 
  922.             IActiveIMMApp * This,
  923.             /* [in] */ HIMC hIMC,
  924.             /* [in] */ DWORD dwIndex,
  925.             /* [out] */ CANDIDATEFORM *pCandidate);
  926.         
  927.         HRESULT ( STDMETHODCALLTYPE *GetCompositionFontA )( 
  928.             IActiveIMMApp * This,
  929.             /* [in] */ HIMC hIMC,
  930.             /* [out] */ LOGFONTA *plf);
  931.         
  932.         HRESULT ( STDMETHODCALLTYPE *GetCompositionFontW )( 
  933.             IActiveIMMApp * This,
  934.             /* [in] */ HIMC hIMC,
  935.             /* [out] */ LOGFONTW *plf);
  936.         
  937.         HRESULT ( STDMETHODCALLTYPE *GetCompositionStringA )( 
  938.             IActiveIMMApp * This,
  939.             /* [in] */ HIMC hIMC,
  940.             /* [in] */ DWORD dwIndex,
  941.             /* [in] */ DWORD dwBufLen,
  942.             /* [out] */ LONG *plCopied,
  943.             /* [out] */ LPVOID pBuf);
  944.         
  945.         HRESULT ( STDMETHODCALLTYPE *GetCompositionStringW )( 
  946.             IActiveIMMApp * This,
  947.             /* [in] */ HIMC hIMC,
  948.             /* [in] */ DWORD dwIndex,
  949.             /* [in] */ DWORD dwBufLen,
  950.             /* [out] */ LONG *plCopied,
  951.             /* [out] */ LPVOID pBuf);
  952.         
  953.         HRESULT ( STDMETHODCALLTYPE *GetCompositionWindow )( 
  954.             IActiveIMMApp * This,
  955.             /* [in] */ HIMC hIMC,
  956.             /* [out] */ COMPOSITIONFORM *pCompForm);
  957.         
  958.         HRESULT ( STDMETHODCALLTYPE *GetContext )( 
  959.             IActiveIMMApp * This,
  960.             /* [in] */ HWND hWnd,
  961.             /* [out] */ HIMC *phIMC);
  962.         
  963.         HRESULT ( STDMETHODCALLTYPE *GetConversionListA )( 
  964.             IActiveIMMApp * This,
  965.             /* [in] */ HKL hKL,
  966.             /* [in] */ HIMC hIMC,
  967.             /* [in] */ LPSTR pSrc,
  968.             /* [in] */ UINT uBufLen,
  969.             /* [in] */ UINT uFlag,
  970.             /* [out] */ CANDIDATELIST *pDst,
  971.             /* [out] */ UINT *puCopied);
  972.         
  973.         HRESULT ( STDMETHODCALLTYPE *GetConversionListW )( 
  974.             IActiveIMMApp * This,
  975.             /* [in] */ HKL hKL,
  976.             /* [in] */ HIMC hIMC,
  977.             /* [in] */ LPWSTR pSrc,
  978.             /* [in] */ UINT uBufLen,
  979.             /* [in] */ UINT uFlag,
  980.             /* [out] */ CANDIDATELIST *pDst,
  981.             /* [out] */ UINT *puCopied);
  982.         
  983.         HRESULT ( STDMETHODCALLTYPE *GetConversionStatus )( 
  984.             IActiveIMMApp * This,
  985.             /* [in] */ HIMC hIMC,
  986.             /* [out] */ DWORD *pfdwConversion,
  987.             /* [out] */ DWORD *pfdwSentence);
  988.         
  989.         HRESULT ( STDMETHODCALLTYPE *GetDefaultIMEWnd )( 
  990.             IActiveIMMApp * This,
  991.             /* [in] */ HWND hWnd,
  992.             /* [out] */ HWND *phDefWnd);
  993.         
  994.         HRESULT ( STDMETHODCALLTYPE *GetDescriptionA )( 
  995.             IActiveIMMApp * This,
  996.             /* [in] */ HKL hKL,
  997.             /* [in] */ UINT uBufLen,
  998.             /* [out] */ LPSTR szDescription,
  999.             /* [out] */ UINT *puCopied);
  1000.         
  1001.         HRESULT ( STDMETHODCALLTYPE *GetDescriptionW )( 
  1002.             IActiveIMMApp * This,
  1003.             /* [in] */ HKL hKL,
  1004.             /* [in] */ UINT uBufLen,
  1005.             /* [out] */ LPWSTR szDescription,
  1006.             /* [out] */ UINT *puCopied);
  1007.         
  1008.         HRESULT ( STDMETHODCALLTYPE *GetGuideLineA )( 
  1009.             IActiveIMMApp * This,
  1010.             /* [in] */ HIMC hIMC,
  1011.             /* [in] */ DWORD dwIndex,
  1012.             /* [in] */ DWORD dwBufLen,
  1013.             /* [out] */ LPSTR pBuf,
  1014.             /* [out] */ DWORD *pdwResult);
  1015.         
  1016.         HRESULT ( STDMETHODCALLTYPE *GetGuideLineW )( 
  1017.             IActiveIMMApp * This,
  1018.             /* [in] */ HIMC hIMC,
  1019.             /* [in] */ DWORD dwIndex,
  1020.             /* [in] */ DWORD dwBufLen,
  1021.             /* [out] */ LPWSTR pBuf,
  1022.             /* [out] */ DWORD *pdwResult);
  1023.         
  1024.         HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameA )( 
  1025.             IActiveIMMApp * This,
  1026.             /* [in] */ HKL hKL,
  1027.             /* [in] */ UINT uBufLen,
  1028.             /* [out] */ LPSTR szFileName,
  1029.             /* [out] */ UINT *puCopied);
  1030.         
  1031.         HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameW )( 
  1032.             IActiveIMMApp * This,
  1033.             /* [in] */ HKL hKL,
  1034.             /* [in] */ UINT uBufLen,
  1035.             /* [out] */ LPWSTR szFileName,
  1036.             /* [out] */ UINT *puCopied);
  1037.         
  1038.         HRESULT ( STDMETHODCALLTYPE *GetOpenStatus )( 
  1039.             IActiveIMMApp * This,
  1040.             /* [in] */ HIMC hIMC);
  1041.         
  1042.         HRESULT ( STDMETHODCALLTYPE *GetProperty )( 
  1043.             IActiveIMMApp * This,
  1044.             /* [in] */ HKL hKL,
  1045.             /* [in] */ DWORD fdwIndex,
  1046.             /* [out] */ DWORD *pdwProperty);
  1047.         
  1048.         HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleA )( 
  1049.             IActiveIMMApp * This,
  1050.             /* [in] */ HKL hKL,
  1051.             /* [in] */ UINT nItem,
  1052.             /* [out] */ STYLEBUFA *pStyleBuf,
  1053.             /* [out] */ UINT *puCopied);
  1054.         
  1055.         HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleW )( 
  1056.             IActiveIMMApp * This,
  1057.             /* [in] */ HKL hKL,
  1058.             /* [in] */ UINT nItem,
  1059.             /* [out] */ STYLEBUFW *pStyleBuf,
  1060.             /* [out] */ UINT *puCopied);
  1061.         
  1062.         HRESULT ( STDMETHODCALLTYPE *GetStatusWindowPos )( 
  1063.             IActiveIMMApp * This,
  1064.             /* [in] */ HIMC hIMC,
  1065.             /* [out] */ POINT *pptPos);
  1066.         
  1067.         HRESULT ( STDMETHODCALLTYPE *GetVirtualKey )( 
  1068.             IActiveIMMApp * This,
  1069.             /* [in] */ HWND hWnd,
  1070.             /* [out] */ UINT *puVirtualKey);
  1071.         
  1072.         HRESULT ( STDMETHODCALLTYPE *InstallIMEA )( 
  1073.             IActiveIMMApp * This,
  1074.             /* [in] */ LPSTR szIMEFileName,
  1075.             /* [in] */ LPSTR szLayoutText,
  1076.             /* [out] */ HKL *phKL);
  1077.         
  1078.         HRESULT ( STDMETHODCALLTYPE *InstallIMEW )( 
  1079.             IActiveIMMApp * This,
  1080.             /* [in] */ LPWSTR szIMEFileName,
  1081.             /* [in] */ LPWSTR szLayoutText,
  1082.             /* [out] */ HKL *phKL);
  1083.         
  1084.         HRESULT ( STDMETHODCALLTYPE *IsIME )( 
  1085.             IActiveIMMApp * This,
  1086.             /* [in] */ HKL hKL);
  1087.         
  1088.         HRESULT ( STDMETHODCALLTYPE *IsUIMessageA )( 
  1089.             IActiveIMMApp * This,
  1090.             /* [in] */ HWND hWndIME,
  1091.             /* [in] */ UINT msg,
  1092.             /* [in] */ WPARAM wParam,
  1093.             /* [in] */ LPARAM lParam);
  1094.         
  1095.         HRESULT ( STDMETHODCALLTYPE *IsUIMessageW )( 
  1096.             IActiveIMMApp * This,
  1097.             /* [in] */ HWND hWndIME,
  1098.             /* [in] */ UINT msg,
  1099.             /* [in] */ WPARAM wParam,
  1100.             /* [in] */ LPARAM lParam);
  1101.         
  1102.         HRESULT ( STDMETHODCALLTYPE *NotifyIME )( 
  1103.             IActiveIMMApp * This,
  1104.             /* [in] */ HIMC hIMC,
  1105.             /* [in] */ DWORD dwAction,
  1106.             /* [in] */ DWORD dwIndex,
  1107.             /* [in] */ DWORD dwValue);
  1108.         
  1109.         HRESULT ( STDMETHODCALLTYPE *RegisterWordA )( 
  1110.             IActiveIMMApp * This,
  1111.             /* [in] */ HKL hKL,
  1112.             /* [in] */ LPSTR szReading,
  1113.             /* [in] */ DWORD dwStyle,
  1114.             /* [in] */ LPSTR szRegister);
  1115.         
  1116.         HRESULT ( STDMETHODCALLTYPE *RegisterWordW )( 
  1117.             IActiveIMMApp * This,
  1118.             /* [in] */ HKL hKL,
  1119.             /* [in] */ LPWSTR szReading,
  1120.             /* [in] */ DWORD dwStyle,
  1121.             /* [in] */ LPWSTR szRegister);
  1122.         
  1123.         HRESULT ( STDMETHODCALLTYPE *ReleaseContext )( 
  1124.             IActiveIMMApp * This,
  1125.             /* [in] */ HWND hWnd,
  1126.             /* [in] */ HIMC hIMC);
  1127.         
  1128.         HRESULT ( STDMETHODCALLTYPE *SetCandidateWindow )( 
  1129.             IActiveIMMApp * This,
  1130.             /* [in] */ HIMC hIMC,
  1131.             /* [in] */ CANDIDATEFORM *pCandidate);
  1132.         
  1133.         HRESULT ( STDMETHODCALLTYPE *SetCompositionFontA )( 
  1134.             IActiveIMMApp * This,
  1135.             /* [in] */ HIMC hIMC,
  1136.             /* [in] */ LOGFONTA *plf);
  1137.         
  1138.         HRESULT ( STDMETHODCALLTYPE *SetCompositionFontW )( 
  1139.             IActiveIMMApp * This,
  1140.             /* [in] */ HIMC hIMC,
  1141.             /* [in] */ LOGFONTW *plf);
  1142.         
  1143.         HRESULT ( STDMETHODCALLTYPE *SetCompositionStringA )( 
  1144.             IActiveIMMApp * This,
  1145.             /* [in] */ HIMC hIMC,
  1146.             /* [in] */ DWORD dwIndex,
  1147.             /* [in] */ LPVOID pComp,
  1148.             /* [in] */ DWORD dwCompLen,
  1149.             /* [in] */ LPVOID pRead,
  1150.             /* [in] */ DWORD dwReadLen);
  1151.         
  1152.         HRESULT ( STDMETHODCALLTYPE *SetCompositionStringW )( 
  1153.             IActiveIMMApp * This,
  1154.             /* [in] */ HIMC hIMC,
  1155.             /* [in] */ DWORD dwIndex,
  1156.             /* [in] */ LPVOID pComp,
  1157.             /* [in] */ DWORD dwCompLen,
  1158.             /* [in] */ LPVOID pRead,
  1159.             /* [in] */ DWORD dwReadLen);
  1160.         
  1161.         HRESULT ( STDMETHODCALLTYPE *SetCompositionWindow )( 
  1162.             IActiveIMMApp * This,
  1163.             /* [in] */ HIMC hIMC,
  1164.             /* [in] */ COMPOSITIONFORM *pCompForm);
  1165.         
  1166.         HRESULT ( STDMETHODCALLTYPE *SetConversionStatus )( 
  1167.             IActiveIMMApp * This,
  1168.             /* [in] */ HIMC hIMC,
  1169.             /* [in] */ DWORD fdwConversion,
  1170.             /* [in] */ DWORD fdwSentence);
  1171.         
  1172.         HRESULT ( STDMETHODCALLTYPE *SetOpenStatus )( 
  1173.             IActiveIMMApp * This,
  1174.             /* [in] */ HIMC hIMC,
  1175.             /* [in] */ BOOL fOpen);
  1176.         
  1177.         HRESULT ( STDMETHODCALLTYPE *SetStatusWindowPos )( 
  1178.             IActiveIMMApp * This,
  1179.             /* [in] */ HIMC hIMC,
  1180.             /* [in] */ POINT *pptPos);
  1181.         
  1182.         HRESULT ( STDMETHODCALLTYPE *SimulateHotKey )( 
  1183.             IActiveIMMApp * This,
  1184.             /* [in] */ HWND hWnd,
  1185.             /* [in] */ DWORD dwHotKeyID);
  1186.         
  1187.         HRESULT ( STDMETHODCALLTYPE *UnregisterWordA )( 
  1188.             IActiveIMMApp * This,
  1189.             /* [in] */ HKL hKL,
  1190.             /* [in] */ LPSTR szReading,
  1191.             /* [in] */ DWORD dwStyle,
  1192.             /* [in] */ LPSTR szUnregister);
  1193.         
  1194.         HRESULT ( STDMETHODCALLTYPE *UnregisterWordW )( 
  1195.             IActiveIMMApp * This,
  1196.             /* [in] */ HKL hKL,
  1197.             /* [in] */ LPWSTR szReading,
  1198.             /* [in] */ DWORD dwStyle,
  1199.             /* [in] */ LPWSTR szUnregister);
  1200.         
  1201.         HRESULT ( STDMETHODCALLTYPE *Activate )( 
  1202.             IActiveIMMApp * This,
  1203.             /* [in] */ BOOL fRestoreLayout);
  1204.         
  1205.         HRESULT ( STDMETHODCALLTYPE *Deactivate )( 
  1206.             IActiveIMMApp * This);
  1207.         
  1208.         HRESULT ( STDMETHODCALLTYPE *OnDefWindowProc )( 
  1209.             IActiveIMMApp * This,
  1210.             /* [in] */ HWND hWnd,
  1211.             /* [in] */ UINT Msg,
  1212.             /* [in] */ WPARAM wParam,
  1213.             /* [in] */ LPARAM lParam,
  1214.             /* [out] */ LRESULT *plResult);
  1215.         
  1216.         HRESULT ( STDMETHODCALLTYPE *FilterClientWindows )( 
  1217.             IActiveIMMApp * This,
  1218.             /* [in] */ ATOM *aaClassList,
  1219.             /* [in] */ UINT uSize);
  1220.         
  1221.         HRESULT ( STDMETHODCALLTYPE *GetCodePageA )( 
  1222.             IActiveIMMApp * This,
  1223.             /* [in] */ HKL hKL,
  1224.             /* [out] */ UINT *uCodePage);
  1225.         
  1226.         HRESULT ( STDMETHODCALLTYPE *GetLangId )( 
  1227.             IActiveIMMApp * This,
  1228.             /* [in] */ HKL hKL,
  1229.             /* [out] */ LANGID *plid);
  1230.         
  1231.         HRESULT ( STDMETHODCALLTYPE *AssociateContextEx )( 
  1232.             IActiveIMMApp * This,
  1233.             /* [in] */ HWND hWnd,
  1234.             /* [in] */ HIMC hIMC,
  1235.             /* [in] */ DWORD dwFlags);
  1236.         
  1237.         HRESULT ( STDMETHODCALLTYPE *DisableIME )( 
  1238.             IActiveIMMApp * This,
  1239.             /* [in] */ DWORD idThread);
  1240.         
  1241.         HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsA )( 
  1242.             IActiveIMMApp * This,
  1243.             /* [in] */ HIMC hIMC,
  1244.             /* [in] */ DWORD dwFlags,
  1245.             /* [in] */ DWORD dwType,
  1246.             /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  1247.             /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  1248.             /* [in] */ DWORD dwSize,
  1249.             /* [out] */ DWORD *pdwResult);
  1250.         
  1251.         HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsW )( 
  1252.             IActiveIMMApp * This,
  1253.             /* [in] */ HIMC hIMC,
  1254.             /* [in] */ DWORD dwFlags,
  1255.             /* [in] */ DWORD dwType,
  1256.             /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  1257.             /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  1258.             /* [in] */ DWORD dwSize,
  1259.             /* [out] */ DWORD *pdwResult);
  1260.         
  1261.         HRESULT ( STDMETHODCALLTYPE *EnumInputContext )( 
  1262.             IActiveIMMApp * This,
  1263.             /* [in] */ DWORD idThread,
  1264.             /* [out] */ IEnumInputContext **ppEnum);
  1265.         
  1266.         END_INTERFACE
  1267.     } IActiveIMMAppVtbl;
  1268.     interface IActiveIMMApp
  1269.     {
  1270.         CONST_VTBL struct IActiveIMMAppVtbl *lpVtbl;
  1271.     };
  1272.     
  1273. #ifdef COBJMACROS
  1274. #define IActiveIMMApp_QueryInterface(This,riid,ppvObject)
  1275.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1276. #define IActiveIMMApp_AddRef(This)
  1277.     (This)->lpVtbl -> AddRef(This)
  1278. #define IActiveIMMApp_Release(This)
  1279.     (This)->lpVtbl -> Release(This)
  1280. #define IActiveIMMApp_AssociateContext(This,hWnd,hIME,phPrev)
  1281.     (This)->lpVtbl -> AssociateContext(This,hWnd,hIME,phPrev)
  1282. #define IActiveIMMApp_ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  1283.     (This)->lpVtbl -> ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  1284. #define IActiveIMMApp_ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  1285.     (This)->lpVtbl -> ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  1286. #define IActiveIMMApp_CreateContext(This,phIMC)
  1287.     (This)->lpVtbl -> CreateContext(This,phIMC)
  1288. #define IActiveIMMApp_DestroyContext(This,hIME)
  1289.     (This)->lpVtbl -> DestroyContext(This,hIME)
  1290. #define IActiveIMMApp_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1291.     (This)->lpVtbl -> EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1292. #define IActiveIMMApp_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1293.     (This)->lpVtbl -> EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  1294. #define IActiveIMMApp_EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  1295.     (This)->lpVtbl -> EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  1296. #define IActiveIMMApp_EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  1297.     (This)->lpVtbl -> EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  1298. #define IActiveIMMApp_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1299.     (This)->lpVtbl -> GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1300. #define IActiveIMMApp_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1301.     (This)->lpVtbl -> GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  1302. #define IActiveIMMApp_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  1303.     (This)->lpVtbl -> GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  1304. #define IActiveIMMApp_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  1305.     (This)->lpVtbl -> GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  1306. #define IActiveIMMApp_GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  1307.     (This)->lpVtbl -> GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  1308. #define IActiveIMMApp_GetCompositionFontA(This,hIMC,plf)
  1309.     (This)->lpVtbl -> GetCompositionFontA(This,hIMC,plf)
  1310. #define IActiveIMMApp_GetCompositionFontW(This,hIMC,plf)
  1311.     (This)->lpVtbl -> GetCompositionFontW(This,hIMC,plf)
  1312. #define IActiveIMMApp_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1313.     (This)->lpVtbl -> GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1314. #define IActiveIMMApp_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1315.     (This)->lpVtbl -> GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  1316. #define IActiveIMMApp_GetCompositionWindow(This,hIMC,pCompForm)
  1317.     (This)->lpVtbl -> GetCompositionWindow(This,hIMC,pCompForm)
  1318. #define IActiveIMMApp_GetContext(This,hWnd,phIMC)
  1319.     (This)->lpVtbl -> GetContext(This,hWnd,phIMC)
  1320. #define IActiveIMMApp_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1321.     (This)->lpVtbl -> GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1322. #define IActiveIMMApp_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1323.     (This)->lpVtbl -> GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  1324. #define IActiveIMMApp_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  1325.     (This)->lpVtbl -> GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  1326. #define IActiveIMMApp_GetDefaultIMEWnd(This,hWnd,phDefWnd)
  1327.     (This)->lpVtbl -> GetDefaultIMEWnd(This,hWnd,phDefWnd)
  1328. #define IActiveIMMApp_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  1329.     (This)->lpVtbl -> GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  1330. #define IActiveIMMApp_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  1331.     (This)->lpVtbl -> GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  1332. #define IActiveIMMApp_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1333.     (This)->lpVtbl -> GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1334. #define IActiveIMMApp_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1335.     (This)->lpVtbl -> GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  1336. #define IActiveIMMApp_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  1337.     (This)->lpVtbl -> GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  1338. #define IActiveIMMApp_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  1339.     (This)->lpVtbl -> GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  1340. #define IActiveIMMApp_GetOpenStatus(This,hIMC)
  1341.     (This)->lpVtbl -> GetOpenStatus(This,hIMC)
  1342. #define IActiveIMMApp_GetProperty(This,hKL,fdwIndex,pdwProperty)
  1343.     (This)->lpVtbl -> GetProperty(This,hKL,fdwIndex,pdwProperty)
  1344. #define IActiveIMMApp_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  1345.     (This)->lpVtbl -> GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  1346. #define IActiveIMMApp_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  1347.     (This)->lpVtbl -> GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  1348. #define IActiveIMMApp_GetStatusWindowPos(This,hIMC,pptPos)
  1349.     (This)->lpVtbl -> GetStatusWindowPos(This,hIMC,pptPos)
  1350. #define IActiveIMMApp_GetVirtualKey(This,hWnd,puVirtualKey)
  1351.     (This)->lpVtbl -> GetVirtualKey(This,hWnd,puVirtualKey)
  1352. #define IActiveIMMApp_InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  1353.     (This)->lpVtbl -> InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  1354. #define IActiveIMMApp_InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  1355.     (This)->lpVtbl -> InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  1356. #define IActiveIMMApp_IsIME(This,hKL)
  1357.     (This)->lpVtbl -> IsIME(This,hKL)
  1358. #define IActiveIMMApp_IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  1359.     (This)->lpVtbl -> IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  1360. #define IActiveIMMApp_IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  1361.     (This)->lpVtbl -> IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  1362. #define IActiveIMMApp_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  1363.     (This)->lpVtbl -> NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  1364. #define IActiveIMMApp_RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  1365.     (This)->lpVtbl -> RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  1366. #define IActiveIMMApp_RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  1367.     (This)->lpVtbl -> RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  1368. #define IActiveIMMApp_ReleaseContext(This,hWnd,hIMC)
  1369.     (This)->lpVtbl -> ReleaseContext(This,hWnd,hIMC)
  1370. #define IActiveIMMApp_SetCandidateWindow(This,hIMC,pCandidate)
  1371.     (This)->lpVtbl -> SetCandidateWindow(This,hIMC,pCandidate)
  1372. #define IActiveIMMApp_SetCompositionFontA(This,hIMC,plf)
  1373.     (This)->lpVtbl -> SetCompositionFontA(This,hIMC,plf)
  1374. #define IActiveIMMApp_SetCompositionFontW(This,hIMC,plf)
  1375.     (This)->lpVtbl -> SetCompositionFontW(This,hIMC,plf)
  1376. #define IActiveIMMApp_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1377.     (This)->lpVtbl -> SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1378. #define IActiveIMMApp_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1379.     (This)->lpVtbl -> SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  1380. #define IActiveIMMApp_SetCompositionWindow(This,hIMC,pCompForm)
  1381.     (This)->lpVtbl -> SetCompositionWindow(This,hIMC,pCompForm)
  1382. #define IActiveIMMApp_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  1383.     (This)->lpVtbl -> SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  1384. #define IActiveIMMApp_SetOpenStatus(This,hIMC,fOpen)
  1385.     (This)->lpVtbl -> SetOpenStatus(This,hIMC,fOpen)
  1386. #define IActiveIMMApp_SetStatusWindowPos(This,hIMC,pptPos)
  1387.     (This)->lpVtbl -> SetStatusWindowPos(This,hIMC,pptPos)
  1388. #define IActiveIMMApp_SimulateHotKey(This,hWnd,dwHotKeyID)
  1389.     (This)->lpVtbl -> SimulateHotKey(This,hWnd,dwHotKeyID)
  1390. #define IActiveIMMApp_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  1391.     (This)->lpVtbl -> UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  1392. #define IActiveIMMApp_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  1393.     (This)->lpVtbl -> UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  1394. #define IActiveIMMApp_Activate(This,fRestoreLayout)
  1395.     (This)->lpVtbl -> Activate(This,fRestoreLayout)
  1396. #define IActiveIMMApp_Deactivate(This)
  1397.     (This)->lpVtbl -> Deactivate(This)
  1398. #define IActiveIMMApp_OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult)
  1399.     (This)->lpVtbl -> OnDefWindowProc(This,hWnd,Msg,wParam,lParam,plResult)
  1400. #define IActiveIMMApp_FilterClientWindows(This,aaClassList,uSize)
  1401.     (This)->lpVtbl -> FilterClientWindows(This,aaClassList,uSize)
  1402. #define IActiveIMMApp_GetCodePageA(This,hKL,uCodePage)
  1403.     (This)->lpVtbl -> GetCodePageA(This,hKL,uCodePage)
  1404. #define IActiveIMMApp_GetLangId(This,hKL,plid)
  1405.     (This)->lpVtbl -> GetLangId(This,hKL,plid)
  1406. #define IActiveIMMApp_AssociateContextEx(This,hWnd,hIMC,dwFlags)
  1407.     (This)->lpVtbl -> AssociateContextEx(This,hWnd,hIMC,dwFlags)
  1408. #define IActiveIMMApp_DisableIME(This,idThread)
  1409.     (This)->lpVtbl -> DisableIME(This,idThread)
  1410. #define IActiveIMMApp_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1411.     (This)->lpVtbl -> GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1412. #define IActiveIMMApp_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1413.     (This)->lpVtbl -> GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1414. #define IActiveIMMApp_EnumInputContext(This,idThread,ppEnum)
  1415.     (This)->lpVtbl -> EnumInputContext(This,idThread,ppEnum)
  1416. #endif /* COBJMACROS */
  1417. #endif  /* C style interface */
  1418. HRESULT STDMETHODCALLTYPE IActiveIMMApp_AssociateContext_Proxy( 
  1419.     IActiveIMMApp * This,
  1420.     /* [in] */ HWND hWnd,
  1421.     /* [in] */ HIMC hIME,
  1422.     /* [out] */ HIMC *phPrev);
  1423. void __RPC_STUB IActiveIMMApp_AssociateContext_Stub(
  1424.     IRpcStubBuffer *This,
  1425.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1426.     PRPC_MESSAGE _pRpcMessage,
  1427.     DWORD *_pdwStubPhase);
  1428. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ConfigureIMEA_Proxy( 
  1429.     IActiveIMMApp * This,
  1430.     /* [in] */ HKL hKL,
  1431.     /* [in] */ HWND hWnd,
  1432.     /* [in] */ DWORD dwMode,
  1433.     /* [in] */ REGISTERWORDA *pData);
  1434. void __RPC_STUB IActiveIMMApp_ConfigureIMEA_Stub(
  1435.     IRpcStubBuffer *This,
  1436.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1437.     PRPC_MESSAGE _pRpcMessage,
  1438.     DWORD *_pdwStubPhase);
  1439. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ConfigureIMEW_Proxy( 
  1440.     IActiveIMMApp * This,
  1441.     /* [in] */ HKL hKL,
  1442.     /* [in] */ HWND hWnd,
  1443.     /* [in] */ DWORD dwMode,
  1444.     /* [in] */ REGISTERWORDW *pData);
  1445. void __RPC_STUB IActiveIMMApp_ConfigureIMEW_Stub(
  1446.     IRpcStubBuffer *This,
  1447.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1448.     PRPC_MESSAGE _pRpcMessage,
  1449.     DWORD *_pdwStubPhase);
  1450. HRESULT STDMETHODCALLTYPE IActiveIMMApp_CreateContext_Proxy( 
  1451.     IActiveIMMApp * This,
  1452.     /* [out] */ HIMC *phIMC);
  1453. void __RPC_STUB IActiveIMMApp_CreateContext_Stub(
  1454.     IRpcStubBuffer *This,
  1455.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1456.     PRPC_MESSAGE _pRpcMessage,
  1457.     DWORD *_pdwStubPhase);
  1458. HRESULT STDMETHODCALLTYPE IActiveIMMApp_DestroyContext_Proxy( 
  1459.     IActiveIMMApp * This,
  1460.     /* [in] */ HIMC hIME);
  1461. void __RPC_STUB IActiveIMMApp_DestroyContext_Stub(
  1462.     IRpcStubBuffer *This,
  1463.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1464.     PRPC_MESSAGE _pRpcMessage,
  1465.     DWORD *_pdwStubPhase);
  1466. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumRegisterWordA_Proxy( 
  1467.     IActiveIMMApp * This,
  1468.     /* [in] */ HKL hKL,
  1469.     /* [in] */ LPSTR szReading,
  1470.     /* [in] */ DWORD dwStyle,
  1471.     /* [in] */ LPSTR szRegister,
  1472.     /* [in] */ LPVOID pData,
  1473.     /* [out] */ IEnumRegisterWordA **pEnum);
  1474. void __RPC_STUB IActiveIMMApp_EnumRegisterWordA_Stub(
  1475.     IRpcStubBuffer *This,
  1476.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1477.     PRPC_MESSAGE _pRpcMessage,
  1478.     DWORD *_pdwStubPhase);
  1479. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumRegisterWordW_Proxy( 
  1480.     IActiveIMMApp * This,
  1481.     /* [in] */ HKL hKL,
  1482.     /* [in] */ LPWSTR szReading,
  1483.     /* [in] */ DWORD dwStyle,
  1484.     /* [in] */ LPWSTR szRegister,
  1485.     /* [in] */ LPVOID pData,
  1486.     /* [out] */ IEnumRegisterWordW **pEnum);
  1487. void __RPC_STUB IActiveIMMApp_EnumRegisterWordW_Stub(
  1488.     IRpcStubBuffer *This,
  1489.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1490.     PRPC_MESSAGE _pRpcMessage,
  1491.     DWORD *_pdwStubPhase);
  1492. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EscapeA_Proxy( 
  1493.     IActiveIMMApp * This,
  1494.     /* [in] */ HKL hKL,
  1495.     /* [in] */ HIMC hIMC,
  1496.     /* [in] */ UINT uEscape,
  1497.     /* [out][in] */ LPVOID pData,
  1498.     /* [out] */ LRESULT *plResult);
  1499. void __RPC_STUB IActiveIMMApp_EscapeA_Stub(
  1500.     IRpcStubBuffer *This,
  1501.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1502.     PRPC_MESSAGE _pRpcMessage,
  1503.     DWORD *_pdwStubPhase);
  1504. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EscapeW_Proxy( 
  1505.     IActiveIMMApp * This,
  1506.     /* [in] */ HKL hKL,
  1507.     /* [in] */ HIMC hIMC,
  1508.     /* [in] */ UINT uEscape,
  1509.     /* [out][in] */ LPVOID pData,
  1510.     /* [out] */ LRESULT *plResult);
  1511. void __RPC_STUB IActiveIMMApp_EscapeW_Stub(
  1512.     IRpcStubBuffer *This,
  1513.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1514.     PRPC_MESSAGE _pRpcMessage,
  1515.     DWORD *_pdwStubPhase);
  1516. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListA_Proxy( 
  1517.     IActiveIMMApp * This,
  1518.     /* [in] */ HIMC hIMC,
  1519.     /* [in] */ DWORD dwIndex,
  1520.     /* [in] */ UINT uBufLen,
  1521.     /* [out] */ CANDIDATELIST *pCandList,
  1522.     /* [out] */ UINT *puCopied);
  1523. void __RPC_STUB IActiveIMMApp_GetCandidateListA_Stub(
  1524.     IRpcStubBuffer *This,
  1525.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1526.     PRPC_MESSAGE _pRpcMessage,
  1527.     DWORD *_pdwStubPhase);
  1528. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListW_Proxy( 
  1529.     IActiveIMMApp * This,
  1530.     /* [in] */ HIMC hIMC,
  1531.     /* [in] */ DWORD dwIndex,
  1532.     /* [in] */ UINT uBufLen,
  1533.     /* [out] */ CANDIDATELIST *pCandList,
  1534.     /* [out] */ UINT *puCopied);
  1535. void __RPC_STUB IActiveIMMApp_GetCandidateListW_Stub(
  1536.     IRpcStubBuffer *This,
  1537.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1538.     PRPC_MESSAGE _pRpcMessage,
  1539.     DWORD *_pdwStubPhase);
  1540. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListCountA_Proxy( 
  1541.     IActiveIMMApp * This,
  1542.     /* [in] */ HIMC hIMC,
  1543.     /* [out] */ DWORD *pdwListSize,
  1544.     /* [out] */ DWORD *pdwBufLen);
  1545. void __RPC_STUB IActiveIMMApp_GetCandidateListCountA_Stub(
  1546.     IRpcStubBuffer *This,
  1547.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1548.     PRPC_MESSAGE _pRpcMessage,
  1549.     DWORD *_pdwStubPhase);
  1550. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateListCountW_Proxy( 
  1551.     IActiveIMMApp * This,
  1552.     /* [in] */ HIMC hIMC,
  1553.     /* [out] */ DWORD *pdwListSize,
  1554.     /* [out] */ DWORD *pdwBufLen);
  1555. void __RPC_STUB IActiveIMMApp_GetCandidateListCountW_Stub(
  1556.     IRpcStubBuffer *This,
  1557.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1558.     PRPC_MESSAGE _pRpcMessage,
  1559.     DWORD *_pdwStubPhase);
  1560. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCandidateWindow_Proxy( 
  1561.     IActiveIMMApp * This,
  1562.     /* [in] */ HIMC hIMC,
  1563.     /* [in] */ DWORD dwIndex,
  1564.     /* [out] */ CANDIDATEFORM *pCandidate);
  1565. void __RPC_STUB IActiveIMMApp_GetCandidateWindow_Stub(
  1566.     IRpcStubBuffer *This,
  1567.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1568.     PRPC_MESSAGE _pRpcMessage,
  1569.     DWORD *_pdwStubPhase);
  1570. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionFontA_Proxy( 
  1571.     IActiveIMMApp * This,
  1572.     /* [in] */ HIMC hIMC,
  1573.     /* [out] */ LOGFONTA *plf);
  1574. void __RPC_STUB IActiveIMMApp_GetCompositionFontA_Stub(
  1575.     IRpcStubBuffer *This,
  1576.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1577.     PRPC_MESSAGE _pRpcMessage,
  1578.     DWORD *_pdwStubPhase);
  1579. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionFontW_Proxy( 
  1580.     IActiveIMMApp * This,
  1581.     /* [in] */ HIMC hIMC,
  1582.     /* [out] */ LOGFONTW *plf);
  1583. void __RPC_STUB IActiveIMMApp_GetCompositionFontW_Stub(
  1584.     IRpcStubBuffer *This,
  1585.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1586.     PRPC_MESSAGE _pRpcMessage,
  1587.     DWORD *_pdwStubPhase);
  1588. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionStringA_Proxy( 
  1589.     IActiveIMMApp * This,
  1590.     /* [in] */ HIMC hIMC,
  1591.     /* [in] */ DWORD dwIndex,
  1592.     /* [in] */ DWORD dwBufLen,
  1593.     /* [out] */ LONG *plCopied,
  1594.     /* [out] */ LPVOID pBuf);
  1595. void __RPC_STUB IActiveIMMApp_GetCompositionStringA_Stub(
  1596.     IRpcStubBuffer *This,
  1597.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1598.     PRPC_MESSAGE _pRpcMessage,
  1599.     DWORD *_pdwStubPhase);
  1600. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionStringW_Proxy( 
  1601.     IActiveIMMApp * This,
  1602.     /* [in] */ HIMC hIMC,
  1603.     /* [in] */ DWORD dwIndex,
  1604.     /* [in] */ DWORD dwBufLen,
  1605.     /* [out] */ LONG *plCopied,
  1606.     /* [out] */ LPVOID pBuf);
  1607. void __RPC_STUB IActiveIMMApp_GetCompositionStringW_Stub(
  1608.     IRpcStubBuffer *This,
  1609.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1610.     PRPC_MESSAGE _pRpcMessage,
  1611.     DWORD *_pdwStubPhase);
  1612. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCompositionWindow_Proxy( 
  1613.     IActiveIMMApp * This,
  1614.     /* [in] */ HIMC hIMC,
  1615.     /* [out] */ COMPOSITIONFORM *pCompForm);
  1616. void __RPC_STUB IActiveIMMApp_GetCompositionWindow_Stub(
  1617.     IRpcStubBuffer *This,
  1618.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1619.     PRPC_MESSAGE _pRpcMessage,
  1620.     DWORD *_pdwStubPhase);
  1621. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetContext_Proxy( 
  1622.     IActiveIMMApp * This,
  1623.     /* [in] */ HWND hWnd,
  1624.     /* [out] */ HIMC *phIMC);
  1625. void __RPC_STUB IActiveIMMApp_GetContext_Stub(
  1626.     IRpcStubBuffer *This,
  1627.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1628.     PRPC_MESSAGE _pRpcMessage,
  1629.     DWORD *_pdwStubPhase);
  1630. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionListA_Proxy( 
  1631.     IActiveIMMApp * This,
  1632.     /* [in] */ HKL hKL,
  1633.     /* [in] */ HIMC hIMC,
  1634.     /* [in] */ LPSTR pSrc,
  1635.     /* [in] */ UINT uBufLen,
  1636.     /* [in] */ UINT uFlag,
  1637.     /* [out] */ CANDIDATELIST *pDst,
  1638.     /* [out] */ UINT *puCopied);
  1639. void __RPC_STUB IActiveIMMApp_GetConversionListA_Stub(
  1640.     IRpcStubBuffer *This,
  1641.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1642.     PRPC_MESSAGE _pRpcMessage,
  1643.     DWORD *_pdwStubPhase);
  1644. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionListW_Proxy( 
  1645.     IActiveIMMApp * This,
  1646.     /* [in] */ HKL hKL,
  1647.     /* [in] */ HIMC hIMC,
  1648.     /* [in] */ LPWSTR pSrc,
  1649.     /* [in] */ UINT uBufLen,
  1650.     /* [in] */ UINT uFlag,
  1651.     /* [out] */ CANDIDATELIST *pDst,
  1652.     /* [out] */ UINT *puCopied);
  1653. void __RPC_STUB IActiveIMMApp_GetConversionListW_Stub(
  1654.     IRpcStubBuffer *This,
  1655.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1656.     PRPC_MESSAGE _pRpcMessage,
  1657.     DWORD *_pdwStubPhase);
  1658. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetConversionStatus_Proxy( 
  1659.     IActiveIMMApp * This,
  1660.     /* [in] */ HIMC hIMC,
  1661.     /* [out] */ DWORD *pfdwConversion,
  1662.     /* [out] */ DWORD *pfdwSentence);
  1663. void __RPC_STUB IActiveIMMApp_GetConversionStatus_Stub(
  1664.     IRpcStubBuffer *This,
  1665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1666.     PRPC_MESSAGE _pRpcMessage,
  1667.     DWORD *_pdwStubPhase);
  1668. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDefaultIMEWnd_Proxy( 
  1669.     IActiveIMMApp * This,
  1670.     /* [in] */ HWND hWnd,
  1671.     /* [out] */ HWND *phDefWnd);
  1672. void __RPC_STUB IActiveIMMApp_GetDefaultIMEWnd_Stub(
  1673.     IRpcStubBuffer *This,
  1674.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1675.     PRPC_MESSAGE _pRpcMessage,
  1676.     DWORD *_pdwStubPhase);
  1677. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDescriptionA_Proxy( 
  1678.     IActiveIMMApp * This,
  1679.     /* [in] */ HKL hKL,
  1680.     /* [in] */ UINT uBufLen,
  1681.     /* [out] */ LPSTR szDescription,
  1682.     /* [out] */ UINT *puCopied);
  1683. void __RPC_STUB IActiveIMMApp_GetDescriptionA_Stub(
  1684.     IRpcStubBuffer *This,
  1685.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1686.     PRPC_MESSAGE _pRpcMessage,
  1687.     DWORD *_pdwStubPhase);
  1688. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetDescriptionW_Proxy( 
  1689.     IActiveIMMApp * This,
  1690.     /* [in] */ HKL hKL,
  1691.     /* [in] */ UINT uBufLen,
  1692.     /* [out] */ LPWSTR szDescription,
  1693.     /* [out] */ UINT *puCopied);
  1694. void __RPC_STUB IActiveIMMApp_GetDescriptionW_Stub(
  1695.     IRpcStubBuffer *This,
  1696.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1697.     PRPC_MESSAGE _pRpcMessage,
  1698.     DWORD *_pdwStubPhase);
  1699. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetGuideLineA_Proxy( 
  1700.     IActiveIMMApp * This,
  1701.     /* [in] */ HIMC hIMC,
  1702.     /* [in] */ DWORD dwIndex,
  1703.     /* [in] */ DWORD dwBufLen,
  1704.     /* [out] */ LPSTR pBuf,
  1705.     /* [out] */ DWORD *pdwResult);
  1706. void __RPC_STUB IActiveIMMApp_GetGuideLineA_Stub(
  1707.     IRpcStubBuffer *This,
  1708.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1709.     PRPC_MESSAGE _pRpcMessage,
  1710.     DWORD *_pdwStubPhase);
  1711. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetGuideLineW_Proxy( 
  1712.     IActiveIMMApp * This,
  1713.     /* [in] */ HIMC hIMC,
  1714.     /* [in] */ DWORD dwIndex,
  1715.     /* [in] */ DWORD dwBufLen,
  1716.     /* [out] */ LPWSTR pBuf,
  1717.     /* [out] */ DWORD *pdwResult);
  1718. void __RPC_STUB IActiveIMMApp_GetGuideLineW_Stub(
  1719.     IRpcStubBuffer *This,
  1720.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1721.     PRPC_MESSAGE _pRpcMessage,
  1722.     DWORD *_pdwStubPhase);
  1723. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetIMEFileNameA_Proxy( 
  1724.     IActiveIMMApp * This,
  1725.     /* [in] */ HKL hKL,
  1726.     /* [in] */ UINT uBufLen,
  1727.     /* [out] */ LPSTR szFileName,
  1728.     /* [out] */ UINT *puCopied);
  1729. void __RPC_STUB IActiveIMMApp_GetIMEFileNameA_Stub(
  1730.     IRpcStubBuffer *This,
  1731.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1732.     PRPC_MESSAGE _pRpcMessage,
  1733.     DWORD *_pdwStubPhase);
  1734. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetIMEFileNameW_Proxy( 
  1735.     IActiveIMMApp * This,
  1736.     /* [in] */ HKL hKL,
  1737.     /* [in] */ UINT uBufLen,
  1738.     /* [out] */ LPWSTR szFileName,
  1739.     /* [out] */ UINT *puCopied);
  1740. void __RPC_STUB IActiveIMMApp_GetIMEFileNameW_Stub(
  1741.     IRpcStubBuffer *This,
  1742.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1743.     PRPC_MESSAGE _pRpcMessage,
  1744.     DWORD *_pdwStubPhase);
  1745. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetOpenStatus_Proxy( 
  1746.     IActiveIMMApp * This,
  1747.     /* [in] */ HIMC hIMC);
  1748. void __RPC_STUB IActiveIMMApp_GetOpenStatus_Stub(
  1749.     IRpcStubBuffer *This,
  1750.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1751.     PRPC_MESSAGE _pRpcMessage,
  1752.     DWORD *_pdwStubPhase);
  1753. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetProperty_Proxy( 
  1754.     IActiveIMMApp * This,
  1755.     /* [in] */ HKL hKL,
  1756.     /* [in] */ DWORD fdwIndex,
  1757.     /* [out] */ DWORD *pdwProperty);
  1758. void __RPC_STUB IActiveIMMApp_GetProperty_Stub(
  1759.     IRpcStubBuffer *This,
  1760.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1761.     PRPC_MESSAGE _pRpcMessage,
  1762.     DWORD *_pdwStubPhase);
  1763. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetRegisterWordStyleA_Proxy( 
  1764.     IActiveIMMApp * This,
  1765.     /* [in] */ HKL hKL,
  1766.     /* [in] */ UINT nItem,
  1767.     /* [out] */ STYLEBUFA *pStyleBuf,
  1768.     /* [out] */ UINT *puCopied);
  1769. void __RPC_STUB IActiveIMMApp_GetRegisterWordStyleA_Stub(
  1770.     IRpcStubBuffer *This,
  1771.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1772.     PRPC_MESSAGE _pRpcMessage,
  1773.     DWORD *_pdwStubPhase);
  1774. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetRegisterWordStyleW_Proxy( 
  1775.     IActiveIMMApp * This,
  1776.     /* [in] */ HKL hKL,
  1777.     /* [in] */ UINT nItem,
  1778.     /* [out] */ STYLEBUFW *pStyleBuf,
  1779.     /* [out] */ UINT *puCopied);
  1780. void __RPC_STUB IActiveIMMApp_GetRegisterWordStyleW_Stub(
  1781.     IRpcStubBuffer *This,
  1782.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1783.     PRPC_MESSAGE _pRpcMessage,
  1784.     DWORD *_pdwStubPhase);
  1785. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetStatusWindowPos_Proxy( 
  1786.     IActiveIMMApp * This,
  1787.     /* [in] */ HIMC hIMC,
  1788.     /* [out] */ POINT *pptPos);
  1789. void __RPC_STUB IActiveIMMApp_GetStatusWindowPos_Stub(
  1790.     IRpcStubBuffer *This,
  1791.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1792.     PRPC_MESSAGE _pRpcMessage,
  1793.     DWORD *_pdwStubPhase);
  1794. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetVirtualKey_Proxy( 
  1795.     IActiveIMMApp * This,
  1796.     /* [in] */ HWND hWnd,
  1797.     /* [out] */ UINT *puVirtualKey);
  1798. void __RPC_STUB IActiveIMMApp_GetVirtualKey_Stub(
  1799.     IRpcStubBuffer *This,
  1800.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1801.     PRPC_MESSAGE _pRpcMessage,
  1802.     DWORD *_pdwStubPhase);
  1803. HRESULT STDMETHODCALLTYPE IActiveIMMApp_InstallIMEA_Proxy( 
  1804.     IActiveIMMApp * This,
  1805.     /* [in] */ LPSTR szIMEFileName,
  1806.     /* [in] */ LPSTR szLayoutText,
  1807.     /* [out] */ HKL *phKL);
  1808. void __RPC_STUB IActiveIMMApp_InstallIMEA_Stub(
  1809.     IRpcStubBuffer *This,
  1810.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1811.     PRPC_MESSAGE _pRpcMessage,
  1812.     DWORD *_pdwStubPhase);
  1813. HRESULT STDMETHODCALLTYPE IActiveIMMApp_InstallIMEW_Proxy( 
  1814.     IActiveIMMApp * This,
  1815.     /* [in] */ LPWSTR szIMEFileName,
  1816.     /* [in] */ LPWSTR szLayoutText,
  1817.     /* [out] */ HKL *phKL);
  1818. void __RPC_STUB IActiveIMMApp_InstallIMEW_Stub(
  1819.     IRpcStubBuffer *This,
  1820.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1821.     PRPC_MESSAGE _pRpcMessage,
  1822.     DWORD *_pdwStubPhase);
  1823. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsIME_Proxy( 
  1824.     IActiveIMMApp * This,
  1825.     /* [in] */ HKL hKL);
  1826. void __RPC_STUB IActiveIMMApp_IsIME_Stub(
  1827.     IRpcStubBuffer *This,
  1828.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1829.     PRPC_MESSAGE _pRpcMessage,
  1830.     DWORD *_pdwStubPhase);
  1831. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsUIMessageA_Proxy( 
  1832.     IActiveIMMApp * This,
  1833.     /* [in] */ HWND hWndIME,
  1834.     /* [in] */ UINT msg,
  1835.     /* [in] */ WPARAM wParam,
  1836.     /* [in] */ LPARAM lParam);
  1837. void __RPC_STUB IActiveIMMApp_IsUIMessageA_Stub(
  1838.     IRpcStubBuffer *This,
  1839.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1840.     PRPC_MESSAGE _pRpcMessage,
  1841.     DWORD *_pdwStubPhase);
  1842. HRESULT STDMETHODCALLTYPE IActiveIMMApp_IsUIMessageW_Proxy( 
  1843.     IActiveIMMApp * This,
  1844.     /* [in] */ HWND hWndIME,
  1845.     /* [in] */ UINT msg,
  1846.     /* [in] */ WPARAM wParam,
  1847.     /* [in] */ LPARAM lParam);
  1848. void __RPC_STUB IActiveIMMApp_IsUIMessageW_Stub(
  1849.     IRpcStubBuffer *This,
  1850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1851.     PRPC_MESSAGE _pRpcMessage,
  1852.     DWORD *_pdwStubPhase);
  1853. HRESULT STDMETHODCALLTYPE IActiveIMMApp_NotifyIME_Proxy( 
  1854.     IActiveIMMApp * This,
  1855.     /* [in] */ HIMC hIMC,
  1856.     /* [in] */ DWORD dwAction,
  1857.     /* [in] */ DWORD dwIndex,
  1858.     /* [in] */ DWORD dwValue);
  1859. void __RPC_STUB IActiveIMMApp_NotifyIME_Stub(
  1860.     IRpcStubBuffer *This,
  1861.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1862.     PRPC_MESSAGE _pRpcMessage,
  1863.     DWORD *_pdwStubPhase);
  1864. HRESULT STDMETHODCALLTYPE IActiveIMMApp_RegisterWordA_Proxy( 
  1865.     IActiveIMMApp * This,
  1866.     /* [in] */ HKL hKL,
  1867.     /* [in] */ LPSTR szReading,
  1868.     /* [in] */ DWORD dwStyle,
  1869.     /* [in] */ LPSTR szRegister);
  1870. void __RPC_STUB IActiveIMMApp_RegisterWordA_Stub(
  1871.     IRpcStubBuffer *This,
  1872.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1873.     PRPC_MESSAGE _pRpcMessage,
  1874.     DWORD *_pdwStubPhase);
  1875. HRESULT STDMETHODCALLTYPE IActiveIMMApp_RegisterWordW_Proxy( 
  1876.     IActiveIMMApp * This,
  1877.     /* [in] */ HKL hKL,
  1878.     /* [in] */ LPWSTR szReading,
  1879.     /* [in] */ DWORD dwStyle,
  1880.     /* [in] */ LPWSTR szRegister);
  1881. void __RPC_STUB IActiveIMMApp_RegisterWordW_Stub(
  1882.     IRpcStubBuffer *This,
  1883.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1884.     PRPC_MESSAGE _pRpcMessage,
  1885.     DWORD *_pdwStubPhase);
  1886. HRESULT STDMETHODCALLTYPE IActiveIMMApp_ReleaseContext_Proxy( 
  1887.     IActiveIMMApp * This,
  1888.     /* [in] */ HWND hWnd,
  1889.     /* [in] */ HIMC hIMC);
  1890. void __RPC_STUB IActiveIMMApp_ReleaseContext_Stub(
  1891.     IRpcStubBuffer *This,
  1892.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1893.     PRPC_MESSAGE _pRpcMessage,
  1894.     DWORD *_pdwStubPhase);
  1895. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCandidateWindow_Proxy( 
  1896.     IActiveIMMApp * This,
  1897.     /* [in] */ HIMC hIMC,
  1898.     /* [in] */ CANDIDATEFORM *pCandidate);
  1899. void __RPC_STUB IActiveIMMApp_SetCandidateWindow_Stub(
  1900.     IRpcStubBuffer *This,
  1901.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1902.     PRPC_MESSAGE _pRpcMessage,
  1903.     DWORD *_pdwStubPhase);
  1904. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionFontA_Proxy( 
  1905.     IActiveIMMApp * This,
  1906.     /* [in] */ HIMC hIMC,
  1907.     /* [in] */ LOGFONTA *plf);
  1908. void __RPC_STUB IActiveIMMApp_SetCompositionFontA_Stub(
  1909.     IRpcStubBuffer *This,
  1910.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1911.     PRPC_MESSAGE _pRpcMessage,
  1912.     DWORD *_pdwStubPhase);
  1913. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionFontW_Proxy( 
  1914.     IActiveIMMApp * This,
  1915.     /* [in] */ HIMC hIMC,
  1916.     /* [in] */ LOGFONTW *plf);
  1917. void __RPC_STUB IActiveIMMApp_SetCompositionFontW_Stub(
  1918.     IRpcStubBuffer *This,
  1919.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1920.     PRPC_MESSAGE _pRpcMessage,
  1921.     DWORD *_pdwStubPhase);
  1922. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionStringA_Proxy( 
  1923.     IActiveIMMApp * This,
  1924.     /* [in] */ HIMC hIMC,
  1925.     /* [in] */ DWORD dwIndex,
  1926.     /* [in] */ LPVOID pComp,
  1927.     /* [in] */ DWORD dwCompLen,
  1928.     /* [in] */ LPVOID pRead,
  1929.     /* [in] */ DWORD dwReadLen);
  1930. void __RPC_STUB IActiveIMMApp_SetCompositionStringA_Stub(
  1931.     IRpcStubBuffer *This,
  1932.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1933.     PRPC_MESSAGE _pRpcMessage,
  1934.     DWORD *_pdwStubPhase);
  1935. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionStringW_Proxy( 
  1936.     IActiveIMMApp * This,
  1937.     /* [in] */ HIMC hIMC,
  1938.     /* [in] */ DWORD dwIndex,
  1939.     /* [in] */ LPVOID pComp,
  1940.     /* [in] */ DWORD dwCompLen,
  1941.     /* [in] */ LPVOID pRead,
  1942.     /* [in] */ DWORD dwReadLen);
  1943. void __RPC_STUB IActiveIMMApp_SetCompositionStringW_Stub(
  1944.     IRpcStubBuffer *This,
  1945.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1946.     PRPC_MESSAGE _pRpcMessage,
  1947.     DWORD *_pdwStubPhase);
  1948. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetCompositionWindow_Proxy( 
  1949.     IActiveIMMApp * This,
  1950.     /* [in] */ HIMC hIMC,
  1951.     /* [in] */ COMPOSITIONFORM *pCompForm);
  1952. void __RPC_STUB IActiveIMMApp_SetCompositionWindow_Stub(
  1953.     IRpcStubBuffer *This,
  1954.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1955.     PRPC_MESSAGE _pRpcMessage,
  1956.     DWORD *_pdwStubPhase);
  1957. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetConversionStatus_Proxy( 
  1958.     IActiveIMMApp * This,
  1959.     /* [in] */ HIMC hIMC,
  1960.     /* [in] */ DWORD fdwConversion,
  1961.     /* [in] */ DWORD fdwSentence);
  1962. void __RPC_STUB IActiveIMMApp_SetConversionStatus_Stub(
  1963.     IRpcStubBuffer *This,
  1964.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1965.     PRPC_MESSAGE _pRpcMessage,
  1966.     DWORD *_pdwStubPhase);
  1967. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetOpenStatus_Proxy( 
  1968.     IActiveIMMApp * This,
  1969.     /* [in] */ HIMC hIMC,
  1970.     /* [in] */ BOOL fOpen);
  1971. void __RPC_STUB IActiveIMMApp_SetOpenStatus_Stub(
  1972.     IRpcStubBuffer *This,
  1973.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1974.     PRPC_MESSAGE _pRpcMessage,
  1975.     DWORD *_pdwStubPhase);
  1976. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SetStatusWindowPos_Proxy( 
  1977.     IActiveIMMApp * This,
  1978.     /* [in] */ HIMC hIMC,
  1979.     /* [in] */ POINT *pptPos);
  1980. void __RPC_STUB IActiveIMMApp_SetStatusWindowPos_Stub(
  1981.     IRpcStubBuffer *This,
  1982.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1983.     PRPC_MESSAGE _pRpcMessage,
  1984.     DWORD *_pdwStubPhase);
  1985. HRESULT STDMETHODCALLTYPE IActiveIMMApp_SimulateHotKey_Proxy( 
  1986.     IActiveIMMApp * This,
  1987.     /* [in] */ HWND hWnd,
  1988.     /* [in] */ DWORD dwHotKeyID);
  1989. void __RPC_STUB IActiveIMMApp_SimulateHotKey_Stub(
  1990.     IRpcStubBuffer *This,
  1991.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1992.     PRPC_MESSAGE _pRpcMessage,
  1993.     DWORD *_pdwStubPhase);
  1994. HRESULT STDMETHODCALLTYPE IActiveIMMApp_UnregisterWordA_Proxy( 
  1995.     IActiveIMMApp * This,
  1996.     /* [in] */ HKL hKL,
  1997.     /* [in] */ LPSTR szReading,
  1998.     /* [in] */ DWORD dwStyle,
  1999.     /* [in] */ LPSTR szUnregister);
  2000. void __RPC_STUB IActiveIMMApp_UnregisterWordA_Stub(
  2001.     IRpcStubBuffer *This,
  2002.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2003.     PRPC_MESSAGE _pRpcMessage,
  2004.     DWORD *_pdwStubPhase);
  2005. HRESULT STDMETHODCALLTYPE IActiveIMMApp_UnregisterWordW_Proxy( 
  2006.     IActiveIMMApp * This,
  2007.     /* [in] */ HKL hKL,
  2008.     /* [in] */ LPWSTR szReading,
  2009.     /* [in] */ DWORD dwStyle,
  2010.     /* [in] */ LPWSTR szUnregister);
  2011. void __RPC_STUB IActiveIMMApp_UnregisterWordW_Stub(
  2012.     IRpcStubBuffer *This,
  2013.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2014.     PRPC_MESSAGE _pRpcMessage,
  2015.     DWORD *_pdwStubPhase);
  2016. HRESULT STDMETHODCALLTYPE IActiveIMMApp_Activate_Proxy( 
  2017.     IActiveIMMApp * This,
  2018.     /* [in] */ BOOL fRestoreLayout);
  2019. void __RPC_STUB IActiveIMMApp_Activate_Stub(
  2020.     IRpcStubBuffer *This,
  2021.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2022.     PRPC_MESSAGE _pRpcMessage,
  2023.     DWORD *_pdwStubPhase);
  2024. HRESULT STDMETHODCALLTYPE IActiveIMMApp_Deactivate_Proxy( 
  2025.     IActiveIMMApp * This);
  2026. void __RPC_STUB IActiveIMMApp_Deactivate_Stub(
  2027.     IRpcStubBuffer *This,
  2028.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2029.     PRPC_MESSAGE _pRpcMessage,
  2030.     DWORD *_pdwStubPhase);
  2031. HRESULT STDMETHODCALLTYPE IActiveIMMApp_OnDefWindowProc_Proxy( 
  2032.     IActiveIMMApp * This,
  2033.     /* [in] */ HWND hWnd,
  2034.     /* [in] */ UINT Msg,
  2035.     /* [in] */ WPARAM wParam,
  2036.     /* [in] */ LPARAM lParam,
  2037.     /* [out] */ LRESULT *plResult);
  2038. void __RPC_STUB IActiveIMMApp_OnDefWindowProc_Stub(
  2039.     IRpcStubBuffer *This,
  2040.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2041.     PRPC_MESSAGE _pRpcMessage,
  2042.     DWORD *_pdwStubPhase);
  2043. HRESULT STDMETHODCALLTYPE IActiveIMMApp_FilterClientWindows_Proxy( 
  2044.     IActiveIMMApp * This,
  2045.     /* [in] */ ATOM *aaClassList,
  2046.     /* [in] */ UINT uSize);
  2047. void __RPC_STUB IActiveIMMApp_FilterClientWindows_Stub(
  2048.     IRpcStubBuffer *This,
  2049.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2050.     PRPC_MESSAGE _pRpcMessage,
  2051.     DWORD *_pdwStubPhase);
  2052. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetCodePageA_Proxy( 
  2053.     IActiveIMMApp * This,
  2054.     /* [in] */ HKL hKL,
  2055.     /* [out] */ UINT *uCodePage);
  2056. void __RPC_STUB IActiveIMMApp_GetCodePageA_Stub(
  2057.     IRpcStubBuffer *This,
  2058.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2059.     PRPC_MESSAGE _pRpcMessage,
  2060.     DWORD *_pdwStubPhase);
  2061. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetLangId_Proxy( 
  2062.     IActiveIMMApp * This,
  2063.     /* [in] */ HKL hKL,
  2064.     /* [out] */ LANGID *plid);
  2065. void __RPC_STUB IActiveIMMApp_GetLangId_Stub(
  2066.     IRpcStubBuffer *This,
  2067.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2068.     PRPC_MESSAGE _pRpcMessage,
  2069.     DWORD *_pdwStubPhase);
  2070. HRESULT STDMETHODCALLTYPE IActiveIMMApp_AssociateContextEx_Proxy( 
  2071.     IActiveIMMApp * This,
  2072.     /* [in] */ HWND hWnd,
  2073.     /* [in] */ HIMC hIMC,
  2074.     /* [in] */ DWORD dwFlags);
  2075. void __RPC_STUB IActiveIMMApp_AssociateContextEx_Stub(
  2076.     IRpcStubBuffer *This,
  2077.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2078.     PRPC_MESSAGE _pRpcMessage,
  2079.     DWORD *_pdwStubPhase);
  2080. HRESULT STDMETHODCALLTYPE IActiveIMMApp_DisableIME_Proxy( 
  2081.     IActiveIMMApp * This,
  2082.     /* [in] */ DWORD idThread);
  2083. void __RPC_STUB IActiveIMMApp_DisableIME_Stub(
  2084.     IRpcStubBuffer *This,
  2085.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2086.     PRPC_MESSAGE _pRpcMessage,
  2087.     DWORD *_pdwStubPhase);
  2088. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetImeMenuItemsA_Proxy( 
  2089.     IActiveIMMApp * This,
  2090.     /* [in] */ HIMC hIMC,
  2091.     /* [in] */ DWORD dwFlags,
  2092.     /* [in] */ DWORD dwType,
  2093.     /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  2094.     /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  2095.     /* [in] */ DWORD dwSize,
  2096.     /* [out] */ DWORD *pdwResult);
  2097. void __RPC_STUB IActiveIMMApp_GetImeMenuItemsA_Stub(
  2098.     IRpcStubBuffer *This,
  2099.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2100.     PRPC_MESSAGE _pRpcMessage,
  2101.     DWORD *_pdwStubPhase);
  2102. HRESULT STDMETHODCALLTYPE IActiveIMMApp_GetImeMenuItemsW_Proxy( 
  2103.     IActiveIMMApp * This,
  2104.     /* [in] */ HIMC hIMC,
  2105.     /* [in] */ DWORD dwFlags,
  2106.     /* [in] */ DWORD dwType,
  2107.     /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  2108.     /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  2109.     /* [in] */ DWORD dwSize,
  2110.     /* [out] */ DWORD *pdwResult);
  2111. void __RPC_STUB IActiveIMMApp_GetImeMenuItemsW_Stub(
  2112.     IRpcStubBuffer *This,
  2113.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2114.     PRPC_MESSAGE _pRpcMessage,
  2115.     DWORD *_pdwStubPhase);
  2116. HRESULT STDMETHODCALLTYPE IActiveIMMApp_EnumInputContext_Proxy( 
  2117.     IActiveIMMApp * This,
  2118.     /* [in] */ DWORD idThread,
  2119.     /* [out] */ IEnumInputContext **ppEnum);
  2120. void __RPC_STUB IActiveIMMApp_EnumInputContext_Stub(
  2121.     IRpcStubBuffer *This,
  2122.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2123.     PRPC_MESSAGE _pRpcMessage,
  2124.     DWORD *_pdwStubPhase);
  2125. #endif  /* __IActiveIMMApp_INTERFACE_DEFINED__ */
  2126. #ifndef __ISegmentList_INTERFACE_DEFINED__
  2127. #define __ISegmentList_INTERFACE_DEFINED__
  2128. /* interface ISegmentList */
  2129. /* [uuid][unique][object] */ 
  2130. EXTERN_C const IID IID_ISegmentList;
  2131. #if defined(__cplusplus) && !defined(CINTERFACE)
  2132.     
  2133.     MIDL_INTERFACE("3050f605-98b5-11cf-bb82-00aa00bdce0b")
  2134.     ISegmentList : public IUnknown
  2135.     {
  2136.     public:
  2137.         virtual HRESULT STDMETHODCALLTYPE CreateIterator( 
  2138.             /* [out] */ ISegmentListIterator **ppIIter) = 0;
  2139.         
  2140.         virtual HRESULT STDMETHODCALLTYPE GetType( 
  2141.             /* [out] */ SELECTION_TYPE *peType) = 0;
  2142.         
  2143.         virtual HRESULT STDMETHODCALLTYPE IsEmpty( 
  2144.             /* [out] */ BOOL *pfEmpty) = 0;
  2145.         
  2146.     };
  2147.     
  2148. #else  /* C style interface */
  2149.     typedef struct ISegmentListVtbl
  2150.     {
  2151.         BEGIN_INTERFACE
  2152.         
  2153.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2154.             ISegmentList * This,
  2155.             /* [in] */ REFIID riid,
  2156.             /* [iid_is][out] */ void **ppvObject);
  2157.         
  2158.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2159.             ISegmentList * This);
  2160.         
  2161.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2162.             ISegmentList * This);
  2163.         
  2164.         HRESULT ( STDMETHODCALLTYPE *CreateIterator )( 
  2165.             ISegmentList * This,
  2166.             /* [out] */ ISegmentListIterator **ppIIter);
  2167.         
  2168.         HRESULT ( STDMETHODCALLTYPE *GetType )( 
  2169.             ISegmentList * This,
  2170.             /* [out] */ SELECTION_TYPE *peType);
  2171.         
  2172.         HRESULT ( STDMETHODCALLTYPE *IsEmpty )( 
  2173.             ISegmentList * This,
  2174.             /* [out] */ BOOL *pfEmpty);
  2175.         
  2176.         END_INTERFACE
  2177.     } ISegmentListVtbl;
  2178.     interface ISegmentList
  2179.     {
  2180.         CONST_VTBL struct ISegmentListVtbl *lpVtbl;
  2181.     };
  2182.     
  2183. #ifdef COBJMACROS
  2184. #define ISegmentList_QueryInterface(This,riid,ppvObject)
  2185.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2186. #define ISegmentList_AddRef(This)
  2187.     (This)->lpVtbl -> AddRef(This)
  2188. #define ISegmentList_Release(This)
  2189.     (This)->lpVtbl -> Release(This)
  2190. #define ISegmentList_CreateIterator(This,ppIIter)
  2191.     (This)->lpVtbl -> CreateIterator(This,ppIIter)
  2192. #define ISegmentList_GetType(This,peType)
  2193.     (This)->lpVtbl -> GetType(This,peType)
  2194. #define ISegmentList_IsEmpty(This,pfEmpty)
  2195.     (This)->lpVtbl -> IsEmpty(This,pfEmpty)
  2196. #endif /* COBJMACROS */
  2197. #endif  /* C style interface */
  2198. HRESULT STDMETHODCALLTYPE ISegmentList_CreateIterator_Proxy( 
  2199.     ISegmentList * This,
  2200.     /* [out] */ ISegmentListIterator **ppIIter);
  2201. void __RPC_STUB ISegmentList_CreateIterator_Stub(
  2202.     IRpcStubBuffer *This,
  2203.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2204.     PRPC_MESSAGE _pRpcMessage,
  2205.     DWORD *_pdwStubPhase);
  2206. HRESULT STDMETHODCALLTYPE ISegmentList_GetType_Proxy( 
  2207.     ISegmentList * This,
  2208.     /* [out] */ SELECTION_TYPE *peType);
  2209. void __RPC_STUB ISegmentList_GetType_Stub(
  2210.     IRpcStubBuffer *This,
  2211.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2212.     PRPC_MESSAGE _pRpcMessage,
  2213.     DWORD *_pdwStubPhase);
  2214. HRESULT STDMETHODCALLTYPE ISegmentList_IsEmpty_Proxy( 
  2215.     ISegmentList * This,
  2216.     /* [out] */ BOOL *pfEmpty);
  2217. void __RPC_STUB ISegmentList_IsEmpty_Stub(
  2218.     IRpcStubBuffer *This,
  2219.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2220.     PRPC_MESSAGE _pRpcMessage,
  2221.     DWORD *_pdwStubPhase);
  2222. #endif  /* __ISegmentList_INTERFACE_DEFINED__ */
  2223. #ifndef __ISegmentListIterator_INTERFACE_DEFINED__
  2224. #define __ISegmentListIterator_INTERFACE_DEFINED__
  2225. /* interface ISegmentListIterator */
  2226. /* [uuid][unique][object] */ 
  2227. EXTERN_C const IID IID_ISegmentListIterator;
  2228. #if defined(__cplusplus) && !defined(CINTERFACE)
  2229.     
  2230.     MIDL_INTERFACE("3050f692-98b5-11cf-bb82-00aa00bdce0b")
  2231.     ISegmentListIterator : public IUnknown
  2232.     {
  2233.     public:
  2234.         virtual HRESULT STDMETHODCALLTYPE Current( 
  2235.             /* [out] */ ISegment **ppISegment) = 0;
  2236.         
  2237.         virtual HRESULT STDMETHODCALLTYPE First( void) = 0;
  2238.         
  2239.         virtual HRESULT STDMETHODCALLTYPE IsDone( void) = 0;
  2240.         
  2241.         virtual HRESULT STDMETHODCALLTYPE Advance( void) = 0;
  2242.         
  2243.     };
  2244.     
  2245. #else  /* C style interface */
  2246.     typedef struct ISegmentListIteratorVtbl
  2247.     {
  2248.         BEGIN_INTERFACE
  2249.         
  2250.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2251.             ISegmentListIterator * This,
  2252.             /* [in] */ REFIID riid,
  2253.             /* [iid_is][out] */ void **ppvObject);
  2254.         
  2255.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2256.             ISegmentListIterator * This);
  2257.         
  2258.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2259.             ISegmentListIterator * This);
  2260.         
  2261.         HRESULT ( STDMETHODCALLTYPE *Current )( 
  2262.             ISegmentListIterator * This,
  2263.             /* [out] */ ISegment **ppISegment);
  2264.         
  2265.         HRESULT ( STDMETHODCALLTYPE *First )( 
  2266.             ISegmentListIterator * This);
  2267.         
  2268.         HRESULT ( STDMETHODCALLTYPE *IsDone )( 
  2269.             ISegmentListIterator * This);
  2270.         
  2271.         HRESULT ( STDMETHODCALLTYPE *Advance )( 
  2272.             ISegmentListIterator * This);
  2273.         
  2274.         END_INTERFACE
  2275.     } ISegmentListIteratorVtbl;
  2276.     interface ISegmentListIterator
  2277.     {
  2278.         CONST_VTBL struct ISegmentListIteratorVtbl *lpVtbl;
  2279.     };
  2280.     
  2281. #ifdef COBJMACROS
  2282. #define ISegmentListIterator_QueryInterface(This,riid,ppvObject)
  2283.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2284. #define ISegmentListIterator_AddRef(This)
  2285.     (This)->lpVtbl -> AddRef(This)
  2286. #define ISegmentListIterator_Release(This)
  2287.     (This)->lpVtbl -> Release(This)
  2288. #define ISegmentListIterator_Current(This,ppISegment)
  2289.     (This)->lpVtbl -> Current(This,ppISegment)
  2290. #define ISegmentListIterator_First(This)
  2291.     (This)->lpVtbl -> First(This)
  2292. #define ISegmentListIterator_IsDone(This)
  2293.     (This)->lpVtbl -> IsDone(This)
  2294. #define ISegmentListIterator_Advance(This)
  2295.     (This)->lpVtbl -> Advance(This)
  2296. #endif /* COBJMACROS */
  2297. #endif  /* C style interface */
  2298. HRESULT STDMETHODCALLTYPE ISegmentListIterator_Current_Proxy( 
  2299.     ISegmentListIterator * This,
  2300.     /* [out] */ ISegment **ppISegment);
  2301. void __RPC_STUB ISegmentListIterator_Current_Stub(
  2302.     IRpcStubBuffer *This,
  2303.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2304.     PRPC_MESSAGE _pRpcMessage,
  2305.     DWORD *_pdwStubPhase);
  2306. HRESULT STDMETHODCALLTYPE ISegmentListIterator_First_Proxy( 
  2307.     ISegmentListIterator * This);
  2308. void __RPC_STUB ISegmentListIterator_First_Stub(
  2309.     IRpcStubBuffer *This,
  2310.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2311.     PRPC_MESSAGE _pRpcMessage,
  2312.     DWORD *_pdwStubPhase);
  2313. HRESULT STDMETHODCALLTYPE ISegmentListIterator_IsDone_Proxy( 
  2314.     ISegmentListIterator * This);
  2315. void __RPC_STUB ISegmentListIterator_IsDone_Stub(
  2316.     IRpcStubBuffer *This,
  2317.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2318.     PRPC_MESSAGE _pRpcMessage,
  2319.     DWORD *_pdwStubPhase);
  2320. HRESULT STDMETHODCALLTYPE ISegmentListIterator_Advance_Proxy( 
  2321.     ISegmentListIterator * This);
  2322. void __RPC_STUB ISegmentListIterator_Advance_Stub(
  2323.     IRpcStubBuffer *This,
  2324.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2325.     PRPC_MESSAGE _pRpcMessage,
  2326.     DWORD *_pdwStubPhase);
  2327. #endif  /* __ISegmentListIterator_INTERFACE_DEFINED__ */
  2328. #ifndef __IHTMLCaret_INTERFACE_DEFINED__
  2329. #define __IHTMLCaret_INTERFACE_DEFINED__
  2330. /* interface IHTMLCaret */
  2331. /* [uuid][unique][object] */ 
  2332. EXTERN_C const IID IID_IHTMLCaret;
  2333. #if defined(__cplusplus) && !defined(CINTERFACE)
  2334.     
  2335.     MIDL_INTERFACE("3050f604-98b5-11cf-bb82-00aa00bdce0b")
  2336.     IHTMLCaret : public IUnknown
  2337.     {
  2338.     public:
  2339.         virtual HRESULT STDMETHODCALLTYPE MoveCaretToPointer( 
  2340.             /* [in] */ IDisplayPointer *pDispPointer,
  2341.             /* [in] */ BOOL fScrollIntoView,
  2342.             /* [in] */ CARET_DIRECTION eDir) = 0;
  2343.         
  2344.         virtual HRESULT STDMETHODCALLTYPE MoveCaretToPointerEx( 
  2345.             /* [in] */ IDisplayPointer *pDispPointer,
  2346.             /* [in] */ BOOL fVisible,
  2347.             /* [in] */ BOOL fScrollIntoView,
  2348.             /* [in] */ CARET_DIRECTION eDir) = 0;
  2349.         
  2350.         virtual HRESULT STDMETHODCALLTYPE MoveMarkupPointerToCaret( 
  2351.             /* [in] */ IMarkupPointer *pIMarkupPointer) = 0;
  2352.         
  2353.         virtual HRESULT STDMETHODCALLTYPE MoveDisplayPointerToCaret( 
  2354.             /* [in] */ IDisplayPointer *pDispPointer) = 0;
  2355.         
  2356.         virtual HRESULT STDMETHODCALLTYPE IsVisible( 
  2357.             /* [out] */ BOOL *pIsVisible) = 0;
  2358.         
  2359.         virtual HRESULT STDMETHODCALLTYPE Show( 
  2360.             /* [in] */ BOOL fScrollIntoView) = 0;
  2361.         
  2362.         virtual HRESULT STDMETHODCALLTYPE Hide( void) = 0;
  2363.         
  2364.         virtual HRESULT STDMETHODCALLTYPE InsertText( 
  2365.             /* [in] */ OLECHAR *pText,
  2366.             /* [in] */ LONG lLen) = 0;
  2367.         
  2368.         virtual HRESULT STDMETHODCALLTYPE ScrollIntoView( void) = 0;
  2369.         
  2370.         virtual HRESULT STDMETHODCALLTYPE GetLocation( 
  2371.             /* [out] */ POINT *pPoint,
  2372.             /* [in] */ BOOL fTranslate) = 0;
  2373.         
  2374.         virtual HRESULT STDMETHODCALLTYPE GetCaretDirection( 
  2375.             /* [out] */ CARET_DIRECTION *peDir) = 0;
  2376.         
  2377.         virtual HRESULT STDMETHODCALLTYPE SetCaretDirection( 
  2378.             /* [in] */ CARET_DIRECTION eDir) = 0;
  2379.         
  2380.     };
  2381.     
  2382. #else  /* C style interface */
  2383.     typedef struct IHTMLCaretVtbl
  2384.     {
  2385.         BEGIN_INTERFACE
  2386.         
  2387.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2388.             IHTMLCaret * This,
  2389.             /* [in] */ REFIID riid,
  2390.             /* [iid_is][out] */ void **ppvObject);
  2391.         
  2392.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2393.             IHTMLCaret * This);
  2394.         
  2395.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2396.             IHTMLCaret * This);
  2397.         
  2398.         HRESULT ( STDMETHODCALLTYPE *MoveCaretToPointer )( 
  2399.             IHTMLCaret * This,
  2400.             /* [in] */ IDisplayPointer *pDispPointer,
  2401.             /* [in] */ BOOL fScrollIntoView,
  2402.             /* [in] */ CARET_DIRECTION eDir);
  2403.         
  2404.         HRESULT ( STDMETHODCALLTYPE *MoveCaretToPointerEx )( 
  2405.             IHTMLCaret * This,
  2406.             /* [in] */ IDisplayPointer *pDispPointer,
  2407.             /* [in] */ BOOL fVisible,
  2408.             /* [in] */ BOOL fScrollIntoView,
  2409.             /* [in] */ CARET_DIRECTION eDir);
  2410.         
  2411.         HRESULT ( STDMETHODCALLTYPE *MoveMarkupPointerToCaret )( 
  2412.             IHTMLCaret * This,
  2413.             /* [in] */ IMarkupPointer *pIMarkupPointer);
  2414.         
  2415.         HRESULT ( STDMETHODCALLTYPE *MoveDisplayPointerToCaret )( 
  2416.             IHTMLCaret * This,
  2417.             /* [in] */ IDisplayPointer *pDispPointer);
  2418.         
  2419.         HRESULT ( STDMETHODCALLTYPE *IsVisible )( 
  2420.             IHTMLCaret * This,
  2421.             /* [out] */ BOOL *pIsVisible);
  2422.         
  2423.         HRESULT ( STDMETHODCALLTYPE *Show )( 
  2424.             IHTMLCaret * This,
  2425.             /* [in] */ BOOL fScrollIntoView);
  2426.         
  2427.         HRESULT ( STDMETHODCALLTYPE *Hide )( 
  2428.             IHTMLCaret * This);
  2429.         
  2430.         HRESULT ( STDMETHODCALLTYPE *InsertText )( 
  2431.             IHTMLCaret * This,
  2432.             /* [in] */ OLECHAR *pText,
  2433.             /* [in] */ LONG lLen);
  2434.         
  2435.         HRESULT ( STDMETHODCALLTYPE *ScrollIntoView )( 
  2436.             IHTMLCaret * This);
  2437.         
  2438.         HRESULT ( STDMETHODCALLTYPE *GetLocation )( 
  2439.             IHTMLCaret * This,
  2440.             /* [out] */ POINT *pPoint,
  2441.             /* [in] */ BOOL fTranslate);
  2442.         
  2443.         HRESULT ( STDMETHODCALLTYPE *GetCaretDirection )( 
  2444.             IHTMLCaret * This,
  2445.             /* [out] */ CARET_DIRECTION *peDir);
  2446.         
  2447.         HRESULT ( STDMETHODCALLTYPE *SetCaretDirection )( 
  2448.             IHTMLCaret * This,
  2449.             /* [in] */ CARET_DIRECTION eDir);
  2450.         
  2451.         END_INTERFACE
  2452.     } IHTMLCaretVtbl;
  2453.     interface IHTMLCaret
  2454.     {
  2455.         CONST_VTBL struct IHTMLCaretVtbl *lpVtbl;
  2456.     };
  2457.     
  2458. #ifdef COBJMACROS
  2459. #define IHTMLCaret_QueryInterface(This,riid,ppvObject)
  2460.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2461. #define IHTMLCaret_AddRef(This)
  2462.     (This)->lpVtbl -> AddRef(This)
  2463. #define IHTMLCaret_Release(This)
  2464.     (This)->lpVtbl -> Release(This)
  2465. #define IHTMLCaret_MoveCaretToPointer(This,pDispPointer,fScrollIntoView,eDir)
  2466.     (This)->lpVtbl -> MoveCaretToPointer(This,pDispPointer,fScrollIntoView,eDir)
  2467. #define IHTMLCaret_MoveCaretToPointerEx(This,pDispPointer,fVisible,fScrollIntoView,eDir)
  2468.     (This)->lpVtbl -> MoveCaretToPointerEx(This,pDispPointer,fVisible,fScrollIntoView,eDir)
  2469. #define IHTMLCaret_MoveMarkupPointerToCaret(This,pIMarkupPointer)
  2470.     (This)->lpVtbl -> MoveMarkupPointerToCaret(This,pIMarkupPointer)
  2471. #define IHTMLCaret_MoveDisplayPointerToCaret(This,pDispPointer)
  2472.     (This)->lpVtbl -> MoveDisplayPointerToCaret(This,pDispPointer)
  2473. #define IHTMLCaret_IsVisible(This,pIsVisible)
  2474.     (This)->lpVtbl -> IsVisible(This,pIsVisible)
  2475. #define IHTMLCaret_Show(This,fScrollIntoView)
  2476.     (This)->lpVtbl -> Show(This,fScrollIntoView)
  2477. #define IHTMLCaret_Hide(This)
  2478.     (This)->lpVtbl -> Hide(This)
  2479. #define IHTMLCaret_InsertText(This,pText,lLen)
  2480.     (This)->lpVtbl -> InsertText(This,pText,lLen)
  2481. #define IHTMLCaret_ScrollIntoView(This)
  2482.     (This)->lpVtbl -> ScrollIntoView(This)
  2483. #define IHTMLCaret_GetLocation(This,pPoint,fTranslate)
  2484.     (This)->lpVtbl -> GetLocation(This,pPoint,fTranslate)
  2485. #define IHTMLCaret_GetCaretDirection(This,peDir)
  2486.     (This)->lpVtbl -> GetCaretDirection(This,peDir)
  2487. #define IHTMLCaret_SetCaretDirection(This,eDir)
  2488.     (This)->lpVtbl -> SetCaretDirection(This,eDir)
  2489. #endif /* COBJMACROS */
  2490. #endif  /* C style interface */
  2491. HRESULT STDMETHODCALLTYPE IHTMLCaret_MoveCaretToPointer_Proxy( 
  2492.     IHTMLCaret * This,
  2493.     /* [in] */ IDisplayPointer *pDispPointer,
  2494.     /* [in] */ BOOL fScrollIntoView,
  2495.     /* [in] */ CARET_DIRECTION eDir);
  2496. void __RPC_STUB IHTMLCaret_MoveCaretToPointer_Stub(
  2497.     IRpcStubBuffer *This,
  2498.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2499.     PRPC_MESSAGE _pRpcMessage,
  2500.     DWORD *_pdwStubPhase);
  2501. HRESULT STDMETHODCALLTYPE IHTMLCaret_MoveCaretToPointerEx_Proxy( 
  2502.     IHTMLCaret * This,
  2503.     /* [in] */ IDisplayPointer *pDispPointer,
  2504.     /* [in] */ BOOL fVisible,
  2505.     /* [in] */ BOOL fScrollIntoView,
  2506.     /* [in] */ CARET_DIRECTION eDir);
  2507. void __RPC_STUB IHTMLCaret_MoveCaretToPointerEx_Stub(
  2508.     IRpcStubBuffer *This,
  2509.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2510.     PRPC_MESSAGE _pRpcMessage,
  2511.     DWORD *_pdwStubPhase);
  2512. HRESULT STDMETHODCALLTYPE IHTMLCaret_MoveMarkupPointerToCaret_Proxy( 
  2513.     IHTMLCaret * This,
  2514.     /* [in] */ IMarkupPointer *pIMarkupPointer);
  2515. void __RPC_STUB IHTMLCaret_MoveMarkupPointerToCaret_Stub(
  2516.     IRpcStubBuffer *This,
  2517.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2518.     PRPC_MESSAGE _pRpcMessage,
  2519.     DWORD *_pdwStubPhase);
  2520. HRESULT STDMETHODCALLTYPE IHTMLCaret_MoveDisplayPointerToCaret_Proxy( 
  2521.     IHTMLCaret * This,
  2522.     /* [in] */ IDisplayPointer *pDispPointer);
  2523. void __RPC_STUB IHTMLCaret_MoveDisplayPointerToCaret_Stub(
  2524.     IRpcStubBuffer *This,
  2525.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2526.     PRPC_MESSAGE _pRpcMessage,
  2527.     DWORD *_pdwStubPhase);
  2528. HRESULT STDMETHODCALLTYPE IHTMLCaret_IsVisible_Proxy( 
  2529.     IHTMLCaret * This,
  2530.     /* [out] */ BOOL *pIsVisible);
  2531. void __RPC_STUB IHTMLCaret_IsVisible_Stub(
  2532.     IRpcStubBuffer *This,
  2533.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2534.     PRPC_MESSAGE _pRpcMessage,
  2535.     DWORD *_pdwStubPhase);
  2536. HRESULT STDMETHODCALLTYPE IHTMLCaret_Show_Proxy( 
  2537.     IHTMLCaret * This,
  2538.     /* [in] */ BOOL fScrollIntoView);
  2539. void __RPC_STUB IHTMLCaret_Show_Stub(
  2540.     IRpcStubBuffer *This,
  2541.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2542.     PRPC_MESSAGE _pRpcMessage,
  2543.     DWORD *_pdwStubPhase);
  2544. HRESULT STDMETHODCALLTYPE IHTMLCaret_Hide_Proxy( 
  2545.     IHTMLCaret * This);
  2546. void __RPC_STUB IHTMLCaret_Hide_Stub(
  2547.     IRpcStubBuffer *This,
  2548.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2549.     PRPC_MESSAGE _pRpcMessage,
  2550.     DWORD *_pdwStubPhase);
  2551. HRESULT STDMETHODCALLTYPE IHTMLCaret_InsertText_Proxy( 
  2552.     IHTMLCaret * This,
  2553.     /* [in] */ OLECHAR *pText,
  2554.     /* [in] */ LONG lLen);
  2555. void __RPC_STUB IHTMLCaret_InsertText_Stub(
  2556.     IRpcStubBuffer *This,
  2557.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2558.     PRPC_MESSAGE _pRpcMessage,
  2559.     DWORD *_pdwStubPhase);
  2560. HRESULT STDMETHODCALLTYPE IHTMLCaret_ScrollIntoView_Proxy( 
  2561.     IHTMLCaret * This);
  2562. void __RPC_STUB IHTMLCaret_ScrollIntoView_Stub(
  2563.     IRpcStubBuffer *This,
  2564.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2565.     PRPC_MESSAGE _pRpcMessage,
  2566.     DWORD *_pdwStubPhase);
  2567. HRESULT STDMETHODCALLTYPE IHTMLCaret_GetLocation_Proxy( 
  2568.     IHTMLCaret * This,
  2569.     /* [out] */ POINT *pPoint,
  2570.     /* [in] */ BOOL fTranslate);
  2571. void __RPC_STUB IHTMLCaret_GetLocation_Stub(
  2572.     IRpcStubBuffer *This,
  2573.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2574.     PRPC_MESSAGE _pRpcMessage,
  2575.     DWORD *_pdwStubPhase);
  2576. HRESULT STDMETHODCALLTYPE IHTMLCaret_GetCaretDirection_Proxy( 
  2577.     IHTMLCaret * This,
  2578.     /* [out] */ CARET_DIRECTION *peDir);
  2579. void __RPC_STUB IHTMLCaret_GetCaretDirection_Stub(
  2580.     IRpcStubBuffer *This,
  2581.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2582.     PRPC_MESSAGE _pRpcMessage,
  2583.     DWORD *_pdwStubPhase);
  2584. HRESULT STDMETHODCALLTYPE IHTMLCaret_SetCaretDirection_Proxy( 
  2585.     IHTMLCaret * This,
  2586.     /* [in] */ CARET_DIRECTION eDir);
  2587. void __RPC_STUB IHTMLCaret_SetCaretDirection_Stub(
  2588.     IRpcStubBuffer *This,
  2589.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2590.     PRPC_MESSAGE _pRpcMessage,
  2591.     DWORD *_pdwStubPhase);
  2592. #endif  /* __IHTMLCaret_INTERFACE_DEFINED__ */
  2593. #ifndef __ISegment_INTERFACE_DEFINED__
  2594. #define __ISegment_INTERFACE_DEFINED__
  2595. /* interface ISegment */
  2596. /* [uuid][unique][object] */ 
  2597. EXTERN_C const IID IID_ISegment;
  2598. #if defined(__cplusplus) && !defined(CINTERFACE)
  2599.     
  2600.     MIDL_INTERFACE("3050f683-98b5-11cf-bb82-00aa00bdce0b")
  2601.     ISegment : public IUnknown
  2602.     {
  2603.     public:
  2604.         virtual HRESULT STDMETHODCALLTYPE GetPointers( 
  2605.             /* [in] */ IMarkupPointer *pIStart,
  2606.             /* [in] */ IMarkupPointer *pIEnd) = 0;
  2607.         
  2608.     };
  2609.     
  2610. #else  /* C style interface */
  2611.     typedef struct ISegmentVtbl
  2612.     {
  2613.         BEGIN_INTERFACE
  2614.         
  2615.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2616.             ISegment * This,
  2617.             /* [in] */ REFIID riid,
  2618.             /* [iid_is][out] */ void **ppvObject);
  2619.         
  2620.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2621.             ISegment * This);
  2622.         
  2623.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2624.             ISegment * This);
  2625.         
  2626.         HRESULT ( STDMETHODCALLTYPE *GetPointers )( 
  2627.             ISegment * This,
  2628.             /* [in] */ IMarkupPointer *pIStart,
  2629.             /* [in] */ IMarkupPointer *pIEnd);
  2630.         
  2631.         END_INTERFACE
  2632.     } ISegmentVtbl;
  2633.     interface ISegment
  2634.     {
  2635.         CONST_VTBL struct ISegmentVtbl *lpVtbl;
  2636.     };
  2637.     
  2638. #ifdef COBJMACROS
  2639. #define ISegment_QueryInterface(This,riid,ppvObject)
  2640.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2641. #define ISegment_AddRef(This)
  2642.     (This)->lpVtbl -> AddRef(This)
  2643. #define ISegment_Release(This)
  2644.     (This)->lpVtbl -> Release(This)
  2645. #define ISegment_GetPointers(This,pIStart,pIEnd)
  2646.     (This)->lpVtbl -> GetPointers(This,pIStart,pIEnd)
  2647. #endif /* COBJMACROS */
  2648. #endif  /* C style interface */
  2649. HRESULT STDMETHODCALLTYPE ISegment_GetPointers_Proxy( 
  2650.     ISegment * This,
  2651.     /* [in] */ IMarkupPointer *pIStart,
  2652.     /* [in] */ IMarkupPointer *pIEnd);
  2653. void __RPC_STUB ISegment_GetPointers_Stub(
  2654.     IRpcStubBuffer *This,
  2655.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2656.     PRPC_MESSAGE _pRpcMessage,
  2657.     DWORD *_pdwStubPhase);
  2658. #endif  /* __ISegment_INTERFACE_DEFINED__ */
  2659. #ifndef __IElementSegment_INTERFACE_DEFINED__
  2660. #define __IElementSegment_INTERFACE_DEFINED__
  2661. /* interface IElementSegment */
  2662. /* [uuid][unique][object] */ 
  2663. EXTERN_C const IID IID_IElementSegment;
  2664. #if defined(__cplusplus) && !defined(CINTERFACE)
  2665.     
  2666.     MIDL_INTERFACE("3050f68f-98b5-11cf-bb82-00aa00bdce0b")
  2667.     IElementSegment : public ISegment
  2668.     {
  2669.     public:
  2670.         virtual HRESULT STDMETHODCALLTYPE GetElement( 
  2671.             /* [out] */ IHTMLElement **ppIElement) = 0;
  2672.         
  2673.         virtual HRESULT STDMETHODCALLTYPE SetPrimary( 
  2674.             /* [in] */ BOOL fPrimary) = 0;
  2675.         
  2676.         virtual HRESULT STDMETHODCALLTYPE IsPrimary( 
  2677.             /* [out] */ BOOL *pfPrimary) = 0;
  2678.         
  2679.     };
  2680.     
  2681. #else  /* C style interface */
  2682.     typedef struct IElementSegmentVtbl
  2683.     {
  2684.         BEGIN_INTERFACE
  2685.         
  2686.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2687.             IElementSegment * This,
  2688.             /* [in] */ REFIID riid,
  2689.             /* [iid_is][out] */ void **ppvObject);
  2690.         
  2691.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2692.             IElementSegment * This);
  2693.         
  2694.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2695.             IElementSegment * This);
  2696.         
  2697.         HRESULT ( STDMETHODCALLTYPE *GetPointers )( 
  2698.             IElementSegment * This,
  2699.             /* [in] */ IMarkupPointer *pIStart,
  2700.             /* [in] */ IMarkupPointer *pIEnd);
  2701.         
  2702.         HRESULT ( STDMETHODCALLTYPE *GetElement )( 
  2703.             IElementSegment * This,
  2704.             /* [out] */ IHTMLElement **ppIElement);
  2705.         
  2706.         HRESULT ( STDMETHODCALLTYPE *SetPrimary )( 
  2707.             IElementSegment * This,
  2708.             /* [in] */ BOOL fPrimary);
  2709.         
  2710.         HRESULT ( STDMETHODCALLTYPE *IsPrimary )( 
  2711.             IElementSegment * This,
  2712.             /* [out] */ BOOL *pfPrimary);
  2713.         
  2714.         END_INTERFACE
  2715.     } IElementSegmentVtbl;
  2716.     interface IElementSegment
  2717.     {
  2718.         CONST_VTBL struct IElementSegmentVtbl *lpVtbl;
  2719.     };
  2720.     
  2721. #ifdef COBJMACROS
  2722. #define IElementSegment_QueryInterface(This,riid,ppvObject)
  2723.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2724. #define IElementSegment_AddRef(This)
  2725.     (This)->lpVtbl -> AddRef(This)
  2726. #define IElementSegment_Release(This)
  2727.     (This)->lpVtbl -> Release(This)
  2728. #define IElementSegment_GetPointers(This,pIStart,pIEnd)
  2729.     (This)->lpVtbl -> GetPointers(This,pIStart,pIEnd)
  2730. #define IElementSegment_GetElement(This,ppIElement)
  2731.     (This)->lpVtbl -> GetElement(This,ppIElement)
  2732. #define IElementSegment_SetPrimary(This,fPrimary)
  2733.     (This)->lpVtbl -> SetPrimary(This,fPrimary)
  2734. #define IElementSegment_IsPrimary(This,pfPrimary)
  2735.     (This)->lpVtbl -> IsPrimary(This,pfPrimary)
  2736. #endif /* COBJMACROS */
  2737. #endif  /* C style interface */
  2738. HRESULT STDMETHODCALLTYPE IElementSegment_GetElement_Proxy( 
  2739.     IElementSegment * This,
  2740.     /* [out] */ IHTMLElement **ppIElement);
  2741. void __RPC_STUB IElementSegment_GetElement_Stub(
  2742.     IRpcStubBuffer *This,
  2743.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2744.     PRPC_MESSAGE _pRpcMessage,
  2745.     DWORD *_pdwStubPhase);
  2746. HRESULT STDMETHODCALLTYPE IElementSegment_SetPrimary_Proxy( 
  2747.     IElementSegment * This,
  2748.     /* [in] */ BOOL fPrimary);
  2749. void __RPC_STUB IElementSegment_SetPrimary_Stub(
  2750.     IRpcStubBuffer *This,
  2751.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2752.     PRPC_MESSAGE _pRpcMessage,
  2753.     DWORD *_pdwStubPhase);
  2754. HRESULT STDMETHODCALLTYPE IElementSegment_IsPrimary_Proxy( 
  2755.     IElementSegment * This,
  2756.     /* [out] */ BOOL *pfPrimary);
  2757. void __RPC_STUB IElementSegment_IsPrimary_Stub(
  2758.     IRpcStubBuffer *This,
  2759.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2760.     PRPC_MESSAGE _pRpcMessage,
  2761.     DWORD *_pdwStubPhase);
  2762. #endif  /* __IElementSegment_INTERFACE_DEFINED__ */
  2763. #ifndef __IHighlightSegment_INTERFACE_DEFINED__
  2764. #define __IHighlightSegment_INTERFACE_DEFINED__
  2765. /* interface IHighlightSegment */
  2766. /* [uuid][unique][object] */ 
  2767. EXTERN_C const IID IID_IHighlightSegment;
  2768. #if defined(__cplusplus) && !defined(CINTERFACE)
  2769.     
  2770.     MIDL_INTERFACE("3050f690-98b5-11cf-bb82-00aa00bdce0b")
  2771.     IHighlightSegment : public ISegment
  2772.     {
  2773.     public:
  2774.     };
  2775.     
  2776. #else  /* C style interface */
  2777.     typedef struct IHighlightSegmentVtbl
  2778.     {
  2779.         BEGIN_INTERFACE
  2780.         
  2781.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2782.             IHighlightSegment * This,
  2783.             /* [in] */ REFIID riid,
  2784.             /* [iid_is][out] */ void **ppvObject);
  2785.         
  2786.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2787.             IHighlightSegment * This);
  2788.         
  2789.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2790.             IHighlightSegment * This);
  2791.         
  2792.         HRESULT ( STDMETHODCALLTYPE *GetPointers )( 
  2793.             IHighlightSegment * This,
  2794.             /* [in] */ IMarkupPointer *pIStart,
  2795.             /* [in] */ IMarkupPointer *pIEnd);
  2796.         
  2797.         END_INTERFACE
  2798.     } IHighlightSegmentVtbl;
  2799.     interface IHighlightSegment
  2800.     {
  2801.         CONST_VTBL struct IHighlightSegmentVtbl *lpVtbl;
  2802.     };
  2803.     
  2804. #ifdef COBJMACROS
  2805. #define IHighlightSegment_QueryInterface(This,riid,ppvObject)
  2806.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2807. #define IHighlightSegment_AddRef(This)
  2808.     (This)->lpVtbl -> AddRef(This)
  2809. #define IHighlightSegment_Release(This)
  2810.     (This)->lpVtbl -> Release(This)
  2811. #define IHighlightSegment_GetPointers(This,pIStart,pIEnd)
  2812.     (This)->lpVtbl -> GetPointers(This,pIStart,pIEnd)
  2813. #endif /* COBJMACROS */
  2814. #endif  /* C style interface */
  2815. #endif  /* __IHighlightSegment_INTERFACE_DEFINED__ */
  2816. #ifndef __IHighlightRenderingServices_INTERFACE_DEFINED__
  2817. #define __IHighlightRenderingServices_INTERFACE_DEFINED__
  2818. /* interface IHighlightRenderingServices */
  2819. /* [uuid][unique][object] */ 
  2820. EXTERN_C const IID IID_IHighlightRenderingServices;
  2821. #if defined(__cplusplus) && !defined(CINTERFACE)
  2822.     
  2823.     MIDL_INTERFACE("3050f606-98b5-11cf-bb82-00aa00bdce0b")
  2824.     IHighlightRenderingServices : public IUnknown
  2825.     {
  2826.     public:
  2827.         virtual HRESULT STDMETHODCALLTYPE AddSegment( 
  2828.             /* [in] */ IDisplayPointer *pDispPointerStart,
  2829.             /* [in] */ IDisplayPointer *pDispPointerEnd,
  2830.             /* [in] */ IHTMLRenderStyle *pIRenderStyle,
  2831.             /* [out] */ IHighlightSegment **ppISegment) = 0;
  2832.         
  2833.         virtual HRESULT STDMETHODCALLTYPE MoveSegmentToPointers( 
  2834.             /* [in] */ IHighlightSegment *pISegment,
  2835.             /* [in] */ IDisplayPointer *pDispPointerStart,
  2836.             /* [in] */ IDisplayPointer *pDispPointerEnd) = 0;
  2837.         
  2838.         virtual HRESULT STDMETHODCALLTYPE RemoveSegment( 
  2839.             /* [in] */ IHighlightSegment *pISegment) = 0;
  2840.         
  2841.     };
  2842.     
  2843. #else  /* C style interface */
  2844.     typedef struct IHighlightRenderingServicesVtbl
  2845.     {
  2846.         BEGIN_INTERFACE
  2847.         
  2848.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2849.             IHighlightRenderingServices * This,
  2850.             /* [in] */ REFIID riid,
  2851.             /* [iid_is][out] */ void **ppvObject);
  2852.         
  2853.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2854.             IHighlightRenderingServices * This);
  2855.         
  2856.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2857.             IHighlightRenderingServices * This);
  2858.         
  2859.         HRESULT ( STDMETHODCALLTYPE *AddSegment )( 
  2860.             IHighlightRenderingServices * This,
  2861.             /* [in] */ IDisplayPointer *pDispPointerStart,
  2862.             /* [in] */ IDisplayPointer *pDispPointerEnd,
  2863.             /* [in] */ IHTMLRenderStyle *pIRenderStyle,
  2864.             /* [out] */ IHighlightSegment **ppISegment);
  2865.         
  2866.         HRESULT ( STDMETHODCALLTYPE *MoveSegmentToPointers )( 
  2867.             IHighlightRenderingServices * This,
  2868.             /* [in] */ IHighlightSegment *pISegment,
  2869.             /* [in] */ IDisplayPointer *pDispPointerStart,
  2870.             /* [in] */ IDisplayPointer *pDispPointerEnd);
  2871.         
  2872.         HRESULT ( STDMETHODCALLTYPE *RemoveSegment )( 
  2873.             IHighlightRenderingServices * This,
  2874.             /* [in] */ IHighlightSegment *pISegment);
  2875.         
  2876.         END_INTERFACE
  2877.     } IHighlightRenderingServicesVtbl;
  2878.     interface IHighlightRenderingServices
  2879.     {
  2880.         CONST_VTBL struct IHighlightRenderingServicesVtbl *lpVtbl;
  2881.     };
  2882.     
  2883. #ifdef COBJMACROS
  2884. #define IHighlightRenderingServices_QueryInterface(This,riid,ppvObject)
  2885.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2886. #define IHighlightRenderingServices_AddRef(This)
  2887.     (This)->lpVtbl -> AddRef(This)
  2888. #define IHighlightRenderingServices_Release(This)
  2889.     (This)->lpVtbl -> Release(This)
  2890. #define IHighlightRenderingServices_AddSegment(This,pDispPointerStart,pDispPointerEnd,pIRenderStyle,ppISegment)
  2891.     (This)->lpVtbl -> AddSegment(This,pDispPointerStart,pDispPointerEnd,pIRenderStyle,ppISegment)
  2892. #define IHighlightRenderingServices_MoveSegmentToPointers(This,pISegment,pDispPointerStart,pDispPointerEnd)
  2893.     (This)->lpVtbl -> MoveSegmentToPointers(This,pISegment,pDispPointerStart,pDispPointerEnd)
  2894. #define IHighlightRenderingServices_RemoveSegment(This,pISegment)
  2895.     (This)->lpVtbl -> RemoveSegment(This,pISegment)
  2896. #endif /* COBJMACROS */
  2897. #endif  /* C style interface */
  2898. HRESULT STDMETHODCALLTYPE IHighlightRenderingServices_AddSegment_Proxy( 
  2899.     IHighlightRenderingServices * This,
  2900.     /* [in] */ IDisplayPointer *pDispPointerStart,
  2901.     /* [in] */ IDisplayPointer *pDispPointerEnd,
  2902.     /* [in] */ IHTMLRenderStyle *pIRenderStyle,
  2903.     /* [out] */ IHighlightSegment **ppISegment);
  2904. void __RPC_STUB IHighlightRenderingServices_AddSegment_Stub(
  2905.     IRpcStubBuffer *This,
  2906.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2907.     PRPC_MESSAGE _pRpcMessage,
  2908.     DWORD *_pdwStubPhase);
  2909. HRESULT STDMETHODCALLTYPE IHighlightRenderingServices_MoveSegmentToPointers_Proxy( 
  2910.     IHighlightRenderingServices * This,
  2911.     /* [in] */ IHighlightSegment *pISegment,
  2912.     /* [in] */ IDisplayPointer *pDispPointerStart,
  2913.     /* [in] */ IDisplayPointer *pDispPointerEnd);
  2914. void __RPC_STUB IHighlightRenderingServices_MoveSegmentToPointers_Stub(
  2915.     IRpcStubBuffer *This,
  2916.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2917.     PRPC_MESSAGE _pRpcMessage,
  2918.     DWORD *_pdwStubPhase);
  2919. HRESULT STDMETHODCALLTYPE IHighlightRenderingServices_RemoveSegment_Proxy( 
  2920.     IHighlightRenderingServices * This,
  2921.     /* [in] */ IHighlightSegment *pISegment);
  2922. void __RPC_STUB IHighlightRenderingServices_RemoveSegment_Stub(
  2923.     IRpcStubBuffer *This,
  2924.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2925.     PRPC_MESSAGE _pRpcMessage,
  2926.     DWORD *_pdwStubPhase);
  2927. #endif  /* __IHighlightRenderingServices_INTERFACE_DEFINED__ */
  2928. #ifndef __ILineInfo_INTERFACE_DEFINED__
  2929. #define __ILineInfo_INTERFACE_DEFINED__
  2930. /* interface ILineInfo */
  2931. /* [uuid][unique][object] */ 
  2932. EXTERN_C const IID IID_ILineInfo;
  2933. #if defined(__cplusplus) && !defined(CINTERFACE)
  2934.     
  2935.     MIDL_INTERFACE("3050f7e2-98b5-11cf-bb82-00aa00bdce0b")
  2936.     ILineInfo : public IUnknown
  2937.     {
  2938.     public:
  2939.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_x( 
  2940.             /* [out][retval] */ long *p) = 0;
  2941.         
  2942.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_baseLine( 
  2943.             /* [out][retval] */ long *p) = 0;
  2944.         
  2945.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_textDescent( 
  2946.             /* [out][retval] */ long *p) = 0;
  2947.         
  2948.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_textHeight( 
  2949.             /* [out][retval] */ long *p) = 0;
  2950.         
  2951.         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_lineDirection( 
  2952.             /* [out][retval] */ LONG *p) = 0;
  2953.         
  2954.     };
  2955.     
  2956. #else  /* C style interface */
  2957.     typedef struct ILineInfoVtbl
  2958.     {
  2959.         BEGIN_INTERFACE
  2960.         
  2961.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2962.             ILineInfo * This,
  2963.             /* [in] */ REFIID riid,
  2964.             /* [iid_is][out] */ void **ppvObject);
  2965.         
  2966.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2967.             ILineInfo * This);
  2968.         
  2969.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2970.             ILineInfo * This);
  2971.         
  2972.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_x )( 
  2973.             ILineInfo * This,
  2974.             /* [out][retval] */ long *p);
  2975.         
  2976.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_baseLine )( 
  2977.             ILineInfo * This,
  2978.             /* [out][retval] */ long *p);
  2979.         
  2980.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_textDescent )( 
  2981.             ILineInfo * This,
  2982.             /* [out][retval] */ long *p);
  2983.         
  2984.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_textHeight )( 
  2985.             ILineInfo * This,
  2986.             /* [out][retval] */ long *p);
  2987.         
  2988.         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lineDirection )( 
  2989.             ILineInfo * This,
  2990.             /* [out][retval] */ LONG *p);
  2991.         
  2992.         END_INTERFACE
  2993.     } ILineInfoVtbl;
  2994.     interface ILineInfo
  2995.     {
  2996.         CONST_VTBL struct ILineInfoVtbl *lpVtbl;
  2997.     };
  2998.     
  2999. #ifdef COBJMACROS
  3000. #define ILineInfo_QueryInterface(This,riid,ppvObject)
  3001.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3002. #define ILineInfo_AddRef(This)
  3003.     (This)->lpVtbl -> AddRef(This)
  3004. #define ILineInfo_Release(This)
  3005.     (This)->lpVtbl -> Release(This)
  3006. #define ILineInfo_get_x(This,p)
  3007.     (This)->lpVtbl -> get_x(This,p)
  3008. #define ILineInfo_get_baseLine(This,p)
  3009.     (This)->lpVtbl -> get_baseLine(This,p)
  3010. #define ILineInfo_get_textDescent(This,p)
  3011.     (This)->lpVtbl -> get_textDescent(This,p)
  3012. #define ILineInfo_get_textHeight(This,p)
  3013.     (This)->lpVtbl -> get_textHeight(This,p)
  3014. #define ILineInfo_get_lineDirection(This,p)