[Wine-patches] mshtml: Add declaration of IHTMLBaseElement

Konstantin Kondratyuk =?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Ср Янв 21 12:37:48 MSK 2009


Needs for eterbug #3168 in future.

-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From ad5d5dfe4156d2a3f5c782c933bbc6e5174ccb58 Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Wed, 21 Jan 2009 11:37:08 +0300
Subject: [PATCH] mshtml: Add declaration of IHTMLBaseElement

---
 include/mshtmdid.h |    5 +++++
 include/mshtml.idl |   24 ++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/include/mshtmdid.h b/include/mshtmdid.h
index 3a9b81a..546c2f6 100644
--- a/include/mshtmdid.h
+++ b/include/mshtmdid.h
@@ -96,6 +96,7 @@
 #define DISPID_DOMIMPLEMENTATION  DISPID_NORMAL_FIRST
 #define DISPID_ILINEINFO        DISPID_NORMAL_FIRST
 #define DISPID_IHTMLCOMPUTEDSTYLE  DISPID_NORMAL_FIRST
+#define DISPID_HEDELEMS         DISPID_NORMAL_FIRST
 
 #define DISPID_COLLECTION      (DISPID_NORMAL_FIRST+500)
 #define DISPID_OPTIONS_COL     (DISPID_NORMAL_FIRST+500)
@@ -2443,4 +2444,8 @@
 #define DISPID_IHTMLCOMPUTEDSTYLE_BLOCKDIRECTION                  DISPID_IHTMLCOMPUTEDSTYLE+17
 #define DISPID_IHTMLCOMPUTEDSTYLE_OL                              DISPID_IHTMLCOMPUTEDSTYLE+18
 
+/* IHTMLBaseElement */
+#define DISPID_IHTMLBASEELEMENT_HREF                              DISPID_HEDELEMS+3
+#define DISPID_IHTMLBASEELEMENT_TARGET                            DISPID_HEDELEMS+4
+
 #endif /* __MSHTMDID_H__ */
diff --git a/include/mshtml.idl b/include/mshtml.idl
index d9b1dad..75fab0f 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -20833,4 +20833,28 @@ interface IHTMLEditServices : IUnknown
         [in] SELECTION_TYPE eType);
 }
 
+/*****************************************************************************
+ *    IHTMLBaseElement interface
+ */
+[
+    odl,
+    oleautomation,
+    dual,
+    uuid(3050f204-98b5-11cf-bb82-00aa00bdce0b)
+]
+interface IHTMLBaseElement : IDispatch
+{
+    [propput, id(DISPID_IHTMLBASEELEMENT_HREF), displaybind, bindable]
+    HRESULT href([in] BSTR v);
+
+    [propget, id(DISPID_IHTMLBASEELEMENT_HREF), displaybind, bindable]
+    HRESULT href([retval, out] BSTR * p);
+
+    [propput, id(DISPID_IHTMLBASEELEMENT_TARGET), displaybind, bindable]
+    HRESULT target([in] BSTR v);
+
+    [propget, id(DISPID_IHTMLBASEELEMENT_TARGET), displaybind, bindable]
+    HRESULT target([retval, out] BSTR * p);
+};
+
 } /* library MSHTML */
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches