diff --git a/dlls/mshtml/htmlscript.h b/dlls/mshtml/htmlscript.h index 3d41a6c62d1..af9192fc638 100644 --- a/dlls/mshtml/htmlscript.h +++ b/dlls/mshtml/htmlscript.h @@ -16,7 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -typedef struct { +struct HTMLScriptElement { HTMLElement element; IHTMLScriptElement IHTMLScriptElement_iface; @@ -28,7 +28,7 @@ typedef struct { READYSTATE readystate; WCHAR *src_text; /* sctipt text downloaded from src */ BSCallback *binding; /* weak reference to current binding */ -} HTMLScriptElement; +}; typedef struct { struct list entry; diff --git a/include/mshtml.idl b/include/mshtml.idl index 4e5503ef081..f73435698e3 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -18634,6 +18634,25 @@ methods: BSTR ie8_src(); } +/***************************************************************************** + * HTMLScriptElement coclass + */ +[ + noncreatable, + uuid(3050f28c-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLScriptElement +{ + [default] dispinterface DispHTMLScriptElement; + /* [source, default] dispinterface HTMLScriptEvents; */ + /* [source] dispinterface HTMLScriptEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLScriptElement; + interface IHTMLScriptElement2; + /* interface IHTMLScriptElement3; */ + /* interface IHTMLScriptElement4; */ +} + /***************************************************************************** * IHTMLObjectElement interface */