Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1083 lines
32 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.02.88 */
  3. /* at Mon Nov 17 12:03:53 1997
  4. */
  5. /* Compiler settings for mshtmhst.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __mshtmhst_h__
  17. #define __mshtmhst_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IDocHostUIHandler_FWD_DEFINED__
  23. #define __IDocHostUIHandler_FWD_DEFINED__
  24. typedef interface IDocHostUIHandler IDocHostUIHandler;
  25. #endif /* __IDocHostUIHandler_FWD_DEFINED__ */
  26. #ifndef __ICustomDoc_FWD_DEFINED__
  27. #define __ICustomDoc_FWD_DEFINED__
  28. typedef interface ICustomDoc ICustomDoc;
  29. #endif /* __ICustomDoc_FWD_DEFINED__ */
  30. #ifndef __IDocHostShowUI_FWD_DEFINED__
  31. #define __IDocHostShowUI_FWD_DEFINED__
  32. typedef interface IDocHostShowUI IDocHostShowUI;
  33. #endif /* __IDocHostShowUI_FWD_DEFINED__ */
  34. #ifndef __ICSSFilterSite_FWD_DEFINED__
  35. #define __ICSSFilterSite_FWD_DEFINED__
  36. typedef interface ICSSFilterSite ICSSFilterSite;
  37. #endif /* __ICSSFilterSite_FWD_DEFINED__ */
  38. #ifndef __ICSSFilter_FWD_DEFINED__
  39. #define __ICSSFilter_FWD_DEFINED__
  40. typedef interface ICSSFilter ICSSFilter;
  41. #endif /* __ICSSFilter_FWD_DEFINED__ */
  42. /* header files for imported files */
  43. #include "ocidl.h"
  44. #include "docobj.h"
  45. #include "mshtml.h"
  46. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  47. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  48. /****************************************
  49. * Generated header for interface: __MIDL_itf_mshtmhst_0000
  50. * at Mon Nov 17 12:03:53 1997
  51. * using MIDL 3.02.88
  52. ****************************************/
  53. /* [local] */
  54. //=--------------------------------------------------------------------------=
  55. // mshtmhst.h
  56. //=--------------------------------------------------------------------------=
  57. // (C) Copyright 1995 - 1998 Microsoft Corporation. All Rights Reserved.
  58. //
  59. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  60. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  61. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  62. // PARTICULAR PURPOSE.
  63. //=--------------------------------------------------------------------------=
  64. #pragma comment(lib,"uuid.lib")
  65. //--------------------------------------------------------------------------
  66. // MSTHML Advanced Host Interfaces.
  67. #ifndef MSHTMHST_H
  68. #define MSHTMHST_H
  69. #define CONTEXT_MENU_DEFAULT 0
  70. #define CONTEXT_MENU_IMAGE 1
  71. #define CONTEXT_MENU_CONTROL 2
  72. #define CONTEXT_MENU_TABLE 3
  73. // in browse mode
  74. #define CONTEXT_MENU_TEXTSELECT 4
  75. #define CONTEXT_MENU_ANCHOR 5
  76. #define CONTEXT_MENU_UNKNOWN 6
  77. #define MENUEXT_SHOWDIALOG 0x1
  78. #define DOCHOSTUIFLAG_BROWSER DOCHOSTUIFLAG_DISABLE_HELP_MENU | DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE
  79. EXTERN_C const GUID CGID_MSHTML;
  80. #define CMDSETID_Forms3 CGID_MSHTML
  81. #define SZ_HTML_CLIENTSITE_OBJECTPARAM L"{d4db6850-5385-11d0-89e9-00a0c90a90ac}"
  82. typedef HRESULT STDAPICALLTYPE SHOWHTMLDIALOGFN (HWND hwndParent, IMoniker *pmk, VARIANT *pvarArgIn, TCHAR* pchOptions, VARIANT *pvArgOut);
  83. typedef
  84. enum tagDOCHOSTUIDBLCLK
  85. { DOCHOSTUIDBLCLK_DEFAULT = 0,
  86. DOCHOSTUIDBLCLK_SHOWPROPERTIES = 1,
  87. DOCHOSTUIDBLCLK_SHOWCODE = 2
  88. } DOCHOSTUIDBLCLK;
  89. typedef
  90. enum tagDOCHOSTUIFLAG
  91. { DOCHOSTUIFLAG_DIALOG = 1,
  92. DOCHOSTUIFLAG_DISABLE_HELP_MENU = 2,
  93. DOCHOSTUIFLAG_NO3DBORDER = 4,
  94. DOCHOSTUIFLAG_SCROLL_NO = 8,
  95. DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 16,
  96. DOCHOSTUIFLAG_OPENNEWWIN = 32,
  97. DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 64,
  98. DOCHOSTUIFLAG_FLAT_SCROLLBAR = 128,
  99. DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 256,
  100. DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 512,
  101. DOCHOSTUIFLAG_DISABLE_COOKIE = 1024
  102. } DOCHOSTUIFLAG;
  103. extern RPC_IF_HANDLE __MIDL_itf_mshtmhst_0000_v0_0_c_ifspec;
  104. extern RPC_IF_HANDLE __MIDL_itf_mshtmhst_0000_v0_0_s_ifspec;
  105. #ifndef __IDocHostUIHandler_INTERFACE_DEFINED__
  106. #define __IDocHostUIHandler_INTERFACE_DEFINED__
  107. /****************************************
  108. * Generated header for interface: IDocHostUIHandler
  109. * at Mon Nov 17 12:03:53 1997
  110. * using MIDL 3.02.88
  111. ****************************************/
  112. /* [local][unique][uuid][object] */
  113. typedef struct _DOCHOSTUIINFO
  114. {
  115. ULONG cbSize;
  116. DWORD dwFlags;
  117. DWORD dwDoubleClick;
  118. } DOCHOSTUIINFO;
  119. EXTERN_C const IID IID_IDocHostUIHandler;
  120. #if defined(__cplusplus) && !defined(CINTERFACE)
  121. interface DECLSPEC_UUID("bd3f23c0-d43e-11cf-893b-00aa00bdce1a")
  122. IDocHostUIHandler : public IUnknown
  123. {
  124. public:
  125. virtual HRESULT STDMETHODCALLTYPE ShowContextMenu(
  126. /* [in] */ DWORD dwID,
  127. /* [in] */ POINT __RPC_FAR *ppt,
  128. /* [in] */ IUnknown __RPC_FAR *pcmdtReserved,
  129. /* [in] */ IDispatch __RPC_FAR *pdispReserved) = 0;
  130. virtual HRESULT STDMETHODCALLTYPE GetHostInfo(
  131. /* [out][in] */ DOCHOSTUIINFO __RPC_FAR *pInfo) = 0;
  132. virtual HRESULT STDMETHODCALLTYPE ShowUI(
  133. /* [in] */ DWORD dwID,
  134. /* [in] */ IOleInPlaceActiveObject __RPC_FAR *pActiveObject,
  135. /* [in] */ IOleCommandTarget __RPC_FAR *pCommandTarget,
  136. /* [in] */ IOleInPlaceFrame __RPC_FAR *pFrame,
  137. /* [in] */ IOleInPlaceUIWindow __RPC_FAR *pDoc) = 0;
  138. virtual HRESULT STDMETHODCALLTYPE HideUI( void) = 0;
  139. virtual HRESULT STDMETHODCALLTYPE UpdateUI( void) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  141. /* [in] */ BOOL fEnable) = 0;
  142. virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
  143. /* [in] */ BOOL fActivate) = 0;
  144. virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
  145. /* [in] */ BOOL fActivate) = 0;
  146. virtual HRESULT STDMETHODCALLTYPE ResizeBorder(
  147. /* [in] */ LPCRECT prcBorder,
  148. /* [in] */ IOleInPlaceUIWindow __RPC_FAR *pUIWindow,
  149. /* [in] */ BOOL fRameWindow) = 0;
  150. virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
  151. /* [in] */ LPMSG lpMsg,
  152. /* [in] */ const GUID __RPC_FAR *pguidCmdGroup,
  153. /* [in] */ DWORD nCmdID) = 0;
  154. virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath(
  155. /* [out] */ LPOLESTR __RPC_FAR *pchKey,
  156. /* [in] */ DWORD dw) = 0;
  157. virtual HRESULT STDMETHODCALLTYPE GetDropTarget(
  158. /* [in] */ IDropTarget __RPC_FAR *pDropTarget,
  159. /* [out] */ IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget) = 0;
  160. virtual HRESULT STDMETHODCALLTYPE GetExternal(
  161. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispatch) = 0;
  162. virtual HRESULT STDMETHODCALLTYPE TranslateUrl(
  163. /* [in] */ DWORD dwTranslate,
  164. /* [in] */ OLECHAR __RPC_FAR *pchURLIn,
  165. /* [out] */ OLECHAR __RPC_FAR *__RPC_FAR *ppchURLOut) = 0;
  166. virtual HRESULT STDMETHODCALLTYPE FilterDataObject(
  167. /* [in] */ IDataObject __RPC_FAR *pDO,
  168. /* [out] */ IDataObject __RPC_FAR *__RPC_FAR *ppDORet) = 0;
  169. };
  170. #else /* C style interface */
  171. typedef struct IDocHostUIHandlerVtbl
  172. {
  173. BEGIN_INTERFACE
  174. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  175. IDocHostUIHandler __RPC_FAR * This,
  176. /* [in] */ REFIID riid,
  177. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  178. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  179. IDocHostUIHandler __RPC_FAR * This);
  180. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  181. IDocHostUIHandler __RPC_FAR * This);
  182. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowContextMenu )(
  183. IDocHostUIHandler __RPC_FAR * This,
  184. /* [in] */ DWORD dwID,
  185. /* [in] */ POINT __RPC_FAR *ppt,
  186. /* [in] */ IUnknown __RPC_FAR *pcmdtReserved,
  187. /* [in] */ IDispatch __RPC_FAR *pdispReserved);
  188. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHostInfo )(
  189. IDocHostUIHandler __RPC_FAR * This,
  190. /* [out][in] */ DOCHOSTUIINFO __RPC_FAR *pInfo);
  191. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowUI )(
  192. IDocHostUIHandler __RPC_FAR * This,
  193. /* [in] */ DWORD dwID,
  194. /* [in] */ IOleInPlaceActiveObject __RPC_FAR *pActiveObject,
  195. /* [in] */ IOleCommandTarget __RPC_FAR *pCommandTarget,
  196. /* [in] */ IOleInPlaceFrame __RPC_FAR *pFrame,
  197. /* [in] */ IOleInPlaceUIWindow __RPC_FAR *pDoc);
  198. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HideUI )(
  199. IDocHostUIHandler __RPC_FAR * This);
  200. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateUI )(
  201. IDocHostUIHandler __RPC_FAR * This);
  202. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnableModeless )(
  203. IDocHostUIHandler __RPC_FAR * This,
  204. /* [in] */ BOOL fEnable);
  205. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDocWindowActivate )(
  206. IDocHostUIHandler __RPC_FAR * This,
  207. /* [in] */ BOOL fActivate);
  208. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnFrameWindowActivate )(
  209. IDocHostUIHandler __RPC_FAR * This,
  210. /* [in] */ BOOL fActivate);
  211. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResizeBorder )(
  212. IDocHostUIHandler __RPC_FAR * This,
  213. /* [in] */ LPCRECT prcBorder,
  214. /* [in] */ IOleInPlaceUIWindow __RPC_FAR *pUIWindow,
  215. /* [in] */ BOOL fRameWindow);
  216. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateAccelerator )(
  217. IDocHostUIHandler __RPC_FAR * This,
  218. /* [in] */ LPMSG lpMsg,
  219. /* [in] */ const GUID __RPC_FAR *pguidCmdGroup,
  220. /* [in] */ DWORD nCmdID);
  221. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOptionKeyPath )(
  222. IDocHostUIHandler __RPC_FAR * This,
  223. /* [out] */ LPOLESTR __RPC_FAR *pchKey,
  224. /* [in] */ DWORD dw);
  225. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDropTarget )(
  226. IDocHostUIHandler __RPC_FAR * This,
  227. /* [in] */ IDropTarget __RPC_FAR *pDropTarget,
  228. /* [out] */ IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget);
  229. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExternal )(
  230. IDocHostUIHandler __RPC_FAR * This,
  231. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispatch);
  232. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateUrl )(
  233. IDocHostUIHandler __RPC_FAR * This,
  234. /* [in] */ DWORD dwTranslate,
  235. /* [in] */ OLECHAR __RPC_FAR *pchURLIn,
  236. /* [out] */ OLECHAR __RPC_FAR *__RPC_FAR *ppchURLOut);
  237. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FilterDataObject )(
  238. IDocHostUIHandler __RPC_FAR * This,
  239. /* [in] */ IDataObject __RPC_FAR *pDO,
  240. /* [out] */ IDataObject __RPC_FAR *__RPC_FAR *ppDORet);
  241. END_INTERFACE
  242. } IDocHostUIHandlerVtbl;
  243. interface IDocHostUIHandler
  244. {
  245. CONST_VTBL struct IDocHostUIHandlerVtbl __RPC_FAR *lpVtbl;
  246. };
  247. #ifdef COBJMACROS
  248. #define IDocHostUIHandler_QueryInterface(This,riid,ppvObject) \
  249. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  250. #define IDocHostUIHandler_AddRef(This) \
  251. (This)->lpVtbl -> AddRef(This)
  252. #define IDocHostUIHandler_Release(This) \
  253. (This)->lpVtbl -> Release(This)
  254. #define IDocHostUIHandler_ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) \
  255. (This)->lpVtbl -> ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved)
  256. #define IDocHostUIHandler_GetHostInfo(This,pInfo) \
  257. (This)->lpVtbl -> GetHostInfo(This,pInfo)
  258. #define IDocHostUIHandler_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) \
  259. (This)->lpVtbl -> ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc)
  260. #define IDocHostUIHandler_HideUI(This) \
  261. (This)->lpVtbl -> HideUI(This)
  262. #define IDocHostUIHandler_UpdateUI(This) \
  263. (This)->lpVtbl -> UpdateUI(This)
  264. #define IDocHostUIHandler_EnableModeless(This,fEnable) \
  265. (This)->lpVtbl -> EnableModeless(This,fEnable)
  266. #define IDocHostUIHandler_OnDocWindowActivate(This,fActivate) \
  267. (This)->lpVtbl -> OnDocWindowActivate(This,fActivate)
  268. #define IDocHostUIHandler_OnFrameWindowActivate(This,fActivate) \
  269. (This)->lpVtbl -> OnFrameWindowActivate(This,fActivate)
  270. #define IDocHostUIHandler_ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) \
  271. (This)->lpVtbl -> ResizeBorder(This,prcBorder,pUIWindow,fRameWindow)
  272. #define IDocHostUIHandler_TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) \
  273. (This)->lpVtbl -> TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID)
  274. #define IDocHostUIHandler_GetOptionKeyPath(This,pchKey,dw) \
  275. (This)->lpVtbl -> GetOptionKeyPath(This,pchKey,dw)
  276. #define IDocHostUIHandler_GetDropTarget(This,pDropTarget,ppDropTarget) \
  277. (This)->lpVtbl -> GetDropTarget(This,pDropTarget,ppDropTarget)
  278. #define IDocHostUIHandler_GetExternal(This,ppDispatch) \
  279. (This)->lpVtbl -> GetExternal(This,ppDispatch)
  280. #define IDocHostUIHandler_TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) \
  281. (This)->lpVtbl -> TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut)
  282. #define IDocHostUIHandler_FilterDataObject(This,pDO,ppDORet) \
  283. (This)->lpVtbl -> FilterDataObject(This,pDO,ppDORet)
  284. #endif /* COBJMACROS */
  285. #endif /* C style interface */
  286. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_ShowContextMenu_Proxy(
  287. IDocHostUIHandler __RPC_FAR * This,
  288. /* [in] */ DWORD dwID,
  289. /* [in] */ POINT __RPC_FAR *ppt,
  290. /* [in] */ IUnknown __RPC_FAR *pcmdtReserved,
  291. /* [in] */ IDispatch __RPC_FAR *pdispReserved);
  292. void __RPC_STUB IDocHostUIHandler_ShowContextMenu_Stub(
  293. IRpcStubBuffer *This,
  294. IRpcChannelBuffer *_pRpcChannelBuffer,
  295. PRPC_MESSAGE _pRpcMessage,
  296. DWORD *_pdwStubPhase);
  297. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetHostInfo_Proxy(
  298. IDocHostUIHandler __RPC_FAR * This,
  299. /* [out][in] */ DOCHOSTUIINFO __RPC_FAR *pInfo);
  300. void __RPC_STUB IDocHostUIHandler_GetHostInfo_Stub(
  301. IRpcStubBuffer *This,
  302. IRpcChannelBuffer *_pRpcChannelBuffer,
  303. PRPC_MESSAGE _pRpcMessage,
  304. DWORD *_pdwStubPhase);
  305. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_ShowUI_Proxy(
  306. IDocHostUIHandler __RPC_FAR * This,
  307. /* [in] */ DWORD dwID,
  308. /* [in] */ IOleInPlaceActiveObject __RPC_FAR *pActiveObject,
  309. /* [in] */ IOleCommandTarget __RPC_FAR *pCommandTarget,
  310. /* [in] */ IOleInPlaceFrame __RPC_FAR *pFrame,
  311. /* [in] */ IOleInPlaceUIWindow __RPC_FAR *pDoc);
  312. void __RPC_STUB IDocHostUIHandler_ShowUI_Stub(
  313. IRpcStubBuffer *This,
  314. IRpcChannelBuffer *_pRpcChannelBuffer,
  315. PRPC_MESSAGE _pRpcMessage,
  316. DWORD *_pdwStubPhase);
  317. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_HideUI_Proxy(
  318. IDocHostUIHandler __RPC_FAR * This);
  319. void __RPC_STUB IDocHostUIHandler_HideUI_Stub(
  320. IRpcStubBuffer *This,
  321. IRpcChannelBuffer *_pRpcChannelBuffer,
  322. PRPC_MESSAGE _pRpcMessage,
  323. DWORD *_pdwStubPhase);
  324. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_UpdateUI_Proxy(
  325. IDocHostUIHandler __RPC_FAR * This);
  326. void __RPC_STUB IDocHostUIHandler_UpdateUI_Stub(
  327. IRpcStubBuffer *This,
  328. IRpcChannelBuffer *_pRpcChannelBuffer,
  329. PRPC_MESSAGE _pRpcMessage,
  330. DWORD *_pdwStubPhase);
  331. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_EnableModeless_Proxy(
  332. IDocHostUIHandler __RPC_FAR * This,
  333. /* [in] */ BOOL fEnable);
  334. void __RPC_STUB IDocHostUIHandler_EnableModeless_Stub(
  335. IRpcStubBuffer *This,
  336. IRpcChannelBuffer *_pRpcChannelBuffer,
  337. PRPC_MESSAGE _pRpcMessage,
  338. DWORD *_pdwStubPhase);
  339. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_OnDocWindowActivate_Proxy(
  340. IDocHostUIHandler __RPC_FAR * This,
  341. /* [in] */ BOOL fActivate);
  342. void __RPC_STUB IDocHostUIHandler_OnDocWindowActivate_Stub(
  343. IRpcStubBuffer *This,
  344. IRpcChannelBuffer *_pRpcChannelBuffer,
  345. PRPC_MESSAGE _pRpcMessage,
  346. DWORD *_pdwStubPhase);
  347. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_OnFrameWindowActivate_Proxy(
  348. IDocHostUIHandler __RPC_FAR * This,
  349. /* [in] */ BOOL fActivate);
  350. void __RPC_STUB IDocHostUIHandler_OnFrameWindowActivate_Stub(
  351. IRpcStubBuffer *This,
  352. IRpcChannelBuffer *_pRpcChannelBuffer,
  353. PRPC_MESSAGE _pRpcMessage,
  354. DWORD *_pdwStubPhase);
  355. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_ResizeBorder_Proxy(
  356. IDocHostUIHandler __RPC_FAR * This,
  357. /* [in] */ LPCRECT prcBorder,
  358. /* [in] */ IOleInPlaceUIWindow __RPC_FAR *pUIWindow,
  359. /* [in] */ BOOL fRameWindow);
  360. void __RPC_STUB IDocHostUIHandler_ResizeBorder_Stub(
  361. IRpcStubBuffer *This,
  362. IRpcChannelBuffer *_pRpcChannelBuffer,
  363. PRPC_MESSAGE _pRpcMessage,
  364. DWORD *_pdwStubPhase);
  365. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_TranslateAccelerator_Proxy(
  366. IDocHostUIHandler __RPC_FAR * This,
  367. /* [in] */ LPMSG lpMsg,
  368. /* [in] */ const GUID __RPC_FAR *pguidCmdGroup,
  369. /* [in] */ DWORD nCmdID);
  370. void __RPC_STUB IDocHostUIHandler_TranslateAccelerator_Stub(
  371. IRpcStubBuffer *This,
  372. IRpcChannelBuffer *_pRpcChannelBuffer,
  373. PRPC_MESSAGE _pRpcMessage,
  374. DWORD *_pdwStubPhase);
  375. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetOptionKeyPath_Proxy(
  376. IDocHostUIHandler __RPC_FAR * This,
  377. /* [out] */ LPOLESTR __RPC_FAR *pchKey,
  378. /* [in] */ DWORD dw);
  379. void __RPC_STUB IDocHostUIHandler_GetOptionKeyPath_Stub(
  380. IRpcStubBuffer *This,
  381. IRpcChannelBuffer *_pRpcChannelBuffer,
  382. PRPC_MESSAGE _pRpcMessage,
  383. DWORD *_pdwStubPhase);
  384. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetDropTarget_Proxy(
  385. IDocHostUIHandler __RPC_FAR * This,
  386. /* [in] */ IDropTarget __RPC_FAR *pDropTarget,
  387. /* [out] */ IDropTarget __RPC_FAR *__RPC_FAR *ppDropTarget);
  388. void __RPC_STUB IDocHostUIHandler_GetDropTarget_Stub(
  389. IRpcStubBuffer *This,
  390. IRpcChannelBuffer *_pRpcChannelBuffer,
  391. PRPC_MESSAGE _pRpcMessage,
  392. DWORD *_pdwStubPhase);
  393. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetExternal_Proxy(
  394. IDocHostUIHandler __RPC_FAR * This,
  395. /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispatch);
  396. void __RPC_STUB IDocHostUIHandler_GetExternal_Stub(
  397. IRpcStubBuffer *This,
  398. IRpcChannelBuffer *_pRpcChannelBuffer,
  399. PRPC_MESSAGE _pRpcMessage,
  400. DWORD *_pdwStubPhase);
  401. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_TranslateUrl_Proxy(
  402. IDocHostUIHandler __RPC_FAR * This,
  403. /* [in] */ DWORD dwTranslate,
  404. /* [in] */ OLECHAR __RPC_FAR *pchURLIn,
  405. /* [out] */ OLECHAR __RPC_FAR *__RPC_FAR *ppchURLOut);
  406. void __RPC_STUB IDocHostUIHandler_TranslateUrl_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. HRESULT STDMETHODCALLTYPE IDocHostUIHandler_FilterDataObject_Proxy(
  412. IDocHostUIHandler __RPC_FAR * This,
  413. /* [in] */ IDataObject __RPC_FAR *pDO,
  414. /* [out] */ IDataObject __RPC_FAR *__RPC_FAR *ppDORet);
  415. void __RPC_STUB IDocHostUIHandler_FilterDataObject_Stub(
  416. IRpcStubBuffer *This,
  417. IRpcChannelBuffer *_pRpcChannelBuffer,
  418. PRPC_MESSAGE _pRpcMessage,
  419. DWORD *_pdwStubPhase);
  420. #endif /* __IDocHostUIHandler_INTERFACE_DEFINED__ */
  421. #ifndef __ICustomDoc_INTERFACE_DEFINED__
  422. #define __ICustomDoc_INTERFACE_DEFINED__
  423. /****************************************
  424. * Generated header for interface: ICustomDoc
  425. * at Mon Nov 17 12:03:53 1997
  426. * using MIDL 3.02.88
  427. ****************************************/
  428. /* [local][unique][uuid][object] */
  429. EXTERN_C const IID IID_ICustomDoc;
  430. #if defined(__cplusplus) && !defined(CINTERFACE)
  431. interface DECLSPEC_UUID("3050f3f0-98b5-11cf-bb82-00aa00bdce0b")
  432. ICustomDoc : public IUnknown
  433. {
  434. public:
  435. virtual HRESULT STDMETHODCALLTYPE SetUIHandler(
  436. /* [in] */ IDocHostUIHandler __RPC_FAR *pUIHandler) = 0;
  437. };
  438. #else /* C style interface */
  439. typedef struct ICustomDocVtbl
  440. {
  441. BEGIN_INTERFACE
  442. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  443. ICustomDoc __RPC_FAR * This,
  444. /* [in] */ REFIID riid,
  445. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  446. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  447. ICustomDoc __RPC_FAR * This);
  448. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  449. ICustomDoc __RPC_FAR * This);
  450. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetUIHandler )(
  451. ICustomDoc __RPC_FAR * This,
  452. /* [in] */ IDocHostUIHandler __RPC_FAR *pUIHandler);
  453. END_INTERFACE
  454. } ICustomDocVtbl;
  455. interface ICustomDoc
  456. {
  457. CONST_VTBL struct ICustomDocVtbl __RPC_FAR *lpVtbl;
  458. };
  459. #ifdef COBJMACROS
  460. #define ICustomDoc_QueryInterface(This,riid,ppvObject) \
  461. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  462. #define ICustomDoc_AddRef(This) \
  463. (This)->lpVtbl -> AddRef(This)
  464. #define ICustomDoc_Release(This) \
  465. (This)->lpVtbl -> Release(This)
  466. #define ICustomDoc_SetUIHandler(This,pUIHandler) \
  467. (This)->lpVtbl -> SetUIHandler(This,pUIHandler)
  468. #endif /* COBJMACROS */
  469. #endif /* C style interface */
  470. HRESULT STDMETHODCALLTYPE ICustomDoc_SetUIHandler_Proxy(
  471. ICustomDoc __RPC_FAR * This,
  472. /* [in] */ IDocHostUIHandler __RPC_FAR *pUIHandler);
  473. void __RPC_STUB ICustomDoc_SetUIHandler_Stub(
  474. IRpcStubBuffer *This,
  475. IRpcChannelBuffer *_pRpcChannelBuffer,
  476. PRPC_MESSAGE _pRpcMessage,
  477. DWORD *_pdwStubPhase);
  478. #endif /* __ICustomDoc_INTERFACE_DEFINED__ */
  479. #ifndef __IDocHostShowUI_INTERFACE_DEFINED__
  480. #define __IDocHostShowUI_INTERFACE_DEFINED__
  481. /****************************************
  482. * Generated header for interface: IDocHostShowUI
  483. * at Mon Nov 17 12:03:53 1997
  484. * using MIDL 3.02.88
  485. ****************************************/
  486. /* [local][unique][uuid][object] */
  487. EXTERN_C const IID IID_IDocHostShowUI;
  488. #if defined(__cplusplus) && !defined(CINTERFACE)
  489. interface DECLSPEC_UUID("c4d244b0-d43e-11cf-893b-00aa00bdce1a")
  490. IDocHostShowUI : public IUnknown
  491. {
  492. public:
  493. virtual HRESULT STDMETHODCALLTYPE ShowMessage(
  494. /* [in] */ HWND hwnd,
  495. /* [in] */ LPOLESTR lpstrText,
  496. /* [in] */ LPOLESTR lpstrCaption,
  497. /* [in] */ DWORD dwType,
  498. /* [in] */ LPOLESTR lpstrHelpFile,
  499. /* [in] */ DWORD dwHelpContext,
  500. /* [out] */ LRESULT __RPC_FAR *plResult) = 0;
  501. virtual HRESULT STDMETHODCALLTYPE ShowHelp(
  502. /* [in] */ HWND hwnd,
  503. /* [in] */ LPOLESTR pszHelpFile,
  504. /* [in] */ UINT uCommand,
  505. /* [in] */ DWORD dwData,
  506. /* [in] */ POINT ptMouse,
  507. /* [out] */ IDispatch __RPC_FAR *pDispatchObjectHit) = 0;
  508. };
  509. #else /* C style interface */
  510. typedef struct IDocHostShowUIVtbl
  511. {
  512. BEGIN_INTERFACE
  513. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  514. IDocHostShowUI __RPC_FAR * This,
  515. /* [in] */ REFIID riid,
  516. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  517. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  518. IDocHostShowUI __RPC_FAR * This);
  519. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  520. IDocHostShowUI __RPC_FAR * This);
  521. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowMessage )(
  522. IDocHostShowUI __RPC_FAR * This,
  523. /* [in] */ HWND hwnd,
  524. /* [in] */ LPOLESTR lpstrText,
  525. /* [in] */ LPOLESTR lpstrCaption,
  526. /* [in] */ DWORD dwType,
  527. /* [in] */ LPOLESTR lpstrHelpFile,
  528. /* [in] */ DWORD dwHelpContext,
  529. /* [out] */ LRESULT __RPC_FAR *plResult);
  530. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowHelp )(
  531. IDocHostShowUI __RPC_FAR * This,
  532. /* [in] */ HWND hwnd,
  533. /* [in] */ LPOLESTR pszHelpFile,
  534. /* [in] */ UINT uCommand,
  535. /* [in] */ DWORD dwData,
  536. /* [in] */ POINT ptMouse,
  537. /* [out] */ IDispatch __RPC_FAR *pDispatchObjectHit);
  538. END_INTERFACE
  539. } IDocHostShowUIVtbl;
  540. interface IDocHostShowUI
  541. {
  542. CONST_VTBL struct IDocHostShowUIVtbl __RPC_FAR *lpVtbl;
  543. };
  544. #ifdef COBJMACROS
  545. #define IDocHostShowUI_QueryInterface(This,riid,ppvObject) \
  546. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  547. #define IDocHostShowUI_AddRef(This) \
  548. (This)->lpVtbl -> AddRef(This)
  549. #define IDocHostShowUI_Release(This) \
  550. (This)->lpVtbl -> Release(This)
  551. #define IDocHostShowUI_ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult) \
  552. (This)->lpVtbl -> ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult)
  553. #define IDocHostShowUI_ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit) \
  554. (This)->lpVtbl -> ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit)
  555. #endif /* COBJMACROS */
  556. #endif /* C style interface */
  557. HRESULT STDMETHODCALLTYPE IDocHostShowUI_ShowMessage_Proxy(
  558. IDocHostShowUI __RPC_FAR * This,
  559. /* [in] */ HWND hwnd,
  560. /* [in] */ LPOLESTR lpstrText,
  561. /* [in] */ LPOLESTR lpstrCaption,
  562. /* [in] */ DWORD dwType,
  563. /* [in] */ LPOLESTR lpstrHelpFile,
  564. /* [in] */ DWORD dwHelpContext,
  565. /* [out] */ LRESULT __RPC_FAR *plResult);
  566. void __RPC_STUB IDocHostShowUI_ShowMessage_Stub(
  567. IRpcStubBuffer *This,
  568. IRpcChannelBuffer *_pRpcChannelBuffer,
  569. PRPC_MESSAGE _pRpcMessage,
  570. DWORD *_pdwStubPhase);
  571. HRESULT STDMETHODCALLTYPE IDocHostShowUI_ShowHelp_Proxy(
  572. IDocHostShowUI __RPC_FAR * This,
  573. /* [in] */ HWND hwnd,
  574. /* [in] */ LPOLESTR pszHelpFile,
  575. /* [in] */ UINT uCommand,
  576. /* [in] */ DWORD dwData,
  577. /* [in] */ POINT ptMouse,
  578. /* [out] */ IDispatch __RPC_FAR *pDispatchObjectHit);
  579. void __RPC_STUB IDocHostShowUI_ShowHelp_Stub(
  580. IRpcStubBuffer *This,
  581. IRpcChannelBuffer *_pRpcChannelBuffer,
  582. PRPC_MESSAGE _pRpcMessage,
  583. DWORD *_pdwStubPhase);
  584. #endif /* __IDocHostShowUI_INTERFACE_DEFINED__ */
  585. #ifndef __ICSSFilterSite_INTERFACE_DEFINED__
  586. #define __ICSSFilterSite_INTERFACE_DEFINED__
  587. /****************************************
  588. * Generated header for interface: ICSSFilterSite
  589. * at Mon Nov 17 12:03:53 1997
  590. * using MIDL 3.02.88
  591. ****************************************/
  592. /* [object][uuid][dual][oleautomation] */
  593. EXTERN_C const IID IID_ICSSFilterSite;
  594. #if defined(__cplusplus) && !defined(CINTERFACE)
  595. interface DECLSPEC_UUID("3050f3ed-98b5-11cf-bb82-00aa00bdce0b")
  596. ICSSFilterSite : public IUnknown
  597. {
  598. public:
  599. virtual HRESULT STDMETHODCALLTYPE GetElement(
  600. /* [out][retval] */ IHTMLElement __RPC_FAR *__RPC_FAR *ppElem) = 0;
  601. virtual HRESULT STDMETHODCALLTYPE FireOnFilterChangeEvent( void) = 0;
  602. };
  603. #else /* C style interface */
  604. typedef struct ICSSFilterSiteVtbl
  605. {
  606. BEGIN_INTERFACE
  607. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  608. ICSSFilterSite __RPC_FAR * This,
  609. /* [in] */ REFIID riid,
  610. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  611. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  612. ICSSFilterSite __RPC_FAR * This);
  613. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  614. ICSSFilterSite __RPC_FAR * This);
  615. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetElement )(
  616. ICSSFilterSite __RPC_FAR * This,
  617. /* [out][retval] */ IHTMLElement __RPC_FAR *__RPC_FAR *ppElem);
  618. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FireOnFilterChangeEvent )(
  619. ICSSFilterSite __RPC_FAR * This);
  620. END_INTERFACE
  621. } ICSSFilterSiteVtbl;
  622. interface ICSSFilterSite
  623. {
  624. CONST_VTBL struct ICSSFilterSiteVtbl __RPC_FAR *lpVtbl;
  625. };
  626. #ifdef COBJMACROS
  627. #define ICSSFilterSite_QueryInterface(This,riid,ppvObject) \
  628. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  629. #define ICSSFilterSite_AddRef(This) \
  630. (This)->lpVtbl -> AddRef(This)
  631. #define ICSSFilterSite_Release(This) \
  632. (This)->lpVtbl -> Release(This)
  633. #define ICSSFilterSite_GetElement(This,ppElem) \
  634. (This)->lpVtbl -> GetElement(This,ppElem)
  635. #define ICSSFilterSite_FireOnFilterChangeEvent(This) \
  636. (This)->lpVtbl -> FireOnFilterChangeEvent(This)
  637. #endif /* COBJMACROS */
  638. #endif /* C style interface */
  639. HRESULT STDMETHODCALLTYPE ICSSFilterSite_GetElement_Proxy(
  640. ICSSFilterSite __RPC_FAR * This,
  641. /* [out][retval] */ IHTMLElement __RPC_FAR *__RPC_FAR *ppElem);
  642. void __RPC_STUB ICSSFilterSite_GetElement_Stub(
  643. IRpcStubBuffer *This,
  644. IRpcChannelBuffer *_pRpcChannelBuffer,
  645. PRPC_MESSAGE _pRpcMessage,
  646. DWORD *_pdwStubPhase);
  647. HRESULT STDMETHODCALLTYPE ICSSFilterSite_FireOnFilterChangeEvent_Proxy(
  648. ICSSFilterSite __RPC_FAR * This);
  649. void __RPC_STUB ICSSFilterSite_FireOnFilterChangeEvent_Stub(
  650. IRpcStubBuffer *This,
  651. IRpcChannelBuffer *_pRpcChannelBuffer,
  652. PRPC_MESSAGE _pRpcMessage,
  653. DWORD *_pdwStubPhase);
  654. #endif /* __ICSSFilterSite_INTERFACE_DEFINED__ */
  655. #ifndef __ICSSFilter_INTERFACE_DEFINED__
  656. #define __ICSSFilter_INTERFACE_DEFINED__
  657. /****************************************
  658. * Generated header for interface: ICSSFilter
  659. * at Mon Nov 17 12:03:53 1997
  660. * using MIDL 3.02.88
  661. ****************************************/
  662. /* [object][uuid][dual][oleautomation] */
  663. EXTERN_C const IID IID_ICSSFilter;
  664. #if defined(__cplusplus) && !defined(CINTERFACE)
  665. interface DECLSPEC_UUID("3050f3ec-98b5-11cf-bb82-00aa00bdce0b")
  666. ICSSFilter : public IUnknown
  667. {
  668. public:
  669. virtual HRESULT STDMETHODCALLTYPE SetSite(
  670. /* [in] */ ICSSFilterSite __RPC_FAR *pSink) = 0;
  671. virtual HRESULT STDMETHODCALLTYPE OnAmbientPropertyChange(
  672. /* [in] */ LONG dispid) = 0;
  673. };
  674. #else /* C style interface */
  675. typedef struct ICSSFilterVtbl
  676. {
  677. BEGIN_INTERFACE
  678. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  679. ICSSFilter __RPC_FAR * This,
  680. /* [in] */ REFIID riid,
  681. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  682. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  683. ICSSFilter __RPC_FAR * This);
  684. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  685. ICSSFilter __RPC_FAR * This);
  686. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSite )(
  687. ICSSFilter __RPC_FAR * This,
  688. /* [in] */ ICSSFilterSite __RPC_FAR *pSink);
  689. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnAmbientPropertyChange )(
  690. ICSSFilter __RPC_FAR * This,
  691. /* [in] */ LONG dispid);
  692. END_INTERFACE
  693. } ICSSFilterVtbl;
  694. interface ICSSFilter
  695. {
  696. CONST_VTBL struct ICSSFilterVtbl __RPC_FAR *lpVtbl;
  697. };
  698. #ifdef COBJMACROS
  699. #define ICSSFilter_QueryInterface(This,riid,ppvObject) \
  700. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  701. #define ICSSFilter_AddRef(This) \
  702. (This)->lpVtbl -> AddRef(This)
  703. #define ICSSFilter_Release(This) \
  704. (This)->lpVtbl -> Release(This)
  705. #define ICSSFilter_SetSite(This,pSink) \
  706. (This)->lpVtbl -> SetSite(This,pSink)
  707. #define ICSSFilter_OnAmbientPropertyChange(This,dispid) \
  708. (This)->lpVtbl -> OnAmbientPropertyChange(This,dispid)
  709. #endif /* COBJMACROS */
  710. #endif /* C style interface */
  711. HRESULT STDMETHODCALLTYPE ICSSFilter_SetSite_Proxy(
  712. ICSSFilter __RPC_FAR * This,
  713. /* [in] */ ICSSFilterSite __RPC_FAR *pSink);
  714. void __RPC_STUB ICSSFilter_SetSite_Stub(
  715. IRpcStubBuffer *This,
  716. IRpcChannelBuffer *_pRpcChannelBuffer,
  717. PRPC_MESSAGE _pRpcMessage,
  718. DWORD *_pdwStubPhase);
  719. HRESULT STDMETHODCALLTYPE ICSSFilter_OnAmbientPropertyChange_Proxy(
  720. ICSSFilter __RPC_FAR * This,
  721. /* [in] */ LONG dispid);
  722. void __RPC_STUB ICSSFilter_OnAmbientPropertyChange_Stub(
  723. IRpcStubBuffer *This,
  724. IRpcChannelBuffer *_pRpcChannelBuffer,
  725. PRPC_MESSAGE _pRpcMessage,
  726. DWORD *_pdwStubPhase);
  727. #endif /* __ICSSFilter_INTERFACE_DEFINED__ */
  728. /****************************************
  729. * Generated header for interface: __MIDL_itf_mshtmhst_0350
  730. * at Mon Nov 17 12:03:53 1997
  731. * using MIDL 3.02.88
  732. ****************************************/
  733. /* [local] */
  734. #endif
  735. extern RPC_IF_HANDLE __MIDL_itf_mshtmhst_0350_v0_0_c_ifspec;
  736. extern RPC_IF_HANDLE __MIDL_itf_mshtmhst_0350_v0_0_s_ifspec;
  737. /* Additional Prototypes for ALL interfaces */
  738. /* end of Additional Prototypes */
  739. #ifdef __cplusplus
  740. }
  741. #endif
  742. #endif