mshtml:HTMLWindow_scrollBy implementation
Ivan Sinitsin
ivan at etersoft.ru
Wed Jul 2 01:31:32 CDT 2008
Changelog:
add HTMLWindow_scrollBy implementation
--
Sinitsin Ivan
-------------- next part --------------
From db1b1c2c4a43099418833c70b47615a9d6c5219a Mon Sep 17 00:00:00 2001
From: Sinitsin Ivan <ivan at etersoft.ru>
Date: Wed, 2 Jul 2008 10:22:56 +0400
Subject: [PATCH] mshtml.dll:Add HTMLWindow_scrollBy implementation
---
dlls/mshtml/htmlwindow.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 17467f2..8a72f9d 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -649,8 +649,15 @@ static HRESULT WINAPI HTMLWindow2_toString(IHTMLWindow2 *iface, BSTR *String)
static HRESULT WINAPI HTMLWindow2_scrollBy(IHTMLWindow2 *iface, long x, long y)
{
HTMLWindow *This = HTMLWINDOW2_THIS(iface);
- FIXME("(%p)->(%ld %ld)\n", This, x, y);
- return E_NOTIMPL;
+ HRESULT hres;
+
+ TRACE("(%p)->(%ld %ld)\n", This, x, y);
+
+ hres = nsIDOMWindow_ScrollBy(This->nswindow, x, y);
+ if (FAILED(hres)) {
+ ERR("failed hres = %08x \n",hres);
+ }
+ return hres;
}
static HRESULT WINAPI HTMLWindow2_scrollTo(IHTMLWindow2 *iface, long x, long y)
--
1.5.4.5.GIT
More information about the wine-patches
mailing list