Jacek Caban : mshtml: Forward common getters from IHTMLObjectElement to IHTMLObjectElement2.

Alexandre Julliard julliard at winehq.org
Tue Mar 27 12:48:07 CDT 2012


Module: wine
Branch: master
Commit: e405e4ccb9ec6313672be48ce9992e5682a7feb7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e405e4ccb9ec6313672be48ce9992e5682a7feb7

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Mar 27 13:39:35 2012 +0200

mshtml: Forward common getters from IHTMLObjectElement to IHTMLObjectElement2.

---

 dlls/mshtml/htmlobject.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/htmlobject.c b/dlls/mshtml/htmlobject.c
index 362cb01..6f171c6 100644
--- a/dlls/mshtml/htmlobject.c
+++ b/dlls/mshtml/htmlobject.c
@@ -115,15 +115,19 @@ static HRESULT WINAPI HTMLObjectElement_get_object(IHTMLObjectElement *iface, ID
 static HRESULT WINAPI HTMLObjectElement_get_classid(IHTMLObjectElement *iface, BSTR *p)
 {
     HTMLObjectElement *This = impl_from_IHTMLObjectElement(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    return IHTMLObjectElement2_get_classid(&This->IHTMLObjectElement_iface, p);
 }
 
 static HRESULT WINAPI HTMLObjectElement_get_data(IHTMLObjectElement *iface, BSTR *p)
 {
     HTMLObjectElement *This = impl_from_IHTMLObjectElement(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    return IHTMLObjectElement2_get_data(&This->IHTMLObjectElement_iface, p);
 }
 
 static HRESULT WINAPI HTMLObjectElement_put_recordset(IHTMLObjectElement *iface, IDispatch *v)




More information about the wine-cvs mailing list