blob: 5648c412a8950b1ada9dcf6aff08327bdb2c7238 [file] [log] [blame]
/*** Autogenerated by WIDL 6.4 from include/exdisp.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __exdisp_h__
#define __exdisp_h__
/* Forward declarations */
#ifndef __IWebBrowser_FWD_DEFINED__
#define __IWebBrowser_FWD_DEFINED__
typedef interface IWebBrowser IWebBrowser;
#ifdef __cplusplus
interface IWebBrowser;
#endif /* __cplusplus */
#endif
#ifndef __DWebBrowserEvents_FWD_DEFINED__
#define __DWebBrowserEvents_FWD_DEFINED__
typedef interface DWebBrowserEvents DWebBrowserEvents;
#ifdef __cplusplus
interface DWebBrowserEvents;
#endif /* __cplusplus */
#endif
#ifndef __IWebBrowserApp_FWD_DEFINED__
#define __IWebBrowserApp_FWD_DEFINED__
typedef interface IWebBrowserApp IWebBrowserApp;
#ifdef __cplusplus
interface IWebBrowserApp;
#endif /* __cplusplus */
#endif
#ifndef __IWebBrowser2_FWD_DEFINED__
#define __IWebBrowser2_FWD_DEFINED__
typedef interface IWebBrowser2 IWebBrowser2;
#ifdef __cplusplus
interface IWebBrowser2;
#endif /* __cplusplus */
#endif
#ifndef __DWebBrowserEvents2_FWD_DEFINED__
#define __DWebBrowserEvents2_FWD_DEFINED__
typedef interface DWebBrowserEvents2 DWebBrowserEvents2;
#ifdef __cplusplus
interface DWebBrowserEvents2;
#endif /* __cplusplus */
#endif
#ifndef __WebBrowser_V1_FWD_DEFINED__
#define __WebBrowser_V1_FWD_DEFINED__
#ifdef __cplusplus
typedef class WebBrowser_V1 WebBrowser_V1;
#else
typedef struct WebBrowser_V1 WebBrowser_V1;
#endif /* defined __cplusplus */
#endif /* defined __WebBrowser_V1_FWD_DEFINED__ */
#ifndef __WebBrowser_FWD_DEFINED__
#define __WebBrowser_FWD_DEFINED__
#ifdef __cplusplus
typedef class WebBrowser WebBrowser;
#else
typedef struct WebBrowser WebBrowser;
#endif /* defined __cplusplus */
#endif /* defined __WebBrowser_FWD_DEFINED__ */
#ifndef __InternetExplorer_FWD_DEFINED__
#define __InternetExplorer_FWD_DEFINED__
#ifdef __cplusplus
typedef class InternetExplorer InternetExplorer;
#else
typedef struct InternetExplorer InternetExplorer;
#endif /* defined __cplusplus */
#endif /* defined __InternetExplorer_FWD_DEFINED__ */
#ifndef __ShellBrowserWindow_FWD_DEFINED__
#define __ShellBrowserWindow_FWD_DEFINED__
#ifdef __cplusplus
typedef class ShellBrowserWindow ShellBrowserWindow;
#else
typedef struct ShellBrowserWindow ShellBrowserWindow;
#endif /* defined __cplusplus */
#endif /* defined __ShellBrowserWindow_FWD_DEFINED__ */
#ifndef __DShellWindowsEvents_FWD_DEFINED__
#define __DShellWindowsEvents_FWD_DEFINED__
typedef interface DShellWindowsEvents DShellWindowsEvents;
#ifdef __cplusplus
interface DShellWindowsEvents;
#endif /* __cplusplus */
#endif
#ifndef __IShellWindows_FWD_DEFINED__
#define __IShellWindows_FWD_DEFINED__
typedef interface IShellWindows IShellWindows;
#ifdef __cplusplus
interface IShellWindows;
#endif /* __cplusplus */
#endif
#ifndef __ShellWindows_FWD_DEFINED__
#define __ShellWindows_FWD_DEFINED__
#ifdef __cplusplus
typedef class ShellWindows ShellWindows;
#else
typedef struct ShellWindows ShellWindows;
#endif /* defined __cplusplus */
#endif /* defined __ShellWindows_FWD_DEFINED__ */
#ifndef __IShellUIHelper_FWD_DEFINED__
#define __IShellUIHelper_FWD_DEFINED__
typedef interface IShellUIHelper IShellUIHelper;
#ifdef __cplusplus
interface IShellUIHelper;
#endif /* __cplusplus */
#endif
#ifndef __IShellUIHelper2_FWD_DEFINED__
#define __IShellUIHelper2_FWD_DEFINED__
typedef interface IShellUIHelper2 IShellUIHelper2;
#ifdef __cplusplus
interface IShellUIHelper2;
#endif /* __cplusplus */
#endif
#ifndef __ShellUIHelper_FWD_DEFINED__
#define __ShellUIHelper_FWD_DEFINED__
#ifdef __cplusplus
typedef class ShellUIHelper ShellUIHelper;
#else
typedef struct ShellUIHelper ShellUIHelper;
#endif /* defined __cplusplus */
#endif /* defined __ShellUIHelper_FWD_DEFINED__ */
#ifndef __DShellNameSpaceEvents_FWD_DEFINED__
#define __DShellNameSpaceEvents_FWD_DEFINED__
typedef interface DShellNameSpaceEvents DShellNameSpaceEvents;
#ifdef __cplusplus
interface DShellNameSpaceEvents;
#endif /* __cplusplus */
#endif
#ifndef __IShellFavoritesNameSpace_FWD_DEFINED__
#define __IShellFavoritesNameSpace_FWD_DEFINED__
typedef interface IShellFavoritesNameSpace IShellFavoritesNameSpace;
#ifdef __cplusplus
interface IShellFavoritesNameSpace;
#endif /* __cplusplus */
#endif
#ifndef __IShellNameSpace_FWD_DEFINED__
#define __IShellNameSpace_FWD_DEFINED__
typedef interface IShellNameSpace IShellNameSpace;
#ifdef __cplusplus
interface IShellNameSpace;
#endif /* __cplusplus */
#endif
#ifndef __ShellShellNameSpace_FWD_DEFINED__
#define __ShellShellNameSpace_FWD_DEFINED__
#ifdef __cplusplus
typedef class ShellShellNameSpace ShellShellNameSpace;
#else
typedef struct ShellShellNameSpace ShellShellNameSpace;
#endif /* defined __cplusplus */
#endif /* defined __ShellShellNameSpace_FWD_DEFINED__ */
#ifndef __ShellNameSpace_FWD_DEFINED__
#define __ShellNameSpace_FWD_DEFINED__
#ifdef __cplusplus
typedef class ShellNameSpace ShellNameSpace;
#else
typedef struct ShellNameSpace ShellNameSpace;
#endif /* defined __cplusplus */
#endif /* defined __ShellNameSpace_FWD_DEFINED__ */
#ifndef __IScriptErrorList_FWD_DEFINED__
#define __IScriptErrorList_FWD_DEFINED__
typedef interface IScriptErrorList IScriptErrorList;
#ifdef __cplusplus
interface IScriptErrorList;
#endif /* __cplusplus */
#endif
#ifndef __CScriptErrorList_FWD_DEFINED__
#define __CScriptErrorList_FWD_DEFINED__
#ifdef __cplusplus
typedef class CScriptErrorList CScriptErrorList;
#else
typedef struct CScriptErrorList CScriptErrorList;
#endif /* defined __cplusplus */
#endif /* defined __CScriptErrorList_FWD_DEFINED__ */
#ifndef __ISearch_FWD_DEFINED__
#define __ISearch_FWD_DEFINED__
typedef interface ISearch ISearch;
#ifdef __cplusplus
interface ISearch;
#endif /* __cplusplus */
#endif
#ifndef __ISearches_FWD_DEFINED__
#define __ISearches_FWD_DEFINED__
typedef interface ISearches ISearches;
#ifdef __cplusplus
interface ISearches;
#endif /* __cplusplus */
#endif
#ifndef __ISearchAssistantOC_FWD_DEFINED__
#define __ISearchAssistantOC_FWD_DEFINED__
typedef interface ISearchAssistantOC ISearchAssistantOC;
#ifdef __cplusplus
interface ISearchAssistantOC;
#endif /* __cplusplus */
#endif
#ifndef __ISearchAssistantOC2_FWD_DEFINED__
#define __ISearchAssistantOC2_FWD_DEFINED__
typedef interface ISearchAssistantOC2 ISearchAssistantOC2;
#ifdef __cplusplus
interface ISearchAssistantOC2;
#endif /* __cplusplus */
#endif
#ifndef __ISearchAssistantOC3_FWD_DEFINED__
#define __ISearchAssistantOC3_FWD_DEFINED__
typedef interface ISearchAssistantOC3 ISearchAssistantOC3;
#ifdef __cplusplus
interface ISearchAssistantOC3;
#endif /* __cplusplus */
#endif
#ifndef ___SearchAssistantEvents_FWD_DEFINED__
#define ___SearchAssistantEvents_FWD_DEFINED__
typedef interface _SearchAssistantEvents _SearchAssistantEvents;
#ifdef __cplusplus
interface _SearchAssistantEvents;
#endif /* __cplusplus */
#endif
#ifndef __ShellSearchAssistantOC_FWD_DEFINED__
#define __ShellSearchAssistantOC_FWD_DEFINED__
#ifdef __cplusplus
typedef class ShellSearchAssistantOC ShellSearchAssistantOC;
#else
typedef struct ShellSearchAssistantOC ShellSearchAssistantOC;
#endif /* defined __cplusplus */
#endif /* defined __ShellSearchAssistantOC_FWD_DEFINED__ */
#ifndef __SearchAssistantOC_FWD_DEFINED__
#define __SearchAssistantOC_FWD_DEFINED__
#ifdef __cplusplus
typedef class SearchAssistantOC SearchAssistantOC;
#else
typedef struct SearchAssistantOC SearchAssistantOC;
#endif /* defined __cplusplus */
#endif /* defined __SearchAssistantOC_FWD_DEFINED__ */
/* Headers for imported files */
#include <ocidl.h>
#include <docobj.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WINE_NO_UNICODE_MACROS
#undef FindText
#endif
#ifndef __SHDocVw_LIBRARY_DEFINED__
#define __SHDocVw_LIBRARY_DEFINED__
DEFINE_GUID(LIBID_SHDocVw, 0xeab22ac0, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b);
/*****************************************************************************
* IWebBrowser interface
*/
#ifndef __IWebBrowser_INTERFACE_DEFINED__
#define __IWebBrowser_INTERFACE_DEFINED__
typedef enum BrowserNavConstants {
navOpenInNewWindow = 0x1,
navNoHistory = 0x2,
navNoReadFromCache = 0x4,
navNoWriteToCache = 0x8,
navAllowAutosearch = 0x10,
navBrowserBar = 0x20,
navHyperlink = 0x40,
navEnforceRestricted = 0x80,
navNewWindowsManaged = 0x100,
navUntrustedForDownload = 0x200,
navTrustedForActiveX = 0x400,
navOpenInNewTab = 0x800,
navOpenInBackgroundTab = 0x1000,
navKeepWordWheelText = 0x2000,
navVirtualTab = 0x4000,
navBlockRedirectsXDomain = 0x8000,
navOpenNewForegroundTab = 0x10000,
navTravelLogScreenshot = 0x20000,
navDeferUnload = 0x40000,
navSpeculative = 0x80000,
navSuggestNewWindow = 0x100000,
navSuggestNewTab = 0x200000,
navReserved1 = 0x400000,
navHomepageNavigate = 0x800000,
navRefresh = 0x1000000,
navHostNavigation = 0x2000000,
navReserved2 = 0x4000000,
navReserved3 = 0x8000000,
navReserved4 = 0x10000000
} BrowserNavConstants;
typedef enum RefreshConstants {
REFRESH_NORMAL = 0,
REFRESH_IFEXPIRED = 1,
REFRESH_COMPLETELY = 3
} RefreshConstants;
DEFINE_GUID(IID_IWebBrowser, 0xeab22ac1, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("eab22ac1-30c1-11cf-a7eb-0000c05bae0b")
IWebBrowser : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE GoBack(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GoForward(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GoHome(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GoSearch(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Navigate(
BSTR URL,
VARIANT *Flags,
VARIANT *TargetFrameName,
VARIANT *PostData,
VARIANT *Headers) = 0;
virtual HRESULT STDMETHODCALLTYPE Refresh(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Refresh2(
VARIANT *Level) = 0;
virtual HRESULT STDMETHODCALLTYPE Stop(
) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Application(
IDispatch **ppDisp) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Parent(
IDispatch **ppDisp) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Container(
IDispatch **ppDisp) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Document(
IDispatch **ppDisp) = 0;
virtual HRESULT STDMETHODCALLTYPE get_TopLevelContainer(
VARIANT_BOOL *pBool) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Type(
BSTR *Type) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Left(
LONG *pl) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Left(
LONG Left) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Top(
LONG *pl) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Top(
LONG Top) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Width(
LONG *pl) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Width(
LONG Width) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Height(
LONG *pl) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Height(
LONG Height) = 0;
virtual HRESULT STDMETHODCALLTYPE get_LocationName(
BSTR *LocationName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_LocationURL(
BSTR *LocationURL) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Busy(
VARIANT_BOOL *pBool) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWebBrowser, 0xeab22ac1, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b)
#endif
#else
typedef struct IWebBrowserVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWebBrowser *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWebBrowser *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWebBrowser *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWebBrowser *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWebBrowser *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWebBrowser *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWebBrowser *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWebBrowser methods ***/
HRESULT (STDMETHODCALLTYPE *GoBack)(
IWebBrowser *This);
HRESULT (STDMETHODCALLTYPE *GoForward)(
IWebBrowser *This);
HRESULT (STDMETHODCALLTYPE *GoHome)(
IWebBrowser *This);
HRESULT (STDMETHODCALLTYPE *GoSearch)(
IWebBrowser *This);
HRESULT (STDMETHODCALLTYPE *Navigate)(
IWebBrowser *This,
BSTR URL,
VARIANT *Flags,
VARIANT *TargetFrameName,
VARIANT *PostData,
VARIANT *Headers);
HRESULT (STDMETHODCALLTYPE *Refresh)(
IWebBrowser *This);
HRESULT (STDMETHODCALLTYPE *Refresh2)(
IWebBrowser *This,
VARIANT *Level);
HRESULT (STDMETHODCALLTYPE *Stop)(
IWebBrowser *This);
HRESULT (STDMETHODCALLTYPE *get_Application)(
IWebBrowser *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Parent)(
IWebBrowser *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Container)(
IWebBrowser *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Document)(
IWebBrowser *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_TopLevelContainer)(
IWebBrowser *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *get_Type)(
IWebBrowser *This,
BSTR *Type);
HRESULT (STDMETHODCALLTYPE *get_Left)(
IWebBrowser *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Left)(
IWebBrowser *This,
LONG Left);
HRESULT (STDMETHODCALLTYPE *get_Top)(
IWebBrowser *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Top)(
IWebBrowser *This,
LONG Top);
HRESULT (STDMETHODCALLTYPE *get_Width)(
IWebBrowser *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Width)(
IWebBrowser *This,
LONG Width);
HRESULT (STDMETHODCALLTYPE *get_Height)(
IWebBrowser *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Height)(
IWebBrowser *This,
LONG Height);
HRESULT (STDMETHODCALLTYPE *get_LocationName)(
IWebBrowser *This,
BSTR *LocationName);
HRESULT (STDMETHODCALLTYPE *get_LocationURL)(
IWebBrowser *This,
BSTR *LocationURL);
HRESULT (STDMETHODCALLTYPE *get_Busy)(
IWebBrowser *This,
VARIANT_BOOL *pBool);
END_INTERFACE
} IWebBrowserVtbl;
interface IWebBrowser {
CONST_VTBL IWebBrowserVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWebBrowser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWebBrowser_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWebBrowser_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWebBrowser_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWebBrowser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWebBrowser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWebBrowser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWebBrowser methods ***/
#define IWebBrowser_GoBack(This) (This)->lpVtbl->GoBack(This)
#define IWebBrowser_GoForward(This) (This)->lpVtbl->GoForward(This)
#define IWebBrowser_GoHome(This) (This)->lpVtbl->GoHome(This)
#define IWebBrowser_GoSearch(This) (This)->lpVtbl->GoSearch(This)
#define IWebBrowser_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers)
#define IWebBrowser_Refresh(This) (This)->lpVtbl->Refresh(This)
#define IWebBrowser_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level)
#define IWebBrowser_Stop(This) (This)->lpVtbl->Stop(This)
#define IWebBrowser_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp)
#define IWebBrowser_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp)
#define IWebBrowser_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp)
#define IWebBrowser_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp)
#define IWebBrowser_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool)
#define IWebBrowser_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type)
#define IWebBrowser_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl)
#define IWebBrowser_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
#define IWebBrowser_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl)
#define IWebBrowser_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
#define IWebBrowser_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl)
#define IWebBrowser_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
#define IWebBrowser_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl)
#define IWebBrowser_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
#define IWebBrowser_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName)
#define IWebBrowser_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL)
#define IWebBrowser_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWebBrowser_QueryInterface(IWebBrowser* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWebBrowser_AddRef(IWebBrowser* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWebBrowser_Release(IWebBrowser* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWebBrowser_GetTypeInfoCount(IWebBrowser* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWebBrowser_GetTypeInfo(IWebBrowser* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWebBrowser_GetIDsOfNames(IWebBrowser* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWebBrowser_Invoke(IWebBrowser* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWebBrowser methods ***/
static FORCEINLINE HRESULT IWebBrowser_GoBack(IWebBrowser* This) {
return This->lpVtbl->GoBack(This);
}
static FORCEINLINE HRESULT IWebBrowser_GoForward(IWebBrowser* This) {
return This->lpVtbl->GoForward(This);
}
static FORCEINLINE HRESULT IWebBrowser_GoHome(IWebBrowser* This) {
return This->lpVtbl->GoHome(This);
}
static FORCEINLINE HRESULT IWebBrowser_GoSearch(IWebBrowser* This) {
return This->lpVtbl->GoSearch(This);
}
static FORCEINLINE HRESULT IWebBrowser_Navigate(IWebBrowser* This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) {
return This->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers);
}
static FORCEINLINE HRESULT IWebBrowser_Refresh(IWebBrowser* This) {
return This->lpVtbl->Refresh(This);
}
static FORCEINLINE HRESULT IWebBrowser_Refresh2(IWebBrowser* This,VARIANT *Level) {
return This->lpVtbl->Refresh2(This,Level);
}
static FORCEINLINE HRESULT IWebBrowser_Stop(IWebBrowser* This) {
return This->lpVtbl->Stop(This);
}
static FORCEINLINE HRESULT IWebBrowser_get_Application(IWebBrowser* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Application(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser_get_Parent(IWebBrowser* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Parent(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser_get_Container(IWebBrowser* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Container(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser_get_Document(IWebBrowser* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Document(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser_get_TopLevelContainer(IWebBrowser* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_TopLevelContainer(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowser_get_Type(IWebBrowser* This,BSTR *Type) {
return This->lpVtbl->get_Type(This,Type);
}
static FORCEINLINE HRESULT IWebBrowser_get_Left(IWebBrowser* This,LONG *pl) {
return This->lpVtbl->get_Left(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser_put_Left(IWebBrowser* This,LONG Left) {
return This->lpVtbl->put_Left(This,Left);
}
static FORCEINLINE HRESULT IWebBrowser_get_Top(IWebBrowser* This,LONG *pl) {
return This->lpVtbl->get_Top(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser_put_Top(IWebBrowser* This,LONG Top) {
return This->lpVtbl->put_Top(This,Top);
}
static FORCEINLINE HRESULT IWebBrowser_get_Width(IWebBrowser* This,LONG *pl) {
return This->lpVtbl->get_Width(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser_put_Width(IWebBrowser* This,LONG Width) {
return This->lpVtbl->put_Width(This,Width);
}
static FORCEINLINE HRESULT IWebBrowser_get_Height(IWebBrowser* This,LONG *pl) {
return This->lpVtbl->get_Height(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser_put_Height(IWebBrowser* This,LONG Height) {
return This->lpVtbl->put_Height(This,Height);
}
static FORCEINLINE HRESULT IWebBrowser_get_LocationName(IWebBrowser* This,BSTR *LocationName) {
return This->lpVtbl->get_LocationName(This,LocationName);
}
static FORCEINLINE HRESULT IWebBrowser_get_LocationURL(IWebBrowser* This,BSTR *LocationURL) {
return This->lpVtbl->get_LocationURL(This,LocationURL);
}
static FORCEINLINE HRESULT IWebBrowser_get_Busy(IWebBrowser* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_Busy(This,pBool);
}
#endif
#endif
#endif
#endif /* __IWebBrowser_INTERFACE_DEFINED__ */
/*****************************************************************************
* DWebBrowserEvents dispinterface
*/
#ifndef __DWebBrowserEvents_DISPINTERFACE_DEFINED__
#define __DWebBrowserEvents_DISPINTERFACE_DEFINED__
DEFINE_GUID(DIID_DWebBrowserEvents, 0xeab22ac2, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("eab22ac2-30c1-11cf-a7eb-0000c05bae0b")
DWebBrowserEvents : public IDispatch
{
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(DWebBrowserEvents, 0xeab22ac2, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b)
#endif
#else
typedef struct DWebBrowserEventsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
DWebBrowserEvents *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
DWebBrowserEvents *This);
ULONG (STDMETHODCALLTYPE *Release)(
DWebBrowserEvents *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
DWebBrowserEvents *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
DWebBrowserEvents *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
DWebBrowserEvents *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
DWebBrowserEvents *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
END_INTERFACE
} DWebBrowserEventsVtbl;
interface DWebBrowserEvents {
CONST_VTBL DWebBrowserEventsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define DWebBrowserEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define DWebBrowserEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
#define DWebBrowserEvents_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define DWebBrowserEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define DWebBrowserEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define DWebBrowserEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define DWebBrowserEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT DWebBrowserEvents_QueryInterface(DWebBrowserEvents* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG DWebBrowserEvents_AddRef(DWebBrowserEvents* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG DWebBrowserEvents_Release(DWebBrowserEvents* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT DWebBrowserEvents_GetTypeInfoCount(DWebBrowserEvents* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT DWebBrowserEvents_GetTypeInfo(DWebBrowserEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT DWebBrowserEvents_GetIDsOfNames(DWebBrowserEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT DWebBrowserEvents_Invoke(DWebBrowserEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
#endif
#endif
#endif
#endif /* __DWebBrowserEvents_DISPINTERFACE_DEFINED__ */
typedef enum CommandStateChangeConstants {
CSC_UPDATECOMMANDS = -1,
CSC_NAVIGATEFORWARD = 1,
CSC_NAVIGATEBACK = 2
} CommandStateChangeConstants;
/*****************************************************************************
* IWebBrowserApp interface
*/
#ifndef __IWebBrowserApp_INTERFACE_DEFINED__
#define __IWebBrowserApp_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWebBrowserApp, 0x0002df05, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0002df05-0000-0000-c000-000000000046")
IWebBrowserApp : public IWebBrowser
{
virtual HRESULT STDMETHODCALLTYPE Quit(
) = 0;
virtual HRESULT STDMETHODCALLTYPE ClientToWindow(
int *pcx,
int *pcy) = 0;
virtual HRESULT STDMETHODCALLTYPE PutProperty(
BSTR Property,
VARIANT vtValue) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProperty(
BSTR Property,
VARIANT *pvtValue) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Name(
BSTR *Name) = 0;
virtual HRESULT STDMETHODCALLTYPE get_HWND(
SHANDLE_PTR *pHWND) = 0;
virtual HRESULT STDMETHODCALLTYPE get_FullName(
BSTR *FullName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Path(
BSTR *Path) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Visible(
VARIANT_BOOL *pBool) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Visible(
VARIANT_BOOL Value) = 0;
virtual HRESULT STDMETHODCALLTYPE get_StatusBar(
VARIANT_BOOL *pBool) = 0;
virtual HRESULT STDMETHODCALLTYPE put_StatusBar(
VARIANT_BOOL Value) = 0;
virtual HRESULT STDMETHODCALLTYPE get_StatusText(
BSTR *StatusText) = 0;
virtual HRESULT STDMETHODCALLTYPE put_StatusText(
BSTR StatusText) = 0;
virtual HRESULT STDMETHODCALLTYPE get_ToolBar(
int *Value) = 0;
virtual HRESULT STDMETHODCALLTYPE put_ToolBar(
int Value) = 0;
virtual HRESULT STDMETHODCALLTYPE get_MenuBar(
VARIANT_BOOL *Value) = 0;
virtual HRESULT STDMETHODCALLTYPE put_MenuBar(
VARIANT_BOOL Value) = 0;
virtual HRESULT STDMETHODCALLTYPE get_FullScreen(
VARIANT_BOOL *pbFullScreen) = 0;
virtual HRESULT STDMETHODCALLTYPE put_FullScreen(
VARIANT_BOOL bFullScreen) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWebBrowserApp, 0x0002df05, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
#endif
#else
typedef struct IWebBrowserAppVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWebBrowserApp *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWebBrowserApp *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWebBrowserApp *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWebBrowserApp *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWebBrowserApp *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWebBrowserApp *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWebBrowserApp *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWebBrowser methods ***/
HRESULT (STDMETHODCALLTYPE *GoBack)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *GoForward)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *GoHome)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *GoSearch)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *Navigate)(
IWebBrowserApp *This,
BSTR URL,
VARIANT *Flags,
VARIANT *TargetFrameName,
VARIANT *PostData,
VARIANT *Headers);
HRESULT (STDMETHODCALLTYPE *Refresh)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *Refresh2)(
IWebBrowserApp *This,
VARIANT *Level);
HRESULT (STDMETHODCALLTYPE *Stop)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *get_Application)(
IWebBrowserApp *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Parent)(
IWebBrowserApp *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Container)(
IWebBrowserApp *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Document)(
IWebBrowserApp *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_TopLevelContainer)(
IWebBrowserApp *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *get_Type)(
IWebBrowserApp *This,
BSTR *Type);
HRESULT (STDMETHODCALLTYPE *get_Left)(
IWebBrowserApp *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Left)(
IWebBrowserApp *This,
LONG Left);
HRESULT (STDMETHODCALLTYPE *get_Top)(
IWebBrowserApp *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Top)(
IWebBrowserApp *This,
LONG Top);
HRESULT (STDMETHODCALLTYPE *get_Width)(
IWebBrowserApp *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Width)(
IWebBrowserApp *This,
LONG Width);
HRESULT (STDMETHODCALLTYPE *get_Height)(
IWebBrowserApp *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Height)(
IWebBrowserApp *This,
LONG Height);
HRESULT (STDMETHODCALLTYPE *get_LocationName)(
IWebBrowserApp *This,
BSTR *LocationName);
HRESULT (STDMETHODCALLTYPE *get_LocationURL)(
IWebBrowserApp *This,
BSTR *LocationURL);
HRESULT (STDMETHODCALLTYPE *get_Busy)(
IWebBrowserApp *This,
VARIANT_BOOL *pBool);
/*** IWebBrowserApp methods ***/
HRESULT (STDMETHODCALLTYPE *Quit)(
IWebBrowserApp *This);
HRESULT (STDMETHODCALLTYPE *ClientToWindow)(
IWebBrowserApp *This,
int *pcx,
int *pcy);
HRESULT (STDMETHODCALLTYPE *PutProperty)(
IWebBrowserApp *This,
BSTR Property,
VARIANT vtValue);
HRESULT (STDMETHODCALLTYPE *GetProperty)(
IWebBrowserApp *This,
BSTR Property,
VARIANT *pvtValue);
HRESULT (STDMETHODCALLTYPE *get_Name)(
IWebBrowserApp *This,
BSTR *Name);
HRESULT (STDMETHODCALLTYPE *get_HWND)(
IWebBrowserApp *This,
SHANDLE_PTR *pHWND);
HRESULT (STDMETHODCALLTYPE *get_FullName)(
IWebBrowserApp *This,
BSTR *FullName);
HRESULT (STDMETHODCALLTYPE *get_Path)(
IWebBrowserApp *This,
BSTR *Path);
HRESULT (STDMETHODCALLTYPE *get_Visible)(
IWebBrowserApp *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *put_Visible)(
IWebBrowserApp *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_StatusBar)(
IWebBrowserApp *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *put_StatusBar)(
IWebBrowserApp *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_StatusText)(
IWebBrowserApp *This,
BSTR *StatusText);
HRESULT (STDMETHODCALLTYPE *put_StatusText)(
IWebBrowserApp *This,
BSTR StatusText);
HRESULT (STDMETHODCALLTYPE *get_ToolBar)(
IWebBrowserApp *This,
int *Value);
HRESULT (STDMETHODCALLTYPE *put_ToolBar)(
IWebBrowserApp *This,
int Value);
HRESULT (STDMETHODCALLTYPE *get_MenuBar)(
IWebBrowserApp *This,
VARIANT_BOOL *Value);
HRESULT (STDMETHODCALLTYPE *put_MenuBar)(
IWebBrowserApp *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_FullScreen)(
IWebBrowserApp *This,
VARIANT_BOOL *pbFullScreen);
HRESULT (STDMETHODCALLTYPE *put_FullScreen)(
IWebBrowserApp *This,
VARIANT_BOOL bFullScreen);
END_INTERFACE
} IWebBrowserAppVtbl;
interface IWebBrowserApp {
CONST_VTBL IWebBrowserAppVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWebBrowserApp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWebBrowserApp_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWebBrowserApp_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWebBrowserApp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWebBrowserApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWebBrowserApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWebBrowserApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWebBrowser methods ***/
#define IWebBrowserApp_GoBack(This) (This)->lpVtbl->GoBack(This)
#define IWebBrowserApp_GoForward(This) (This)->lpVtbl->GoForward(This)
#define IWebBrowserApp_GoHome(This) (This)->lpVtbl->GoHome(This)
#define IWebBrowserApp_GoSearch(This) (This)->lpVtbl->GoSearch(This)
#define IWebBrowserApp_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers)
#define IWebBrowserApp_Refresh(This) (This)->lpVtbl->Refresh(This)
#define IWebBrowserApp_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level)
#define IWebBrowserApp_Stop(This) (This)->lpVtbl->Stop(This)
#define IWebBrowserApp_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp)
#define IWebBrowserApp_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp)
#define IWebBrowserApp_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp)
#define IWebBrowserApp_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp)
#define IWebBrowserApp_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool)
#define IWebBrowserApp_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type)
#define IWebBrowserApp_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl)
#define IWebBrowserApp_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
#define IWebBrowserApp_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl)
#define IWebBrowserApp_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
#define IWebBrowserApp_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl)
#define IWebBrowserApp_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
#define IWebBrowserApp_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl)
#define IWebBrowserApp_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
#define IWebBrowserApp_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName)
#define IWebBrowserApp_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL)
#define IWebBrowserApp_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool)
/*** IWebBrowserApp methods ***/
#define IWebBrowserApp_Quit(This) (This)->lpVtbl->Quit(This)
#define IWebBrowserApp_ClientToWindow(This,pcx,pcy) (This)->lpVtbl->ClientToWindow(This,pcx,pcy)
#define IWebBrowserApp_PutProperty(This,Property,vtValue) (This)->lpVtbl->PutProperty(This,Property,vtValue)
#define IWebBrowserApp_GetProperty(This,Property,pvtValue) (This)->lpVtbl->GetProperty(This,Property,pvtValue)
#define IWebBrowserApp_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
#define IWebBrowserApp_get_HWND(This,pHWND) (This)->lpVtbl->get_HWND(This,pHWND)
#define IWebBrowserApp_get_FullName(This,FullName) (This)->lpVtbl->get_FullName(This,FullName)
#define IWebBrowserApp_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path)
#define IWebBrowserApp_get_Visible(This,pBool) (This)->lpVtbl->get_Visible(This,pBool)
#define IWebBrowserApp_put_Visible(This,Value) (This)->lpVtbl->put_Visible(This,Value)
#define IWebBrowserApp_get_StatusBar(This,pBool) (This)->lpVtbl->get_StatusBar(This,pBool)
#define IWebBrowserApp_put_StatusBar(This,Value) (This)->lpVtbl->put_StatusBar(This,Value)
#define IWebBrowserApp_get_StatusText(This,StatusText) (This)->lpVtbl->get_StatusText(This,StatusText)
#define IWebBrowserApp_put_StatusText(This,StatusText) (This)->lpVtbl->put_StatusText(This,StatusText)
#define IWebBrowserApp_get_ToolBar(This,Value) (This)->lpVtbl->get_ToolBar(This,Value)
#define IWebBrowserApp_put_ToolBar(This,Value) (This)->lpVtbl->put_ToolBar(This,Value)
#define IWebBrowserApp_get_MenuBar(This,Value) (This)->lpVtbl->get_MenuBar(This,Value)
#define IWebBrowserApp_put_MenuBar(This,Value) (This)->lpVtbl->put_MenuBar(This,Value)
#define IWebBrowserApp_get_FullScreen(This,pbFullScreen) (This)->lpVtbl->get_FullScreen(This,pbFullScreen)
#define IWebBrowserApp_put_FullScreen(This,bFullScreen) (This)->lpVtbl->put_FullScreen(This,bFullScreen)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWebBrowserApp_QueryInterface(IWebBrowserApp* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWebBrowserApp_AddRef(IWebBrowserApp* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWebBrowserApp_Release(IWebBrowserApp* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWebBrowserApp_GetTypeInfoCount(IWebBrowserApp* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWebBrowserApp_GetTypeInfo(IWebBrowserApp* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWebBrowserApp_GetIDsOfNames(IWebBrowserApp* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWebBrowserApp_Invoke(IWebBrowserApp* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWebBrowser methods ***/
static FORCEINLINE HRESULT IWebBrowserApp_GoBack(IWebBrowserApp* This) {
return This->lpVtbl->GoBack(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_GoForward(IWebBrowserApp* This) {
return This->lpVtbl->GoForward(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_GoHome(IWebBrowserApp* This) {
return This->lpVtbl->GoHome(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_GoSearch(IWebBrowserApp* This) {
return This->lpVtbl->GoSearch(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_Navigate(IWebBrowserApp* This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) {
return This->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers);
}
static FORCEINLINE HRESULT IWebBrowserApp_Refresh(IWebBrowserApp* This) {
return This->lpVtbl->Refresh(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_Refresh2(IWebBrowserApp* This,VARIANT *Level) {
return This->lpVtbl->Refresh2(This,Level);
}
static FORCEINLINE HRESULT IWebBrowserApp_Stop(IWebBrowserApp* This) {
return This->lpVtbl->Stop(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Application(IWebBrowserApp* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Application(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Parent(IWebBrowserApp* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Parent(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Container(IWebBrowserApp* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Container(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Document(IWebBrowserApp* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Document(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_TopLevelContainer(IWebBrowserApp* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_TopLevelContainer(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Type(IWebBrowserApp* This,BSTR *Type) {
return This->lpVtbl->get_Type(This,Type);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Left(IWebBrowserApp* This,LONG *pl) {
return This->lpVtbl->get_Left(This,pl);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_Left(IWebBrowserApp* This,LONG Left) {
return This->lpVtbl->put_Left(This,Left);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Top(IWebBrowserApp* This,LONG *pl) {
return This->lpVtbl->get_Top(This,pl);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_Top(IWebBrowserApp* This,LONG Top) {
return This->lpVtbl->put_Top(This,Top);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Width(IWebBrowserApp* This,LONG *pl) {
return This->lpVtbl->get_Width(This,pl);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_Width(IWebBrowserApp* This,LONG Width) {
return This->lpVtbl->put_Width(This,Width);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Height(IWebBrowserApp* This,LONG *pl) {
return This->lpVtbl->get_Height(This,pl);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_Height(IWebBrowserApp* This,LONG Height) {
return This->lpVtbl->put_Height(This,Height);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_LocationName(IWebBrowserApp* This,BSTR *LocationName) {
return This->lpVtbl->get_LocationName(This,LocationName);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_LocationURL(IWebBrowserApp* This,BSTR *LocationURL) {
return This->lpVtbl->get_LocationURL(This,LocationURL);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Busy(IWebBrowserApp* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_Busy(This,pBool);
}
/*** IWebBrowserApp methods ***/
static FORCEINLINE HRESULT IWebBrowserApp_Quit(IWebBrowserApp* This) {
return This->lpVtbl->Quit(This);
}
static FORCEINLINE HRESULT IWebBrowserApp_ClientToWindow(IWebBrowserApp* This,int *pcx,int *pcy) {
return This->lpVtbl->ClientToWindow(This,pcx,pcy);
}
static FORCEINLINE HRESULT IWebBrowserApp_PutProperty(IWebBrowserApp* This,BSTR Property,VARIANT vtValue) {
return This->lpVtbl->PutProperty(This,Property,vtValue);
}
static FORCEINLINE HRESULT IWebBrowserApp_GetProperty(IWebBrowserApp* This,BSTR Property,VARIANT *pvtValue) {
return This->lpVtbl->GetProperty(This,Property,pvtValue);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Name(IWebBrowserApp* This,BSTR *Name) {
return This->lpVtbl->get_Name(This,Name);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_HWND(IWebBrowserApp* This,SHANDLE_PTR *pHWND) {
return This->lpVtbl->get_HWND(This,pHWND);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_FullName(IWebBrowserApp* This,BSTR *FullName) {
return This->lpVtbl->get_FullName(This,FullName);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Path(IWebBrowserApp* This,BSTR *Path) {
return This->lpVtbl->get_Path(This,Path);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_Visible(IWebBrowserApp* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_Visible(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_Visible(IWebBrowserApp* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_Visible(This,Value);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_StatusBar(IWebBrowserApp* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_StatusBar(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_StatusBar(IWebBrowserApp* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_StatusBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_StatusText(IWebBrowserApp* This,BSTR *StatusText) {
return This->lpVtbl->get_StatusText(This,StatusText);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_StatusText(IWebBrowserApp* This,BSTR StatusText) {
return This->lpVtbl->put_StatusText(This,StatusText);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_ToolBar(IWebBrowserApp* This,int *Value) {
return This->lpVtbl->get_ToolBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_ToolBar(IWebBrowserApp* This,int Value) {
return This->lpVtbl->put_ToolBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_MenuBar(IWebBrowserApp* This,VARIANT_BOOL *Value) {
return This->lpVtbl->get_MenuBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_MenuBar(IWebBrowserApp* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_MenuBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowserApp_get_FullScreen(IWebBrowserApp* This,VARIANT_BOOL *pbFullScreen) {
return This->lpVtbl->get_FullScreen(This,pbFullScreen);
}
static FORCEINLINE HRESULT IWebBrowserApp_put_FullScreen(IWebBrowserApp* This,VARIANT_BOOL bFullScreen) {
return This->lpVtbl->put_FullScreen(This,bFullScreen);
}
#endif
#endif
#endif
#endif /* __IWebBrowserApp_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWebBrowser2 interface
*/
#ifndef __IWebBrowser2_INTERFACE_DEFINED__
#define __IWebBrowser2_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWebBrowser2, 0xd30c1661, 0xcdaf, 0x11d0, 0x8a,0x3e, 0x00,0xc0,0x4f,0xc9,0xe2,0x6e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d30c1661-cdaf-11d0-8a3e-00c04fc9e26e")
IWebBrowser2 : public IWebBrowserApp
{
virtual HRESULT STDMETHODCALLTYPE Navigate2(
VARIANT *URL,
VARIANT *Flags,
VARIANT *TargetFrameName,
VARIANT *PostData,
VARIANT *Headers) = 0;
virtual HRESULT STDMETHODCALLTYPE QueryStatusWB(
OLECMDID cmdID,
OLECMDF *pcmdf) = 0;
virtual HRESULT STDMETHODCALLTYPE ExecWB(
OLECMDID cmdID,
OLECMDEXECOPT cmdexecopt,
VARIANT *pvaIn,
VARIANT *pvaOut) = 0;
virtual HRESULT STDMETHODCALLTYPE ShowBrowserBar(
VARIANT *pvaClsid,
VARIANT *pvarShow,
VARIANT *pvarSize) = 0;
virtual HRESULT STDMETHODCALLTYPE get_ReadyState(
READYSTATE *plReadyState) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Offline(
VARIANT_BOOL *pbOffline) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Offline(
VARIANT_BOOL bOffline) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Silent(
VARIANT_BOOL *pbSilent) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Silent(
VARIANT_BOOL bSilent) = 0;
virtual HRESULT STDMETHODCALLTYPE get_RegisterAsBrowser(
VARIANT_BOOL *pbRegister) = 0;
virtual HRESULT STDMETHODCALLTYPE put_RegisterAsBrowser(
VARIANT_BOOL bRegister) = 0;
virtual HRESULT STDMETHODCALLTYPE get_RegisterAsDropTarget(
VARIANT_BOOL *pbRegister) = 0;
virtual HRESULT STDMETHODCALLTYPE put_RegisterAsDropTarget(
VARIANT_BOOL bRegister) = 0;
virtual HRESULT STDMETHODCALLTYPE get_TheaterMode(
VARIANT_BOOL *pbRegister) = 0;
virtual HRESULT STDMETHODCALLTYPE put_TheaterMode(
VARIANT_BOOL bRegister) = 0;
virtual HRESULT STDMETHODCALLTYPE get_AddressBar(
VARIANT_BOOL *Value) = 0;
virtual HRESULT STDMETHODCALLTYPE put_AddressBar(
VARIANT_BOOL Value) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Resizable(
VARIANT_BOOL *Value) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Resizable(
VARIANT_BOOL Value) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWebBrowser2, 0xd30c1661, 0xcdaf, 0x11d0, 0x8a,0x3e, 0x00,0xc0,0x4f,0xc9,0xe2,0x6e)
#endif
#else
typedef struct IWebBrowser2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWebBrowser2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWebBrowser2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWebBrowser2 *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWebBrowser2 *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWebBrowser2 *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWebBrowser2 *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWebBrowser2 *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWebBrowser methods ***/
HRESULT (STDMETHODCALLTYPE *GoBack)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *GoForward)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *GoHome)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *GoSearch)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *Navigate)(
IWebBrowser2 *This,
BSTR URL,
VARIANT *Flags,
VARIANT *TargetFrameName,
VARIANT *PostData,
VARIANT *Headers);
HRESULT (STDMETHODCALLTYPE *Refresh)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *Refresh2)(
IWebBrowser2 *This,
VARIANT *Level);
HRESULT (STDMETHODCALLTYPE *Stop)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *get_Application)(
IWebBrowser2 *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Parent)(
IWebBrowser2 *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Container)(
IWebBrowser2 *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_Document)(
IWebBrowser2 *This,
IDispatch **ppDisp);
HRESULT (STDMETHODCALLTYPE *get_TopLevelContainer)(
IWebBrowser2 *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *get_Type)(
IWebBrowser2 *This,
BSTR *Type);
HRESULT (STDMETHODCALLTYPE *get_Left)(
IWebBrowser2 *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Left)(
IWebBrowser2 *This,
LONG Left);
HRESULT (STDMETHODCALLTYPE *get_Top)(
IWebBrowser2 *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Top)(
IWebBrowser2 *This,
LONG Top);
HRESULT (STDMETHODCALLTYPE *get_Width)(
IWebBrowser2 *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Width)(
IWebBrowser2 *This,
LONG Width);
HRESULT (STDMETHODCALLTYPE *get_Height)(
IWebBrowser2 *This,
LONG *pl);
HRESULT (STDMETHODCALLTYPE *put_Height)(
IWebBrowser2 *This,
LONG Height);
HRESULT (STDMETHODCALLTYPE *get_LocationName)(
IWebBrowser2 *This,
BSTR *LocationName);
HRESULT (STDMETHODCALLTYPE *get_LocationURL)(
IWebBrowser2 *This,
BSTR *LocationURL);
HRESULT (STDMETHODCALLTYPE *get_Busy)(
IWebBrowser2 *This,
VARIANT_BOOL *pBool);
/*** IWebBrowserApp methods ***/
HRESULT (STDMETHODCALLTYPE *Quit)(
IWebBrowser2 *This);
HRESULT (STDMETHODCALLTYPE *ClientToWindow)(
IWebBrowser2 *This,
int *pcx,
int *pcy);
HRESULT (STDMETHODCALLTYPE *PutProperty)(
IWebBrowser2 *This,
BSTR Property,
VARIANT vtValue);
HRESULT (STDMETHODCALLTYPE *GetProperty)(
IWebBrowser2 *This,
BSTR Property,
VARIANT *pvtValue);
HRESULT (STDMETHODCALLTYPE *get_Name)(
IWebBrowser2 *This,
BSTR *Name);
HRESULT (STDMETHODCALLTYPE *get_HWND)(
IWebBrowser2 *This,
SHANDLE_PTR *pHWND);
HRESULT (STDMETHODCALLTYPE *get_FullName)(
IWebBrowser2 *This,
BSTR *FullName);
HRESULT (STDMETHODCALLTYPE *get_Path)(
IWebBrowser2 *This,
BSTR *Path);
HRESULT (STDMETHODCALLTYPE *get_Visible)(
IWebBrowser2 *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *put_Visible)(
IWebBrowser2 *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_StatusBar)(
IWebBrowser2 *This,
VARIANT_BOOL *pBool);
HRESULT (STDMETHODCALLTYPE *put_StatusBar)(
IWebBrowser2 *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_StatusText)(
IWebBrowser2 *This,
BSTR *StatusText);
HRESULT (STDMETHODCALLTYPE *put_StatusText)(
IWebBrowser2 *This,
BSTR StatusText);
HRESULT (STDMETHODCALLTYPE *get_ToolBar)(
IWebBrowser2 *This,
int *Value);
HRESULT (STDMETHODCALLTYPE *put_ToolBar)(
IWebBrowser2 *This,
int Value);
HRESULT (STDMETHODCALLTYPE *get_MenuBar)(
IWebBrowser2 *This,
VARIANT_BOOL *Value);
HRESULT (STDMETHODCALLTYPE *put_MenuBar)(
IWebBrowser2 *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_FullScreen)(
IWebBrowser2 *This,
VARIANT_BOOL *pbFullScreen);
HRESULT (STDMETHODCALLTYPE *put_FullScreen)(
IWebBrowser2 *This,
VARIANT_BOOL bFullScreen);
/*** IWebBrowser2 methods ***/
HRESULT (STDMETHODCALLTYPE *Navigate2)(
IWebBrowser2 *This,
VARIANT *URL,
VARIANT *Flags,
VARIANT *TargetFrameName,
VARIANT *PostData,
VARIANT *Headers);
HRESULT (STDMETHODCALLTYPE *QueryStatusWB)(
IWebBrowser2 *This,
OLECMDID cmdID,
OLECMDF *pcmdf);
HRESULT (STDMETHODCALLTYPE *ExecWB)(
IWebBrowser2 *This,
OLECMDID cmdID,
OLECMDEXECOPT cmdexecopt,
VARIANT *pvaIn,
VARIANT *pvaOut);
HRESULT (STDMETHODCALLTYPE *ShowBrowserBar)(
IWebBrowser2 *This,
VARIANT *pvaClsid,
VARIANT *pvarShow,
VARIANT *pvarSize);
HRESULT (STDMETHODCALLTYPE *get_ReadyState)(
IWebBrowser2 *This,
READYSTATE *plReadyState);
HRESULT (STDMETHODCALLTYPE *get_Offline)(
IWebBrowser2 *This,
VARIANT_BOOL *pbOffline);
HRESULT (STDMETHODCALLTYPE *put_Offline)(
IWebBrowser2 *This,
VARIANT_BOOL bOffline);
HRESULT (STDMETHODCALLTYPE *get_Silent)(
IWebBrowser2 *This,
VARIANT_BOOL *pbSilent);
HRESULT (STDMETHODCALLTYPE *put_Silent)(
IWebBrowser2 *This,
VARIANT_BOOL bSilent);
HRESULT (STDMETHODCALLTYPE *get_RegisterAsBrowser)(
IWebBrowser2 *This,
VARIANT_BOOL *pbRegister);
HRESULT (STDMETHODCALLTYPE *put_RegisterAsBrowser)(
IWebBrowser2 *This,
VARIANT_BOOL bRegister);
HRESULT (STDMETHODCALLTYPE *get_RegisterAsDropTarget)(
IWebBrowser2 *This,
VARIANT_BOOL *pbRegister);
HRESULT (STDMETHODCALLTYPE *put_RegisterAsDropTarget)(
IWebBrowser2 *This,
VARIANT_BOOL bRegister);
HRESULT (STDMETHODCALLTYPE *get_TheaterMode)(
IWebBrowser2 *This,
VARIANT_BOOL *pbRegister);
HRESULT (STDMETHODCALLTYPE *put_TheaterMode)(
IWebBrowser2 *This,
VARIANT_BOOL bRegister);
HRESULT (STDMETHODCALLTYPE *get_AddressBar)(
IWebBrowser2 *This,
VARIANT_BOOL *Value);
HRESULT (STDMETHODCALLTYPE *put_AddressBar)(
IWebBrowser2 *This,
VARIANT_BOOL Value);
HRESULT (STDMETHODCALLTYPE *get_Resizable)(
IWebBrowser2 *This,
VARIANT_BOOL *Value);
HRESULT (STDMETHODCALLTYPE *put_Resizable)(
IWebBrowser2 *This,
VARIANT_BOOL Value);
END_INTERFACE
} IWebBrowser2Vtbl;
interface IWebBrowser2 {
CONST_VTBL IWebBrowser2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWebBrowser2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWebBrowser2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWebBrowser2_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWebBrowser2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWebBrowser2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWebBrowser2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWebBrowser2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWebBrowser methods ***/
#define IWebBrowser2_GoBack(This) (This)->lpVtbl->GoBack(This)
#define IWebBrowser2_GoForward(This) (This)->lpVtbl->GoForward(This)
#define IWebBrowser2_GoHome(This) (This)->lpVtbl->GoHome(This)
#define IWebBrowser2_GoSearch(This) (This)->lpVtbl->GoSearch(This)
#define IWebBrowser2_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers)
#define IWebBrowser2_Refresh(This) (This)->lpVtbl->Refresh(This)
#define IWebBrowser2_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level)
#define IWebBrowser2_Stop(This) (This)->lpVtbl->Stop(This)
#define IWebBrowser2_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp)
#define IWebBrowser2_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp)
#define IWebBrowser2_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp)
#define IWebBrowser2_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp)
#define IWebBrowser2_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool)
#define IWebBrowser2_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type)
#define IWebBrowser2_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl)
#define IWebBrowser2_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
#define IWebBrowser2_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl)
#define IWebBrowser2_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
#define IWebBrowser2_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl)
#define IWebBrowser2_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
#define IWebBrowser2_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl)
#define IWebBrowser2_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
#define IWebBrowser2_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName)
#define IWebBrowser2_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL)
#define IWebBrowser2_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool)
/*** IWebBrowserApp methods ***/
#define IWebBrowser2_Quit(This) (This)->lpVtbl->Quit(This)
#define IWebBrowser2_ClientToWindow(This,pcx,pcy) (This)->lpVtbl->ClientToWindow(This,pcx,pcy)
#define IWebBrowser2_PutProperty(This,Property,vtValue) (This)->lpVtbl->PutProperty(This,Property,vtValue)
#define IWebBrowser2_GetProperty(This,Property,pvtValue) (This)->lpVtbl->GetProperty(This,Property,pvtValue)
#define IWebBrowser2_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
#define IWebBrowser2_get_HWND(This,pHWND) (This)->lpVtbl->get_HWND(This,pHWND)
#define IWebBrowser2_get_FullName(This,FullName) (This)->lpVtbl->get_FullName(This,FullName)
#define IWebBrowser2_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path)
#define IWebBrowser2_get_Visible(This,pBool) (This)->lpVtbl->get_Visible(This,pBool)
#define IWebBrowser2_put_Visible(This,Value) (This)->lpVtbl->put_Visible(This,Value)
#define IWebBrowser2_get_StatusBar(This,pBool) (This)->lpVtbl->get_StatusBar(This,pBool)
#define IWebBrowser2_put_StatusBar(This,Value) (This)->lpVtbl->put_StatusBar(This,Value)
#define IWebBrowser2_get_StatusText(This,StatusText) (This)->lpVtbl->get_StatusText(This,StatusText)
#define IWebBrowser2_put_StatusText(This,StatusText) (This)->lpVtbl->put_StatusText(This,StatusText)
#define IWebBrowser2_get_ToolBar(This,Value) (This)->lpVtbl->get_ToolBar(This,Value)
#define IWebBrowser2_put_ToolBar(This,Value) (This)->lpVtbl->put_ToolBar(This,Value)
#define IWebBrowser2_get_MenuBar(This,Value) (This)->lpVtbl->get_MenuBar(This,Value)
#define IWebBrowser2_put_MenuBar(This,Value) (This)->lpVtbl->put_MenuBar(This,Value)
#define IWebBrowser2_get_FullScreen(This,pbFullScreen) (This)->lpVtbl->get_FullScreen(This,pbFullScreen)
#define IWebBrowser2_put_FullScreen(This,bFullScreen) (This)->lpVtbl->put_FullScreen(This,bFullScreen)
/*** IWebBrowser2 methods ***/
#define IWebBrowser2_Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers)
#define IWebBrowser2_QueryStatusWB(This,cmdID,pcmdf) (This)->lpVtbl->QueryStatusWB(This,cmdID,pcmdf)
#define IWebBrowser2_ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut)
#define IWebBrowser2_ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize) (This)->lpVtbl->ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize)
#define IWebBrowser2_get_ReadyState(This,plReadyState) (This)->lpVtbl->get_ReadyState(This,plReadyState)
#define IWebBrowser2_get_Offline(This,pbOffline) (This)->lpVtbl->get_Offline(This,pbOffline)
#define IWebBrowser2_put_Offline(This,bOffline) (This)->lpVtbl->put_Offline(This,bOffline)
#define IWebBrowser2_get_Silent(This,pbSilent) (This)->lpVtbl->get_Silent(This,pbSilent)
#define IWebBrowser2_put_Silent(This,bSilent) (This)->lpVtbl->put_Silent(This,bSilent)
#define IWebBrowser2_get_RegisterAsBrowser(This,pbRegister) (This)->lpVtbl->get_RegisterAsBrowser(This,pbRegister)
#define IWebBrowser2_put_RegisterAsBrowser(This,bRegister) (This)->lpVtbl->put_RegisterAsBrowser(This,bRegister)
#define IWebBrowser2_get_RegisterAsDropTarget(This,pbRegister) (This)->lpVtbl->get_RegisterAsDropTarget(This,pbRegister)
#define IWebBrowser2_put_RegisterAsDropTarget(This,bRegister) (This)->lpVtbl->put_RegisterAsDropTarget(This,bRegister)
#define IWebBrowser2_get_TheaterMode(This,pbRegister) (This)->lpVtbl->get_TheaterMode(This,pbRegister)
#define IWebBrowser2_put_TheaterMode(This,bRegister) (This)->lpVtbl->put_TheaterMode(This,bRegister)
#define IWebBrowser2_get_AddressBar(This,Value) (This)->lpVtbl->get_AddressBar(This,Value)
#define IWebBrowser2_put_AddressBar(This,Value) (This)->lpVtbl->put_AddressBar(This,Value)
#define IWebBrowser2_get_Resizable(This,Value) (This)->lpVtbl->get_Resizable(This,Value)
#define IWebBrowser2_put_Resizable(This,Value) (This)->lpVtbl->put_Resizable(This,Value)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWebBrowser2_QueryInterface(IWebBrowser2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWebBrowser2_AddRef(IWebBrowser2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWebBrowser2_Release(IWebBrowser2* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWebBrowser2_GetTypeInfoCount(IWebBrowser2* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWebBrowser2_GetTypeInfo(IWebBrowser2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWebBrowser2_GetIDsOfNames(IWebBrowser2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWebBrowser2_Invoke(IWebBrowser2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWebBrowser methods ***/
static FORCEINLINE HRESULT IWebBrowser2_GoBack(IWebBrowser2* This) {
return This->lpVtbl->GoBack(This);
}
static FORCEINLINE HRESULT IWebBrowser2_GoForward(IWebBrowser2* This) {
return This->lpVtbl->GoForward(This);
}
static FORCEINLINE HRESULT IWebBrowser2_GoHome(IWebBrowser2* This) {
return This->lpVtbl->GoHome(This);
}
static FORCEINLINE HRESULT IWebBrowser2_GoSearch(IWebBrowser2* This) {
return This->lpVtbl->GoSearch(This);
}
static FORCEINLINE HRESULT IWebBrowser2_Navigate(IWebBrowser2* This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) {
return This->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers);
}
static FORCEINLINE HRESULT IWebBrowser2_Refresh(IWebBrowser2* This) {
return This->lpVtbl->Refresh(This);
}
static FORCEINLINE HRESULT IWebBrowser2_Refresh2(IWebBrowser2* This,VARIANT *Level) {
return This->lpVtbl->Refresh2(This,Level);
}
static FORCEINLINE HRESULT IWebBrowser2_Stop(IWebBrowser2* This) {
return This->lpVtbl->Stop(This);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Application(IWebBrowser2* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Application(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Parent(IWebBrowser2* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Parent(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Container(IWebBrowser2* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Container(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Document(IWebBrowser2* This,IDispatch **ppDisp) {
return This->lpVtbl->get_Document(This,ppDisp);
}
static FORCEINLINE HRESULT IWebBrowser2_get_TopLevelContainer(IWebBrowser2* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_TopLevelContainer(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Type(IWebBrowser2* This,BSTR *Type) {
return This->lpVtbl->get_Type(This,Type);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Left(IWebBrowser2* This,LONG *pl) {
return This->lpVtbl->get_Left(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Left(IWebBrowser2* This,LONG Left) {
return This->lpVtbl->put_Left(This,Left);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Top(IWebBrowser2* This,LONG *pl) {
return This->lpVtbl->get_Top(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Top(IWebBrowser2* This,LONG Top) {
return This->lpVtbl->put_Top(This,Top);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Width(IWebBrowser2* This,LONG *pl) {
return This->lpVtbl->get_Width(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Width(IWebBrowser2* This,LONG Width) {
return This->lpVtbl->put_Width(This,Width);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Height(IWebBrowser2* This,LONG *pl) {
return This->lpVtbl->get_Height(This,pl);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Height(IWebBrowser2* This,LONG Height) {
return This->lpVtbl->put_Height(This,Height);
}
static FORCEINLINE HRESULT IWebBrowser2_get_LocationName(IWebBrowser2* This,BSTR *LocationName) {
return This->lpVtbl->get_LocationName(This,LocationName);
}
static FORCEINLINE HRESULT IWebBrowser2_get_LocationURL(IWebBrowser2* This,BSTR *LocationURL) {
return This->lpVtbl->get_LocationURL(This,LocationURL);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Busy(IWebBrowser2* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_Busy(This,pBool);
}
/*** IWebBrowserApp methods ***/
static FORCEINLINE HRESULT IWebBrowser2_Quit(IWebBrowser2* This) {
return This->lpVtbl->Quit(This);
}
static FORCEINLINE HRESULT IWebBrowser2_ClientToWindow(IWebBrowser2* This,int *pcx,int *pcy) {
return This->lpVtbl->ClientToWindow(This,pcx,pcy);
}
static FORCEINLINE HRESULT IWebBrowser2_PutProperty(IWebBrowser2* This,BSTR Property,VARIANT vtValue) {
return This->lpVtbl->PutProperty(This,Property,vtValue);
}
static FORCEINLINE HRESULT IWebBrowser2_GetProperty(IWebBrowser2* This,BSTR Property,VARIANT *pvtValue) {
return This->lpVtbl->GetProperty(This,Property,pvtValue);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Name(IWebBrowser2* This,BSTR *Name) {
return This->lpVtbl->get_Name(This,Name);
}
static FORCEINLINE HRESULT IWebBrowser2_get_HWND(IWebBrowser2* This,SHANDLE_PTR *pHWND) {
return This->lpVtbl->get_HWND(This,pHWND);
}
static FORCEINLINE HRESULT IWebBrowser2_get_FullName(IWebBrowser2* This,BSTR *FullName) {
return This->lpVtbl->get_FullName(This,FullName);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Path(IWebBrowser2* This,BSTR *Path) {
return This->lpVtbl->get_Path(This,Path);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Visible(IWebBrowser2* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_Visible(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Visible(IWebBrowser2* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_Visible(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_get_StatusBar(IWebBrowser2* This,VARIANT_BOOL *pBool) {
return This->lpVtbl->get_StatusBar(This,pBool);
}
static FORCEINLINE HRESULT IWebBrowser2_put_StatusBar(IWebBrowser2* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_StatusBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_get_StatusText(IWebBrowser2* This,BSTR *StatusText) {
return This->lpVtbl->get_StatusText(This,StatusText);
}
static FORCEINLINE HRESULT IWebBrowser2_put_StatusText(IWebBrowser2* This,BSTR StatusText) {
return This->lpVtbl->put_StatusText(This,StatusText);
}
static FORCEINLINE HRESULT IWebBrowser2_get_ToolBar(IWebBrowser2* This,int *Value) {
return This->lpVtbl->get_ToolBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_put_ToolBar(IWebBrowser2* This,int Value) {
return This->lpVtbl->put_ToolBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_get_MenuBar(IWebBrowser2* This,VARIANT_BOOL *Value) {
return This->lpVtbl->get_MenuBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_put_MenuBar(IWebBrowser2* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_MenuBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_get_FullScreen(IWebBrowser2* This,VARIANT_BOOL *pbFullScreen) {
return This->lpVtbl->get_FullScreen(This,pbFullScreen);
}
static FORCEINLINE HRESULT IWebBrowser2_put_FullScreen(IWebBrowser2* This,VARIANT_BOOL bFullScreen) {
return This->lpVtbl->put_FullScreen(This,bFullScreen);
}
/*** IWebBrowser2 methods ***/
static FORCEINLINE HRESULT IWebBrowser2_Navigate2(IWebBrowser2* This,VARIANT *URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) {
return This->lpVtbl->Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers);
}
static FORCEINLINE HRESULT IWebBrowser2_QueryStatusWB(IWebBrowser2* This,OLECMDID cmdID,OLECMDF *pcmdf) {
return This->lpVtbl->QueryStatusWB(This,cmdID,pcmdf);
}
static FORCEINLINE HRESULT IWebBrowser2_ExecWB(IWebBrowser2* This,OLECMDID cmdID,OLECMDEXECOPT cmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) {
return This->lpVtbl->ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut);
}
static FORCEINLINE HRESULT IWebBrowser2_ShowBrowserBar(IWebBrowser2* This,VARIANT *pvaClsid,VARIANT *pvarShow,VARIANT *pvarSize) {
return This->lpVtbl->ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize);
}
static FORCEINLINE HRESULT IWebBrowser2_get_ReadyState(IWebBrowser2* This,READYSTATE *plReadyState) {
return This->lpVtbl->get_ReadyState(This,plReadyState);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Offline(IWebBrowser2* This,VARIANT_BOOL *pbOffline) {
return This->lpVtbl->get_Offline(This,pbOffline);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Offline(IWebBrowser2* This,VARIANT_BOOL bOffline) {
return This->lpVtbl->put_Offline(This,bOffline);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Silent(IWebBrowser2* This,VARIANT_BOOL *pbSilent) {
return This->lpVtbl->get_Silent(This,pbSilent);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Silent(IWebBrowser2* This,VARIANT_BOOL bSilent) {
return This->lpVtbl->put_Silent(This,bSilent);
}
static FORCEINLINE HRESULT IWebBrowser2_get_RegisterAsBrowser(IWebBrowser2* This,VARIANT_BOOL *pbRegister) {
return This->lpVtbl->get_RegisterAsBrowser(This,pbRegister);
}
static FORCEINLINE HRESULT IWebBrowser2_put_RegisterAsBrowser(IWebBrowser2* This,VARIANT_BOOL bRegister) {
return This->lpVtbl->put_RegisterAsBrowser(This,bRegister);
}
static FORCEINLINE HRESULT IWebBrowser2_get_RegisterAsDropTarget(IWebBrowser2* This,VARIANT_BOOL *pbRegister) {
return This->lpVtbl->get_RegisterAsDropTarget(This,pbRegister);
}
static FORCEINLINE HRESULT IWebBrowser2_put_RegisterAsDropTarget(IWebBrowser2* This,VARIANT_BOOL bRegister) {
return This->lpVtbl->put_RegisterAsDropTarget(This,bRegister);
}
static FORCEINLINE HRESULT IWebBrowser2_get_TheaterMode(IWebBrowser2* This,VARIANT_BOOL *pbRegister) {
return This->lpVtbl->get_TheaterMode(This,pbRegister);
}
static FORCEINLINE HRESULT IWebBrowser2_put_TheaterMode(IWebBrowser2* This,VARIANT_BOOL bRegister) {
return This->lpVtbl->put_TheaterMode(This,bRegister);
}
static FORCEINLINE HRESULT IWebBrowser2_get_AddressBar(IWebBrowser2* This,VARIANT_BOOL *Value) {
return This->lpVtbl->get_AddressBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_put_AddressBar(IWebBrowser2* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_AddressBar(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_get_Resizable(IWebBrowser2* This,VARIANT_BOOL *Value) {
return This->lpVtbl->get_Resizable(This,Value);
}
static FORCEINLINE HRESULT IWebBrowser2_put_Resizable(IWebBrowser2* This,VARIANT_BOOL Value) {
return This->lpVtbl->put_Resizable(This,Value);
}
#endif
#endif
#endif
#endif /* __IWebBrowser2_INTERFACE_DEFINED__ */
typedef enum SecureLockIconConstants {
secureLockIconUnsecure = 0,
secureLockIconMixed = 1,
secureLockIconSecureUnknownBits = 2,
secureLockIconSecure40Bit = 3,
secureLockIconSecure56Bit = 4,
secureLockIconSecureFortezza = 5,
secureLockIconSecure128Bit = 6
} SecureLockIconConstants;
/*****************************************************************************
* DWebBrowserEvents2 dispinterface
*/
#ifndef __DWebBrowserEvents2_DISPINTERFACE_DEFINED__
#define __DWebBrowserEvents2_DISPINTERFACE_DEFINED__
DEFINE_GUID(DIID_DWebBrowserEvents2, 0x34a715a0, 0x6587, 0x11d0, 0x92,0x4a, 0x00,0x20,0xaf,0xc7,0xac,0x4d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("34a715a0-6587-11d0-924a-0020afc7ac4d")
DWebBrowserEvents2 : public IDispatch
{
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(DWebBrowserEvents2, 0x34a715a0, 0x6587, 0x11d0, 0x92,0x4a, 0x00,0x20,0xaf,0xc7,0xac,0x4d)
#endif
#else
typedef struct DWebBrowserEvents2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
DWebBrowserEvents2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
DWebBrowserEvents2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
DWebBrowserEvents2 *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
DWebBrowserEvents2 *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
DWebBrowserEvents2 *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
DWebBrowserEvents2 *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
DWebBrowserEvents2 *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
END_INTERFACE
} DWebBrowserEvents2Vtbl;
interface DWebBrowserEvents2 {
CONST_VTBL DWebBrowserEvents2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define DWebBrowserEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define DWebBrowserEvents2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define DWebBrowserEvents2_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define DWebBrowserEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define DWebBrowserEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define DWebBrowserEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define DWebBrowserEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT DWebBrowserEvents2_QueryInterface(DWebBrowserEvents2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG DWebBrowserEvents2_AddRef(DWebBrowserEvents2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG DWebBrowserEvents2_Release(DWebBrowserEvents2* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT DWebBrowserEvents2_GetTypeInfoCount(DWebBrowserEvents2* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT DWebBrowserEvents2_GetTypeInfo(DWebBrowserEvents2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT DWebBrowserEvents2_GetIDsOfNames(DWebBrowserEvents2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT DWebBrowserEvents2_Invoke(DWebBrowserEvents2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
#endif
#endif
#endif
#endif /* __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ */
/*****************************************************************************
* WebBrowser_V1 coclass
*/
DEFINE_GUID(CLSID_WebBrowser_V1, 0xeab22ac3, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b);
#ifdef __cplusplus
class DECLSPEC_UUID("eab22ac3-30c1-11cf-a7eb-0000c05bae0b") WebBrowser_V1;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(WebBrowser_V1, 0xeab22ac3, 0x30c1, 0x11cf, 0xa7,0xeb, 0x00,0x00,0xc0,0x5b,0xae,0x0b)
#endif
#endif
/*****************************************************************************
* WebBrowser coclass
*/
DEFINE_GUID(CLSID_WebBrowser, 0x8856f961, 0x340a, 0x11d0, 0xa9,0x6b, 0x00,0xc0,0x4f,0xd7,0x05,0xa2);
#ifdef __cplusplus
class DECLSPEC_UUID("8856f961-340a-11d0-a96b-00c04fd705a2") WebBrowser;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(WebBrowser, 0x8856f961, 0x340a, 0x11d0, 0xa9,0x6b, 0x00,0xc0,0x4f,0xd7,0x05,0xa2)
#endif
#endif
/*****************************************************************************
* InternetExplorer coclass
*/
DEFINE_GUID(CLSID_InternetExplorer, 0x0002df01, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
#ifdef __cplusplus
class DECLSPEC_UUID("0002df01-0000-0000-c000-000000000046") InternetExplorer;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(InternetExplorer, 0x0002df01, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
#endif
#endif
/*****************************************************************************
* ShellBrowserWindow coclass
*/
DEFINE_GUID(CLSID_ShellBrowserWindow, 0xc08afd90, 0xf2a1, 0x11d1, 0x84,0x55, 0x00,0xa0,0xc9,0x1f,0x38,0x80);
#ifdef __cplusplus
class DECLSPEC_UUID("c08afd90-f2a1-11d1-8455-00a0c91f3880") ShellBrowserWindow;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ShellBrowserWindow, 0xc08afd90, 0xf2a1, 0x11d1, 0x84,0x55, 0x00,0xa0,0xc9,0x1f,0x38,0x80)
#endif
#endif
typedef enum ShellWindowTypeConstants {
SWC_EXPLORER = 0,
SWC_BROWSER = 1,
SWC_3RDPARTY = 2,
SWC_CALLBACK = 4,
SWC_DESKTOP = 8
} ShellWindowTypeConstants;
typedef enum ShellWindowFindWindowOptions {
SWFO_NEEDDISPATCH = 1,
SWFO_INCLUDEPENDING = 2,
SWFO_COOKIEPASSED = 4
} ShellWindowFindWindowOptions;
/*****************************************************************************
* DShellWindowsEvents dispinterface
*/
#ifndef __DShellWindowsEvents_DISPINTERFACE_DEFINED__
#define __DShellWindowsEvents_DISPINTERFACE_DEFINED__
DEFINE_GUID(DIID_DShellWindowsEvents, 0xfe4106e0, 0x399a, 0x11d0, 0xa4,0x8c, 0x00,0xa0,0xc9,0x0a,0x8f,0x39);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("fe4106e0-399a-11d0-a48c-00a0c90a8f39")
DShellWindowsEvents : public IDispatch
{
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(DShellWindowsEvents, 0xfe4106e0, 0x399a, 0x11d0, 0xa4,0x8c, 0x00,0xa0,0xc9,0x0a,0x8f,0x39)
#endif
#else
typedef struct DShellWindowsEventsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
DShellWindowsEvents *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
DShellWindowsEvents *This);
ULONG (STDMETHODCALLTYPE *Release)(
DShellWindowsEvents *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
DShellWindowsEvents *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
DShellWindowsEvents *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
DShellWindowsEvents *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
DShellWindowsEvents *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
END_INTERFACE
} DShellWindowsEventsVtbl;
interface DShellWindowsEvents {
CONST_VTBL DShellWindowsEventsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define DShellWindowsEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define DShellWindowsEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
#define DShellWindowsEvents_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define DShellWindowsEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define DShellWindowsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define DShellWindowsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define DShellWindowsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT DShellWindowsEvents_QueryInterface(DShellWindowsEvents* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG DShellWindowsEvents_AddRef(DShellWindowsEvents* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG DShellWindowsEvents_Release(DShellWindowsEvents* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT DShellWindowsEvents_GetTypeInfoCount(DShellWindowsEvents* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT DShellWindowsEvents_GetTypeInfo(DShellWindowsEvents* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT DShellWindowsEvents_GetIDsOfNames(DShellWindowsEvents* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT DShellWindowsEvents_Invoke(DShellWindowsEvents* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
#endif
#endif
#endif
#endif /* __DShellWindowsEvents_DISPINTERFACE_DEFINED__ */
/*****************************************************************************
* IShellWindows interface
*/
#ifndef __IShellWindows_INTERFACE_DEFINED__
#define __IShellWindows_INTERFACE_DEFINED__
DEFINE_GUID(IID_IShellWindows, 0x85cb6900, 0x4d95, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("85cb6900-4d95-11cf-960c-0080c7f4ee85")
IShellWindows : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_Count(
LONG *Count) = 0;
virtual HRESULT STDMETHODCALLTYPE Item(
VARIANT index,
IDispatch **Folder) = 0;
virtual HRESULT STDMETHODCALLTYPE _NewEnum(
IUnknown **ppunk) = 0;
virtual HRESULT STDMETHODCALLTYPE Register(
IDispatch *pid,
LONG hWnd,
int swClass,
LONG *plCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE RegisterPending(
LONG lThreadId,
VARIANT *pvarloc,
VARIANT *pvarlocRoot,
int swClass,
LONG *plCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE Revoke(
LONG lCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE OnNavigate(
LONG lCookie,
VARIANT *pvarLoc) = 0;
virtual HRESULT STDMETHODCALLTYPE OnActivated(
LONG lCookie,
VARIANT_BOOL fActive) = 0;
virtual HRESULT STDMETHODCALLTYPE FindWindowSW(
VARIANT *pvarLoc,
VARIANT *pvarLocRoot,
int swClass,
LONG *phwnd,
int swfwOptions,
IDispatch **ppdispOut) = 0;
virtual HRESULT STDMETHODCALLTYPE OnCreated(
LONG lCookie,
IUnknown *punk) = 0;
virtual HRESULT STDMETHODCALLTYPE ProcessAttachDetach(
VARIANT_BOOL fAttach) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IShellWindows, 0x85cb6900, 0x4d95, 0x11cf, 0x96,0x0c, 0x00,0x80,0xc7,0xf4,0xee,0x85)
#endif
#else
typedef struct IShellWindowsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IShellWindows *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IShellWindows *This);
ULONG (STDMETHODCALLTYPE *Release)(
IShellWindows *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IShellWindows *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IShellWindows *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IShellWindows *This,
REFIID riid,
LPOLESTR *rgszNames,