[PATCH] Add missing coclass's

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Feb 3 03:57:09 CST 2009


---
 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 d884ca3..e4c98a7 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 dd71879..acbdde2 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
  */
@@ -13023,6 +13068,15 @@ interface IHTMLLocation : IDispatch
 }
 
 [
+    noncreatable,
+    uuid(163BB1E1-6E00-11cf-837A-48DC04C10000)
+]
+coclass HTMLLocation
+{
+    [default]           interface IHTMLLocation;
+}
+
+[
     odl,
     oleautomation,
     dual,
-- 
1.5.4.3


--------------040608010200030703050106--



More information about the wine-patches mailing list