2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
#ifndef _EXDISP_H
|
|
|
|
#define _EXDISP_H
|
|
|
|
#if __GNUC__ >=3
|
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2002-11-13 05:25:23 +08:00
|
|
|
#include <oaidl.h>
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
#include <ocidl.h>
|
|
|
|
#include <docobj.h>
|
|
|
|
|
|
|
|
EXTERN_C const CLSID CLSID_WebBrowser;
|
|
|
|
EXTERN_C const IID DIID_DWebBrowserEvents;
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
navOpenInNewWindow = 0x1,
|
|
|
|
navNoHistory = 0x2,
|
|
|
|
navNoReadFromCache = 0x4,
|
|
|
|
navNoWriteTocache = 0x8,
|
|
|
|
navAllowAutosearch = 0x10,
|
|
|
|
navBrowserBar = 0x20,
|
|
|
|
navHyperLink = 0x40
|
|
|
|
} BrowserNavConstants;
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IWebBrowser;
|
|
|
|
#define INTERFACE IWebBrowser
|
|
|
|
DECLARE_INTERFACE_(IWebBrowser,IDispatch)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
|
|
|
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
|
|
|
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
|
|
|
|
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
|
|
|
|
|
|
|
STDMETHOD(GoBack)(THIS) PURE;
|
|
|
|
STDMETHOD(GoForward)(THIS) PURE;
|
|
|
|
STDMETHOD(GoHome)(THIS) PURE;
|
|
|
|
STDMETHOD(GoSearch)(THIS) PURE;
|
|
|
|
STDMETHOD(Navigate)(THIS_ BSTR,VARIANT*,VARIANT*,VARIANT*,VARIANT*) PURE;
|
|
|
|
STDMETHOD(Refresh)(THIS) PURE;
|
|
|
|
STDMETHOD(Refresh2)(THIS_ VARIANT*) PURE;
|
|
|
|
STDMETHOD(Stop)(THIS) PURE;
|
|
|
|
STDMETHOD(get_Application)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Parent)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Container)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Document)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_TopLevelContainer)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(get_Type)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Left)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Left)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Top)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Top)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Width)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Width)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Height)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Height)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_LocationName)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_LocationURL)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Busy)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
|
|
|
EXTERN_C const IID IID_IWebBrowserApp;
|
|
|
|
#define INTERFACE IWebBrowserApp
|
|
|
|
DECLARE_INTERFACE_(IWebBrowserApp,IWebBrowser)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
|
|
|
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
|
|
|
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
|
|
|
|
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
|
|
|
|
|
|
|
STDMETHOD(GoBack)(THIS) PURE;
|
|
|
|
STDMETHOD(GoForward)(THIS) PURE;
|
|
|
|
STDMETHOD(GoHome)(THIS) PURE;
|
|
|
|
STDMETHOD(GoSearch)(THIS) PURE;
|
|
|
|
STDMETHOD(Navigate)(THIS_ BSTR,VARIANT*,VARIANT*,VARIANT*,VARIANT*) PURE;
|
|
|
|
STDMETHOD(Refresh)(THIS) PURE;
|
|
|
|
STDMETHOD(Refresh2)(THIS_ VARIANT*) PURE;
|
|
|
|
STDMETHOD(Stop)(THIS) PURE;
|
|
|
|
STDMETHOD(get_Application)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Parent)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Container)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Document)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_TopLevelContainer)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(get_Type)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Left)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Left)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Top)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Top)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Width)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Width)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Height)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Height)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_LocationName)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_LocationURL)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Busy)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
|
|
|
|
STDMETHOD(Quit)(THIS) PURE;
|
|
|
|
STDMETHOD(ClientToWindow)(THIS_ int*,int*) PURE;
|
|
|
|
STDMETHOD(PutProperty)(THIS_ BSTR,VARIANT) PURE;
|
|
|
|
STDMETHOD(GetProperty)(THIS_ BSTR,VARIANT*) PURE;
|
|
|
|
STDMETHOD(get_Name)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_HWND)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(get_FullName)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Path)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Visible)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_Visible)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_StatusBar)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_StatusBar)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_StatusText)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(put_StatusText)(THIS_ BSTR) PURE;
|
|
|
|
STDMETHOD(get_ToolBar)(THIS_ int*) PURE;
|
|
|
|
STDMETHOD(put_ToolBar)(THIS_ int) PURE;
|
|
|
|
STDMETHOD(get_MenuBar)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_MenuBar)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_FullScreen)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_FullScreen)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
|
|
|
EXTERN_C const IID IID_IWebBrowser2;
|
|
|
|
#define INTERFACE IWebBrowser2
|
|
|
|
DECLARE_INTERFACE_(IWebBrowser2,IWebBrowserApp)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
|
|
|
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
|
|
|
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
|
|
|
|
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
|
|
|
|
|
|
|
STDMETHOD(GoBack)(THIS) PURE;
|
|
|
|
STDMETHOD(GoForward)(THIS) PURE;
|
|
|
|
STDMETHOD(GoHome)(THIS) PURE;
|
|
|
|
STDMETHOD(GoSearch)(THIS) PURE;
|
|
|
|
STDMETHOD(Navigate)(THIS_ BSTR,VARIANT*,VARIANT*,VARIANT*,VARIANT*) PURE;
|
|
|
|
STDMETHOD(Refresh)(THIS) PURE;
|
|
|
|
STDMETHOD(Refresh2)(THIS_ VARIANT*) PURE;
|
|
|
|
STDMETHOD(Stop)(THIS) PURE;
|
|
|
|
STDMETHOD(get_Application)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Parent)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Container)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_Document)(THIS_ IDispatch**) PURE;
|
|
|
|
STDMETHOD(get_TopLevelContainer)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(get_Type)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Left)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Left)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Top)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Top)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Width)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Width)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_Height)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(put_Height)(THIS_ long) PURE;
|
|
|
|
STDMETHOD(get_LocationName)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_LocationURL)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Busy)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
|
|
|
|
STDMETHOD(Quit)(THIS) PURE;
|
|
|
|
STDMETHOD(ClientToWindow)(THIS_ int*,int*) PURE;
|
|
|
|
STDMETHOD(PutProperty)(THIS_ BSTR,VARIANT) PURE;
|
|
|
|
STDMETHOD(GetProperty)(THIS_ BSTR,VARIANT*) PURE;
|
|
|
|
STDMETHOD(get_Name)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_HWND)(THIS_ long*) PURE;
|
|
|
|
STDMETHOD(get_FullName)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Path)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(get_Visible)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_Visible)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_StatusBar)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_StatusBar)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_StatusText)(THIS_ BSTR*) PURE;
|
|
|
|
STDMETHOD(put_StatusText)(THIS_ BSTR) PURE;
|
|
|
|
STDMETHOD(get_ToolBar)(THIS_ int*) PURE;
|
|
|
|
STDMETHOD(put_ToolBar)(THIS_ int) PURE;
|
|
|
|
STDMETHOD(get_MenuBar)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_MenuBar)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_FullScreen)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_FullScreen)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
|
|
|
|
STDMETHOD(Navigate2)(THIS_ VARIANT*,VARIANT*,VARIANT*,VARIANT*,VARIANT*) PURE;
|
|
|
|
STDMETHOD(QueryStatusWB)(THIS_ OLECMDID,OLECMDF*) PURE;
|
|
|
|
STDMETHOD(ExecWB)(THIS_ OLECMDID,OLECMDEXECOPT,VARIANT*,VARIANT*) PURE;
|
|
|
|
STDMETHOD(ShowBrowserBar)(THIS_ VARIANT*,VARIANT*,VARIANT*) PURE;
|
|
|
|
STDMETHOD(get_ReadyState)(THIS_ READYSTATE*) PURE;
|
|
|
|
STDMETHOD(get_Offline)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_Offline)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_Silent)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_Silent)(THIS_ VARIANT_BOOL) PURE;
|
2010-08-25 06:10:28 +08:00
|
|
|
STDMETHOD(get_RegisterAsBrowser)(THIS_ VARIANT_BOOL*) PURE;
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
STDMETHOD(put_RegisterAsBrowser)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_RegistaerAsDropTarget)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_RegisterAsDropTarget)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_TheaterMode)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_TheaterMode)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_AddressBar)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_AddressBar)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
STDMETHOD(get_Resizable)(THIS_ VARIANT_BOOL*) PURE;
|
|
|
|
STDMETHOD(put_Resizable)(THIS_ VARIANT_BOOL) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
|
|
|
EXTERN_C const IID DIID_DWebBrowserEvents2;
|
|
|
|
#define INTERFACE DWebBrowserEvents2
|
|
|
|
DECLARE_INTERFACE_(DWebBrowserEvents2,IDispatch)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
|
|
|
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
|
|
|
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
|
|
|
|
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|