diff options
Diffstat (limited to 'winsup/w32api/include/mshtml.h')
-rw-r--r-- | winsup/w32api/include/mshtml.h | 254 |
1 files changed, 252 insertions, 2 deletions
diff --git a/winsup/w32api/include/mshtml.h b/winsup/w32api/include/mshtml.h index 40115e951..72af736a0 100644 --- a/winsup/w32api/include/mshtml.h +++ b/winsup/w32api/include/mshtml.h @@ -20,6 +20,12 @@ typedef interface IHTMLStyle *LPHTMLSTYLE; typedef interface IHTMLFiltersCollection *LPHTMLFILTERSCOLLECTION; typedef interface IHTMLLinkElement *LPHTMLLINKELEMENT; typedef interface IHTMLImgElement *LPHTMLIMGELEMENT; +typedef interface IHTMLImageElementFactory *LPHTMLIMAGEELEMENTFACTORY; +typedef interface IHTMLEventObj *LPHTMLEVENTOBJ; +typedef interface IHTMLScreen *LPHTMLSCREEN; +typedef interface IHTMLOptionElementFactory *LPHTMLOPTIONELEMENTFACTORY; +typedef interface IOmHistory *LPOMHISTORY; +typedef interface IOmNavigator *LPOMNAVIGATOR; EXTERN_C const IID IID_IHTMLLinkElement; #undef INTERFACE @@ -185,7 +191,7 @@ DECLARE_INTERFACE_(IHTMLDocument2,IHTMLDocument) STDMETHOD(get_scripts)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE; STDMETHOD(put_designMode)(THIS_ BSTR) PURE; STDMETHOD(get_designMode)(THIS_ BSTR*) PURE; - STDMETHOD(get_selection)(LPHTMLSELECTIONOBJECT*) PURE; + STDMETHOD(get_selection)(THIS_ LPHTMLSELECTIONOBJECT*) PURE; STDMETHOD(get_readyState)(THIS_ BSTR*) PURE; STDMETHOD(get_frames)(THIS_ LPHTMLFRAMESCOLLECTION*) PURE; STDMETHOD(get_embeds)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE; @@ -298,7 +304,7 @@ DECLARE_INTERFACE_(IHTMLSelectionObject,IDispatch) STDMETHOD(createRange)(THIS_ IDispatch**) PURE; STDMETHOD(empty)(THIS) PURE; STDMETHOD(clear)(THIS) PURE; - STDMETHOD(type)(THIS_ BSTR*) PURE; + STDMETHOD(get_type)(THIS_ BSTR*) PURE; }; EXTERN_C const IID IID_IHTMLTxtRange; @@ -448,6 +454,250 @@ DECLARE_INTERFACE_(IHTMLElement,IDispatch) STDMETHOD(get_all)(THIS_ IDispatch**) PURE; }; +EXTERN_C const IID IID_IHTMLFramesCollection2; +#undef INTERFACE +#define INTERFACE IHTMLFramesCollection2 +DECLARE_INTERFACE_(IHTMLFramesCollection2,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(item)(THIS_ VARIANT*,VARIANT*) PURE; + STDMETHOD(get_length)(THIS_ long*) PURE; +}; + +EXTERN_C const IID IID_IHTMLWindow2; +#undef INTERFACE +#define INTERFACE IHTMLWindow2 +DECLARE_INTERFACE_(IHTMLWindow2,IHTMLFramesCollection2) +{ + 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(item)(THIS_ VARIANT*,VARIANT*) PURE; + STDMETHOD(get_length)(THIS_ long*) PURE; + + STDMETHOD(get_frames)(THIS_ IHTMLFramesCollection2**) PURE; + STDMETHOD(put_defaultStatus)(THIS_ BSTR) PURE; + STDMETHOD(get_defaultStatus)(THIS_ BSTR*) PURE; + STDMETHOD(put_status)(THIS_ BSTR) PURE; + STDMETHOD(get_status)(THIS_ BSTR*) PURE; + STDMETHOD(setTimeout)(THIS_ BSTR,long,VARIANT*,long*) PURE; + STDMETHOD(clearTimeout)(THIS_ long) PURE; + STDMETHOD(alert)(THIS_ BSTR) PURE; + STDMETHOD(confirm)(THIS_ BSTR,VARIANT_BOOL*) PURE; + STDMETHOD(prompt)(THIS_ BSTR,BSTR,VARIANT*) PURE; + STDMETHOD(get_Image)(THIS_ LPHTMLIMAGEELEMENTFACTORY*) PURE; + STDMETHOD(get_location)(THIS_ LPHTMLLOCATION*) PURE; + STDMETHOD(get_history)(THIS_ LPOMHISTORY*) PURE; + STDMETHOD(close)(THIS) PURE; + STDMETHOD(put_opener)(THIS_ VARIANT) PURE; + STDMETHOD(get_opener)(THIS_ VARIANT*) PURE; + STDMETHOD(get_navigator)(THIS_ LPOMNAVIGATOR*) PURE; + STDMETHOD(put_name)(THIS_ BSTR) PURE; + STDMETHOD(get_name)(THIS_ BSTR*) PURE; + STDMETHOD(get_parent)(THIS_ LPHTMLWINDOW2*) PURE; + STDMETHOD(open)(THIS_ BSTR,BSTR,BSTR,VARIANT_BOOL,LPHTMLWINDOW2*) PURE; + STDMETHOD(get_self)(THIS_ LPHTMLWINDOW2*) PURE; + STDMETHOD(get_top)(THIS_ LPHTMLWINDOW2*) PURE; + STDMETHOD(get_window)(THIS_ LPHTMLWINDOW2*) PURE; + STDMETHOD(navigate)(THIS_ BSTR) PURE; + STDMETHOD(put_onfocus)(THIS_ VARIANT) PURE; + STDMETHOD(get_onfocus)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onblur)(THIS_ VARIANT) PURE; + STDMETHOD(get_onblur)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onload)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onbeforeunload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onbeforeunload)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onunload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onunload)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE; + STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onerror)(THIS_ VARIANT) PURE; + STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onresize)(THIS_ VARIANT) PURE; + STDMETHOD(get_onresize)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onscroll)(THIS_ VARIANT) PURE; + STDMETHOD(get_onscroll)(THIS_ VARIANT*) PURE; + STDMETHOD(get_document)(THIS_ IHTMLDocument2**) PURE; + STDMETHOD(get_event)(THIS_ LPHTMLEVENTOBJ*) PURE; + STDMETHOD(get__newEnum)(THIS_ IUnknown**) PURE; + STDMETHOD(showModalDialog)(THIS_ BSTR,VARIANT*,VARIANT*,VARIANT*) PURE; + STDMETHOD(showHelp)(THIS_ BSTR,VARIANT,BSTR) PURE; + STDMETHOD(get_screen)(THIS_ LPHTMLSCREEN*) PURE; + STDMETHOD(get_Option)(THIS_ LPHTMLOPTIONELEMENTFACTORY*) PURE; + STDMETHOD(focus)(THIS) PURE; + STDMETHOD(get_closed)(THIS_ VARIANT_BOOL*) PURE; + STDMETHOD(blur)(THIS) PURE; + STDMETHOD(scroll)(THIS_ long,long) PURE; + STDMETHOD(get_clientInformation)(THIS_ LPOMNAVIGATOR*) PURE; + STDMETHOD(setInterval)(THIS_ BSTR,long,VARIANT*,long*) PURE; + STDMETHOD(clearInterval)(THIS_ long) PURE; + STDMETHOD(put_offscreenBuffering)(THIS_ VARIANT) PURE; + STDMETHOD(get_offscreenBuffering)(THIS_ VARIANT*) PURE; + STDMETHOD(execScript)(THIS_ BSTR,BSTR,VARIANT*) PURE; + STDMETHOD(toString)(THIS_ BSTR*) PURE; + STDMETHOD(scrollBy)(THIS_ long,long) PURE; + STDMETHOD(scrollTo)(THIS_ long,long) PURE; + STDMETHOD(moveTo)(THIS_ long,long) PURE; + STDMETHOD(moveBy)(THIS_ long,long) PURE; + STDMETHOD(resizeTo)(THIS_ long,long) PURE; + STDMETHOD(resizeBy)(THIS_ long,long) PURE; + STDMETHOD(get_external)(THIS_ IDispatch**) PURE; +}; + +EXTERN_C const IID IID_IHTMLFrameBase; +#undef INTERFACE +#define INTERFACE IHTMLFrameBase +DECLARE_INTERFACE_(IHTMLFrameBase,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(put_src)(THIS_ BSTR) PURE; + STDMETHOD(get_src)(THIS_ BSTR*) PURE; + STDMETHOD(put_name)(THIS_ BSTR) PURE; + STDMETHOD(get_name)(THIS_ BSTR*) PURE; + STDMETHOD(put_border)(THIS_ VARIANT) PURE; + STDMETHOD(get_border)(THIS_ VARIANT*) PURE; + STDMETHOD(put_frameBorder)(THIS_ BSTR) PURE; + STDMETHOD(get_frameBorder)(THIS_ BSTR*) PURE; + STDMETHOD(put_frameSpacing)(THIS_ VARIANT) PURE; + STDMETHOD(get_frameSpacing)(THIS_ VARIANT*) PURE; + STDMETHOD(put_marginWidth)(THIS_ VARIANT) PURE; + STDMETHOD(get_marginWidth)(THIS_ VARIANT*) PURE; + STDMETHOD(put_marginHeight)(THIS_ VARIANT) PURE; + STDMETHOD(get_marginHeight)(THIS_ VARIANT*) PURE; + STDMETHOD(put_noResize)(THIS_ VARIANT_BOOL) PURE; + STDMETHOD(get_noResize)(THIS_ VARIANT_BOOL*) PURE; + STDMETHOD(put_scrolling)(THIS_ BSTR) PURE; + STDMETHOD(get_scrolling)(THIS_ BSTR*) PURE; +}; + +EXTERN_C const IID IID_IHTMLFrameBase2; +#undef INTERFACE +#define INTERFACE IHTMLFrameBase2 +DECLARE_INTERFACE_(IHTMLFrameBase2,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(get_contentWindow)(THIS_ IHTMLWindow2 **) PURE; + STDMETHOD(put_onload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onload)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE; + STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE; + STDMETHOD(get_readyState)(THIS_ BSTR*) PURE; + STDMETHOD(put_allowTransparency)(THIS_ VARIANT_BOOL) PURE; + STDMETHOD(get_allowTransparency)(THIS_ VARIANT_BOOL*) PURE; +}; + +EXTERN_C const IID IID_IHTMLFrameBase3; +#undef INTERFACE +#define INTERFACE IHTMLFrameBase3 +DECLARE_INTERFACE_(IHTMLFrameBase3,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(put_longDesc)(THIS_ BSTR) PURE; + STDMETHOD(get_longDesc)(THIS_ BSTR*) PURE; +}; + +EXTERN_C const IID IID_IHTMLBodyElement; +#undef INTERFACE +#define INTERFACE IHTMLBodyElement +DECLARE_INTERFACE_(IHTMLBodyElement,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(put_background)(THIS_ BSTR) PURE; + STDMETHOD(get_background)(THIS_ BSTR*) PURE; + STDMETHOD(put_bgProperties)(THIS_ BSTR) PURE; + STDMETHOD(get_bgProperties)(THIS_ BSTR*) PURE; + STDMETHOD(put_leftMargin)(THIS_ VARIANT) PURE; + STDMETHOD(get_leftMargin)(THIS_ VARIANT*) PURE; + STDMETHOD(put_topMargin)(THIS_ VARIANT) PURE; + STDMETHOD(get_topMargin)(THIS_ VARIANT*) PURE; + STDMETHOD(put_rightMargin)(THIS_ VARIANT) PURE; + STDMETHOD(get_rightMargin)(THIS_ VARIANT*) PURE; + STDMETHOD(put_bottomMargin)(THIS_ VARIANT) PURE; + STDMETHOD(get_bottomMargin)(THIS_ VARIANT*) PURE; + STDMETHOD(put_noWrap)(THIS_ VARIANT_BOOL) PURE; + STDMETHOD(get_noWrap)(THIS_ VARIANT_BOOL*) PURE; + STDMETHOD(put_bgColor)(THIS_ VARIANT) PURE; + STDMETHOD(get_bgColor)(THIS_ VARIANT*) PURE; + STDMETHOD(put_text)(THIS_ VARIANT) PURE; + STDMETHOD(get_text)(THIS_ VARIANT*) PURE; + STDMETHOD(put_link)(THIS_ VARIANT) PURE; + STDMETHOD(get_link)(THIS_ VARIANT*) PURE; + STDMETHOD(put_vLink)(THIS_ VARIANT) PURE; + STDMETHOD(get_vLink)(THIS_ VARIANT*) PURE; + STDMETHOD(put_aLink)(THIS_ VARIANT) PURE; + STDMETHOD(get_aLink)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onload)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onunload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onunload)(THIS_ VARIANT*) PURE; + STDMETHOD(put_scroll)(THIS_ BSTR) PURE; + STDMETHOD(get_scroll)(THIS_ BSTR*) PURE; + STDMETHOD(put_onselect)(THIS_ VARIANT) PURE; + STDMETHOD(get_onselect)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onbeforeunload)(THIS_ VARIANT) PURE; + STDMETHOD(get_onbeforeunload)(THIS_ VARIANT*) PURE; + STDMETHOD(createTextRange)(THIS_ IHTMLTxtRange**) PURE; +}; + +EXTERN_C const IID IID_IHTMLBodyElement2; +#undef INTERFACE +#define INTERFACE IHTMLBodyElement2 +DECLARE_INTERFACE_(IHTMLBodyElement2,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(put_onbeforeprint)(THIS_ VARIANT) PURE; + STDMETHOD(get_onbeforeprint)(THIS_ VARIANT*) PURE; + STDMETHOD(put_onafterprint)(THIS_ VARIANT) PURE; + STDMETHOD(get_onafterprint)(THIS_ VARIANT*) PURE; +}; + #ifdef __cplusplus } #endif |