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

模拟服务器

开发平台:

C/C++

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