From 8b9ce14fa27e0e15e631e58c120fb35d286361e0 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 3 Feb 2009 20:57:09 +1100 Subject: [PATCH] mshtml: Add missing coclass's. --- dlls/mshtml/mshtml_private.h | 4 +-- include/mshtml.idl | 54 ++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index d884ca325a9..e4c98a72231 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -199,14 +199,14 @@ struct ConnectionPoint { ConnectionPoint *next; }; -typedef struct { +struct HTMLLocation { DispatchEx dispex; const IHTMLLocationVtbl *lpHTMLLocationVtbl; LONG ref; HTMLDocument *doc; -} HTMLLocation; +}; typedef struct { const IHTMLOptionElementFactoryVtbl *lpHTMLOptionElementFactoryVtbl; diff --git a/include/mshtml.idl b/include/mshtml.idl index dd7187927ae..acbdde2b3a7 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -12782,6 +12782,15 @@ interface IOmHistory : IDispatch HRESULT go([optional, in] VARIANT *pvargdistance); } +[ + noncreatable, + uuid(FECEAAA3-8405-11cf-8BA1-00AA00476DA6) +] +coclass HTMLHistory +{ + [default] interface IOmHistory; +} + /***************************************************************************** * IHTMLMimeTypesCollection interface */ @@ -12797,6 +12806,15 @@ interface IHTMLMimeTypesCollection : IDispatch HRESULT length([retval, out] long *p); } +[ + noncreatable, + uuid(3050f3fe-98b5-11cf-bb82-00aa00bdce0b) +] +coclass CMimeTypes +{ + [default] interface IHTMLMimeTypesCollection; +} + /***************************************************************************** * IHTMLPluginsCollection interface */ @@ -12815,6 +12833,15 @@ interface IHTMLPluginsCollection : IDispatch HRESULT refresh([defaultvalue(0), in] VARIANT_BOOL reload); } +[ + noncreatable, + uuid(3050f3ff-98b5-11cf-bb82-00aa00bdce0b) +] +coclass CPlugins +{ + [default] interface IHTMLPluginsCollection; +} + /***************************************************************************** * IHTMLOpsProfile interface */ @@ -12878,6 +12905,15 @@ interface IHTMLOpsProfile : IDispatch HRESULT doWriteRequest([retval, out] VARIANT_BOOL *success); } +[ + noncreatable, + uuid(3050f402-98b5-11cf-bb82-00aa00bdce0b) +] +coclass COpsProfile +{ + [default] interface IHTMLOpsProfile; +} + /***************************************************************************** * IOmNavigator interface */ @@ -12950,6 +12986,15 @@ interface IOmNavigator : IDispatch HRESULT userProfile([retval, out] IHTMLOpsProfile **p); } +[ + noncreatable, + uuid(FECEAAA6-8405-11cf-8BA1-00AA00476DA6) +] +coclass HTMLNavigator +{ + [default] interface IOmNavigator; +} + /***************************************************************************** * IHTMLLocation interface */ @@ -13022,6 +13067,15 @@ interface IHTMLLocation : IDispatch HRESULT toString([retval, out] BSTR *String); } +[ + noncreatable, + uuid(163BB1E1-6E00-11cf-837A-48DC04C10000) +] +coclass HTMLLocation +{ + [default] interface IHTMLLocation; +} + [ odl, oleautomation,