1/*** Autogenerated by WIDL 1.6 from include/mshtmhst.idl - Do not edit ***/
2
3#ifndef __REQUIRED_RPCNDR_H_VERSION__
4#define __REQUIRED_RPCNDR_H_VERSION__ 475
5#endif
6
7#include <rpc.h>
8#include <rpcndr.h>
9
10#ifndef COM_NO_WINDOWS_H
11#include <windows.h>
12#include <ole2.h>
13#endif
14
15#ifndef __mshtmhst_h__
16#define __mshtmhst_h__
17
18/* Forward declarations */
19
20#ifndef __IHostDialogHelper_FWD_DEFINED__
21#define __IHostDialogHelper_FWD_DEFINED__
22typedef interface IHostDialogHelper IHostDialogHelper;
23#endif
24
25#ifndef __HostDialogHelper_FWD_DEFINED__
26#define __HostDialogHelper_FWD_DEFINED__
27#ifdef __cplusplus
28typedef class HostDialogHelper HostDialogHelper;
29#else
30typedef struct HostDialogHelper HostDialogHelper;
31#endif /* defined __cplusplus */
32#endif /* defined __HostDialogHelper_FWD_DEFINED__ */
33
34#ifndef __IDocHostUIHandler_FWD_DEFINED__
35#define __IDocHostUIHandler_FWD_DEFINED__
36typedef interface IDocHostUIHandler IDocHostUIHandler;
37#endif
38
39#ifndef __IDocHostUIHandler2_FWD_DEFINED__
40#define __IDocHostUIHandler2_FWD_DEFINED__
41typedef interface IDocHostUIHandler2 IDocHostUIHandler2;
42#endif
43
44#ifndef __ICustomDoc_FWD_DEFINED__
45#define __ICustomDoc_FWD_DEFINED__
46typedef interface ICustomDoc ICustomDoc;
47#endif
48
49#ifndef __IDocHostShowUI_FWD_DEFINED__
50#define __IDocHostShowUI_FWD_DEFINED__
51typedef interface IDocHostShowUI IDocHostShowUI;
52#endif
53
54#ifndef __IClassFactoryEx_FWD_DEFINED__
55#define __IClassFactoryEx_FWD_DEFINED__
56typedef interface IClassFactoryEx IClassFactoryEx;
57#endif
58
59#ifndef __IHTMLOMWindowServices_FWD_DEFINED__
60#define __IHTMLOMWindowServices_FWD_DEFINED__
61typedef interface IHTMLOMWindowServices IHTMLOMWindowServices;
62#endif
63
64/* Headers for imported files */
65
66#include <ocidl.h>
67#include <objidl.h>
68#include <oleidl.h>
69#include <oaidl.h>
70#include <docobj.h>
71
72#ifdef __cplusplus
73extern "C" {
74#endif
75
76/**
77 * This file is part of the mingw-w64 runtime package.
78 * No warranty is given; refer to the file DISCLAIMER within this package.
79 */
80
81#include <winapifamily.h>
82
83#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
84#ifndef MSHTMHST_H
85#define MSHTMHST_H
86#define CONTEXT_MENU_DEFAULT 0
87#define CONTEXT_MENU_IMAGE 1
88#define CONTEXT_MENU_CONTROL 2
89#define CONTEXT_MENU_TABLE 3
90#define CONTEXT_MENU_TEXTSELECT 4
91#define CONTEXT_MENU_ANCHOR 5
92#define CONTEXT_MENU_UNKNOWN 6
93#define CONTEXT_MENU_IMGDYNSRC 7
94#define CONTEXT_MENU_DEBUG 8
95#define CONTEXT_MENU_VSCROLL 9
96#define CONTEXT_MENU_HSCROLL 10
97#define CONTEXT_MENU_MEDIA 11
98
99#define MENUEXT_SHOWDIALOG 0x1
100
101#define CMDID_SCRIPTSITE_URL 0
102#define CMDID_SCRIPTSITE_HTMLDLGTRUST 1
103#define CMDID_SCRIPTSITE_SECSTATE 2
104#define CMDID_SCRIPTSITE_SID 3
105#define CMDID_SCRIPTSITE_TRUSTEDDOC 4
106#define CMDID_SCRIPTSITE_SECURITY_WINDOW 5
107#define CMDID_SCRIPTSITE_NAMESPACE 6
108#define CMDID_SCRIPTSITE_IURI 7
109#define CMDID_HOSTCONTEXT_URL 8
110#define CMDID_SCRIPTSITE_ALLOWRECOVERY 9
111
112#define HTMLDLG_NOUI 0x10
113#define HTMLDLG_MODAL 0x20
114#define HTMLDLG_MODELESS 0x40
115#define HTMLDLG_PRINT_TEMPLATE 0x80
116#define HTMLDLG_VERIFY 0x100
117#define HTMLDLG_ALLOW_UNKNOWN_THREAD 0x200
118
119#define PRINT_DONTBOTHERUSER 0x1
120#define PRINT_WAITFORCOMPLETION 0x2
121#define CMDSETID_Forms3 CGID_MSHTML
122#define SZ_HTML_CLIENTSITE_OBJECTPARAM L"{d4db6850-5385-11d0-89e9-00a0c90a90ac}"
123EXTERN_C const GUID CGID_ScriptSite;
124EXTERN_C const GUID CGID_MSHTML;
125EXTERN_C const GUID CLSID_HostDialogHelper;
126DEFINE_GUID(CGID_DocHostCommandHandler,0xf38bc242,0xb950,0x11d1,0x89,0x18,0x00,0xc0,0x4f,0xc2,0xc8,0x36);
127#ifndef __IHTMLWindow2_FWD_DEFINED__
128#define __IHTMLWindow2_FWD_DEFINED__
129typedef interface IHTMLWindow2 IHTMLWindow2;
130#endif
131
132typedef HRESULT STDAPICALLTYPE SHOWHTMLDIALOGFN (HWND hwndParent, IMoniker *pmk, VARIANT *pvarArgIn, WCHAR *pchOptions, VARIANT *pvArgOut);
133typedef HRESULT STDAPICALLTYPE SHOWHTMLDIALOGEXFN (HWND hwndParent, IMoniker *pmk, DWORD dwDialogFlags, VARIANT *pvarArgIn, WCHAR *pchOptions, VARIANT *pvArgOut);
134typedef HRESULT STDAPICALLTYPE SHOWMODELESSHTMLDIALOGFN (HWND hwndParent, IMoniker *pmk, VARIANT *pvarArgIn, VARIANT *pvarOptions, IHTMLWindow2 **ppWindow);
135typedef HRESULT STDAPICALLTYPE IEREGISTERXMLNSFN (LPCWSTR lpszURI, GUID clsid, BOOL fMachine);
136typedef HRESULT STDAPICALLTYPE IEISXMLNSREGISTEREDFN (LPCWSTR lpszURI, GUID *pCLSID);
137
138STDAPI ShowHTMLDialog (HWND hwndParent, IMoniker *pMk, VARIANT *pvarArgIn, LPWSTR pchOptions, VARIANT *pvarArgOut);
139STDAPI ShowHTMLDialogEx (HWND hwndParent, IMoniker *pMk, DWORD dwDialogFlags, VARIANT *pvarArgIn, LPWSTR pchOptions, VARIANT *pvarArgOut);
140STDAPI ShowModelessHTMLDialog (HWND hwndParent, IMoniker *pMk, VARIANT *pvarArgIn, VARIANT *pvarOptions, IHTMLWindow2 **ppWindow);
141#if !defined (_ARM_) && !defined (__arm__)
142STDAPI RunHTMLApplication (HINSTANCE hinst, HINSTANCE hPrevInst, LPSTR szCmdLine, int nCmdShow);
143#endif
144STDAPI CreateHTMLPropertyPage (IMoniker *pmk, IPropertyPage **ppPP);
145STDAPI EarlyStartDisplaySystem ();
146STDAPI IERegisterXMLNS (LPCWSTR lpszURI, GUID clsid, BOOL fMachine);
147STDAPI IEIsXMLNSRegistered (LPCWSTR lpszURI, GUID *pCLSID);
148STDAPI GetColorValueFromString (LPCWSTR lpszColor, BOOL fStrictCSS1, BOOL fIsStandardsCSS, COLORREF *pColor);
149typedef enum tagDOCHOSTUIDBLCLK {
150    DOCHOSTUIDBLCLK_DEFAULT = 0,
151    DOCHOSTUIDBLCLK_SHOWPROPERTIES = 1,
152    DOCHOSTUIDBLCLK_SHOWCODE = 2
153} DOCHOSTUIDBLCLK;
154typedef enum tagDOCHOSTUIFLAG {
155    DOCHOSTUIFLAG_DIALOG = 0x1,
156    DOCHOSTUIFLAG_DISABLE_HELP_MENU = 0x2,
157    DOCHOSTUIFLAG_NO3DBORDER = 0x4,
158    DOCHOSTUIFLAG_SCROLL_NO = 0x8,
159    DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 0x10,
160    DOCHOSTUIFLAG_OPENNEWWIN = 0x20,
161    DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 0x40,
162    DOCHOSTUIFLAG_FLAT_SCROLLBAR = 0x80,
163    DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 0x100,
164    DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 0x200,
165    DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY = 0x400,
166    DOCHOSTUIFLAG_CODEPAGELINKEDFONTS = 0x800,
167    DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8 = 0x1000,
168    DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 = 0x2000,
169    DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE = 0x4000,
170    DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION = 0x10000,
171    DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION = 0x20000,
172    DOCHOSTUIFLAG_THEME = 0x40000,
173    DOCHOSTUIFLAG_NOTHEME = 0x80000,
174    DOCHOSTUIFLAG_NOPICS = 0x100000,
175    DOCHOSTUIFLAG_NO3DOUTERBORDER = 0x200000,
176    DOCHOSTUIFLAG_DISABLE_EDIT_NS_FIXUP = 0x400000,
177    DOCHOSTUIFLAG_LOCAL_MACHINE_ACCESS_CHECK = 0x800000,
178    DOCHOSTUIFLAG_DISABLE_UNTRUSTEDPROTOCOL = 0x1000000,
179    DOCHOSTUIFLAG_HOST_NAVIGATES = 0x2000000,
180    DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION = 0x4000000,
181    DOCHOSTUIFLAG_USE_WINDOWLESS_SELECTCONTROL = 0x8000000,
182    DOCHOSTUIFLAG_USE_WINDOWED_SELECTCONTROL = 0x10000000,
183    DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE = 0x20000000,
184    DOCHOSTUIFLAG_DPI_AWARE = 0x40000000
185} DOCHOSTUIFLAG;
186#define DOCHOSTUIFLAG_BROWSER (DOCHOSTUIFLAG_DISABLE_HELP_MENU | DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE)
187typedef enum tagDOCHOSTUITYPE {
188    DOCHOSTUITYPE_BROWSE = 0,
189    DOCHOSTUITYPE_AUTHOR = 1
190} DOCHOSTUITYPE;
191typedef struct _DOCHOSTUIINFO {
192    ULONG cbSize;
193    DWORD dwFlags;
194    DWORD dwDoubleClick;
195    OLECHAR *pchHostCss;
196    OLECHAR *pchHostNS;
197} DOCHOSTUIINFO;
198/*****************************************************************************
199 * IHostDialogHelper interface
200 */
201#ifndef __IHostDialogHelper_INTERFACE_DEFINED__
202#define __IHostDialogHelper_INTERFACE_DEFINED__
203
204DEFINE_GUID(IID_IHostDialogHelper, 0x53dec138, 0xa51e, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89);
205#if defined(__cplusplus) && !defined(CINTERFACE)
206MIDL_INTERFACE("53dec138-a51e-11d2-861e-00c04fa35c89")
207IHostDialogHelper : public IUnknown
208{
209    virtual HRESULT STDMETHODCALLTYPE ShowHTMLDialog(
210        HWND hwndParent,
211        IMoniker *pMk,
212        VARIANT *pvarArgIn,
213        WCHAR *pchOptions,
214        VARIANT *pvarArgOut,
215        IUnknown *punkHost) = 0;
216
217};
218#ifdef __CRT_UUID_DECL
219__CRT_UUID_DECL(IHostDialogHelper, 0x53dec138, 0xa51e, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89)
220#endif
221#else
222typedef struct IHostDialogHelperVtbl {
223    BEGIN_INTERFACE
224
225    /*** IUnknown methods ***/
226    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
227        IHostDialogHelper* This,
228        REFIID riid,
229        void **ppvObject);
230
231    ULONG (STDMETHODCALLTYPE *AddRef)(
232        IHostDialogHelper* This);
233
234    ULONG (STDMETHODCALLTYPE *Release)(
235        IHostDialogHelper* This);
236
237    /*** IHostDialogHelper methods ***/
238    HRESULT (STDMETHODCALLTYPE *ShowHTMLDialog)(
239        IHostDialogHelper* This,
240        HWND hwndParent,
241        IMoniker *pMk,
242        VARIANT *pvarArgIn,
243        WCHAR *pchOptions,
244        VARIANT *pvarArgOut,
245        IUnknown *punkHost);
246
247    END_INTERFACE
248} IHostDialogHelperVtbl;
249interface IHostDialogHelper {
250    CONST_VTBL IHostDialogHelperVtbl* lpVtbl;
251};
252
253#ifdef COBJMACROS
254#ifndef WIDL_C_INLINE_WRAPPERS
255/*** IUnknown methods ***/
256#define IHostDialogHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
257#define IHostDialogHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
258#define IHostDialogHelper_Release(This) (This)->lpVtbl->Release(This)
259/*** IHostDialogHelper methods ***/
260#define IHostDialogHelper_ShowHTMLDialog(This,hwndParent,pMk,pvarArgIn,pchOptions,pvarArgOut,punkHost) (This)->lpVtbl->ShowHTMLDialog(This,hwndParent,pMk,pvarArgIn,pchOptions,pvarArgOut,punkHost)
261#else
262/*** IUnknown methods ***/
263static FORCEINLINE HRESULT IHostDialogHelper_QueryInterface(IHostDialogHelper* This,REFIID riid,void **ppvObject) {
264    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
265}
266static FORCEINLINE ULONG IHostDialogHelper_AddRef(IHostDialogHelper* This) {
267    return This->lpVtbl->AddRef(This);
268}
269static FORCEINLINE ULONG IHostDialogHelper_Release(IHostDialogHelper* This) {
270    return This->lpVtbl->Release(This);
271}
272/*** IHostDialogHelper methods ***/
273static FORCEINLINE HRESULT IHostDialogHelper_ShowHTMLDialog(IHostDialogHelper* This,HWND hwndParent,IMoniker *pMk,VARIANT *pvarArgIn,WCHAR *pchOptions,VARIANT *pvarArgOut,IUnknown *punkHost) {
274    return This->lpVtbl->ShowHTMLDialog(This,hwndParent,pMk,pvarArgIn,pchOptions,pvarArgOut,punkHost);
275}
276#endif
277#endif
278
279#endif
280
281HRESULT STDMETHODCALLTYPE IHostDialogHelper_ShowHTMLDialog_Proxy(
282    IHostDialogHelper* This,
283    HWND hwndParent,
284    IMoniker *pMk,
285    VARIANT *pvarArgIn,
286    WCHAR *pchOptions,
287    VARIANT *pvarArgOut,
288    IUnknown *punkHost);
289void __RPC_STUB IHostDialogHelper_ShowHTMLDialog_Stub(
290    IRpcStubBuffer* This,
291    IRpcChannelBuffer* pRpcChannelBuffer,
292    PRPC_MESSAGE pRpcMessage,
293    DWORD* pdwStubPhase);
294
295#endif  /* __IHostDialogHelper_INTERFACE_DEFINED__ */
296
297/*****************************************************************************
298 * HostDialogHelper coclass
299 */
300
301DEFINE_GUID(CLSID_HostDialogHelper, 0x429af92c, 0xa51f, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89);
302
303#ifdef __cplusplus
304class DECLSPEC_UUID("429af92c-a51f-11d2-861e-00c04fa35c89") HostDialogHelper;
305#ifdef __CRT_UUID_DECL
306__CRT_UUID_DECL(HostDialogHelper, 0x429af92c, 0xa51f, 0x11d2, 0x86,0x1e, 0x00,0xc0,0x4f,0xa3,0x5c,0x89)
307#endif
308#endif
309
310/*****************************************************************************
311 * IDocHostUIHandler interface
312 */
313#ifndef __IDocHostUIHandler_INTERFACE_DEFINED__
314#define __IDocHostUIHandler_INTERFACE_DEFINED__
315
316DEFINE_GUID(IID_IDocHostUIHandler, 0xbd3f23c0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a);
317#if defined(__cplusplus) && !defined(CINTERFACE)
318MIDL_INTERFACE("bd3f23c0-d43e-11cf-893b-00aa00bdce1a")
319IDocHostUIHandler : public IUnknown
320{
321    virtual HRESULT STDMETHODCALLTYPE ShowContextMenu(
322        DWORD dwID,
323        POINT *ppt,
324        IUnknown *pcmdtReserved,
325        IDispatch *pdispReserved) = 0;
326
327    virtual HRESULT STDMETHODCALLTYPE GetHostInfo(
328        DOCHOSTUIINFO *pInfo) = 0;
329
330    virtual HRESULT STDMETHODCALLTYPE ShowUI(
331        DWORD dwID,
332        IOleInPlaceActiveObject *pActiveObject,
333        IOleCommandTarget *pCommandTarget,
334        IOleInPlaceFrame *pFrame,
335        IOleInPlaceUIWindow *pDoc) = 0;
336
337    virtual HRESULT STDMETHODCALLTYPE HideUI(
338        ) = 0;
339
340    virtual HRESULT STDMETHODCALLTYPE UpdateUI(
341        ) = 0;
342
343    virtual HRESULT STDMETHODCALLTYPE EnableModeless(
344        WINBOOL fEnable) = 0;
345
346    virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
347        WINBOOL fActivate) = 0;
348
349    virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
350        WINBOOL fActivate) = 0;
351
352    virtual HRESULT STDMETHODCALLTYPE ResizeBorder(
353        LPCRECT prcBorder,
354        IOleInPlaceUIWindow *pUIWindow,
355        WINBOOL fRameWindow) = 0;
356
357    virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
358        LPMSG lpMsg,
359        const GUID *pguidCmdGroup,
360        DWORD nCmdID) = 0;
361
362    virtual HRESULT STDMETHODCALLTYPE GetOptionKeyPath(
363        LPOLESTR *pchKey,
364        DWORD dw) = 0;
365
366    virtual HRESULT STDMETHODCALLTYPE GetDropTarget(
367        IDropTarget *pDropTarget,
368        IDropTarget **ppDropTarget) = 0;
369
370    virtual HRESULT STDMETHODCALLTYPE GetExternal(
371        IDispatch **ppDispatch) = 0;
372
373    virtual HRESULT STDMETHODCALLTYPE TranslateUrl(
374        DWORD dwTranslate,
375        LPWSTR pchURLIn,
376        LPWSTR *ppchURLOut) = 0;
377
378    virtual HRESULT STDMETHODCALLTYPE FilterDataObject(
379        IDataObject *pDO,
380        IDataObject **ppDORet) = 0;
381
382};
383#ifdef __CRT_UUID_DECL
384__CRT_UUID_DECL(IDocHostUIHandler, 0xbd3f23c0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a)
385#endif
386#else
387typedef struct IDocHostUIHandlerVtbl {
388    BEGIN_INTERFACE
389
390    /*** IUnknown methods ***/
391    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
392        IDocHostUIHandler* This,
393        REFIID riid,
394        void **ppvObject);
395
396    ULONG (STDMETHODCALLTYPE *AddRef)(
397        IDocHostUIHandler* This);
398
399    ULONG (STDMETHODCALLTYPE *Release)(
400        IDocHostUIHandler* This);
401
402    /*** IDocHostUIHandler methods ***/
403    HRESULT (STDMETHODCALLTYPE *ShowContextMenu)(
404        IDocHostUIHandler* This,
405        DWORD dwID,
406        POINT *ppt,
407        IUnknown *pcmdtReserved,
408        IDispatch *pdispReserved);
409
410    HRESULT (STDMETHODCALLTYPE *GetHostInfo)(
411        IDocHostUIHandler* This,
412        DOCHOSTUIINFO *pInfo);
413
414    HRESULT (STDMETHODCALLTYPE *ShowUI)(
415        IDocHostUIHandler* This,
416        DWORD dwID,
417        IOleInPlaceActiveObject *pActiveObject,
418        IOleCommandTarget *pCommandTarget,
419        IOleInPlaceFrame *pFrame,
420        IOleInPlaceUIWindow *pDoc);
421
422    HRESULT (STDMETHODCALLTYPE *HideUI)(
423        IDocHostUIHandler* This);
424
425    HRESULT (STDMETHODCALLTYPE *UpdateUI)(
426        IDocHostUIHandler* This);
427
428    HRESULT (STDMETHODCALLTYPE *EnableModeless)(
429        IDocHostUIHandler* This,
430        WINBOOL fEnable);
431
432    HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)(
433        IDocHostUIHandler* This,
434        WINBOOL fActivate);
435
436    HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)(
437        IDocHostUIHandler* This,
438        WINBOOL fActivate);
439
440    HRESULT (STDMETHODCALLTYPE *ResizeBorder)(
441        IDocHostUIHandler* This,
442        LPCRECT prcBorder,
443        IOleInPlaceUIWindow *pUIWindow,
444        WINBOOL fRameWindow);
445
446    HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)(
447        IDocHostUIHandler* This,
448        LPMSG lpMsg,
449        const GUID *pguidCmdGroup,
450        DWORD nCmdID);
451
452    HRESULT (STDMETHODCALLTYPE *GetOptionKeyPath)(
453        IDocHostUIHandler* This,
454        LPOLESTR *pchKey,
455        DWORD dw);
456
457    HRESULT (STDMETHODCALLTYPE *GetDropTarget)(
458        IDocHostUIHandler* This,
459        IDropTarget *pDropTarget,
460        IDropTarget **ppDropTarget);
461
462    HRESULT (STDMETHODCALLTYPE *GetExternal)(
463        IDocHostUIHandler* This,
464        IDispatch **ppDispatch);
465
466    HRESULT (STDMETHODCALLTYPE *TranslateUrl)(
467        IDocHostUIHandler* This,
468        DWORD dwTranslate,
469        LPWSTR pchURLIn,
470        LPWSTR *ppchURLOut);
471
472    HRESULT (STDMETHODCALLTYPE *FilterDataObject)(
473        IDocHostUIHandler* This,
474        IDataObject *pDO,
475        IDataObject **ppDORet);
476
477    END_INTERFACE
478} IDocHostUIHandlerVtbl;
479interface IDocHostUIHandler {
480    CONST_VTBL IDocHostUIHandlerVtbl* lpVtbl;
481};
482
483#ifdef COBJMACROS
484#ifndef WIDL_C_INLINE_WRAPPERS
485/*** IUnknown methods ***/
486#define IDocHostUIHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
487#define IDocHostUIHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
488#define IDocHostUIHandler_Release(This) (This)->lpVtbl->Release(This)
489/*** IDocHostUIHandler methods ***/
490#define IDocHostUIHandler_ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) (This)->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved)
491#define IDocHostUIHandler_GetHostInfo(This,pInfo) (This)->lpVtbl->GetHostInfo(This,pInfo)
492#define IDocHostUIHandler_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) (This)->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc)
493#define IDocHostUIHandler_HideUI(This) (This)->lpVtbl->HideUI(This)
494#define IDocHostUIHandler_UpdateUI(This) (This)->lpVtbl->UpdateUI(This)
495#define IDocHostUIHandler_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable)
496#define IDocHostUIHandler_OnDocWindowActivate(This,fActivate) (This)->lpVtbl->OnDocWindowActivate(This,fActivate)
497#define IDocHostUIHandler_OnFrameWindowActivate(This,fActivate) (This)->lpVtbl->OnFrameWindowActivate(This,fActivate)
498#define IDocHostUIHandler_ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) (This)->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow)
499#define IDocHostUIHandler_TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) (This)->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID)
500#define IDocHostUIHandler_GetOptionKeyPath(This,pchKey,dw) (This)->lpVtbl->GetOptionKeyPath(This,pchKey,dw)
501#define IDocHostUIHandler_GetDropTarget(This,pDropTarget,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget)
502#define IDocHostUIHandler_GetExternal(This,ppDispatch) (This)->lpVtbl->GetExternal(This,ppDispatch)
503#define IDocHostUIHandler_TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) (This)->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut)
504#define IDocHostUIHandler_FilterDataObject(This,pDO,ppDORet) (This)->lpVtbl->FilterDataObject(This,pDO,ppDORet)
505#else
506/*** IUnknown methods ***/
507static FORCEINLINE HRESULT IDocHostUIHandler_QueryInterface(IDocHostUIHandler* This,REFIID riid,void **ppvObject) {
508    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
509}
510static FORCEINLINE ULONG IDocHostUIHandler_AddRef(IDocHostUIHandler* This) {
511    return This->lpVtbl->AddRef(This);
512}
513static FORCEINLINE ULONG IDocHostUIHandler_Release(IDocHostUIHandler* This) {
514    return This->lpVtbl->Release(This);
515}
516/*** IDocHostUIHandler methods ***/
517static FORCEINLINE HRESULT IDocHostUIHandler_ShowContextMenu(IDocHostUIHandler* This,DWORD dwID,POINT *ppt,IUnknown *pcmdtReserved,IDispatch *pdispReserved) {
518    return This->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved);
519}
520static FORCEINLINE HRESULT IDocHostUIHandler_GetHostInfo(IDocHostUIHandler* This,DOCHOSTUIINFO *pInfo) {
521    return This->lpVtbl->GetHostInfo(This,pInfo);
522}
523static FORCEINLINE HRESULT IDocHostUIHandler_ShowUI(IDocHostUIHandler* This,DWORD dwID,IOleInPlaceActiveObject *pActiveObject,IOleCommandTarget *pCommandTarget,IOleInPlaceFrame *pFrame,IOleInPlaceUIWindow *pDoc) {
524    return This->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc);
525}
526static FORCEINLINE HRESULT IDocHostUIHandler_HideUI(IDocHostUIHandler* This) {
527    return This->lpVtbl->HideUI(This);
528}
529static FORCEINLINE HRESULT IDocHostUIHandler_UpdateUI(IDocHostUIHandler* This) {
530    return This->lpVtbl->UpdateUI(This);
531}
532static FORCEINLINE HRESULT IDocHostUIHandler_EnableModeless(IDocHostUIHandler* This,WINBOOL fEnable) {
533    return This->lpVtbl->EnableModeless(This,fEnable);
534}
535static FORCEINLINE HRESULT IDocHostUIHandler_OnDocWindowActivate(IDocHostUIHandler* This,WINBOOL fActivate) {
536    return This->lpVtbl->OnDocWindowActivate(This,fActivate);
537}
538static FORCEINLINE HRESULT IDocHostUIHandler_OnFrameWindowActivate(IDocHostUIHandler* This,WINBOOL fActivate) {
539    return This->lpVtbl->OnFrameWindowActivate(This,fActivate);
540}
541static FORCEINLINE HRESULT IDocHostUIHandler_ResizeBorder(IDocHostUIHandler* This,LPCRECT prcBorder,IOleInPlaceUIWindow *pUIWindow,WINBOOL fRameWindow) {
542    return This->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow);
543}
544static FORCEINLINE HRESULT IDocHostUIHandler_TranslateAccelerator(IDocHostUIHandler* This,LPMSG lpMsg,const GUID *pguidCmdGroup,DWORD nCmdID) {
545    return This->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID);
546}
547static FORCEINLINE HRESULT IDocHostUIHandler_GetOptionKeyPath(IDocHostUIHandler* This,LPOLESTR *pchKey,DWORD dw) {
548    return This->lpVtbl->GetOptionKeyPath(This,pchKey,dw);
549}
550static FORCEINLINE HRESULT IDocHostUIHandler_GetDropTarget(IDocHostUIHandler* This,IDropTarget *pDropTarget,IDropTarget **ppDropTarget) {
551    return This->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget);
552}
553static FORCEINLINE HRESULT IDocHostUIHandler_GetExternal(IDocHostUIHandler* This,IDispatch **ppDispatch) {
554    return This->lpVtbl->GetExternal(This,ppDispatch);
555}
556static FORCEINLINE HRESULT IDocHostUIHandler_TranslateUrl(IDocHostUIHandler* This,DWORD dwTranslate,LPWSTR pchURLIn,LPWSTR *ppchURLOut) {
557    return This->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut);
558}
559static FORCEINLINE HRESULT IDocHostUIHandler_FilterDataObject(IDocHostUIHandler* This,IDataObject *pDO,IDataObject **ppDORet) {
560    return This->lpVtbl->FilterDataObject(This,pDO,ppDORet);
561}
562#endif
563#endif
564
565#endif
566
567HRESULT STDMETHODCALLTYPE IDocHostUIHandler_ShowContextMenu_Proxy(
568    IDocHostUIHandler* This,
569    DWORD dwID,
570    POINT *ppt,
571    IUnknown *pcmdtReserved,
572    IDispatch *pdispReserved);
573void __RPC_STUB IDocHostUIHandler_ShowContextMenu_Stub(
574    IRpcStubBuffer* This,
575    IRpcChannelBuffer* pRpcChannelBuffer,
576    PRPC_MESSAGE pRpcMessage,
577    DWORD* pdwStubPhase);
578HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetHostInfo_Proxy(
579    IDocHostUIHandler* This,
580    DOCHOSTUIINFO *pInfo);
581void __RPC_STUB IDocHostUIHandler_GetHostInfo_Stub(
582    IRpcStubBuffer* This,
583    IRpcChannelBuffer* pRpcChannelBuffer,
584    PRPC_MESSAGE pRpcMessage,
585    DWORD* pdwStubPhase);
586HRESULT STDMETHODCALLTYPE IDocHostUIHandler_ShowUI_Proxy(
587    IDocHostUIHandler* This,
588    DWORD dwID,
589    IOleInPlaceActiveObject *pActiveObject,
590    IOleCommandTarget *pCommandTarget,
591    IOleInPlaceFrame *pFrame,
592    IOleInPlaceUIWindow *pDoc);
593void __RPC_STUB IDocHostUIHandler_ShowUI_Stub(
594    IRpcStubBuffer* This,
595    IRpcChannelBuffer* pRpcChannelBuffer,
596    PRPC_MESSAGE pRpcMessage,
597    DWORD* pdwStubPhase);
598HRESULT STDMETHODCALLTYPE IDocHostUIHandler_HideUI_Proxy(
599    IDocHostUIHandler* This);
600void __RPC_STUB IDocHostUIHandler_HideUI_Stub(
601    IRpcStubBuffer* This,
602    IRpcChannelBuffer* pRpcChannelBuffer,
603    PRPC_MESSAGE pRpcMessage,
604    DWORD* pdwStubPhase);
605HRESULT STDMETHODCALLTYPE IDocHostUIHandler_UpdateUI_Proxy(
606    IDocHostUIHandler* This);
607void __RPC_STUB IDocHostUIHandler_UpdateUI_Stub(
608    IRpcStubBuffer* This,
609    IRpcChannelBuffer* pRpcChannelBuffer,
610    PRPC_MESSAGE pRpcMessage,
611    DWORD* pdwStubPhase);
612HRESULT STDMETHODCALLTYPE IDocHostUIHandler_EnableModeless_Proxy(
613    IDocHostUIHandler* This,
614    WINBOOL fEnable);
615void __RPC_STUB IDocHostUIHandler_EnableModeless_Stub(
616    IRpcStubBuffer* This,
617    IRpcChannelBuffer* pRpcChannelBuffer,
618    PRPC_MESSAGE pRpcMessage,
619    DWORD* pdwStubPhase);
620HRESULT STDMETHODCALLTYPE IDocHostUIHandler_OnDocWindowActivate_Proxy(
621    IDocHostUIHandler* This,
622    WINBOOL fActivate);
623void __RPC_STUB IDocHostUIHandler_OnDocWindowActivate_Stub(
624    IRpcStubBuffer* This,
625    IRpcChannelBuffer* pRpcChannelBuffer,
626    PRPC_MESSAGE pRpcMessage,
627    DWORD* pdwStubPhase);
628HRESULT STDMETHODCALLTYPE IDocHostUIHandler_OnFrameWindowActivate_Proxy(
629    IDocHostUIHandler* This,
630    WINBOOL fActivate);
631void __RPC_STUB IDocHostUIHandler_OnFrameWindowActivate_Stub(
632    IRpcStubBuffer* This,
633    IRpcChannelBuffer* pRpcChannelBuffer,
634    PRPC_MESSAGE pRpcMessage,
635    DWORD* pdwStubPhase);
636HRESULT STDMETHODCALLTYPE IDocHostUIHandler_ResizeBorder_Proxy(
637    IDocHostUIHandler* This,
638    LPCRECT prcBorder,
639    IOleInPlaceUIWindow *pUIWindow,
640    WINBOOL fRameWindow);
641void __RPC_STUB IDocHostUIHandler_ResizeBorder_Stub(
642    IRpcStubBuffer* This,
643    IRpcChannelBuffer* pRpcChannelBuffer,
644    PRPC_MESSAGE pRpcMessage,
645    DWORD* pdwStubPhase);
646HRESULT STDMETHODCALLTYPE IDocHostUIHandler_TranslateAccelerator_Proxy(
647    IDocHostUIHandler* This,
648    LPMSG lpMsg,
649    const GUID *pguidCmdGroup,
650    DWORD nCmdID);
651void __RPC_STUB IDocHostUIHandler_TranslateAccelerator_Stub(
652    IRpcStubBuffer* This,
653    IRpcChannelBuffer* pRpcChannelBuffer,
654    PRPC_MESSAGE pRpcMessage,
655    DWORD* pdwStubPhase);
656HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetOptionKeyPath_Proxy(
657    IDocHostUIHandler* This,
658    LPOLESTR *pchKey,
659    DWORD dw);
660void __RPC_STUB IDocHostUIHandler_GetOptionKeyPath_Stub(
661    IRpcStubBuffer* This,
662    IRpcChannelBuffer* pRpcChannelBuffer,
663    PRPC_MESSAGE pRpcMessage,
664    DWORD* pdwStubPhase);
665HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetDropTarget_Proxy(
666    IDocHostUIHandler* This,
667    IDropTarget *pDropTarget,
668    IDropTarget **ppDropTarget);
669void __RPC_STUB IDocHostUIHandler_GetDropTarget_Stub(
670    IRpcStubBuffer* This,
671    IRpcChannelBuffer* pRpcChannelBuffer,
672    PRPC_MESSAGE pRpcMessage,
673    DWORD* pdwStubPhase);
674HRESULT STDMETHODCALLTYPE IDocHostUIHandler_GetExternal_Proxy(
675    IDocHostUIHandler* This,
676    IDispatch **ppDispatch);
677void __RPC_STUB IDocHostUIHandler_GetExternal_Stub(
678    IRpcStubBuffer* This,
679    IRpcChannelBuffer* pRpcChannelBuffer,
680    PRPC_MESSAGE pRpcMessage,
681    DWORD* pdwStubPhase);
682HRESULT STDMETHODCALLTYPE IDocHostUIHandler_TranslateUrl_Proxy(
683    IDocHostUIHandler* This,
684    DWORD dwTranslate,
685    LPWSTR pchURLIn,
686    LPWSTR *ppchURLOut);
687void __RPC_STUB IDocHostUIHandler_TranslateUrl_Stub(
688    IRpcStubBuffer* This,
689    IRpcChannelBuffer* pRpcChannelBuffer,
690    PRPC_MESSAGE pRpcMessage,
691    DWORD* pdwStubPhase);
692HRESULT STDMETHODCALLTYPE IDocHostUIHandler_FilterDataObject_Proxy(
693    IDocHostUIHandler* This,
694    IDataObject *pDO,
695    IDataObject **ppDORet);
696void __RPC_STUB IDocHostUIHandler_FilterDataObject_Stub(
697    IRpcStubBuffer* This,
698    IRpcChannelBuffer* pRpcChannelBuffer,
699    PRPC_MESSAGE pRpcMessage,
700    DWORD* pdwStubPhase);
701
702#endif  /* __IDocHostUIHandler_INTERFACE_DEFINED__ */
703
704/*****************************************************************************
705 * IDocHostUIHandler2 interface
706 */
707#ifndef __IDocHostUIHandler2_INTERFACE_DEFINED__
708#define __IDocHostUIHandler2_INTERFACE_DEFINED__
709
710DEFINE_GUID(IID_IDocHostUIHandler2, 0x3050f6d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b);
711#if defined(__cplusplus) && !defined(CINTERFACE)
712MIDL_INTERFACE("3050f6d0-98b5-11cf-bb82-00aa00bdce0b")
713IDocHostUIHandler2 : public IDocHostUIHandler
714{
715    virtual HRESULT STDMETHODCALLTYPE GetOverrideKeyPath(
716        LPOLESTR *pchKey,
717        DWORD dw) = 0;
718
719};
720#ifdef __CRT_UUID_DECL
721__CRT_UUID_DECL(IDocHostUIHandler2, 0x3050f6d0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b)
722#endif
723#else
724typedef struct IDocHostUIHandler2Vtbl {
725    BEGIN_INTERFACE
726
727    /*** IUnknown methods ***/
728    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
729        IDocHostUIHandler2* This,
730        REFIID riid,
731        void **ppvObject);
732
733    ULONG (STDMETHODCALLTYPE *AddRef)(
734        IDocHostUIHandler2* This);
735
736    ULONG (STDMETHODCALLTYPE *Release)(
737        IDocHostUIHandler2* This);
738
739    /*** IDocHostUIHandler methods ***/
740    HRESULT (STDMETHODCALLTYPE *ShowContextMenu)(
741        IDocHostUIHandler2* This,
742        DWORD dwID,
743        POINT *ppt,
744        IUnknown *pcmdtReserved,
745        IDispatch *pdispReserved);
746
747    HRESULT (STDMETHODCALLTYPE *GetHostInfo)(
748        IDocHostUIHandler2* This,
749        DOCHOSTUIINFO *pInfo);
750
751    HRESULT (STDMETHODCALLTYPE *ShowUI)(
752        IDocHostUIHandler2* This,
753        DWORD dwID,
754        IOleInPlaceActiveObject *pActiveObject,
755        IOleCommandTarget *pCommandTarget,
756        IOleInPlaceFrame *pFrame,
757        IOleInPlaceUIWindow *pDoc);
758
759    HRESULT (STDMETHODCALLTYPE *HideUI)(
760        IDocHostUIHandler2* This);
761
762    HRESULT (STDMETHODCALLTYPE *UpdateUI)(
763        IDocHostUIHandler2* This);
764
765    HRESULT (STDMETHODCALLTYPE *EnableModeless)(
766        IDocHostUIHandler2* This,
767        WINBOOL fEnable);
768
769    HRESULT (STDMETHODCALLTYPE *OnDocWindowActivate)(
770        IDocHostUIHandler2* This,
771        WINBOOL fActivate);
772
773    HRESULT (STDMETHODCALLTYPE *OnFrameWindowActivate)(
774        IDocHostUIHandler2* This,
775        WINBOOL fActivate);
776
777    HRESULT (STDMETHODCALLTYPE *ResizeBorder)(
778        IDocHostUIHandler2* This,
779        LPCRECT prcBorder,
780        IOleInPlaceUIWindow *pUIWindow,
781        WINBOOL fRameWindow);
782
783    HRESULT (STDMETHODCALLTYPE *TranslateAccelerator)(
784        IDocHostUIHandler2* This,
785        LPMSG lpMsg,
786        const GUID *pguidCmdGroup,
787        DWORD nCmdID);
788
789    HRESULT (STDMETHODCALLTYPE *GetOptionKeyPath)(
790        IDocHostUIHandler2* This,
791        LPOLESTR *pchKey,
792        DWORD dw);
793
794    HRESULT (STDMETHODCALLTYPE *GetDropTarget)(
795        IDocHostUIHandler2* This,
796        IDropTarget *pDropTarget,
797        IDropTarget **ppDropTarget);
798
799    HRESULT (STDMETHODCALLTYPE *GetExternal)(
800        IDocHostUIHandler2* This,
801        IDispatch **ppDispatch);
802
803    HRESULT (STDMETHODCALLTYPE *TranslateUrl)(
804        IDocHostUIHandler2* This,
805        DWORD dwTranslate,
806        LPWSTR pchURLIn,
807        LPWSTR *ppchURLOut);
808
809    HRESULT (STDMETHODCALLTYPE *FilterDataObject)(
810        IDocHostUIHandler2* This,
811        IDataObject *pDO,
812        IDataObject **ppDORet);
813
814    /*** IDocHostUIHandler2 methods ***/
815    HRESULT (STDMETHODCALLTYPE *GetOverrideKeyPath)(
816        IDocHostUIHandler2* This,
817        LPOLESTR *pchKey,
818        DWORD dw);
819
820    END_INTERFACE
821} IDocHostUIHandler2Vtbl;
822interface IDocHostUIHandler2 {
823    CONST_VTBL IDocHostUIHandler2Vtbl* lpVtbl;
824};
825
826#ifdef COBJMACROS
827#ifndef WIDL_C_INLINE_WRAPPERS
828/*** IUnknown methods ***/
829#define IDocHostUIHandler2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
830#define IDocHostUIHandler2_AddRef(This) (This)->lpVtbl->AddRef(This)
831#define IDocHostUIHandler2_Release(This) (This)->lpVtbl->Release(This)
832/*** IDocHostUIHandler methods ***/
833#define IDocHostUIHandler2_ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved) (This)->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved)
834#define IDocHostUIHandler2_GetHostInfo(This,pInfo) (This)->lpVtbl->GetHostInfo(This,pInfo)
835#define IDocHostUIHandler2_ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc) (This)->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc)
836#define IDocHostUIHandler2_HideUI(This) (This)->lpVtbl->HideUI(This)
837#define IDocHostUIHandler2_UpdateUI(This) (This)->lpVtbl->UpdateUI(This)
838#define IDocHostUIHandler2_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable)
839#define IDocHostUIHandler2_OnDocWindowActivate(This,fActivate) (This)->lpVtbl->OnDocWindowActivate(This,fActivate)
840#define IDocHostUIHandler2_OnFrameWindowActivate(This,fActivate) (This)->lpVtbl->OnFrameWindowActivate(This,fActivate)
841#define IDocHostUIHandler2_ResizeBorder(This,prcBorder,pUIWindow,fRameWindow) (This)->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow)
842#define IDocHostUIHandler2_TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID) (This)->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID)
843#define IDocHostUIHandler2_GetOptionKeyPath(This,pchKey,dw) (This)->lpVtbl->GetOptionKeyPath(This,pchKey,dw)
844#define IDocHostUIHandler2_GetDropTarget(This,pDropTarget,ppDropTarget) (This)->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget)
845#define IDocHostUIHandler2_GetExternal(This,ppDispatch) (This)->lpVtbl->GetExternal(This,ppDispatch)
846#define IDocHostUIHandler2_TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut) (This)->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut)
847#define IDocHostUIHandler2_FilterDataObject(This,pDO,ppDORet) (This)->lpVtbl->FilterDataObject(This,pDO,ppDORet)
848/*** IDocHostUIHandler2 methods ***/
849#define IDocHostUIHandler2_GetOverrideKeyPath(This,pchKey,dw) (This)->lpVtbl->GetOverrideKeyPath(This,pchKey,dw)
850#else
851/*** IUnknown methods ***/
852static FORCEINLINE HRESULT IDocHostUIHandler2_QueryInterface(IDocHostUIHandler2* This,REFIID riid,void **ppvObject) {
853    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
854}
855static FORCEINLINE ULONG IDocHostUIHandler2_AddRef(IDocHostUIHandler2* This) {
856    return This->lpVtbl->AddRef(This);
857}
858static FORCEINLINE ULONG IDocHostUIHandler2_Release(IDocHostUIHandler2* This) {
859    return This->lpVtbl->Release(This);
860}
861/*** IDocHostUIHandler methods ***/
862static FORCEINLINE HRESULT IDocHostUIHandler2_ShowContextMenu(IDocHostUIHandler2* This,DWORD dwID,POINT *ppt,IUnknown *pcmdtReserved,IDispatch *pdispReserved) {
863    return This->lpVtbl->ShowContextMenu(This,dwID,ppt,pcmdtReserved,pdispReserved);
864}
865static FORCEINLINE HRESULT IDocHostUIHandler2_GetHostInfo(IDocHostUIHandler2* This,DOCHOSTUIINFO *pInfo) {
866    return This->lpVtbl->GetHostInfo(This,pInfo);
867}
868static FORCEINLINE HRESULT IDocHostUIHandler2_ShowUI(IDocHostUIHandler2* This,DWORD dwID,IOleInPlaceActiveObject *pActiveObject,IOleCommandTarget *pCommandTarget,IOleInPlaceFrame *pFrame,IOleInPlaceUIWindow *pDoc) {
869    return This->lpVtbl->ShowUI(This,dwID,pActiveObject,pCommandTarget,pFrame,pDoc);
870}
871static FORCEINLINE HRESULT IDocHostUIHandler2_HideUI(IDocHostUIHandler2* This) {
872    return This->lpVtbl->HideUI(This);
873}
874static FORCEINLINE HRESULT IDocHostUIHandler2_UpdateUI(IDocHostUIHandler2* This) {
875    return This->lpVtbl->UpdateUI(This);
876}
877static FORCEINLINE HRESULT IDocHostUIHandler2_EnableModeless(IDocHostUIHandler2* This,WINBOOL fEnable) {
878    return This->lpVtbl->EnableModeless(This,fEnable);
879}
880static FORCEINLINE HRESULT IDocHostUIHandler2_OnDocWindowActivate(IDocHostUIHandler2* This,WINBOOL fActivate) {
881    return This->lpVtbl->OnDocWindowActivate(This,fActivate);
882}
883static FORCEINLINE HRESULT IDocHostUIHandler2_OnFrameWindowActivate(IDocHostUIHandler2* This,WINBOOL fActivate) {
884    return This->lpVtbl->OnFrameWindowActivate(This,fActivate);
885}
886static FORCEINLINE HRESULT IDocHostUIHandler2_ResizeBorder(IDocHostUIHandler2* This,LPCRECT prcBorder,IOleInPlaceUIWindow *pUIWindow,WINBOOL fRameWindow) {
887    return This->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,fRameWindow);
888}
889static FORCEINLINE HRESULT IDocHostUIHandler2_TranslateAccelerator(IDocHostUIHandler2* This,LPMSG lpMsg,const GUID *pguidCmdGroup,DWORD nCmdID) {
890    return This->lpVtbl->TranslateAccelerator(This,lpMsg,pguidCmdGroup,nCmdID);
891}
892static FORCEINLINE HRESULT IDocHostUIHandler2_GetOptionKeyPath(IDocHostUIHandler2* This,LPOLESTR *pchKey,DWORD dw) {
893    return This->lpVtbl->GetOptionKeyPath(This,pchKey,dw);
894}
895static FORCEINLINE HRESULT IDocHostUIHandler2_GetDropTarget(IDocHostUIHandler2* This,IDropTarget *pDropTarget,IDropTarget **ppDropTarget) {
896    return This->lpVtbl->GetDropTarget(This,pDropTarget,ppDropTarget);
897}
898static FORCEINLINE HRESULT IDocHostUIHandler2_GetExternal(IDocHostUIHandler2* This,IDispatch **ppDispatch) {
899    return This->lpVtbl->GetExternal(This,ppDispatch);
900}
901static FORCEINLINE HRESULT IDocHostUIHandler2_TranslateUrl(IDocHostUIHandler2* This,DWORD dwTranslate,LPWSTR pchURLIn,LPWSTR *ppchURLOut) {
902    return This->lpVtbl->TranslateUrl(This,dwTranslate,pchURLIn,ppchURLOut);
903}
904static FORCEINLINE HRESULT IDocHostUIHandler2_FilterDataObject(IDocHostUIHandler2* This,IDataObject *pDO,IDataObject **ppDORet) {
905    return This->lpVtbl->FilterDataObject(This,pDO,ppDORet);
906}
907/*** IDocHostUIHandler2 methods ***/
908static FORCEINLINE HRESULT IDocHostUIHandler2_GetOverrideKeyPath(IDocHostUIHandler2* This,LPOLESTR *pchKey,DWORD dw) {
909    return This->lpVtbl->GetOverrideKeyPath(This,pchKey,dw);
910}
911#endif
912#endif
913
914#endif
915
916HRESULT STDMETHODCALLTYPE IDocHostUIHandler2_GetOverrideKeyPath_Proxy(
917    IDocHostUIHandler2* This,
918    LPOLESTR *pchKey,
919    DWORD dw);
920void __RPC_STUB IDocHostUIHandler2_GetOverrideKeyPath_Stub(
921    IRpcStubBuffer* This,
922    IRpcChannelBuffer* pRpcChannelBuffer,
923    PRPC_MESSAGE pRpcMessage,
924    DWORD* pdwStubPhase);
925
926#endif  /* __IDocHostUIHandler2_INTERFACE_DEFINED__ */
927
928/*****************************************************************************
929 * ICustomDoc interface
930 */
931#ifndef __ICustomDoc_INTERFACE_DEFINED__
932#define __ICustomDoc_INTERFACE_DEFINED__
933
934DEFINE_GUID(IID_ICustomDoc, 0x3050f3f0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b);
935#if defined(__cplusplus) && !defined(CINTERFACE)
936MIDL_INTERFACE("3050f3f0-98b5-11cf-bb82-00aa00bdce0b")
937ICustomDoc : public IUnknown
938{
939    virtual HRESULT STDMETHODCALLTYPE SetUIHandler(
940        IDocHostUIHandler *pUIHandler) = 0;
941
942};
943#ifdef __CRT_UUID_DECL
944__CRT_UUID_DECL(ICustomDoc, 0x3050f3f0, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b)
945#endif
946#else
947typedef struct ICustomDocVtbl {
948    BEGIN_INTERFACE
949
950    /*** IUnknown methods ***/
951    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
952        ICustomDoc* This,
953        REFIID riid,
954        void **ppvObject);
955
956    ULONG (STDMETHODCALLTYPE *AddRef)(
957        ICustomDoc* This);
958
959    ULONG (STDMETHODCALLTYPE *Release)(
960        ICustomDoc* This);
961
962    /*** ICustomDoc methods ***/
963    HRESULT (STDMETHODCALLTYPE *SetUIHandler)(
964        ICustomDoc* This,
965        IDocHostUIHandler *pUIHandler);
966
967    END_INTERFACE
968} ICustomDocVtbl;
969interface ICustomDoc {
970    CONST_VTBL ICustomDocVtbl* lpVtbl;
971};
972
973#ifdef COBJMACROS
974#ifndef WIDL_C_INLINE_WRAPPERS
975/*** IUnknown methods ***/
976#define ICustomDoc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
977#define ICustomDoc_AddRef(This) (This)->lpVtbl->AddRef(This)
978#define ICustomDoc_Release(This) (This)->lpVtbl->Release(This)
979/*** ICustomDoc methods ***/
980#define ICustomDoc_SetUIHandler(This,pUIHandler) (This)->lpVtbl->SetUIHandler(This,pUIHandler)
981#else
982/*** IUnknown methods ***/
983static FORCEINLINE HRESULT ICustomDoc_QueryInterface(ICustomDoc* This,REFIID riid,void **ppvObject) {
984    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
985}
986static FORCEINLINE ULONG ICustomDoc_AddRef(ICustomDoc* This) {
987    return This->lpVtbl->AddRef(This);
988}
989static FORCEINLINE ULONG ICustomDoc_Release(ICustomDoc* This) {
990    return This->lpVtbl->Release(This);
991}
992/*** ICustomDoc methods ***/
993static FORCEINLINE HRESULT ICustomDoc_SetUIHandler(ICustomDoc* This,IDocHostUIHandler *pUIHandler) {
994    return This->lpVtbl->SetUIHandler(This,pUIHandler);
995}
996#endif
997#endif
998
999#endif
1000
1001HRESULT STDMETHODCALLTYPE ICustomDoc_SetUIHandler_Proxy(
1002    ICustomDoc* This,
1003    IDocHostUIHandler *pUIHandler);
1004void __RPC_STUB ICustomDoc_SetUIHandler_Stub(
1005    IRpcStubBuffer* This,
1006    IRpcChannelBuffer* pRpcChannelBuffer,
1007    PRPC_MESSAGE pRpcMessage,
1008    DWORD* pdwStubPhase);
1009
1010#endif  /* __ICustomDoc_INTERFACE_DEFINED__ */
1011
1012/*****************************************************************************
1013 * IDocHostShowUI interface
1014 */
1015#ifndef __IDocHostShowUI_INTERFACE_DEFINED__
1016#define __IDocHostShowUI_INTERFACE_DEFINED__
1017
1018DEFINE_GUID(IID_IDocHostShowUI, 0xc4d244b0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a);
1019#if defined(__cplusplus) && !defined(CINTERFACE)
1020MIDL_INTERFACE("c4d244b0-d43e-11cf-893b-00aa00bdce1a")
1021IDocHostShowUI : public IUnknown
1022{
1023    virtual HRESULT STDMETHODCALLTYPE ShowMessage(
1024        HWND hwnd,
1025        LPOLESTR lpstrText,
1026        LPOLESTR lpstrCaption,
1027        DWORD dwType,
1028        LPOLESTR lpstrHelpFile,
1029        DWORD dwHelpContext,
1030        LRESULT *plResult) = 0;
1031
1032    virtual HRESULT STDMETHODCALLTYPE ShowHelp(
1033        HWND hwnd,
1034        LPOLESTR pszHelpFile,
1035        UINT uCommand,
1036        DWORD dwData,
1037        POINT ptMouse,
1038        IDispatch *pDispatchObjectHit) = 0;
1039
1040};
1041#ifdef __CRT_UUID_DECL
1042__CRT_UUID_DECL(IDocHostShowUI, 0xc4d244b0, 0xd43e, 0x11cf, 0x89,0x3b, 0x00,0xaa,0x00,0xbd,0xce,0x1a)
1043#endif
1044#else
1045typedef struct IDocHostShowUIVtbl {
1046    BEGIN_INTERFACE
1047
1048    /*** IUnknown methods ***/
1049    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1050        IDocHostShowUI* This,
1051        REFIID riid,
1052        void **ppvObject);
1053
1054    ULONG (STDMETHODCALLTYPE *AddRef)(
1055        IDocHostShowUI* This);
1056
1057    ULONG (STDMETHODCALLTYPE *Release)(
1058        IDocHostShowUI* This);
1059
1060    /*** IDocHostShowUI methods ***/
1061    HRESULT (STDMETHODCALLTYPE *ShowMessage)(
1062        IDocHostShowUI* This,
1063        HWND hwnd,
1064        LPOLESTR lpstrText,
1065        LPOLESTR lpstrCaption,
1066        DWORD dwType,
1067        LPOLESTR lpstrHelpFile,
1068        DWORD dwHelpContext,
1069        LRESULT *plResult);
1070
1071    HRESULT (STDMETHODCALLTYPE *ShowHelp)(
1072        IDocHostShowUI* This,
1073        HWND hwnd,
1074        LPOLESTR pszHelpFile,
1075        UINT uCommand,
1076        DWORD dwData,
1077        POINT ptMouse,
1078        IDispatch *pDispatchObjectHit);
1079
1080    END_INTERFACE
1081} IDocHostShowUIVtbl;
1082interface IDocHostShowUI {
1083    CONST_VTBL IDocHostShowUIVtbl* lpVtbl;
1084};
1085
1086#ifdef COBJMACROS
1087#ifndef WIDL_C_INLINE_WRAPPERS
1088/*** IUnknown methods ***/
1089#define IDocHostShowUI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1090#define IDocHostShowUI_AddRef(This) (This)->lpVtbl->AddRef(This)
1091#define IDocHostShowUI_Release(This) (This)->lpVtbl->Release(This)
1092/*** IDocHostShowUI methods ***/
1093#define IDocHostShowUI_ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult) (This)->lpVtbl->ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult)
1094#define IDocHostShowUI_ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit) (This)->lpVtbl->ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit)
1095#else
1096/*** IUnknown methods ***/
1097static FORCEINLINE HRESULT IDocHostShowUI_QueryInterface(IDocHostShowUI* This,REFIID riid,void **ppvObject) {
1098    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1099}
1100static FORCEINLINE ULONG IDocHostShowUI_AddRef(IDocHostShowUI* This) {
1101    return This->lpVtbl->AddRef(This);
1102}
1103static FORCEINLINE ULONG IDocHostShowUI_Release(IDocHostShowUI* This) {
1104    return This->lpVtbl->Release(This);
1105}
1106/*** IDocHostShowUI methods ***/
1107static FORCEINLINE HRESULT IDocHostShowUI_ShowMessage(IDocHostShowUI* This,HWND hwnd,LPOLESTR lpstrText,LPOLESTR lpstrCaption,DWORD dwType,LPOLESTR lpstrHelpFile,DWORD dwHelpContext,LRESULT *plResult) {
1108    return This->lpVtbl->ShowMessage(This,hwnd,lpstrText,lpstrCaption,dwType,lpstrHelpFile,dwHelpContext,plResult);
1109}
1110static FORCEINLINE HRESULT IDocHostShowUI_ShowHelp(IDocHostShowUI* This,HWND hwnd,LPOLESTR pszHelpFile,UINT uCommand,DWORD dwData,POINT ptMouse,IDispatch *pDispatchObjectHit) {
1111    return This->lpVtbl->ShowHelp(This,hwnd,pszHelpFile,uCommand,dwData,ptMouse,pDispatchObjectHit);
1112}
1113#endif
1114#endif
1115
1116#endif
1117
1118HRESULT STDMETHODCALLTYPE IDocHostShowUI_ShowMessage_Proxy(
1119    IDocHostShowUI* This,
1120    HWND hwnd,
1121    LPOLESTR lpstrText,
1122    LPOLESTR lpstrCaption,
1123    DWORD dwType,
1124    LPOLESTR lpstrHelpFile,
1125    DWORD dwHelpContext,
1126    LRESULT *plResult);
1127void __RPC_STUB IDocHostShowUI_ShowMessage_Stub(
1128    IRpcStubBuffer* This,
1129    IRpcChannelBuffer* pRpcChannelBuffer,
1130    PRPC_MESSAGE pRpcMessage,
1131    DWORD* pdwStubPhase);
1132HRESULT STDMETHODCALLTYPE IDocHostShowUI_ShowHelp_Proxy(
1133    IDocHostShowUI* This,
1134    HWND hwnd,
1135    LPOLESTR pszHelpFile,
1136    UINT uCommand,
1137    DWORD dwData,
1138    POINT ptMouse,
1139    IDispatch *pDispatchObjectHit);
1140void __RPC_STUB IDocHostShowUI_ShowHelp_Stub(
1141    IRpcStubBuffer* This,
1142    IRpcChannelBuffer* pRpcChannelBuffer,
1143    PRPC_MESSAGE pRpcMessage,
1144    DWORD* pdwStubPhase);
1145
1146#endif  /* __IDocHostShowUI_INTERFACE_DEFINED__ */
1147
1148#define IClassFactory3 IClassFactoryEx
1149#define IID_IClassFactory3 IID_IClassFactoryEx
1150#define SID_SHTMLOMWindowServices IID_IHTMLOMWindowServices
1151/*****************************************************************************
1152 * IClassFactoryEx interface
1153 */
1154#ifndef __IClassFactoryEx_INTERFACE_DEFINED__
1155#define __IClassFactoryEx_INTERFACE_DEFINED__
1156
1157DEFINE_GUID(IID_IClassFactoryEx, 0x342d1ea0, 0xae25, 0x11d1, 0x89,0xc5, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
1158#if defined(__cplusplus) && !defined(CINTERFACE)
1159MIDL_INTERFACE("342d1ea0-ae25-11d1-89c5-006008c3fbfc")
1160IClassFactoryEx : public IClassFactory
1161{
1162    virtual HRESULT STDMETHODCALLTYPE CreateInstanceWithContext(
1163        IUnknown *punkContext,
1164        IUnknown *punkOuter,
1165        REFIID riid,
1166        void **ppv) = 0;
1167
1168};
1169#ifdef __CRT_UUID_DECL
1170__CRT_UUID_DECL(IClassFactoryEx, 0x342d1ea0, 0xae25, 0x11d1, 0x89,0xc5, 0x00,0x60,0x08,0xc3,0xfb,0xfc)
1171#endif
1172#else
1173typedef struct IClassFactoryExVtbl {
1174    BEGIN_INTERFACE
1175
1176    /*** IUnknown methods ***/
1177    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1178        IClassFactoryEx* This,
1179        REFIID riid,
1180        void **ppvObject);
1181
1182    ULONG (STDMETHODCALLTYPE *AddRef)(
1183        IClassFactoryEx* This);
1184
1185    ULONG (STDMETHODCALLTYPE *Release)(
1186        IClassFactoryEx* This);
1187
1188    /*** IClassFactory methods ***/
1189    HRESULT (STDMETHODCALLTYPE *CreateInstance)(
1190        IClassFactoryEx* This,
1191        IUnknown *pUnkOuter,
1192        REFIID riid,
1193        void **ppvObject);
1194
1195    HRESULT (STDMETHODCALLTYPE *LockServer)(
1196        IClassFactoryEx* This,
1197        WINBOOL fLock);
1198
1199    /*** IClassFactoryEx methods ***/
1200    HRESULT (STDMETHODCALLTYPE *CreateInstanceWithContext)(
1201        IClassFactoryEx* This,
1202        IUnknown *punkContext,
1203        IUnknown *punkOuter,
1204        REFIID riid,
1205        void **ppv);
1206
1207    END_INTERFACE
1208} IClassFactoryExVtbl;
1209interface IClassFactoryEx {
1210    CONST_VTBL IClassFactoryExVtbl* lpVtbl;
1211};
1212
1213#ifdef COBJMACROS
1214#ifndef WIDL_C_INLINE_WRAPPERS
1215/*** IUnknown methods ***/
1216#define IClassFactoryEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1217#define IClassFactoryEx_AddRef(This) (This)->lpVtbl->AddRef(This)
1218#define IClassFactoryEx_Release(This) (This)->lpVtbl->Release(This)
1219/*** IClassFactory methods ***/
1220#define IClassFactoryEx_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject)
1221#define IClassFactoryEx_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock)
1222/*** IClassFactoryEx methods ***/
1223#define IClassFactoryEx_CreateInstanceWithContext(This,punkContext,punkOuter,riid,ppv) (This)->lpVtbl->CreateInstanceWithContext(This,punkContext,punkOuter,riid,ppv)
1224#else
1225/*** IUnknown methods ***/
1226static FORCEINLINE HRESULT IClassFactoryEx_QueryInterface(IClassFactoryEx* This,REFIID riid,void **ppvObject) {
1227    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1228}
1229static FORCEINLINE ULONG IClassFactoryEx_AddRef(IClassFactoryEx* This) {
1230    return This->lpVtbl->AddRef(This);
1231}
1232static FORCEINLINE ULONG IClassFactoryEx_Release(IClassFactoryEx* This) {
1233    return This->lpVtbl->Release(This);
1234}
1235/*** IClassFactory methods ***/
1236static FORCEINLINE HRESULT IClassFactoryEx_CreateInstance(IClassFactoryEx* This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject) {
1237    return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject);
1238}
1239static FORCEINLINE HRESULT IClassFactoryEx_LockServer(IClassFactoryEx* This,WINBOOL fLock) {
1240    return This->lpVtbl->LockServer(This,fLock);
1241}
1242/*** IClassFactoryEx methods ***/
1243static FORCEINLINE HRESULT IClassFactoryEx_CreateInstanceWithContext(IClassFactoryEx* This,IUnknown *punkContext,IUnknown *punkOuter,REFIID riid,void **ppv) {
1244    return This->lpVtbl->CreateInstanceWithContext(This,punkContext,punkOuter,riid,ppv);
1245}
1246#endif
1247#endif
1248
1249#endif
1250
1251HRESULT STDMETHODCALLTYPE IClassFactoryEx_CreateInstanceWithContext_Proxy(
1252    IClassFactoryEx* This,
1253    IUnknown *punkContext,
1254    IUnknown *punkOuter,
1255    REFIID riid,
1256    void **ppv);
1257void __RPC_STUB IClassFactoryEx_CreateInstanceWithContext_Stub(
1258    IRpcStubBuffer* This,
1259    IRpcChannelBuffer* pRpcChannelBuffer,
1260    PRPC_MESSAGE pRpcMessage,
1261    DWORD* pdwStubPhase);
1262
1263#endif  /* __IClassFactoryEx_INTERFACE_DEFINED__ */
1264
1265/*****************************************************************************
1266 * IHTMLOMWindowServices interface
1267 */
1268#ifndef __IHTMLOMWindowServices_INTERFACE_DEFINED__
1269#define __IHTMLOMWindowServices_INTERFACE_DEFINED__
1270
1271DEFINE_GUID(IID_IHTMLOMWindowServices, 0x3050f5fc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b);
1272#if defined(__cplusplus) && !defined(CINTERFACE)
1273MIDL_INTERFACE("3050f5fc-98b5-11cf-bb82-00aa00bdce0b")
1274IHTMLOMWindowServices : public IUnknown
1275{
1276    virtual HRESULT STDMETHODCALLTYPE moveTo(
1277        LONG x,
1278        LONG y) = 0;
1279
1280    virtual HRESULT STDMETHODCALLTYPE moveBy(
1281        LONG x,
1282        LONG y) = 0;
1283
1284    virtual HRESULT STDMETHODCALLTYPE resizeTo(
1285        LONG x,
1286        LONG y) = 0;
1287
1288    virtual HRESULT STDMETHODCALLTYPE resizeBy(
1289        LONG x,
1290        LONG y) = 0;
1291
1292};
1293#ifdef __CRT_UUID_DECL
1294__CRT_UUID_DECL(IHTMLOMWindowServices, 0x3050f5fc, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b)
1295#endif
1296#else
1297typedef struct IHTMLOMWindowServicesVtbl {
1298    BEGIN_INTERFACE
1299
1300    /*** IUnknown methods ***/
1301    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1302        IHTMLOMWindowServices* This,
1303        REFIID riid,
1304        void **ppvObject);
1305
1306    ULONG (STDMETHODCALLTYPE *AddRef)(
1307        IHTMLOMWindowServices* This);
1308
1309    ULONG (STDMETHODCALLTYPE *Release)(
1310        IHTMLOMWindowServices* This);
1311
1312    /*** IHTMLOMWindowServices methods ***/
1313    HRESULT (STDMETHODCALLTYPE *moveTo)(
1314        IHTMLOMWindowServices* This,
1315        LONG x,
1316        LONG y);
1317
1318    HRESULT (STDMETHODCALLTYPE *moveBy)(
1319        IHTMLOMWindowServices* This,
1320        LONG x,
1321        LONG y);
1322
1323    HRESULT (STDMETHODCALLTYPE *resizeTo)(
1324        IHTMLOMWindowServices* This,
1325        LONG x,
1326        LONG y);
1327
1328    HRESULT (STDMETHODCALLTYPE *resizeBy)(
1329        IHTMLOMWindowServices* This,
1330        LONG x,
1331        LONG y);
1332
1333    END_INTERFACE
1334} IHTMLOMWindowServicesVtbl;
1335interface IHTMLOMWindowServices {
1336    CONST_VTBL IHTMLOMWindowServicesVtbl* lpVtbl;
1337};
1338
1339#ifdef COBJMACROS
1340#ifndef WIDL_C_INLINE_WRAPPERS
1341/*** IUnknown methods ***/
1342#define IHTMLOMWindowServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1343#define IHTMLOMWindowServices_AddRef(This) (This)->lpVtbl->AddRef(This)
1344#define IHTMLOMWindowServices_Release(This) (This)->lpVtbl->Release(This)
1345/*** IHTMLOMWindowServices methods ***/
1346#define IHTMLOMWindowServices_moveTo(This,x,y) (This)->lpVtbl->moveTo(This,x,y)
1347#define IHTMLOMWindowServices_moveBy(This,x,y) (This)->lpVtbl->moveBy(This,x,y)
1348#define IHTMLOMWindowServices_resizeTo(This,x,y) (This)->lpVtbl->resizeTo(This,x,y)
1349#define IHTMLOMWindowServices_resizeBy(This,x,y) (This)->lpVtbl->resizeBy(This,x,y)
1350#else
1351/*** IUnknown methods ***/
1352static FORCEINLINE HRESULT IHTMLOMWindowServices_QueryInterface(IHTMLOMWindowServices* This,REFIID riid,void **ppvObject) {
1353    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1354}
1355static FORCEINLINE ULONG IHTMLOMWindowServices_AddRef(IHTMLOMWindowServices* This) {
1356    return This->lpVtbl->AddRef(This);
1357}
1358static FORCEINLINE ULONG IHTMLOMWindowServices_Release(IHTMLOMWindowServices* This) {
1359    return This->lpVtbl->Release(This);
1360}
1361/*** IHTMLOMWindowServices methods ***/
1362static FORCEINLINE HRESULT IHTMLOMWindowServices_moveTo(IHTMLOMWindowServices* This,LONG x,LONG y) {
1363    return This->lpVtbl->moveTo(This,x,y);
1364}
1365static FORCEINLINE HRESULT IHTMLOMWindowServices_moveBy(IHTMLOMWindowServices* This,LONG x,LONG y) {
1366    return This->lpVtbl->moveBy(This,x,y);
1367}
1368static FORCEINLINE HRESULT IHTMLOMWindowServices_resizeTo(IHTMLOMWindowServices* This,LONG x,LONG y) {
1369    return This->lpVtbl->resizeTo(This,x,y);
1370}
1371static FORCEINLINE HRESULT IHTMLOMWindowServices_resizeBy(IHTMLOMWindowServices* This,LONG x,LONG y) {
1372    return This->lpVtbl->resizeBy(This,x,y);
1373}
1374#endif
1375#endif
1376
1377#endif
1378
1379HRESULT STDMETHODCALLTYPE IHTMLOMWindowServices_moveTo_Proxy(
1380    IHTMLOMWindowServices* This,
1381    LONG x,
1382    LONG y);
1383void __RPC_STUB IHTMLOMWindowServices_moveTo_Stub(
1384    IRpcStubBuffer* This,
1385    IRpcChannelBuffer* pRpcChannelBuffer,
1386    PRPC_MESSAGE pRpcMessage,
1387    DWORD* pdwStubPhase);
1388HRESULT STDMETHODCALLTYPE IHTMLOMWindowServices_moveBy_Proxy(
1389    IHTMLOMWindowServices* This,
1390    LONG x,
1391    LONG y);
1392void __RPC_STUB IHTMLOMWindowServices_moveBy_Stub(
1393    IRpcStubBuffer* This,
1394    IRpcChannelBuffer* pRpcChannelBuffer,
1395    PRPC_MESSAGE pRpcMessage,
1396    DWORD* pdwStubPhase);
1397HRESULT STDMETHODCALLTYPE IHTMLOMWindowServices_resizeTo_Proxy(
1398    IHTMLOMWindowServices* This,
1399    LONG x,
1400    LONG y);
1401void __RPC_STUB IHTMLOMWindowServices_resizeTo_Stub(
1402    IRpcStubBuffer* This,
1403    IRpcChannelBuffer* pRpcChannelBuffer,
1404    PRPC_MESSAGE pRpcMessage,
1405    DWORD* pdwStubPhase);
1406HRESULT STDMETHODCALLTYPE IHTMLOMWindowServices_resizeBy_Proxy(
1407    IHTMLOMWindowServices* This,
1408    LONG x,
1409    LONG y);
1410void __RPC_STUB IHTMLOMWindowServices_resizeBy_Stub(
1411    IRpcStubBuffer* This,
1412    IRpcChannelBuffer* pRpcChannelBuffer,
1413    PRPC_MESSAGE pRpcMessage,
1414    DWORD* pdwStubPhase);
1415
1416#endif  /* __IHTMLOMWindowServices_INTERFACE_DEFINED__ */
1417
1418#endif
1419#endif
1420/* Begin additional prototypes for all interfaces */
1421
1422
1423/* End additional prototypes */
1424
1425#ifdef __cplusplus
1426}
1427#endif
1428
1429#endif /* __mshtmhst_h__ */
1430